[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Howto update $statusbar from fork() proces



How can I prevent gtk programs from core dumping when they are destroyed.
This happens when I "annihilate" with E or when X shuts down and leaves
core file remains on my disk.  It happens with my program and with the
gtk_tutorial programs even though they all do something similar to:
    gtk_signal_connect (GTK_OBJECT (window), "destroy",
            GTK_SIGNAL_FUNC (gtk_exit), NULL);

This is typical for my program and the tutorial programs:

Gdk-WARNING **: GdkWindow 0x4800023 unexpectedly destroyed

Gdk-WARNING **: GdkWindow 0x4800006 unexpectedly destroyed

Gdk-ERROR **: BadWindow (invalid Window parameter)
  serial 346 error_code 3 request_code 10 minor_code 0

aborting...
Aborted (core dumped)

I don't have to "annihilate", but shutting down X unavoidably leaves irritating
core files.

-----------------------------------------------------------------------------
Bill Wilson <billw@wt.net>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]