Bugs item #223087, was updated on 2000-11-21 10:19 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=111050&aid=223087&group_id=11050 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Morten Berg (berrg) >Assigned to: Zdenek Kabelac (kabi) Summary: segfault related to smp Initial Comment: The avifile library dies when encoding on smp-machine, I run a dual celeron (366) on mandrake 7.2. It crashes under 2.4.0-test10(smp) and 2.2.17 (smp), but not under 2.2.17 (non-smp). It crashes in ./qtrecompress and when I use the avifile-library to encode divx. [root@hodelus bin]# gdb ./qtrecompress GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-mandrake-linux"... (gdb) run Starting program: /tmp/avifile/bin/./qtrecompress warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. Found Motion JPEG plug-in Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cm ov pat pse36 mmx fxsr 367.001 MHz Celeron (Mendocino) processor detected Qt: gdb: -nograb added to command-line options. Use the -dograb option to enforce grabbing. Initializing registry 001632c2 00000014 Chunk 'LIST', length 00000126 001632c6 00000020 Chunk 'avih', length 00000038 Found main header, size 56 001632c6 00000060 Chunk 'LIST', length 00000074 001632c6 000000dc Chunk 'LIST', length 0000005e 001632c6 00000142 Chunk 'JUNK', length 000006b2 001632c6 000007fc Chunk 'LIST', length 00161656 Found MOVI chunk. Position 800 001632c6 00161e5a Chunk 'idx1', length 00001440 001632c6 001632a2 Chunk 'LIST', length 00000018 Initializing cache Cache: Adding stream 0, table 810D738 ( 303 entries ) Cache: Adding stream 1, table 80F6BD8 ( 21 entries ) Cache: Creating cache for file descriptor 9 Program received signal SIG32, Real-time event 32. 0x4089b17e in sigsuspend () from /lib/libc.so.6 (gdb) info threads (gdb) thread 1 Thread ID 1 not known. Use the "info threads" command to see the IDs of currently known threads. (gdb) thread 2 Thread ID 2 not known. Use the "info threads" command to see the IDs of currently known threads. (gdb) bt #0 0x4089b17e in sigsuspend () from /lib/libc.so.6 #1 0x4004b1a0 in pthread_setconcurrency () from /lib/libpthread.so.0 #2 0x4004b449 in pthread_create () from /lib/libpthread.so.0 #3 0x4067ae06 in Cache::Create (this=0x810d350, m_fd=9) at Cache.cpp:177 #4 0x406ce934 in InputStream::Async (this=0x810a750) at Cache.h:101 #5 0x4066e3c3 in AVIReadHandler::_construct (this=0x80f90a8, pszFile=0x80ed088 "/tmp/avifile/bin/blinddat.avi") at AVIReadHandler.cpp:778 #6 0x4066e0b3 in AVIReadHandler::AVIReadHandler (this=0x80f90a8, s=0x80ed088 "/tmp/avifile/bin/blinddat.avi") at AVIReadHandler.cpp:706 #7 0x4066d216 in CreateAVIReadHandler ( pszFile=0x80ed088 "/tmp/avifile/bin/blinddat.avi") at AVIReadHandler.cpp:239 #8 0x40679743 in AviReadFile::AviReadFile (this=0x80eb4a8, name=0x80ed088 "/tmp/avifile/bin/blinddat.avi") at AviRead.cpp:601 #9 0x4067a243 in CreateIAviReadFile ( name=0x80ed088 "/tmp/avifile/bin/blinddat.avi") at AviRead.cpp:710 #10 0x80671f1 in RecKernel::openFile (this=0x80ef488, fn=0x80ed088 "/tmp/avifile/bin/blinddat.avi") at recompressor.cpp:161 #11 0x805bc52 in QtRecompressorCtl::src_file_clicked (this=0xbffff694) at genctl.cpp:217 #12 0x4023615b in QObject::activate_signal () from /usr/lib/libqt.so.2 (gdb) thread 2 Thread ID 2 not known. Use the "info threads" command to see the IDs of currently known threads. ---------------------------------------------------------------------- Comment By: Hiroshi Yamashita (piro) Date: 2000-11-21 19:45 Message: please try cvs version avifile/lib/loader/win32.c ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=111050&aid=223087&group_id=11050 _______________________________________________ Avifile mailing list [EMAIL PROTECTED] http://prak.org/mailman/listinfo/avifile
