[Xfce-bugs] [XFCE 0000211]: Bug in Settings Manager

xfce-bugs at xfce.org xfce-bugs at xfce.org
Tue Jul 20 00:16:47 CEST 2004


A BUGNOTE has been added to this bug.
=======================================================================
http://bugs.xfce.org/view_bug_page.php?f_id=0000211
=======================================================================
Reporter:                   sweiss
Handler:                    dannym
=======================================================================
Project:                    XFCE
Bug ID:                     0000211
Category:                   general
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
=======================================================================
Date Submitted:             2004-06-01 07:17 GMT
Last Modified:              2004-07-19 22:16 GMT
=======================================================================
Summary:                    Bug in Settings Manager
Description: 
When accessing the Sound/Mixer dialogue in the Setting Manager, closing
this dialogue will cause mcs-manager to crash.
=======================================================================

-----------------------------------------------------------------------
 kelnos - 2004-06-01 08:40 GMT 
-----------------------------------------------------------------------
could you please get a backtrace?  kill the running instance and use gdb
like so:

$ gdb xfce-mcs-manager
[...]
(gdb) r --no-daemon-debug
[...]
[crashes]
(gdb) bt
[prints backtrace]

-----------------------------------------------------------------------
 sweiss - 2004-06-01 17:07 GMT 
-----------------------------------------------------------------------
sorry, I tried but looks like I didn't compile it with debug symbols, and
now it won't compile for an odd reason.

-----------------------------------------------------------------------
 dannym - 2004-06-05 22:13 GMT 
-----------------------------------------------------------------------
which version is it btw?

-----------------------------------------------------------------------
 huysmans - 2004-07-15 07:32 GMT 
-----------------------------------------------------------------------
Danny, I'll leave it to you whether we can close this or not.

-----------------------------------------------------------------------
 sweiss - 2004-07-15 14:53 GMT 
-----------------------------------------------------------------------
I'm now compiling XFCE from CVS with the --enable-debug option. I will take
a backtrace once I'm done and will post it here.

Sorry for the great delay.

-----------------------------------------------------------------------
 sweiss - 2004-07-15 16:20 GMT 
-----------------------------------------------------------------------
Here's the long awaited backtrace:

(gdb) bt
http://bugs.xfce.org/view_bug_page.php?f_id=0  0x40bc3b16 in ___finalize
()
   from /opt/xfce4-cvs/lib/xfce4/mcs-plugins/sound_settings.so
http://bugs.xfce.org/view_bug_page.php?f_id=1  0x4056002a in
g_object_unref () from /usr/lib/libgobject-2.0.so.0
http://bugs.xfce.org/view_bug_page.php?f_id=2  0x4056016d in
g_object_run_dispose () from /usr/lib/libgobject-2.0.so.0
http://bugs.xfce.org/view_bug_page.php?f_id=3  0x4029af1e in
gtk_object_destroy () from /usr/lib/libgtk-x11-2.0.so.0
http://bugs.xfce.org/view_bug_page.php?f_id=4  0x4037cf51 in
gtk_widget_destroy () from /usr/lib/libgtk-x11-2.0.so.0
http://bugs.xfce.org/view_bug_page.php?f_id=5  0x401b9c4d in
gtk_box_forall () from /usr/lib/libgtk-x11-2.0.so.0
http://bugs.xfce.org/view_bug_page.php?f_id=6  0x401f601a in
gtk_container_foreach () from /usr/lib/libgtk-x11-2.0.so.0
http://bugs.xfce.org/view_bug_page.php?f_id=7  0x401f861e in
gtk_container_destroy () from /usr/lib/libgtk-x11-2.0.so.0
http://bugs.xfce.org/view_bug_page.php?f_id=8  0x40576a51 in
g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
http://bugs.xfce.org/view_bug_page.php?f_id=9  0x4055da97 in
g_type_class_meta_marshal ()
   from /usr/lib/libgobject-2.0.so.0
http://bugs.xfce.org/view_bug_page.php?f_id=10 0x4055d6cb in
g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
http://bugs.xfce.org/view_bug_page.php?f_id=11 0x405744a8 in
signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0
http://bugs.xfce.org/view_bug_page.php?f_id=12 0x00000000 in ?? ()
http://bugs.xfce.org/view_bug_page.php?f_id=13 0x00000001 in ?? ()
http://bugs.xfce.org/view_bug_page.php?f_id=14 0xbfffd930 in ?? ()
http://bugs.xfce.org/view_bug_page.php?f_id=15 0xbfffd818 in ?? ()
http://bugs.xfce.org/view_bug_page.php?f_id=16 0x080ee990 in ?? ()
http://bugs.xfce.org/view_bug_page.php?f_id=17 0xbfffd6b8 in ?? ()
http://bugs.xfce.org/view_bug_page.php?f_id=18 0x4055d001 in
g_closure_unref () from /usr/lib/libgobject-2.0.so.0
Previous frame inner to this frame (corrupt stack?)

-----------------------------------------------------------------------
 dannym - 2004-07-15 19:14 GMT 
-----------------------------------------------------------------------
now that looks baad. And this happens on opening the sound settings dialog
? (I ask to be sure since the backtrace lists __finalize which is supposed
to be called when the object is done)

Could you try with --enable-debug=full too ?

I think this would give us even line numbers to look for and hence
simplify the discovery of the offending code :)

Thanks

-----------------------------------------------------------------------
 dannym - 2004-07-15 19:20 GMT 
-----------------------------------------------------------------------
ow oops you say "closing", indeed

-----------------------------------------------------------------------
 sweiss - 2004-07-15 20:35 GMT 
-----------------------------------------------------------------------
Well, I'll compile it again with --enable-debug=full and will post another
backtrace tomorrow.

-----------------------------------------------------------------------
 sweiss - 2004-07-16 22:43 GMT 
-----------------------------------------------------------------------
Well, I tried compiling with --enable-debug=full, but it simply didn't
compile. I did get the message when it crahsed, hoping this helps:


(gdb) r --no-daemon-debug
Starting program: /opt/xfce4-cvs/bin/xfce-mcs-manager --no-daemon-debug
** Message: Daemon mode disabled (for debug purpose only!)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 16962)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 16962)]
0x40bc2b16 in ___finalize ()
   from /opt/xfce4-cvs/lib/xfce4/mcs-plugins/sound_settings.so

-----------------------------------------------------------------------
 dannym - 2004-07-19 22:16 GMT 
-----------------------------------------------------------------------
ok, I fixed some stuff so that compiling with --enable-debug=full works...
If it still doesnt, tell me the error messages :)

The backtrace you sent just says it last called g_object_unref which is
the function to free something. It could be just about anything that is
freed though.
(And "corrupt stack" really worries me...)

I really need the line numbers and source file reference baad...

Also, which gtk/glib version do you use ?



More information about the Xfce-bugs mailing list