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

[E-devel] Menu heisenbug caught.



I've been trying to catch this one for a while.  It's a wily little
critter that tends not to trigger when you are looking for it.  I have
found one way of reproducing it at will, although it might take several
goes.  I have attached a backtrace.  Others have reported it.  No one
has managed to get a useful bt, until now.

Sometimes when bringing up the Applications menu, E will segfault.  If
you hit the restart button, then you are no longer running from your
home directory, but what ever directory the icon it crashed on happens
to be in.  I had discussed this one with raster and others in the past,
our conclusion was the some graphics library that is handling the
loading of icon files for us is changing directory while it loads.
Somehow, things get screwed, and the next time it tries to load that
icon, it crashes after the change of directory.

I have never seen it hit when just running E by itself.  It seems to
require starting up, and maybe closing down some other program.
Seems that the program being run is important, a couple seem to be
really good at triggering it.  It never has hit me when running E under
gdb or xnest, or the combination of the two, I caught this one by
attaching gdb after the crash.

The way to reproduce it involves a specific distro (Ubuntu), probably a
specific version of the distro (Edgy release with all updates), and at
least one specific program.  Synaptic can cause it to crash I think.
Globulation 2 is good at causing it.

I'm going to bed now, others can have a look at this and see what they
come up with.  It's likely that the only useful answer we can get out
of this is "don't run synaptic and globulation on ubuntu edgy".
0xffffe410 in __kernel_vsyscall ()
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb78877cb in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb794db69 in XProcessInternalConnection () from /usr/lib/libX11.so.6
#3  0xb794df4f in _XRead () from /usr/lib/libX11.so.6
#4  0xb794f2f1 in _XReadEvents () from /usr/lib/libX11.so.6
#5  0xb7938b9b in XNextEvent () from /usr/lib/libX11.so.6
#6  0x080c0356 in e_alert_show (
    text=0x8134074 "This is very bad. Enlightenment has segfaulted.\nThis is not meant to happen and is likely a sign of a\nbug in Enlightenment or the libraries it relies on.\n\nYou can gdb attach to this process now to try"...)
    at e_alert.c:129
#7  0x080aa696 in e_sigseg_act (x=11, info=0xbffd694c, data=0xbffd69cc)
    at e_signals.c:53
#8  <signal handler called>
#9  0xb7f0485d in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#10 0xb7f04c47 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#11 0xb7f08942 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#12 0xb7f0dd40 in _dl_make_stack_executable () from /lib/ld-linux.so.2
#13 0xb766bd2f in g_type_from_name () from /usr/lib/libgobject-2.0.so.0
#14 0xb7672dc0 in g_type_register_static () from /usr/lib/libgobject-2.0.so.0
#15 0xb75b1fb4 in rsvg_handle_get_type () from /usr/lib/librsvg-2.so.2
#16 0xb75b1fec in rsvg_handle_new () from /usr/lib/librsvg-2.so.2
#17 0xb7593474 in rsvg_handle_new_from_file () from /usr/lib/librsvg-2.so.2
#18 0xb7e47172 in evas_image_load_file_head_svg (im=0x8b515a8, 
    file=0xb75b52e6 "e", key=0x0) at evas_image_load_svg.c:56
#19 0xb7b61cd2 in evas_common_load_image_from_file (
    file=0x8b675e8 "/usr/share/icons/Human/scalable/apps/accessibility-directory.svg", key=0x0, lo=0xbffd90b0) at evas_image_load.c:68
#20 0xb7e4eb94 in eng_image_load (data=0x8b339f0, 
    file=0x8b675e8 "/usr/share/icons/Human/scalable/apps/accessibility-directory.svg", key=0x0, error=0x890258c, lo=0xbffd90b0) at evas_engine.c:305
#21 0xb7b1e6f8 in evas_object_image_file_set (obj=0x8902408, 
    file=0x8b675e8 "/usr/share/icons/Human/scalable/apps/accessibility-directory.svg", key=0x0) at evas_object_image.c:164
#22 0xb7ef7532 in evas_object_image_file_set (obj=0x8902408, 
    file=0x8b675e8 "/usr/share/icons/Human/scalable/apps/accessibility-directory.svg", key=0x0) at e_precache.c:114
#23 0x0809b4c2 in e_icon_file_set (obj=0x8d04c60, 
    file=0x8b675e8 "/usr/share/icons/Human/scalable/apps/accessibility-directory.svg") at e_icon.c:48
#24 0x080985b9 in _e_menu_realize (m=0x8902998) at e_menu.c:1256
#25 0x08098dd7 in e_menu_idler_before () at e_menu.c:879
#26 0x0806854d in _e_main_cb_idler_before (data=0x0) at e_main.c:1360
#27 0xb7ec9b77 in _ecore_idle_enterer_call () at ecore_idle_enterer.c:78
#28 0xb7ecc156 in _ecore_main_loop_iterate_internal (once_only=0)
    at ecore_main.c:487
#29 0xb7ecc49a in ecore_main_loop_begin () at ecore_main.c:79
#30 0x0806724a in main (argc=1, argv=0xbffdccb4) at e_main.c:825

Attachment: signature.asc
Description: PGP signature