Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Compling VDR with gcc-3.4 seg fault (was: Re: Compiling VDR)(was: Compiling VDR)
compling with
g++-3.4 -pthread -g3 -O2
gives only a bigger binary but it still segfaults when switching
from FF DVB-S to Budget DVB-T WHEN (and only when) osdteletext
is plugged in.
Core was generated by `./vdr -P osdteletext -l 3 -w 60 -s /video/pwroff'.
Program terminated with signal 11, Segmentation fault.
#0 0x08089b0a in ?? ()
(gdb) file vdr
Reading symbols from vdr...done.
Warning: the current language does not match this frame.
(gdb) bt
#0 0x08089b0a in ~cTSBuffer (this=0x8241c70) at device.c:992
#1 0x0808e809 in cDvbDevice::CloseDvr() (this=0x847cec8) at dvbdevice.c:1144
#2 0x080892c5 in cDevice::Action() (this=0x847cec8) at device.c:900
#3 0x080d1218 in cThread::StartThread(cThread*) (Thread=0x847cec8) at
thread.c:227
#4 0x40044d53 in ?? ()
(gdb) disass
Dump of assembler code for function ~cTSBuffer:
0x8089ae0 <~cTSBuffer>: push %ebp
0x8089ae1 <~cTSBuffer+1>: mov %esp,%ebp
0x8089ae3 <~cTSBuffer+3>: push %esi
0x8089ae4 <~cTSBuffer+4>: push %ebx
0x8089ae5 <~cTSBuffer+5>: mov 0x8(%ebp),%esi
0x8089ae8 <~cTSBuffer+8>: sub $0x8,%esp
0x8089aeb <~cTSBuffer+11>: movl $0x80e7240,(%esi)
0x8089af1 <~cTSBuffer+17>: movb $0x0,0x34(%esi)
0x8089af5 <~cTSBuffer+21>: push $0x3
0x8089af7 <~cTSBuffer+23>: push %esi
0x8089af8 <~cTSBuffer+24>: call 0x80d1390 <_ZN7cThread6CancelEi>
0x8089afd <~cTSBuffer+29>: mov 0x38(%esi),%edx
0x8089b00 <~cTSBuffer+32>: add $0x10,%esp
0x8089b03 <~cTSBuffer+35>: test %edx,%edx
0x8089b05 <~cTSBuffer+37>: je 0x8089b13 <~cTSBuffer+51>
0x8089b07 <~cTSBuffer+39>: sub $0xc,%esp
0x8089b0a <~cTSBuffer+42>: mov (%edx),%eax <<--Fault (edx=40)
0x8089b0c <~cTSBuffer+44>: push %edx
0x8089b0d <~cTSBuffer+45>: call *0x10(%eax)
0x8089b10 <~cTSBuffer+48>: add $0x10,%esp
0x8089b13 <~cTSBuffer+51>: sub $0xc,%esp
0x8089b16 <~cTSBuffer+54>: push %esi
0x8089b17 <~cTSBuffer+55>: call 0x80d1070 <~cThread>
0x8089b1c <~cTSBuffer+60>: mov %esi,0x8(%ebp)
0x8089b1f <~cTSBuffer+63>: add $0x10,%esp
0x8089b22 <~cTSBuffer+66>: lea 0xfffffff8(%ebp),%esp
0x8089b25 <~cTSBuffer+69>: pop %ebx
0x8089b26 <~cTSBuffer+70>: pop %esi
0x8089b27 <~cTSBuffer+71>: pop %ebp
0x8089b28 <~cTSBuffer+72>: jmp 0x807b994 <_ZdlPv>
0x8089b2d <~cTSBuffer+77>: lea 0x0(%esi),%esi
0x8089b30 <~cTSBuffer+80>: sub $0xc,%esp
0x8089b33 <~cTSBuffer+83>: mov %eax,%ebx
0x8089b35 <~cTSBuffer+85>: push %esi
0x8089b36 <~cTSBuffer+86>: call 0x80d1070 <~cThread>
0x8089b3b <~cTSBuffer+91>: mov %ebx,(%esp,1)
0x8089b3e <~cTSBuffer+94>: call 0x807b864 <_Unwind_Resume>
End of assembler dump.
(gdb) info register
eax 0x0 0
ecx 0x0 0
edx 0x40 64
ebx 0x847cec8 138923720
esp 0xbe3ffa70 0xbe3ffa70
ebp 0xbe3ffa84 0xbe3ffa84
esi 0x8241c70 136584304
edi 0x847cec8 138923720
eip 0x8089b0a 0x8089b0a
eflags 0x10282 66178
Rainer---<=====> Vertraulich
//
//
<=====>--------------ocholl, Kiel, Germany ------------
Home |
Main Index |
Thread Index