xfwm4 segmentation fault in new CVS on Debian Sarge

Brian J. Tarricone bjt23 at cornell.edu
Tue Apr 13 18:38:04 CEST 2004


woah... that's quite a scary stacktrace.  unfortunately, that doesn't 
really tell me much about where in xfce4-panel it's crashing, as it's 
deep in freetype, called from fontconfig, called from pango, called from 
gtk, called from the gtk/glib main loop.  yuck.

that's rather suprising/odd that your original output said that xfwm4 
crashed, but the core file is from xfce4-panel.  i guess perhaps check 
the date on the core file, make sure it makes sense with when you 
experienced the crash.  (i just want to rule out the possibility that 
this was from something earlier and unrelated.)  also i suppose it's 
possible that they both crashed and xfwm4's core file got overwritten 
(though i would think in that case we should get a 'core.PID'-type 
file).

there's some more invovled troubleshooting you could try, but before i 
get into that, i want to make sure that you don't have any old xfce 
4.0.x files lying around (especially the libraries).  if you've had any 
.debs installed, remove them.  assuming you've been installing CVS in 
/usr/local, make sure there are no /usr/lib/libxfce* libs (unless the 
.debs install to /usr/local, then it's somewhat moot).

if that's squared away and you still have problems, give this a try...

make a new .xinitrc, and just put -

/usr/local/bin/xfce-mcs-manager
/usr/local/bin/xfwm4 --daemon
xterm

in it.  you should just get a big grey screen with an xterm (suitably 
decorated with xfwm4 window borders), and if you quit the xterm, X 
itself should quit.  if you get a crash, it'll be pretty unambiguous as 
to what crashed.

if that doesn't crash, replace the xterm line with 
/usr/local/bin/xfce4-panel, and see how that works.  you should end up 
with a grey screen and the panel.  the WM will be running too of course, 
so try to launch stuff from the panel to make sure everything there is 
working ok.

thanks for taking the time to debug this.

	-brian


On Tue, 13 Apr 2004, Jeff Hill wrote:

> Thank you for the quick response.
> 
> I've tried the startxfce4 script on every version of Xfce4 I've installed.
> In all cases, Xfce4 did not even present a screen before dieing with error
> messages similar to those I get when using .xinitrc and startx.
> 
> Ran ulimit as directed. "file core" returns:
>         core: Elf 32-bit LSB core file Intel 80386,
>         version 1 (SYSV), SVR4-style, SR4-style, from 'xfce4-panel'
> 
> So while I had the error message saying xfwm4 seg fault, it was
> xfce4-panel, apparently (obviously, I'm out of my depth here).
> 
> I assum you want only the backtrace and not all the lines gdb spits out at
> first that start "Reading symbols ...". (I snipped those lines as they
> would have made this e-mail very much longer -- hope that was right.) So:
> 
> gdb /usr/local/bin/xfce4-panel core
> >--snipped GDB copyright, warranty ...--<
> Core was generated by `/usr/local/bin/xfce4-panel'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /usr/local/lib/libxfcegui4.so.3...done.
> >--snipped rest of lines "Reading symbols . . . ."--<
> (gdb) bt
> #0  0x408b8583 in TT_RunIns () from /usr/lib/libfreetype.so.6
> #1  0x408b807c in TT_RunIns () from /usr/lib/libfreetype.so.6
> #2  0x408b9098 in TT_RunIns () from /usr/lib/libfreetype.so.6
> #3  0x408b93bf in TT_RunIns () from /usr/lib/libfreetype.so.6
> #4  0x408b9abc in TT_RunIns () from /usr/lib/libfreetype.so.6
> #5  0x4087b80e in FT_Load_Char () from /usr/lib/libfreetype.so.6
> #6  0x4087c7d0 in FT_Open_Face () from /usr/lib/libfreetype.so.6
> #7  0x4087b8da in FT_New_Face () from /usr/lib/libfreetype.so.6
> #8  0x408524b7 in FcFreeTypeQuery () from /usr/lib/libfontconfig.so.1
> #9  0x40851d5f in FcFileScan () from /usr/lib/libfontconfig.so.1
> #10 0x40852155 in FcDirScan () from /usr/lib/libfontconfig.so.1
> #11 0x4084cff4 in FcConfigBuildFonts () from /usr/lib/libfontconfig.so.1
> #12 0x40853bfc in FcInitLoadConfigAndFonts () from
> /usr/lib/libfontconfig.so.1
> #13 0x40853c55 in FcInit () from /usr/lib/libfontconfig.so.1
> #14 0x4084d148 in FcConfigGetCurrent () from /usr/lib/libfontconfig.so.1
> #15 0x4084ec82 in FcConfigSubstituteWithPat () from
> /usr/lib/libfontconfig.so.1
> #16 0x4084ecd3 in FcConfigSubstitute () from /usr/lib/libfontconfig.so.1
> #17 0x40369886 in pango_xft_get_context () from /usr/lib/libpangoxft-1.0.so.0
> #18 0x4036849b in _pango_xft_font_map_remove ()
>    from /usr/lib/libpangoxft-1.0.so.0
> #19 0x40368794 in _pango_xft_font_map_remove ()
>    from /usr/lib/libpangoxft-1.0.so.0
> #20 0x403a14ef in pango_font_map_load_fontset ()
>    from /usr/lib/libpango-1.0.so.0
> ---Type <return> to continue, or q <return> to quit---
> #21 0x403a0613 in pango_itemize () from /usr/lib/libpango-1.0.so.0
> #22 0x4039fdc5 in pango_itemize () from /usr/lib/libpango-1.0.so.0
> #23 0x403a728f in no_shape_filter_func () from /usr/lib/libpango-1.0.so.0
> #24 0x403a57a4 in pango_layout_get_cursor_pos ()
>    from /usr/lib/libpango-1.0.so.0
> #25 0x403a5a97 in pango_layout_get_extents () from /usr/lib/libpango-1.0.so.0
> #26 0x40134ebc in gtk_label_get () from /usr/lib/libgtk-x11-2.0.so.0
> #27 0x4013509b in gtk_label_get () from /usr/lib/libgtk-x11-2.0.so.0
> #28 0x404e7bab in g_cclosure_marshal_VOID__BOXED ()
>    from /usr/lib/libgobject-2.0.so.0
> #29 0x404d6d44 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
> #30 0x404d6a92 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
> #31 0x404e66c4 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
> #32 0x404e5ec2 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
> #33 0x404e61a7 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
> #34 0x4018c571 in gtk_size_group_remove_widget ()
>    from /usr/lib/libgtk-x11-2.0.so.0
> #35 0x4018c8f8 in _gtk_size_group_compute_requisition ()
>    from /usr/lib/libgtk-x11-2.0.so.0
> #36 0x402293dc in gtk_widget_size_request () from
> /usr/lib/libgtk-x11-2.0.so.0
> #37 0x40237d64 in gtk_window_reshow_with_initial_size ()
>    from /usr/lib/libgtk-x11-2.0.so.0
> #38 0x404e7bab in g_cclosure_marshal_VOID__BOXED ()
>    from /usr/lib/libgobject-2.0.so.0
> ---Type <return> to continue, or q <return> to quit---
> #39 0x404d6d44 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
> #40 0x404d6a92 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
> #41 0x404e66c4 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
> #42 0x404e5ec2 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
> #43 0x404e61a7 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
> #44 0x4018c571 in gtk_size_group_remove_widget ()
>    from /usr/lib/libgtk-x11-2.0.so.0
> #45 0x4018c8f8 in _gtk_size_group_compute_requisition ()
>    from /usr/lib/libgtk-x11-2.0.so.0
> #46 0x402293dc in gtk_widget_size_request () from
> /usr/lib/libgtk-x11-2.0.so.0
> #47 0x401ec1b1 in gtk_tooltips_set_tip () from /usr/lib/libgtk-x11-2.0.so.0
> #48 0x401ec386 in gtk_tooltips_set_tip () from /usr/lib/libgtk-x11-2.0.so.0
> #49 0x405207e8 in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
> #50 0x4051e086 in unblock_source () from /usr/lib/libglib-2.0.so.0
> #51 0x4051f029 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
> #52 0x4051f347 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
> #53 0x4051f9b0 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
> #54 0x40146d2f in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
> #55 0x08057423 in main (argc=1, argv=0xbffffe14) at main.c:418
> (gdb) q
> 
> 
> Thanks again for the assist.
> 
> Jeff
> 
> 
> Brian J. Tarricone said:
> > assuming he's using the standard debian pacakges, it doesn't come with
> > the startxfce4 script =p.
> >--snipped--<
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> http://lunar-linux.org/mailman/listinfo/xfce
> http://www.xfce.org
> 
> 




More information about the Xfce mailing list