On Thu, 24 Apr 2008 09:19:51 -0700 "M.McNeil" <[EMAIL PROTECTED]> babbled:

i think i said last time - something has trampled over memory - there is a
string that has the pointer to it trampled or its contents trampled so the 0
byte terminator is now wrong.

the only real hope here is valgrind - to catch the trampling itself. even that
is not necessarily possible :( beyond sheer luck that a developer spots
something or that we sit down with a code review and hope to catch something...

> Hi,
> 
> I'm sending this again in hopes to get some help.
> 
> Thanks again,
> 
> Mike McNeil
> 
> -------- Original Message --------
> Subject:      Re: [e-users] E17 segfaulting again
> Date:         Mon, 21 Apr 2008 14:48:55 -0700
> From:         M.McNeil <[EMAIL PROTECTED]>
> To:   Carsten Haitzler (The Rasterman) <[EMAIL PROTECTED]>
> CC:   [email protected]
> References:   <[EMAIL PROTECTED]> 
> <[EMAIL PROTECTED]> 
> <[EMAIL PROTECTED]> 
> <[EMAIL PROTECTED]>
> 
> 
> 
> Here's what I was able to capture, following the instructions you gave 
> in the thread below:
> 
> [mmcneil]gdb enlightenment 67866
> GNU gdb 6.1.1 [FreeBSD]
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain 
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> 
> [Switching to Thread 0x28b01100 (LWP 100097)]
> 0x2898a86f in poll () from /lib/libc.so.7
> (gdb) bt
> #0  0x2898a86f in poll () from /lib/libc.so.7
> #1  0x2868ef53 in _XWaitForReadable () from /usr/local/lib/libX11.so.6
> #2  0x2868f3c8 in _XRead () from /usr/local/lib/libX11.so.6
> #3  0x28690e87 in _XReadEvents () from /usr/local/lib/libX11.so.6
> #4  0x2866f85c in XNextEvent () from /usr/local/lib/libX11.so.6
> #5  0x080dc21e in e_alert_show (
>     text=0x814d3c0 "This is very bad. Enlightenment SEGV'd.\n\nThis is 
> not meant to happen and is likely a sign of\na bug in Enlightenment or 
> the libraries it relies\non. You can gdb attach to this process now to 
> try\ndebug i"...)
>     at e_alert.c:129
> #6  0x080c3372 in e_sigseg_act (x=11, info=0xbfbfb760, data=0xbfbfb4a0)
>     at e_signals.c:48
> #7  <signal handler called>
> #8  0x289bb5f3 in strcasecmp () from /lib/libc.so.7
> #9  0x2828f5b5 in object_text_font_cache_font_find_file (fd=0x2996c550,
>     font=0x29a3dc68 "Matrix:style=Bold") at evas_font_dir.c:543
> #10 0x2828f6d2 in object_text_font_cache_font_find (fd=0x2996c550,
>     font=0x29a3dc68 "Matrix:style=Bold") at evas_font_dir.c:573
> #11 0x2828e587 in evas_font_dir_cache_find (
>     dir=0x28baf318 "/home/mmcneil/.e/e/fonts",
>     font=0x29a3dc68 "Matrix:style=Bold") at evas_font_dir.c:58
> #12 0x2828ebcd in evas_font_load (evas=0x28bcb160,
>     name=0x29a3af20 "Matrix:style=Bold", source=0x0, size=12)
>     at evas_font_dir.c:232
> ---Type <return> to continue, or q <return> to quit---
> #13 0x2827b519 in evas_object_text_font_set (obj=0x29d513a0,
>     font=0x29a3af20 "Matrix:style=Bold", size=12) at evas_object_text.c:187
> #14 0x281a82c5 in _edje_part_recalc_single (ed=0x29dfb1c0, ep=0x2a681900,
>     desc=0x29d40700, chosen_desc=0x29d40700, rel1_to_x=0x0, rel1_to_y=0x0,
>     rel2_to_x=0x0, rel2_to_y=0x0, confine_to=0x0, params=0xbfbfbd00, 
> flags=3)
>     at edje_calc.c:728
> #15 0x281aa1fc in _edje_part_recalc (ed=0x29dfb1c0, ep=0x2a681900, flags=3)
>     at edje_calc.c:1329
> #16 0x281a64e3 in _edje_recalc (ed=0x29dfb1c0) at edje_calc.c:162
> #17 0x281c469a in _edje_thaw (ed=0x29dfb1c0) at edje_util.c:1961
> #18 0x281ba851 in _edje_object_file_set_internal (obj=0x29d50860,
>     file=0x28b08348 "/home/mmcneil/.e/e/themes/23oz_by_sda_16_999_042.edj",
>     part=0x814bfa4 "e/widgets/menu/default/background", group_path=0x0)
>     at edje_load.c:568
> #19 0x281b9577 in edje_object_file_set (obj=0x29d50860,
>     file=0x28b08348 "/home/mmcneil/.e/e/themes/23oz_by_sda_16_999_042.edj",
>     part=0x814bfa4 "e/widgets/menu/default/background") at edje_load.c:35
> #20 0x080ca14d in e_theme_edje_object_set (o=0x29d50860,
>     category=0xbfbfc014 "base/theme",
>     group=0x814bfa4 "e/widgets/menu/default/background") at e_theme.c:180
> #21 0x080ca24b in e_theme_edje_object_set (o=0x29d50860,
>     category=0x814be69 "base/theme/menus",
>     group=0x814bfa4 "e/widgets/menu/default/background") at e_theme.c:208
> #22 0x080ae502 in _e_menu_realize (m=0x299ffa80) at e_menu.c:1400
> ---Type <return> to continue, or q <return> to quit---
> #23 0x080ab97f in e_menu_activate_mouse (m=0x299ffa80, zone=0x28b1f480, 
> x=296,
>     y=289, w=1, h=1, dir=4, activate_time=20898643) at e_menu.c:283
> #24 0x080d2bf4 in _e_actions_act_menu_show_go_mouse (obj=0x28b1f480,
>     params=0x28b79d98 "main", ev=0x2994a790) at e_actions.c:1442
> #25 0x080ce188 in e_bindings_mouse_down_event_handle (
>     ctxt=E_BINDING_CONTEXT_ZONE, obj=0x28b1f480, ev=0x2994a790)
>     at e_bindings.c:255
> #26 0x08080766 in _e_zone_cb_bg_mouse_down (data=0x28b1f480, 
> evas=0x28bc95c0,
>     obj=0x28bd2c80, event_info=0xbfbfc2dc) at e_zone.c:755
> #27 0x28262de3 in evas_object_event_callback_call (obj=0x28bd2c80,
>     type=EVAS_CALLBACK_MOUSE_DOWN, event_info=0xbfbfc2dc)
>     at evas_callbacks.c:121
> #28 0x2826464e in evas_event_feed_mouse_down (e=0x28bc95c0, b=1,
>     flags=EVAS_BUTTON_NONE, timestamp=20898643, data=0x0) at 
> evas_events.c:267
> #29 0x0807e1d5 in _e_container_cb_mouse_down (data=0x0, type=21,
>     event=0x2994a790) at e_container.c:1091
> #30 0x287a1529 in _ecore_event_call () at ecore_events.c:429
> #31 0x287aa623 in _ecore_main_loop_iterate_internal (once_only=0)
>     at ecore_main.c:678
> #32 0x287a964f in ecore_main_loop_begin () at ecore_main.c:85
> #33 0x08069fa7 in main (argc=1, argv=0xbfbfe8d4) at e_main.c:937
> (gdb) cont
> Continuing.
> [New LWP 100097]
> 
> Program received signal SIGTRAP, Trace/breakpoint trap.
> [Switching to LWP 100097]
> Cannot remove breakpoints because program is no longer writable.
> It might be running in another process.
> Further execution is probably impossible.
> 0x281593e0 in ?? () from /libexec/ld-elf.so.1
> (gdb) quit
> The program is running.  Quit anyway (and detach it)? (y or n) y
> Detaching from program: /opt/e17/bin/enlightenment, process 67866
> [mmcneil:~]exit
> 
> Script done on Mon Apr 21 14:34:47 2008
> 
> Thanks,
> 
> Mike McNeil
> 
> Carsten Haitzler (The Rasterman) wrote:
> > On Thu, 17 Apr 2008 10:40:18 -0700 "M.McNeil" <[EMAIL PROTECTED]>
> > babbled:
> >
> >   
> >> I found this when I ran gdb a second time and did a backtrace:
> >>     
> >
> > you should gdb attach WHEN e has segfaulted (i.e - the white box of death
> > is on the screen(, OR you should alloe e to continue from this attached
> > state until the segfault occurs (cont command in gdb)
> >
> >   
> >> [Switching to Thread 0x28b01100 (LWP 100142)]
> >> 0x2898a86f in poll () from /lib/libc.so.7
> >> (gdb) bt
> >> #0  0x2898a86f in poll () from /lib/libc.so.7
> >> #1  0x2868ef53 in _XWaitForReadable () from /usr/local/lib/libX11.so.6
> >> #2  0x2868f3c8 in _XRead () from /usr/local/lib/libX11.so.6
> >> #3  0x2868ff82 in _XReply () from /usr/local/lib/libX11.so.6
> >> #4  0x286874e5 in XSync () from /usr/local/lib/libX11.so.6
> >> #5  0x28a65a65 in evas_software_x11_outbuf_idle_flush (buf=0x28b255e0)
> >>     at evas_outbuf.c:718
> >> #6  0x28a63ed6 in eng_output_idle_flush (data=0x29604180) at 
> >> evas_engine.c:338
> >> #7  0x282916f5 in evas_render_idle_flush (e=0x28bdb5c0) at
> >> #evas_render.c:519 8  0x281e1806 in _ecore_evas_cb_idle_flush
> >> #(data=0x28bc26a0)
> >>     at ecore_evas.c:1900
> >> #9  0x287aea3d in _ecore_timer_call (when=1208453594.5901239)
> >>     at ecore_timer.c:328
> >> #10 0x287aa212 in _ecore_main_loop_iterate_internal (once_only=0)
> >>     at ecore_main.c:531
> >> #11 0x287a964f in ecore_main_loop_begin () at ecore_main.c:85
> >> #12 0x08069fa7 in main (argc=1, argv=0xbfbfe920) at e_main.c:937
> >> (gdb)
> >>
> >>
> >> Thanks,
> >>
> >> Mike M.
> >>
> >>
> >>
> >> Carsten Haitzler (The Rasterman) wrote:
> >>     
> >>> On Wed, 16 Apr 2008 16:26:51 -0700 "M.McNeil" <[EMAIL PROTECTED]>
> >>> babbled:
> >>>
> >>>   
> >>>       
> >>>> Hi,
> >>>>
> >>>> I just updated my E17 installation using the easy_e17 script.  The 
> >>>> update went fine as usual, however, upon restarting E17, E17 started to 
> >>>> segfault.  I rebooted my machine, same problem.  I then, did a fresh 
> >>>> installation of E17 and got the same results.  When I move my mouse 
> >>>> around the desktop, E17 segfaults.  I'm running FreeBSD 7.0-RELEASE, can 
> >>>> someone take a look into this ?  My machine is basically unusable at 
> >>>> this time.
> >>>>     
> >>>>         
> >>> no i can't look into it. e17 works just fine here. build e and efl libs
> >>> with gdb debugging and get a backtrace and we might be able to do
> >>> something. try valgrind if the backtrace isn't much use.
> >>>
> >>>   
> >>>       
> >> -- 
> >>
> >> -------------------------------------------------
> >>
> >> Mike McNeil
> >>
> >> Sr. Network Engineer
> >>
> >> Information Systems and Technology
> >>
> >> University of California Berkeley
> >>
> >>
> >>     
> >
> >
> >   
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> enlightenment-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> enlightenment-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to