Thanks yep were getting closer for some reason I get a corrupt malloc
header so I crash in the next allocation which is not helpful.
Looks like a lot of bad pointer stuff icky :)

On 11/17/05, Attilio Fiandrotti <[EMAIL PROTECTED]> wrote:
> Mike Emmel wrote:
> > On 11/16/05, Davide Viti <[EMAIL PROTECTED]> wrote:
> >
> >>Hi Mike,
> >>
> >>
> >>>Here is another patch I will check in its harmless but continue to read
> >>
> >>I tried to see if I could backport the patch to the 2.0.9 sources, but
> >>they're too outdated. I suppose we should wait until Attilio can see
> >>if they fix or not the problem with an installer based on 2.8.3
> >>libs. Would it then be possible for you to backoprt the patches or it
> >>would be just too tricky?
> >>I'm really curious to see if the cause of the crash is really DFB or
> >>#316484.
> >>
> >
> > I don't know myself I was going to try and get the 2.8.3 to work at
> > least as well as
> > 2.0.9 then start looking at backporting if required. There are
> > potentially issues at the DirectFB layer also. We will see.
> >
> after backporting to GTKDFB 2.0.9 your latest patch to
> gdkwindow-directfb.c i recompiled gtkdfb 2.0.9 and then compiled and run
> gtk.c (the shared librart that makes the GTK frontend to cdebconf)
> against that set of libs setting MALLOC_CHECK_ env, this is what i got
>
>
> attilaptop:/home/attilio/cdebconf/cdebconf/src/gtk_test# export
> MALLOC_CHECK_=1
> attilaptop:/home/attilio/cdebconf/cdebconf/src/gtk_test# ../debconf
> test.config
> malloc: using debugging hooks
> (*) DirectFB/Config: Parsing config file '/etc/directfbrc'.
>
>         ---------------------- DirectFB v0.9.22 ---------------------
>               (c) 2000-2002  convergence integrated media GmbH
>               (c) 2002-2004  convergence GmbH
>          -----------------------------------------------------------
>
> (*) DirectFB/Core: Single Application Core. (2005-10-06 20:07)
> (*) Direct/Memcpy: Using MMX optimized memcpy()
>
>
> (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 5260)...
> (*) Direct/Thread: Running 'Linux Input' (INPUT, 5265)...
>   (!!!)  *** UNIMPLEMENTED [fusion_reactor_set_lock] ***
> [../../../lib/fusion/reactor.c:802]
> (*) DirectFB/Input: AT Translated Set 2 keyboard (1) 0.1 (convergence
> integrated media GmbH)
> (*) Direct/Thread: Running 'Linux Input' (INPUT, 5266)...
> (*) DirectFB/Input: SynPS/2 Synaptics TouchPad (2) 0.1 (convergence
> integrated media GmbH)
> (*) Direct/Thread: Running 'Linux Input' (INPUT, 5267)...
> (*) DirectFB/Input: Logitech USB-PS/2 Optical Mouse (3) 0.1 (convergence
> integrated media GmbH)
> (*) Direct/Thread: Running 'Keyboard Input' (INPUT, 5268)...
> (*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
> (*) Direct/Thread: Running 'PS/2 Input' (INPUT, 5269)...
> (*) DirectFB/Input: IMPS/2 Mouse 1.0 (Convergence GmbH)
> (*) DirectFB/Genefx: MMX detected and enabled
> (*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (convergence
> integrated media GmbH)
> (*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH)
> (!) DirectFB/FBDev: Panning display failed!
>      --> Invalid argument
>
> (omitted)
>
> malloc: using debugging hooks
> (!) [ 4836:    0.000] --> Caught signal 11 (at 0xb7b8e540, invalid
> address) <--
> *** glibc detected *** free(): invalid pointer: 0x081472d0 ***
> *** glibc detected *** free(): invalid pointer: 0xb7f56250 ***
> jè·àaõ·jè·àaõ·jè·àaõ·*** glibc detected *** free(): invalid
> pointer: 0x0 8060f40 ***
> *** glibc detected *** corrupted double-linked list: 0x08061178 ***
> *** glibc detected *** free(): invalid pointer: 0x0805e0d0 ***
> *** glibc detected *** free(): invalid pointer: 0xb7f56288 ***
> *** glibc detected *** free(): invalid pointer: 0x0805e0d8 ***
> Segmentation fault
>
> as you can see process 4836 (cdebconf) crashes as VT switch occours.
>
>
> i get the same (or similar) output if i compile and run gtk.c agains
> GTKDFB 2.8.8 (after paching gdkwindow-directfb.c) and DFB 0.9.25 (after
> patching wm/default/default.c )
>
>
> attilaptop:/home/attilio/cdebconf/cdebconf/src/gtk_test# export
> MALLOC_CHECK_=1
> attilaptop:/home/attilio/cdebconf/cdebconf/src/gtk_test# ../debconf
> test.config
> malloc: using debugging hooks
> (*) DirectFB/Config: Parsing config file '/etc/directfbrc'.
>
>         ---------------------- DirectFB v0.9.25 ---------------------
>               (c) 2000-2002  convergence integrated media GmbH
>               (c) 2002-2004  convergence GmbH
>          -----------------------------------------------------------
>
> (*) DirectFB/Core: Single Application Core. (2005-11-16 09:46)
> (*) Direct/Memcpy: Using SSE optimized memcpy()
> (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 5363)...
> (*) Direct/Thread: Running 'PS/2 Input' (INPUT, 5368)...
>   (!!!)  *** UNIMPLEMENTED [fusion_reactor_set_lock] *** [reactor.c:837]
> (*) DirectFB/Input: IMPS/2 Mouse 1.0 (Convergence GmbH)
> (*) Direct/Thread: Running 'Linux Input' (INPUT, 5369)...
> (*) DirectFB/Input: AT Translated Set 2 keyboard (1) 0.1 (convergence
> integrated media GmbH)
> (*) Direct/Thread: Running 'Linux Input' (INPUT, 5370)...
> (*) DirectFB/Input: SynPS/2 Synaptics TouchPad (2) 0.1 (convergence
> integrated media GmbH)
> (*) Direct/Thread: Running 'Linux Input' (INPUT, 5371)...
> (*) DirectFB/Input: Logitech USB-PS/2 Optical Mouse (3) 0.1 (convergence
> integrated media GmbH)
> (*) Direct/Thread: Running 'Keyboard Input' (INPUT, 5372)...
> (*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
> (*) DirectFB/Genefx: MMX detected and enabled
> (*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (convergence
> integrated media GmbH)
> (*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH)
> (!) DirectFB/FBDev: Panning display failed!
>      --> Invalid argument
> (*) Direct/Thread: Running 'EventBufferFeed' (MESSAGING, 5373)...
> (debconf:5358): Gdk-DirectFB-WARNING **:
> gdk_screen_broadcast_client_message not supported
> (debconf:5358): Gdk-DirectFB-WARNING **: gdk_window_set_keep_above() not
> implemented.
> (debconf:5358): Gdk-DirectFB-WARNING **: gdk_window_set_keep_below() not
> implemented.
> ANS: 0
> ANS: 0 question will be asked
> (debconf:5358): Gdk-DirectFB-WARNING **:
> gdk_display_request_selection_notification Unimplemented function
> (debconf:5358): Gdk-DirectFB-WARNING **: gdk_window_set_keep_above() not
> implemented.
> (debconf:5358): Gdk-DirectFB-WARNING **: gdk_window_set_keep_below() not
> implemented.
> ANS: 0 ok
> RET CODE: 0
> CHOICE : progressbar
> ANS: 20 Incorrect number of arguments
> ANS: 0 OK
> malloc: using debugging hooks
> ANS: 0 OK
> ANS: 0 OK
> malloc: using debugging hooks
> ANS: 0 OK
> ANS: 0 OK
> malloc: using debugging hooks
> (!!!)  *** WARNING [Application exited without deinitialization of
> DirectFB!] *** [core.c:727 in dfb_core_deinit_check()]
> *** glibc detected *** free(): invalid pointer: 0x08056f10 ***
> *** glibc detected *** free(): invalid pointer: 0x08078710 ***
> *** glibc detected *** free(): invalid pointer: 0x08078630 ***
> *** glibc detected *** free(): invalid pointer: 0x081571c0 ***
> *** glibc detected *** free(): invalid pointer: 0xb7f61288 ***
> ȱ¹¿U.é·ȱ¹¿U.é·ȱ¹¿U.é·*** glibc detected *** free(): invalid
> pointer: 0x08076760 ***
> *** glibc detected *** free(): invalid pointer: 0x080a6910 ***
> *** glibc detected *** free(): invalid pointer: 0xb7f61238 ***
> *** glibc detected *** free(): invalid pointer: 0x080788e8 ***
> *** glibc detected *** free(): invalid pointer: 0x081571c0 ***
> *** glibc detected *** free(): invalid pointer: 0xb7f61288 ***
> *** glibc detected *** free(): invalid pointer: 0x08078b70 ***
> *** glibc detected *** corrupted double-linked list: 0x08078830 ***
> *** glibc detected *** free(): invalid pointer: 0x0816cc98 ***
> *** glibc detected *** free(): invalid pointer: 0xb7f612b0 ***
> *** glibc detected *** free(): invalid pointer: 0x08078df8 ***
>
>
> i hope this helps to solve the bug.
>
> ciao
>
> attilio
>

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to