Sakur schrieb:
> Hi All:
>    I've  built DirectFB on FC5 running on PS3. Now there's no problem to 
> direct DFB app to X11 or SDL output. But the crash was immediately 
> occurred if set back to FBDev output,even invoking simple "dfbinfo".  
> Here's the error log (I added some simple log marked as red):
> 
> .....
> 
> (-) [Main Thread       0.790] (13349) Core/Input:                        
> init_devices( 0x10017388 )
> (-) [Main Thread       0.790] (13349) 
> Core/Input:                          -> probing 'WM97xx Touchscreen 
> Driver'...
> (-) [Main Thread       0.790] (13349) 
> Core/Input:                          -> probing 'SonyPI Jogdial Driver'...
> (-) [Main Thread       0.790] (13349) 
> Core/Input:                          -> probing 'PenMount 9509'...
> (-) [Main Thread       0.790] (13349) 
> Core/Input:                          -> probing 'MuTouch'...
> (-) [Main Thread       0.790] (13349) 
> Core/Input:                          -> probing 'Serial Mouse Driver'...
> (-) [Main Thread       0.790] (13349) 
> Core/Input:                          -> probing 'PS/2 Mouse Driver'...
> (-) [Main Thread       0.790] (13349) 
> Core/Input:                          -> 1 available device(s) provided 
> by 'PS/2 Mouse Driver'.
> (*) open number:0,/dev/input/mice input mouse
> (*) mouse: PS2_IMPS2
> (-) [PS/2 Input        0.840] (13353) Direct/Signals:    Blocking all 
> signals from now on!
> (*) Start read mouse data
> (*) Direct/Thread: Running 'PS/2 Input' (INPUT, 13353)...
> (-) [Main Thread       0.840] (13349) 
> Core/Input:                            make_id( 0x01 )
> (*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
> (-) [Main Thread       0.840] (13349) 
> Core/Input:                            input_add_device( 0x1001e9d0 )
> (-) [Main Thread       0.840] (13349) 
> Core/Input:                          -> probing 'LIRC Driver'...
> (-) [Main Thread       0.840] (13349) 
> Core/Input:                          -> probing 'Linux Input Driver'...
> (*) Linux Input: Driver_get_available Enter
> (*) get input device info
> (*) get_device_info call
> (*) get_device_info enter
> (*) Get device:Dell Dell USB Mouse
> (*) test_bit evbit
> (*) touchpad:0
> (*) get_device_info leave
> (!) [13349:    0.840] --> Caught signal 11 (at (nil), invalid address) <--
> (-) [13349: -STACK- ]
>   #0  0x0f69bbd0 in signal_handler () from 
> /usr/local/lib/libdirect-1.0.so.0 [0xf68e000]
>   #1  0x0f1bdce0 in driver_get_available () from 
> /usr/local/lib/directfb-1.0-0/inputdrivers/libdirectfb_linux_input.so 
> [0xf1b9000]

               get_device_info( fd, &info );

               ioctl( fd, EVIOCGRAB, 0 );
               close( fd );

               if (!dfb_config->linux_input_ir_only ||
                   (info.desc.type & DIDTF_REMOTE))
                    device_nums[num_devices++] = i;

It could only be that dfb_config is NULL. That is when
dfb_config_init() was not called (by DirectFBInit()).

But DirectFBCreate() checks that.

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

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

Reply via email to