Bugs item #219721, was updated on 2000-10-29 20:31 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=111050&aid=219721&group_id=11050 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 2 Submitted By: Nobody/Anonymous (nobody) >Assigned to: Zdenek Kabelac (kabi) Summary: segfault possibly related to smp Initial Comment: When accessaing an AVI file in an attempt to recompress, avifile always segfaults... I have included my gdb transcript. I am running Debian unstable, kernel 2.2.17, libc2.1.95 on a dual PII-333. This GDB was configured as "i686-pc-linux-gnu"... (gdb) run Starting program: /usr/bin/qtrecompress [New Thread 1024 (LWP 5881)] Found Motion JPEG plug-in Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr 333.058 MHz Pentium II (Deschutes) processor detected Qt: gdb: -nograb added to command-line options. Use the -dograb option to enforce grabbing. Initializing registry AVIReadHandler: FATAL: Invalid AVI file: Not a RIFF file ASF: video stream detected minimum frame rate = 29.435 fps estimated ms per frame = 33.311 ms (30.020 fps) Successfully opened Successfully initialized stream 0 Chunk table size 26977, format size 40 Successfully initialized stream 1 Chunk table size 6290023, format size 30 Successfully opened ./WILD_THINGS_-_PART_3.ASF. 1 video streams, 1 audio streamsLength 4294967295 New dimensions: 192 144 VideoCodecControl::Create() _modules size: 0 Entering DllMain(DLL_PROCESS_ATTACH) for /usr/lib/win32/mpg4c32.dllpath c:\ path c:\ File name of module 0 requested /usr/lib/win32/mpg4c32.dll: 1c200000 Creating new handle for _refcount 1, driver 135121432 fcc: 63646976, handler: 3234504d New ID 1090695664 Starting decompression, format: biSize 40 biWidth 320 biHeight 240 biPlanes 1 biBitCount 24 biCompression 842289229='MP42' biSizeImage 230400 Dest fmt: biSize 40 biWidth 320 biHeight -240 biPlanes 1 biBitCount 24 biCompression 0='' biSizeImage 230400 New dimensions: 320 240 VideoCodecControl::Create() _modules size: 1 Creating new handle for _refcount 2, driver 135080176 fcc: 63646976, handler: 3234504d New ID 1090696672VideoCodecControl::Create() _modules size: 1 Creating new handle for _refcount 3, driver 135140168 fcc: 63646976, handler: 3234504d New ID 1090696992 S/W conversion requested Src: 24/0 Dst: 32/0 [New Thread 2049 (LWP 5882)] [New Thread 1026 (LWP 5883)] [New Thread 2051 (LWP 5884)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1026 (LWP 5883)] 0x0 in ?? () (gdb) info threads 4 Thread 2051 (LWP 5884) 0x408abeaa in sigsuspend () from /lib/libc.so.6 * 3 Thread 1026 (LWP 5883) 0x0 in ?? () 2 Thread 2049 (LWP 5882) 0x4004c410 in __linuxthreads_create_event () from /lib/libpthread.so.0 1 Thread 1024 (LWP 5881) 0x408abeaa in sigsuspend () from /lib/libc.so.6 (gdb) bt #0 0x0 in ?? () #1 0x1c218761 in ?? () #2 0x1c2153d2 in ?? () #3 0x40045cc5 in pthread_start_thread () from /lib/libpthread.so.0 #4 0x40045d0d in pthread_start_thread_event () from /lib/libpthread(gdb) thread 1 [Switching to thread 1 (Thread 1024 (LWP 5881))] #0 0x408abeaa in sigsuspend () from /lib/libc.so.6 (gdb) bt #0 0x408abeaa in sigsuspend () from /lib/libc.so.6 #1 0x400483a9 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0x40047bd8 in pthread_create@@GLIBC_2.1 () from /lib/libpthread.so.0 #3 0x406caca4 in expCreateThread (pSecAttr=0x0, dwStackSize=0, lpStartAddress=0x1c214d4d, lpParameter=0x817f5a4, dwFlags=0, dwThreadId=0xbffff098) at win32.c:323 #4 0x1c214c58 in ?? () #5 0x1c214067 in ?? () #6 0x1c213db8 in ?? () #7 0x1c203304 in ?? () #8 0x1c202680 in ?? () #9 0x40690589 in Module::Message (this=0x80f77b0, handle=135080176, message=16391, arg1=135147768, arg2=135088760) at Module.cpp:154 #10 0x40690d87 in VideoCodec::CompressBegin (this=0x80cfce0, lpbiInput=0x80e30f8, lpbiOutput=0x80d4a78) at Module.cpp:235 #11 0x4068d00b in VideoEncoder::Start (this=0x80e3140) at VideoEncoder.cpp:222 #12 0x8066585 in RecompressFilter::process (this=0x80d1310, im=0x80d7f20, pos=0) at recompressor.cpp:48 #13 0x8068804 in RecKernel::redraw (this=0x80c39b8) at recompressor.cpp:625 #14 0x8068099 in RecKernel::setImageControl (this=0x80c39b8, ctl=0x80d88c8) at recompressor.cpp:477 #15 0x805bf19 in QtRecompressorCtl::src_file_clicked (this=0xbffffb2c) at genctl.cpp:247 #16 0x40222b2a in QObject::activate_signal () from /usr/lib/libqt-mt.so.2 #17 0x4032ad05 in QButton::clicked () from /usr/lib/libqt-mt.so.2 #18 0x40283e8d in QButton::mouseReleaseEvent () from /usr/lib/libqt-mt.so.2 #19 0x4026eb33 in QWidget::event () from /usr/lib/libqt-mt.so.2 #20 0x401d3ecb in QApplication::notify () from /usr/lib/libqt-mt.so.2 .so.0#21 0x401a35e0 in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.2 #22 0x401a0d3a in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.2 #23 0x4019fd5e in QApplication::processNextEvent () from /usr/lib/libqt-mt.so.2 #24 0x401d5b80 in QApplication::enter_loop () from /usr/lib/libqt-mt.so.2 #25 0x4019fccd in QApplication::exec () from /usr/lib/libqt-mt.so.2 ---Type <return> to continue, or q <return> to quit--- #26 0x80620a3 in main (argc=1, argv=0xbffffd04) at main.cpp:50 #27 0x4089cbcc in __libc_start_main () from /lib/libc.so.6 (gdb) thread 2 [Switching to thread 2 (Thread 2049 (LWP 5882))] #0 0x4004c410 in __linuxthreads_create_event () from /lib/libpthread.so.0 (gdb) bt #0 0x4004c410 in __linuxthreads_create_event () from /lib/libpthread.so.0 #1 0x40045ac8 in __pthread_manager () from /lib/libpthread.so.0 #2 0x40045bd4 in __pthread_manager_event () from /lib/libpthread.so.0 (gdb) thread 4 [Switching to thread 4 (Thread 2051 (LWP 5884))] #0 0x408abeaa in sigsuspend () from /lib/libc.so.6 (gdb) bt #0 0x408abeaa in sigsuspend () from /lib/libc.so.6 #1 0x400483a9 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0x40049fa6 in __pthread_lock () from /lib/libpthread.so.0 #3 0x40045cf9 in pthread_start_thread_event () from /lib/libpthread.so.0 ---------------------------------------------------------------------- Comment By: Heinrich Langos (heinrich) Date: 2000-11-01 04:08 Message: Did you try to rule out other possibilities? I mean did you try an .avi file as a source instead of a .asf? Did you try booting an non-SMP kernel and run the same thing? ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=111050&aid=219721&group_id=11050 _______________________________________________ Avifile mailing list [EMAIL PROTECTED] http://prak.org/mailman/listinfo/avifile
