|
From: Ethan M. <merritt@u.washington.edu> - 2007-06-04 20:13:06
|
For the last week or so I've been getting a double-free warning message from glibc every time I exit gnuplot with the current driver set to wxt. This was non-fatal, although it did mean that the history file was not updated. As of today this has gotten much worse. It no longer happens every time I exit, but if it does happen then it causes a core dump: (<unknown>:1881): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `-g-type-private--GTypeFlags' (<unknown>:1881): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed (<unknown>:1881): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `-g-type-private--GTypeFlags' (<unknown>:1881): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed Segmentation fault The only recent patch I see is: 2007-06-03 Petr Mikulik <mi...@ph...> * src/history.c (write_history_n): Cannot use int_error() when exiting gnuplot. I don't understand how this would make things worse than before, but I don't see any other candidate patches. Is anyone else seeing this? Any ideas why? -- Ethan A Merritt |
|
From: Petr M. <mi...@ph...> - 2007-06-04 20:24:17
|
> For the last week or so I've been getting a double-free warning > message from glibc every time I exit gnuplot with the current driver > set to wxt. This was non-fatal, although it did mean > that the history file was not updated. I don't see it. > The only recent patch I see is: > 2007-06-03 Petr Mikulik <mi...@ph...> > * src/history.c (write_history_n): Cannot use int_error() when exiting gnuplot. I have found this bug when compiling 4.2 under DOS by DJGPP. It was possible to reproduce it on Linux: compile gnuplot with built-in readline, and start gnuplot with HOME undefined (or pointing to a non-sense). I'll submit the patches for DJGPP shortly. I wanted to have gnuplot 4.2 on an old experimental machine. --- PM |
|
From: Daniel J S. <dan...@ie...> - 2007-06-04 20:35:40
|
Ethan Merritt wrote: > For the last week or so I've been getting a double-free warning > message from glibc every time I exit gnuplot with the current driver > set to wxt. This was non-fatal, although it did mean > that the history file was not updated. > > As of today this has gotten much worse. It no longer happens every > time I exit, but if it does happen then it causes a core dump: > > (<unknown>:1881): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `-g-type-private--GTypeFlags' > > (<unknown>:1881): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed > > (<unknown>:1881): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `-g-type-private--GTypeFlags' > > (<unknown>:1881): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed > Segmentation fault > > > The only recent patch I see is: > 2007-06-03 Petr Mikulik <mi...@ph...> > * src/history.c (write_history_n): Cannot use int_error() when exiting gnuplot. > > I don't understand how this would make things worse than before, > but I don't see any other candidate patches. > > Is anyone else seeing this? Any ideas why? I'm not running under wxt, but if the original problem was of the segfault variety (e.g., bad pointer), almost anything can move the code around a bit so that the problem manifests itself as something worse/better. Dan |
|
From: <tim...@en...> - 2007-06-04 22:10:40
|
> For the last week or so I've been getting a double-free warning
> message from glibc every time I exit gnuplot with the current driver
> set to wxt. This was non-fatal, although it did mean
> that the history file was not updated.
>
> As of today this has gotten much worse. It no longer happens every
> time I exit, but if it does happen then it causes a core dump:
>
> (<unknown>:1881): GLib-GObject-WARNING **: instance of invalid
> non-instantiatable type `-g-type-private--GTypeFlags'
>
> (<unknown>:1881): GLib-GObject-CRITICAL **:
> g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE
> (instance)' failed
(...)
>
>
> The only recent patch I see is:
> 2007-06-03 Petr Mikulik <mi...@ph...>
> * src/history.c (write_history_n): Cannot use int_error() when exiting
> gnuplot.
>
> I don't understand how this would make things worse than before,
> but I don't see any other candidate patches.
Don't blame Petr for his commit, it is correct, and I think I must be the
one to blame here with:
2007-05-23 Timothee Lecomte <tim...@en...>
* src/wxterminal/wxt_gui.cpp:
* src/wxterminal/wxt_gui.h:
Add/rewrite a few debugging messages.
(wxt_atexit, wxt_cleanup): Simplify "persist" and exit code.
>
> Is anyone else seeing this? Any ideas why?
>
I do see it. I'll look at it tomorrow evening. Thanks for reporting !
Best regards,
Timothée
> --
> Ethan A Merritt
>
|
|
From: <tim...@en...> - 2007-06-04 22:16:11
|
> For the last week or so I've been getting a double-free warning
> message from glibc every time I exit gnuplot with the current driver
> set to wxt. This was non-fatal, although it did mean
> that the history file was not updated.
>
> As of today this has gotten much worse. It no longer happens every
> time I exit, but if it does happen then it causes a core dump:
>
> (<unknown>:1881): GLib-GObject-WARNING **: instance of invalid
> non-instantiatable type `-g-type-private--GTypeFlags'
>
> (<unknown>:1881): GLib-GObject-CRITICAL **:
> g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE
> (instance)' failed
(...)
>
>
> The only recent patch I see is:
> 2007-06-03 Petr Mikulik <mi...@ph...>
> * src/history.c (write_history_n): Cannot use int_error() when exiting
> gnuplot.
>
> I don't understand how this would make things worse than before,
> but I don't see any other candidate patches.
>
> Is anyone else seeing this? Any ideas why?
I see it, and I must be the one to blame, not Petr.
2007-05-23 Timothee Lecomte <tim...@en...>
* src/wxterminal/wxt_gui.cpp:
* src/wxterminal/wxt_gui.h:
Add/rewrite a few debugging messages.
(wxt_atexit, wxt_cleanup): Simplify "persist" and exit code.
I'll look at it tomorrow. Thanks for reporting.
Best regards,
Timothée
>
> --
> Ethan A Merritt
>
|
|
From: <tim...@en...> - 2007-06-05 21:09:31
|
>> For the last week or so I've been getting a double-free warning >> message from glibc every time I exit gnuplot with the current driver >> set to wxt. This was non-fatal, although it did mean >> that the history file was not updated. >> >> As of today this has gotten much worse. It no longer happens every >> time I exit, but if it does happen then it causes a core dump: >> >> (<unknown>:1881): GLib-GObject-WARNING **: instance of invalid >> non-instantiatable type `-g-type-private--GTypeFlags' >> >> (<unknown>:1881): GLib-GObject-CRITICAL **: >> g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE >> (instance)' failed > (...) >> >> >> The only recent patch I see is: >> 2007-06-03 Petr Mikulik <mi...@ph...> >> * src/history.c (write_history_n): Cannot use int_error() when exiting >> gnuplot. >> >> I don't understand how this would make things worse than before, >> but I don't see any other candidate patches. >> >> Is anyone else seeing this? Any ideas why? > > I see it, and I must be the one to blame, not Petr. > > 2007-05-23 Timothee Lecomte <tim...@en...> > > * src/wxterminal/wxt_gui.cpp: > * src/wxterminal/wxt_gui.h: > Add/rewrite a few debugging messages. > (wxt_atexit, wxt_cleanup): Simplify "persist" and exit code. > > > I'll look at it tomorrow. Thanks for reporting. > Indeed I made a mistake, and I think it's now corrected. I cannot reproduce it anymore with current CVS. Best regards, Timothée |