Bugs item #632859, was opened at 2002-11-03 04:16
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=111050&aid=632859&group_id=11050
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Segfault avm::AviPlayer2::createVideoRen
Initial Comment:
Configure of avifile 0.7.17
./configure --prefix=/usr --exec-prefix=/usr
--target=i686 --enable-x86opt --enable-vorbis
--disable-vorbistest --with-vorbis-prefix=/usr/lib
By some strange reason, avifile don't detect the rpm
installed vorbis 1.0-1
System: Redhat 7.3 (all updates applied) + parts from
RawHide
glibc 2.3.1-5
vorbis 1.0-1
gcc 2.96-112
qt3 for gcc2.96
Compile time:
Some warnings and "fixme" notions, but compiles okey
../../include/fourcc.h:4:2: warning: #warning Use
#include "avm_fourcc.h" instead
Debuging:
[trizt@linux HK]$ gdb i686-aviplay
GNU gdb Red Hat Linux (5.2-2)
Copyright 2002 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 "i386-redhat-linux"...
(gdb) run ChungkingExpress.avi
Starting program: /usr/bin/i686-aviplay
ChungkingExpress.avi
[New Thread 8192 (LWP 16290)]
<init> : Avifile RELEASE-0.7.17-021103-13:01-2.96
<init> : Available CPU flags: fpu vme de pse tsc msr
pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr
syscall mmxext 3dnowext 3dnow
<init> : 1059.46 MHz AMD Athlon(tm) Processor detected
<aviplay> : Debug is on 0
<reader> : checking: ChungkingExpress.avi
<AVI reader> : MainHeader: MicroSecPerFrame=33366
MaxBytesPerSec=0
PaddingGranularity=0 Flags=[ HAS_INDEX IS_INTERLEAVED
] TotalFrames=176977
InitialFrames=0 Streams=2 SuggestedBufferSize=0
WxH=640x352
Scale=0 Rate=0 Start=0 Length=0
<AVI Reader> : WARNING: fccHandler differs from
biCompression!
<AVI reader> : StreamHeader: Type=vids Handler=DIV3
Flags=[ ]
InitialFrames=0 Scale=33366 Rate=1000000 Start=0
Length=176977
SuggestedBufferSize=56359 Quality=10000 SampleSize=0
Rect l,r,t,b=0,640,0,352
<AVI reader> : StreamHeader: Type=auds Handler=0x0
Flags=[ ]
InitialFrames=1 Scale=1 Rate=16000 Start=0 Length=94480512
SuggestedBufferSize=7226 Quality=-1 SampleSize=1 Rect
l,r,t,b=0,0,0,0
<AVI reader> : Reading index from offset: 674979502
<AVI reader> : Stream 0 vids : DIV3 (0x33564944) 176977
chunks (691.32KB)
<AVI reader> : Stream 1 auds : MPEG Layer-3 (0x55)
176963 chunks (1382.52KB)
<StreamCache> : Creating cache for file descriptor: 9
[New Thread 16385 (LWP 16291)]
[New Thread 8194 (LWP 16292)]
<reader> : Initialized audio stream (chunk tblsz:
94480512, fmtsz: 30)
<audio reader> : MPEG1 Layer-3 48000Hz 128kbps
JointStereo (1152,40,384)
<reader> : Initialized video stream (chunk tblsz:
176977, fmtsz: 40)
<LDT keeper> : Installed fs segment: 0x40035000
<codec keeper> : Found 11 plugins
(/usr/lib/avifile0.7,A:29,V:72)
<codec keeper> : OpenDivX 3.11 compatible decoder video
decoder created
dct: 0.000000 ms (0 calls)
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 8192 (LWP 16290)]
0x406f9912 in avm::AviPlayer2::createVideoRenderer
(this=0x80ca0f8)
at aviplay2.cpp:200
200 renderer->SetFont(sub ? fs : 0);
(gdb)
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2002-11-03 05:12
Message:
Logged In: NO
Modifications so it will work with a normal user:
lib/video/renderer.cpp:2955
- if (geteuid() == 0)
+ if(true)
samples/qtvidcap/vidconf.cpp:6
-#include <fourcc.h>
+#include <avm_fourcc.h>
Not sure how important the last one is, but the first one IS
really important if you want to be able to run aviplay as
something else than priviliged user.
I think it's quite sad that we don't have any real RH RPMs
for readhat, as Mozgy jumps into RawHide and other
experimental packages to fast, would reguest for SRPMs too.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=111050&aid=632859&group_id=11050
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile