Anders Karlsson wrote: > Hi, > > randomly we get lockups during termination of DirectFB version 1.2.3. We did > not see this in earlier versions of the same code. As far as we know we have > the expected exit handling and it worked fine, without complaints, before. > > When I connect a gdb against the locked process I get the following backtrace: > > --------------------------------------------------------------------------------- > (gdb) bt > #0 0xb7f97424 in __kernel_vsyscall () > #1 0xb7c5aca9 in __lll_lock_wait () from /lib/i686/cmov/libpthread.so.0 > #2 0xb7c560d3 in _L_lock_291 () from /lib/i686/cmov/libpthread.so.0 > #3 0xb7c55b36 in pthread_mutex_lock () from /lib/i686/cmov/libpthread.so.0 > #4 0xb7d63866 in pthread_mutex_lock () from /lib/i686/cmov/libc.so.6 > #5 0xb7c7131e in fusion_reactor_detach_global () > > from > /usr/local/sdk/directfb/custom/local/directfb-1.2.3/lib/libfusion-1.2.so.0 > #6 0xb7f728dd in dfb_input_detach_global () > > from > /usr/local/sdk/directfb/custom/local/directfb-1.2.3/lib/libdirectfb-1.2.so.0 > #7 0xb7f87fd0 in dfb_windowstack_destroy () > > from > /usr/local/sdk/directfb/custom/local/directfb-1.2.3/lib/libdirectfb-1.2.so.0 > #8 0xb7f7700a in context_destructor () > > from > /usr/local/sdk/directfb/custom/local/directfb-1.2.3/lib/libdirectfb-1.2.so.0 > #9 0xb7c70ea6 in object_reference_watcher () > > from > /usr/local/sdk/directfb/custom/local/directfb-1.2.3/lib/libfusion-1.2.so.0 > #10 0xb7c71de0 in fusion_ref_down () > from > /usr/local/sdk/directfb/custom/local/directfb-1.2.3/lib/libfusion-1.2.so.0 > #11 0xb7f2effa in IDirectFB_Destruct () > > from > /usr/local/sdk/directfb/custom/local/directfb-1.2.3/lib/libdirectfb-1.2.so.0 > #12 0xb7f2f12c in IDirectFB_Release () > > from > /usr/local/sdk/directfb/custom/local/directfb-1.2.3/lib/libdirectfb-1.2.so.0 > #13 0x08048f21 in main (argc=Cannot access memory at address 0x80 > ) at blit.c:92 > --------------------------------------------------------------------------------- > > The line at row 92 is my DirectFB release: > 92 dfb->Release( dfb ); > > > Has anything changed in this area?
Yes, please look at the 1.2.2 changes http://www.directfb.org/index.php?path=Main%2FNews&entry=2008-08-15-0.dok I can't find the error with the stack trace. Please provide a trace of all threads or turn on DirectFB debugging messages, preferably with trace support for nice indent using "--enable-debug --enable-trace" and option "debug" at runtime. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev