Uri Yosef wrote:
>>
>
> Well I also got some problems, althou all dfb* utils works I gtk-demo fails.
> It is related to the fact that my system does not include keyboard.
>
> When I patch "gtk+-2.18.6/gdk/directfb/gdkdisplay-directfb.c" as follow:
>
>  if (ret != DFB_OK){
>       DirectFBError ("gdk_display_open: GetInputDevice", ret);
> -    return NULL;
> +    //return NULL;
>   }
>
> I get this crash:
>
> ~ # gtk-demo
> commandline read: gtk-demo
>
>    ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.3 |~~~~~~~~~~~~~~~~~~~~~~~~~~
>         (c) 2001-2009  The world wide DirectFB Open Source Community
>         (c) 2000-2004  Convergence (integrated media) GmbH
>       ----------------------------------------------------------------
>
> (*) DirectFB/Core: Single Application Core. (2010-01-19 09:36)
> (*) Direct/Memcpy: Using libc memcpy()
> (*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER
> 0/0] <8388608>...
> (*) Direct/Thread: Started 'VT Flusher' (-1) [DEFAULT OTHER/OTHER 0/0]
> <8388608>...
> (*) DirectFB/FBDev: Found 's3c2410fb' (ID 0) with frame buffer at
> 0x33a00000, 750k (MMIO 0x00000000, 0k)
> (*) Direct/Thread: Started 'tslib Input' (-1) [INPUT OTHER/OTHER 0/0]
> <8388608>...
> (*) DirectFB/Input: tslib touchscreen 0 0.1 (tslib)
> (*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
> <8388608>...
> (*) DirectFB/Input: gpio-keys 0.1 (directfb.org)
> (*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
> (*) DirectFB/Core/WM: Default 0.3 (directfb.org)
> (#) DirectFBError [gdk_display_open: GetInputDevice]: Requested ID not found!
> keyboard (nil)
> (!) [  735:    0.000] --> Caught signal 11 (at (nil), invalid address) <--
>  (!!!)  *** WARNING [still objects in 'Window Pool'] ***
> [/home/uri/URIX-SDK/sources/DirectFB-1.4.3/lib/fusion/object.c:241 in
> fusio
> n_object_pool_destroy()]
>  (!!!)  *** WARNING [still objects in 'Layer Region Pool'] ***
> [/home/uri/URIX-SDK/sources/DirectFB-1.4.3/lib/fusion/object.c:241 in
>  fusion_object_pool_destroy()]
>  (!!!)  *** WARNING [still objects in 'Layer Context Pool'] ***
> [/home/uri/URIX-SDK/sources/DirectFB-1.4.3/lib/fusion/object.c:241 i
> n fusion_object_pool_destroy()]
>  (!!!)  *** WARNING [still objects in 'Surface Pool'] ***
> [/home/uri/URIX-SDK/sources/DirectFB-1.4.3/lib/fusion/object.c:241 in
> fusi
> on_object_pool_destroy()]
> Aborted
>
> Any idea?
> Thanks
> Uri
>   

It seems that you have the issue I had too.
To figure out what's going on, I built directfb with trace and debug and
I used strace on a gtk+ helloworld program.
I don't have the ouput of strace here, but the "caught signal 11"  was
just after some xxxfusionxxx call.
I will post the output of strace, when I will try again.

Regards,
AWG

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

Reply via email to