If anyone knows where my avifile is seg faulting and why, please let me
know. I get segmentation faults when running avifile with and without
arguments. Anyway, here's a list of some relevant packages on my box:
qt-2.3.0-3
qt-devel-2.3.0-3
qt-designer-2.3.0-3
SDL-1.2.2-1
SDL-devel-1.2.2-1
I have tried a Mandrake precompiled binary (avifile-0.53.5-1mdk.i586.rpm)
wich produces a seg fault at the same point I get it when I try to compile
the package. By the way, since I am running Redhat 7.1, I have tried
compiling with gcc version 2.96-81, 3.01, and in the case of the back trace
I will provide, version 2.95.3. I thought that this last compiler should
clear up the problems for sure, since it has always been so stable for me.
I have been trying to use that latest package, avifile-0.6.0-20010817. I am
running Redhat's excessively patched 2.4 kernel, although I would think that
shouldn't matter. I am running X version 4.0.3
I think that this gdb session should tell all:
Starting program: /usr/local/bin/aviplay
[New Thread 1024 (LWP 13615)]
Available CPU flags: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
cmov pat mmx syscall mmxext 3dnowext 3dnow
548.954 MHz AMD-K7(tm) Processor processor detected
/usr/local/lib/avifile0.6/libwin32-0.6.so.0: found 32 plugins (A: 5 V:
27)
/usr/local/lib/avifile0.6/libmpeg_audiodec-0.6.so.0: found 1 plugin (A: 1
V: 0)
/usr/local/lib/avifile0.6/libmp3lame_audioenc-0.6.so.0: found 1 plugin (A:
1 V: 0)
/usr/local/lib/avifile0.6/libmjpeg-0.6.so.0: found 1 plugin (A: 0 V: 1)
/usr/local/lib/avifile0.6/libffmpeg-0.6.so.0: found 4 plugins (A: 1 V: 3)
/usr/local/lib/avifile0.6/libaudiodec-0.6.so.0: found 5 plugins (A: 5 V:
0)
Qt: gdb: -nograb added to command-line options.
Use the -dograb option to enforce grabbing.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 13615)]
0x04244483 in ?? () at eval.c:41
41 eval.c: No such file or directory.
in eval.c
(gdb)
(gdb) bt
#0 0x04244483 in ?? () at eval.c:41
#1 0x080584be in main (argc=1, argv=0xbffff92c) at main.cpp:137
#2 0x407b3177 in __libc_start_main (main=0x8057e48 <main>, argc=1,
ubp_av=0xbffff92c, init=0x8055e6c <_init>,
fini=0x8075fa8 <_fini>, rtld_fini=0x4000e184 <_dl_fini>,
stack_end=0xbffff91c) at ../sysdeps/generic/libc-start.c:129
Now when I look at main.cpp, I see that the program is allocating new space
on the heap for a MyWidget. I am not sure why this allocation is failing.
If anyone has seen a similar problem, could they please let me know?
If I can provide any more information, tell me, and I'll send it.
Thanks,
Richard Davis
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile