hi, I've downloaded avifile-0.6.0-20010817.tgz and compiled it, but
the program crashes because of a segmentation fault.
First of all, during the compilation, the "-lXxf86vm" was not puted
automatically, I've putted it manually in some cases. Then, in the file
"samples/qtvidcap/avicapwnd_p.cpp" I've commented the line 35
(CaptureTab->setTabShape( QTabWidget::Rounded );) because it generated
an error. I have installed the rpms "qt-2.2.0-0.5.beta2" and
"qt-devel-2.2.0-0.5.beta2" in a redhat 7.0.
Finally, the compilation has been succesfully made, and I've done the
make install without problems.
The first execution has worked well, but all other ones had generated a
segmentation fault. The program output with this fault is:
Available CPU flags: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
cmov pat pse36 mmx fxsr
433.349 MHz Celeron (Mendocino) 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)
Violaci�n de segmento
With an strace the final lines in the output are:
[...]
open("/usr/lib/libdivxencore.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/local/lib/libdivxencore.so", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0755, st_size=159296, ...}) = 0
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200(\0"...,
4096) = 4096
old_mmap(NULL, 170128, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40cc9000
mprotect(0x40ced000, 22672, PROT_NONE) = 0
old_mmap(0x40ced000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
4, 0x23000) = 0x40ced000
old_mmap(0x40cf0000, 10384, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40cf0000
close(4) = 0
mprotect(0x40cc9000, 147456, PROT_READ|PROT_WRITE) = 0
mprotect(0x40cc9000, 147456, PROT_READ|PROT_EXEC) = 0
mprotect(0x40c7e000, 258048, PROT_READ|PROT_WRITE) = 0
mprotect(0x40c7e000, 258048, PROT_READ|PROT_EXEC) = 0
--- SIGSEGV (Violaci?n de segmento) ---
+++ killed by SIGSEGV +++
I hope this could be of some help...
--
Juan Segarra Flor
Dpt. de Llenguatges i Sistemes Inform�tics
Universitat Jaume I
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile