Bugs item #632260, was opened at 2002-11-01 21:30 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=111050&aid=632260&group_id=11050
Category: None Group: None Status: Open Resolution: None >Priority: 8 Submitted By: Akos Maroy (darkeye) Assigned to: Nobody/Anonymous (nobody) Summary: aviplay crashes - ~/.avm/default Initial Comment: Hi, I just installed avifile 0.7.17 from the rpms at http://free-zg.hinet.hr/mozgy/Avifile/ onto my RedHat system. The packages I installed are: avifile-devel-0.7.17-3 avifile-0.7.17-3 avifile-binaries-001222-1 avifile-utils-0.7.17-3 divx4linux-20020418-2 When I try to play a .avi file, or even just typing aviplay -vc, aviplay crashes with a segfault. The end of the strace is: stat64("/home/darkeye/.avm", 0xbffff450) = -1 ENOENT (No such file or directory)write(1, "<Registry> : creating dir: /home"..., 46<Registry> : creating dir: /home/darkeye/.avm ) = 46 mkdir("/home/darkeye/.avm", 0755) = 0 open("/home/darkeye/.avm/default", O_RDONLY) = -1 ENOENT (No such file or directory) --- SIGSEGV (Segmentation fault) --- +++ killed by SIGSEGV +++ If I create an empty file for ~/.avm/default, I still get a crash, the end of strace being: stat64("/home/darkeye/.avm", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("/home/darkeye/.avm/default", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0664, st_size=1, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40026000 read(3, "\n", 4096) = 1 read(3, "", 4096) = 0 close(3) = 0 munmap(0x40026000, 4096) = 0 --- SIGSEGV (Segmentation fault) --- +++ killed by SIGSEGV +++ ---------------------------------------------------------------------- >Comment By: Akos Maroy (darkeye) Date: 2002-11-05 19:23 Message: Logged In: YES user_id=96773 I downloaded avifile 0.7.17 sources, compiled them, and got the same error. The backtrace from gdb is: (gdb) set args -vc (gdb) run Starting program: /usr/local/src/dvd/avifile/0.7.17/avifile0.7-0.7.17/player/.libs/lt-aviplay -vc [New Thread 8192 (LWP 13793)] <init> : Avifile RELEASE-0.7.17-021105-19:09-3.2 <init> : Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow <init> : 1477.53 MHz AMD Athlon(tm) XP 1700+ processor detected <LDT keeper> : Installed fs segment: 0x40026000 <codec keeper> : Found 10 plugins (/usr/local/lib/avifile0.7,A:29,V:71) Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 8192 (LWP 13793)] 0x40789e43 in parse_codec (o=0x0, a=0x0, r=0x8069f2e "aviplay") at ../../include/avm_stl.h:156 156 Type& operator[](int i) { return m_Type[i]; } (gdb) bt #0 0x40789e43 in parse_codec (o=0x0, a=0x0, r=0x8069f2e "aviplay") at ../../include/avm_stl.h:156 #1 0x4078a634 in avm::Args::findOpt(int) (this=0xbffff800, olong=1) at Args.cpp:469 #2 0x4078a407 in Args (this=0xbffff800, _o=0x0, _argc=0x407c9daf, _argv=0x0, _help=0x0, rname=0x0) at Args.cpp:376 #3 0x08052501 in main (argc=2, argv=0xbffff8c4) at main.cpp:88 #4 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=111050&aid=632260&group_id=11050 _______________________________________________ Avifile mailing list [EMAIL PROTECTED] http://prak.org/mailman/listinfo/avifile
