Denis Oliver Kropp wrote:
Manu Abraham wrote:
The only thing that i was able to find was an undefined symbol (pow),
but looking at the symbols in the dlobject, i can see pow in there
Hmm, don't know why it isn't linked/loaded automatically with libmpeg3,
but adding "-lm" to either the application or the module should help.
Sure that helped ... it looks quite great playing the TS.
The only one quirk is the placement/positioning of the video window, but
that is anyway quite irrelevant for a sample application.
I added in my log, just in case if it is of any interest.
Thanks Again,
Manu
---------------------- DirectFB v0.9.24 ---------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2004 convergence GmbH
-----------------------------------------------------------
(*) DirectFB/Core: Multi Application Core. (2005-12-15 22:21)
(*) Direct/Memcpy: Using MMXEXT optimized memcpy()
(*) Direct/Thread: Running 'Fusion Dispatch' (MESSAGING, 28048)...
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 28053)...
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 28056)...
(*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 28061)...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (Convergence GmbH)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: nVidia NV10 (0x0181) 0.5 (directfb.org)
(*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH)
(!) filename=/root/work/test_ts.mpg
(*) Direct/Interface: Loaded 'Libmpeg3' implementation of
'IDirectFBVideoProvider'.
(*) Direct/Interface: Loaded 'default' implementation of 'IFusionSound'.
(*) Direct/Thread: Running 'Sound Mixer' (CRITICAL, 28064)...
(!!!) *** ONCE [accessing video memory during suspend] *** [surfaces.c:804 in
dfb_surface_software_lock()]
(!) [28047: 9.029] --> Caught signal 2 (sent by the kernel) <--
*** glibc detected *** ./sample1: double free or corruption (out): 0x08050d10
***
======= Backtrace: =========
/lib/libc.so.6[0xb7db5424]
/lib/libc.so.6(__libc_free+0x77)[0xb7db595f]
/usr/local/lib/libdirect-0.9.so.24(direct_thread_destroy+0x2c)[0xb7ebfc70]
/usr/local/lib/directfb-0.9.24/inputdrivers/libdirectfb_keyboard.so[0xb2d40e89]
/usr/local/lib/libdirectfb-0.9.so.24[0xb7f2ae4b]
/usr/local/lib/libdirectfb-0.9.so.24(dfb_core_part_shutdown+0x30)[0xb7f2753c]
/usr/local/lib/libdirectfb-0.9.so.24[0xb7f26f9f]
/usr/local/lib/libdirectfb-0.9.so.24[0xb7f2716c]
/usr/local/lib/libfusion-0.9.so.24(fusion_arena_exit+0xa4)[0xb7ec56e4]
/usr/local/lib/libdirectfb-0.9.so.24(dfb_core_destroy+0x11d)[0xb7f268e5]
/usr/local/lib/libdirectfb-0.9.so.24[0xb7f26f59]
/usr/local/lib/libdirect-0.9.so.24[0xb7ebc965]
[0xffffe440]
[0x9f7ecf8]
======= Memory map: ========
08048000-0804b000 r-xp 00000000 03:02 1738472
/root/work/DirectFB/DirectFB-extra-0.9.23/samples/sample1
0804b000-0804c000 rw-p 00003000 03:02 1738472
/root/work/DirectFB/DirectFB-extra-0.9.23/samples/sample1
0804c000-0808e000 rw-p 0804c000 00:00 0 [heap]
20000000-200e3000 rw-s 00000000 00:0c 11890 /dev/fusion.0
adbd2000-adbd3000 ---p adbd2000 00:00 0
adbd3000-ae3d3000 rwxp adbd3000 00:00 0
ae3d3000-ae3d4000 ---p ae3d3000 00:00 0
ae3d4000-aebd4000 rwxp ae3d4000 00:00 0
aebd4000-aebd5000 ---p aebd4000 00:00 0
aebd5000-af3d5000 rwxp aebd5000 00:00 0
af3d5000-af8c9000 rw-p af3d5000 00:00 0
af8c9000-af8ca000 ---p af8c9000 00:00 0
af8ca000-b00ca000 rwxp af8ca000 00:00 0
b00ca000-b0bbd000 rw-p b00ca000 00:00 0
b1bbd000-b1bbe000 ---p b1bbd000 00:00 0
b1bbe000-b23be000 rwxp b1bbe000 00:00 0
b23be000-b23bf000 ---p b23be000 00:00 0
b23bf000-b2bbf000 rwxp b23bf000 00:00 0
b2c28000-b2c31000 r-xp 00000000 03:02 360450 /lib/libgcc_s-4.0.0-20050520.so.1
b2c31000-b2c32000 rw-p 00009000 03:02 360450
/lib/libgcc_s-4.0.0-20050520.so.1
b2c4a000-b2c53000 r-xp 00000000 03:02 607260
/usr/local/lib/libfusionsound.so.0.0.0
b2c53000-b2c54000 rw-p 00008000 03:02 607260
/usr/local/lib/libfusionsound.so.0.0.0
b2c54000-b2c55000 r-xp 00000000 03:02 1377559
/usr/local/lib/directfb-0.9.24/interfaces/IFusionSound/libifusionsound.so
b2c55000-b2c56000 rw-p 00000000 03:02 1377559
/usr/local/lib/directfb-0.9.24/interfaces/IFusionSound/libifusionsound.so
b2c56000-b2cd8000 rw-p b2c56000 00:00 0
b2cd8000-b2d21000 r-xp 00000000 03:02 1379316 /usr/local/lib/directfb-0.9.24/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_libmpeg3.so
b2d21000-b2d27000 rw-p 00049000 03:02 1379316
/usr/local/lib/directfb-0.9.24/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_libmpeg3.so
b2d27000-b2d3b000 rw-p b2d27000 00:00 0
b2d3b000-b2d3f000 r-xp 00000000 03:02 1376535 /usr/local/lib/directfb-0.9.24/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_v4l.so
b2d3f000-b2d40000 rw-p 00004000 03:02 1376535
/usr/local/lib/directfb-0.9.24/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_v4l.so
b2d40000-b2d43000 r-xp 00000000 03:02 1376539
/usr/local/lib/directfb-0.9.24/inputdrivers/libdirectfb_keyboard.so
b2d43000-b2d44000 rw-p 00002000 03:02 1376539
/usr/local/lib/directfb-0.9.24/inputdrivers/libdirectfb_keyboard.so
b2d44000-b6d44000 rw-s e0000000 00:0c 1860 /dev/fb0
b6d44000-b6d45000 ---p b6d44000 00:00 0
b6d45000-b7545000 rwxp b6d45000 00:00 0
b7545000-b7546000 ---p b7545000 00:00 0
b7546000-b7d46000 rwxp b7546000 00:00 0
b7d46000-b7d4f000 r-xp 00000000 03:02 1376506 /usr/local/lib/directfb-0.9.24/systems/libdirectfb_fbdev.so
b7d4f000-b7d50000 rw-p 00008000 03:02 1376506
/usr/local/lib/directfb-0.9.24/systems/libdirectfb_fbdev.so
b7d50000-b7d52000 rw-p b7d50000 00:00 0
b7d52000-b7e76000 r-xp 00000000 03:02 360475 /lib/libc-2.3.5.so
b7e76000-b7e78000 r--p 00124000 03:02 360475 /lib/libc-2.3.5.so
b7e78000-b7e7a000 rw-p 00126000 03:02 360475 /lib/libc-2.3.5.so
b7e7a000-b7e7c000 rw-p b7e7a000 00:00 0
b7e7c000-b7e9e000 r-xp 00000000 03:02 360483 /lib/libm-2.3.5.so
b7e9e000-b7e9f000 r--p 00021000 03:02 360483 /lib/libm-2.3.5.so
b7e9f000-b7ea0000 rw-p 00022000 03:02 360483 /lib/libm-2.3.5.so
b7ea0000-b7ea2000 r-xp 00000000 03:02 360481 /lib/libdl-2.3.5.so
b7ea2000-b7ea3000 r--p 00001000 03:02 360481 /lib/libdl-2.3.5.so
b7ea3000-b7ea4000 rw-p 00002000 03:02 360481 /lib/libdl-2.3.5.so
b7ea4000-b7eb2000 r-xp 00000000 03:02 360511 /lib/libpthread-2.3.5.so
b7eb2000-b7eb3000 r--p 0000d000 03:02 360511 /lib/libpthread-2.3.5.so
b7eb3000-b7eb4000 rw-p 0000e000 03:02 360511 /lib/libpthread-2.3.5.so
b7eb4000-b7eb7000 rw-p b7eb4000 00:00 0
b7eb7000-b7ec2000 r-xp 00000000 03:02 606910 /usr/local/lib/libdirect-0.9.so.24.0.0
b7ec2000-b7ec3000 rw-p 0000b000 03:02 606910
/usr/local/lib/libdirect-0.9.so.24.0.0
b7ec3000-b7ecc000 r-xp 00000000 03:02 606914
/usr/local/lib/libfusion-0.9.so.24.0.0
b7ecc000-b7ecd000 rw-p 00008000 03:02 606914
/usr/local/lib/libfusion-0.9.so.24.0.0
b7ecd000-b7edf000 r-xp 00000000 03:02 593738 /usr/lib/libz.so.1.2.2.2
b7edf000-b7ee0000 rw-p 00011000 03:02 593738 /usr/lib/libz.so.1.2.2.2
b7eed000-b7eef000 r-xp 00000000 03:02 1376545
/usr/local/lib/directfb-0.9.24/inputdrivers/libdirectfb_ps2mouse.so
b7eef000-b7ef0000 rw-p 00002000 03:02 1376545
/usr/local/lib/directfb-0.9.24/inputdrivers/libdirectfb_ps2mouse.so
b7ef0000-b7ef1000 rw-p b7ef0000 00:00 0
b7ef8000-b7f41000 r-xp 00000000 03:02 606918 /usr/local/lib/libdirectfb-0.9.so.24.0.0
b7f41000-b7f43000 rw-p 00049000 03:02 606918
/usr/local/lib/libdirectfb-0.9.so.24.0.0
b7f43000-b7f44000 rw-p b7f43000 00:00 0
b7f44000-b7f5e000 r-xp 00000000 03:02 360466 /lib/ld-2.3.5.so
b7f5e000-b7f5f000 r--p 00019000 03:02 360466 /lib/ld-2.3.5.so
b7f5f000-b7f60000 rw-p 0001a000 03:02 360466 /lib/ld-2.3.5.so
bf949000-bf95e000 rwxp bf949000 00:00 0 [stack]
ffffe000-fffff000 ---p 00000000 00:00 0 [vdso]
(!) [28047: 9.030] --> Caught signal 6 (unknown origin) <--
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users