Hallo
I have after 5 years upgraded my system to a new one. I am running a 64
bit kernel. Have compiled the mjpegtools. Not the kernel, still using
the opensuse 11.0 kernel: 2.6.25.5-1.1. I have 4GB of RAM in the machine.
I have discovered a problem with lavrec. It fails with that error message:
> lavrec -f a -i P -d 1 -q 55 -a 0 test03.avi -v 2
INFO: [lavrec] Recording parameters:
INFO: [lavrec] Output format: AVI
INFO: [lavrec] Input Source: S-Video PAL
++ WARN: [lavrec] Closing file(s) and exiting - output file(s) my not be
readable due to error
**ERROR: [lavrec] Error syncing on a buffer: Timer expired
INFO: [lavrec] Opening output file test03.avi
[2]+ Donexawtv -c /dev/video
Segmentation fault (core dumped)
---END---
dmesg give that information:
Buz[1]: jpg_sync() - timeout: codec isr=0x04
lavrec[5148]: segfault at 7fe004d91000 ip 7fe006af85ad sp 41beeb18 error
4 in liblavfile-1.9.so.0.1.1[7fe006af3000+13000]
When I analyze the crash dump with ddd I get that information:
#0 scan_jpeg (jpegdata=0x7f5643554000 , jpeglen=0, header_only=0) at lav_io.c:126
/home/bernhard/download/cvs/mjpeg_play/lavtools/lav_io.c:126:3378:beg:0x7f56452bb5ad
(gdb) print jpegdata
$1 = (unsigned char *) 0x7f5643554000
(gdb) list 'jpegdata'
Line 109 of "lav_io.c" is at address 0x7f56452bb540 but
contains no code.
A backtrace gives me that information:
(gdb) bt
#0 scan_jpeg (jpegdata=0x7f8ac5b24000 , jpeglen=0, header_only=0) at lav_io.c:126
#1 0x7f8ac788c76c in lav_write_frame (lav_file=0x614510,
buff=0x7f8ac5b24000 , size=0,
count=1) at lav_io.c:410
#2 0x7f8ac7aa6c4e in video_captured (info=0x607010,
buff=0x7f8ac5b24000 , size=0,
count=1) at liblavrec.c:729
#3 0x7f8ac7aa7a35 in lavrec_record (info=0x607010) at liblavrec.c:2116
#4 0x7f8ac7aa80bd in lavrec_capture_thread (arg=) at liblavrec.c:2193
#5 0x7f8ac7190040 in start_thread () from /lib64/libpthread.so.0
#6 0x7f8ac64370cd in clone () from /lib64/libc.so.6
---END---
No I am a bist lost here. Has anyone a hint how where I should take
further looks to find out more about the problem. And fix it ?
That is not a buz specific problem I it also happen with the DC30.
auf hoffentlich bald,
Berni the Chaos of Woodquarter
Email: [EMAIL PROTECTED]
www: http://www.lysator.liu.se/~gz/bernhard
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users