> -) [Main Thread 0.420] ( 350) Core/Input: init_devices( > 0x1007f5b8 ) > (-) [Main Thread 0.420] ( 350) Core/Input: -> probing > 'LIRC Driver'... > (-) [Main Thread 0.430] ( 350) Core/Input: -> 1 > available device(s) provided by 'LIRC Driver'. > (-) [LiRC Input 0.440] ( 353) Direct/Signals: Blocking all > signals from now on! > (*) Direct/Thread: Running 'LiRC Input' (INPUT, 353)... > (-) [Main Thread 0.440] ( 350) Core/Input: make_id( 0x03 ) > (*) DirectFB/Input: LIRC Device 0.2 (convergence integrated media GmbH) > > [....] > > (-) [Main Thread 9.920] ( 350) Core/Parts: Going to > shutdown 'wm' core... > (-) [Main Thread 9.930] ( 350) Core/Parts: Going to > shutdown 'layers' core... > (-) [Main Thread 9.930] ( 350) Core/Parts: Going to > shutdown 'screens' core... > (-) [Main Thread 9.930] ( 350) Core/Parts: Going to > shutdown 'gfxcard' core... > (-) [Main Thread 9.930] ( 350) Core/Parts: Going to > shutdown 'input' core... > (-) [Main Thread 9.930] ( 350) Core/Input: > dfb_input_shutdown( 0x1007f5b8, no emergency ) > (-) [Main Thread 9.940] ( 350) Direct/Thread: Canceling 353. > > Now the app hangs. > I removed all refreneces in the app to lirc, still the same prob. > I removed libdirectfb_lirc.o from my static linked app, everything is > fine, the app terminates. > Why can't the MainThread terminate the LIRC-Thread? :-((((( > Maybe a static link prob? I think the prob is the current uClibc. I found a bug in the buglist of uClibc http://bugs.uclibc.org/view.php?id=1013 concerning select() and pthread_cancel()/pthread_join(), which seems to be responsible for hanging.
_______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
