Kurtnoise
14th May 2007, 10:15
@Justin or Prakash : any news about my segfault ?
More gdb infos :
lionel@debian:~/aften/default$ gdb ./aften
GNU gdb 6.6-debian
Copyright (C) 2006 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 "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) run -b 448 ~/Club.wav ~/Test2.ac3
Starting program: /home/lionel/aften/default/aften -b 448 ~/Club.wav ~/Test2.ac3
[Thread debugging using libthread_db enabled]
[New Thread -1210399040 (LWP 7929)]
Aften: A/52 audio encoder
Version SVN-r508
(c) 2006-2007 Justin Ruggles, Prakash Punnoor, et al.
input format: Signed 16-bit 44100 Hz stereo
output format: 44100 Hz stereo (2/0)
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1210399040 (LWP 7929)]
0x0806cd13 in sse2_process_exponents ()
(gdb) bt
#0 0x0806cd13 in sse2_process_exponents ()
#1 0xb7eeb120 in ?? () from /lib/tls/i686/cmov/libc.so.6
#2 0x00000219 in ?? ()
#3 0xb7eeb144 in ?? () from /lib/tls/i686/cmov/libc.so.6
#4 0xb7eeb144 in ?? () from /lib/tls/i686/cmov/libc.so.6
#5 0x00000000 in ?? ()
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x806ccf3 to 0x806cd33:
0x0806ccf3 <sse2_process_exponents+6147>: pushf
0x0806ccf4 <sse2_process_exponents+6148>: and $0xc8,%al
0x0806ccf6 <sse2_process_exponents+6150>: add %al,(%eax)
0x0806ccf8 <sse2_process_exponents+6152>: add %cl,0xdc24ac(%ebx)
0x0806ccfe <sse2_process_exponents+6158>: add %al,(%eax)
0x0806cd00 <sse2_process_exponents+6160>: test %esi,%esi
0x0806cd02 <sse2_process_exponents+6162>: mov 0xfffffffc(%ebp,%ebx,4),%ecx
0x0806cd06 <sse2_process_exponents+6166>: jle 0x806d17b <sse2_process_exponents+7307>
0x0806cd0c <sse2_process_exponents+6172>: mov 0xb4(%esp),%ebx
0x0806cd13 <sse2_process_exponents+6179>: movdqu (%ecx),%xmm0
0x0806cd17 <sse2_process_exponents+6183>: movdqa %xmm5,%xmm2
0x0806cd1b <sse2_process_exponents+6187>: mov $0x10,%edx
0x0806cd20 <sse2_process_exponents+6192>: lea 0xffffffff(%ebx),%eax
0x0806cd23 <sse2_process_exponents+6195>: mov 0xcc(%esp),%ebx
0x0806cd2a <sse2_process_exponents+6202>: shr $0x4,%eax
0x0806cd2d <sse2_process_exponents+6205>: and $0x1,%eax
0x0806cd30 <sse2_process_exponents+6208>: cmpl $0x10,0xb4(%esp)
End of assembler dump.
(gdb) info all-registers
eax 0x6 6
ecx 0x30303060 808464480
edx 0x3 3
ebx 0xf0 240
esp 0xbfa5de10 0xbfa5de10
ebp 0xbfa5e528 0xbfa5e528
esi 0xf0 240
edi 0x5 5
eip 0x806cd13 0x806cd13 <sse2_process_exponents+6179>
eflags 0x210206 [ PF IF RF ID ]
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
st0 3.5821711910336390903074238806631572e-15 (raw 0x3fcf810fb2958f648000)
st1 -2.4515507845990214264020323753356934e-08 (raw 0xbfe5d2962c0000000000)
st2 6.5240285009447156406362713407295607e-11 (raw 0x3fdd8f7703f1baf3d152)
st3 -5.9851242184549846570007503032684326e-08 (raw 0xbfe780879---Type <return> to continue, or q <return> to quit---
18000000000)
st4 -4.7593488261554739437997341156005859e-08 (raw 0xbfe6cc69980000000000)
st5 3.5335734338559632305987179279327393e-08 (raw 0x3fe697c40d0000000000)
st6 0 (raw 0x00000000000000000000)
st7 16777216 (raw 0x40178000000000000000)
fctrl 0x37f 895
fstat 0x20 32
ftag 0xffff 65535
fiseg 0x0 0
fioff 0x0 0
foseg 0x0 0
fooff 0x0 0
fop 0x0 0
xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0, 0x0, 0x12, 0x12, 0x0, 0x0, 0x12, 0x12, 0x0, 0x0, 0x13,
0x13, 0x0, 0x0, 0x13, 0x13}, v8_int16 = {0x0, 0x1212, 0x0, 0x1212, 0x0,
0x1313, 0x0, 0x1313}, v4_int32 = {0x12120000, 0x12120000, 0x13130000,
0x13130000}, v2_int64 = {0x1212000012120000, 0x1313000013130000},
uint128 = 0x13130000131300001212000012120000}
xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0, 0x0, 0x14, 0x14, 0x0, 0x0, 0x12, 0x12, 0x0, 0x0, 0x12,
---Type <return> to continue, or q <return> to quit---
0x12, 0x0, 0x0, 0x14, 0x14}, v8_int16 = {0x0, 0x1414, 0x0, 0x1212, 0x0,
0x1212, 0x0, 0x1414}, v4_int32 = {0x14140000, 0x12120000, 0x12120000,
0x14140000}, v2_int64 = {0x1212000014140000, 0x1414000012120000},
uint128 = 0x14140000121200001212000014140000}
xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0, 0x12, 0x0, 0x0, 0x0, 0x12, 0x0, 0x0, 0x0, 0x13, 0x0, 0x0,
0x0, 0x13, 0x0, 0x0}, v8_int16 = {0x1200, 0x0, 0x1200, 0x0, 0x1300, 0x0,
0x1300, 0x0}, v4_int32 = {0x1200, 0x1200, 0x1300, 0x1300}, v2_int64 = {
0x120000001200, 0x130000001300},
uint128 = 0x00001300000013000000120000001200}
xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x14, 0x14, 0x14, 0x14, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12,
0x12, 0x12, 0x14, 0x14, 0x14, 0x14}, v8_int16 = {0x1414, 0x1414, 0x1212,
0x1212, 0x1212, 0x1212, 0x1414, 0x1414}, v4_int32 = {0x14141414,
0x12121212, 0x12121212, 0x14141414}, v2_int64 = {0x1212121214141414,
0x1414141412121212}, uint128 = 0x14141414121212121212121214141414}
xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x16, 0x16,
0x16, 0x16, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x1414, 0x1414, 0x1414,
0x1414, 0x1616, 0x1616, 0x0, 0x0}, v4_int32 = {0x14141414, 0x14141414,
0x16161616, 0x0}, v2_int64 = {0x1414141414141414, 0x16161616},
uint128 = 0x00000000161616161414141414141414}
xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
---Type <return> to continue, or q <return> to quit---
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
uint128 = 0x00000000000000000000000000000000}
xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0, 0x14, 0x0, 0x0, 0x0, 0x14, 0x0, 0x0, 0x0, 0x16, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x1400, 0x0, 0x1400, 0x0, 0x1600, 0x0,
0x0, 0x0}, v4_int32 = {0x1400, 0x1400, 0x1600, 0x0}, v2_int64 = {
0x140000001400, 0x1600}, uint128 = 0x00000000000016000000140000001400}
xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x13, 0x13,
0x13, 0x13, 0x13, 0x13, 0x13, 0x13}, v8_int16 = {0x1212, 0x1212, 0x1212,
0x1212, 0x1313, 0x1313, 0x1313, 0x1313}, v4_int32 = {0x12121212,
0x12121212, 0x13131313, 0x13131313}, v2_int64 = {0x1212121212121212,
0x1313131313131313}, uint128 = 0x13131313131313131212121212121212}
mxcsr 0x1fa0 [ PE IM DM ZM OM UM PM ]
mm0 {uint64 = 0x810fb2958f648000, v2_int32 = {0x8f648000,
0x810fb295}, v4_int16 = {0x8000, 0x8f64, 0xb295, 0x810f}, v8_int8 = {0x0,
0x80, 0x64, 0x8f, 0x95, 0xb2, 0xf, 0x81}}
mm1 {uint64 = 0xd2962c0000000000, v2_int32 = {0x0, 0xd2962c00},
v4_int16 = {0x0, 0x0, 0x2c00, 0xd296}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0,
0x2c, 0x96, 0xd2}}
mm2 {uint64 = 0x8f7703f1baf3d152, v2_int32 = {0xbaf3d152,
0x8f7703f1}, v4_int16 = {0xd152, 0xbaf3, 0x3f1, 0x8f77}, v8_int8 = {0x52,
---Type <return> to continue, or q <return> to quit---
0xd1, 0xf3, 0xba, 0xf1, 0x3, 0x77, 0x8f}}
mm3 {uint64 = 0x8087918000000000, v2_int32 = {0x0, 0x80879180},
v4_int16 = {0x0, 0x0, 0x9180, 0x8087}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x80,
0x91, 0x87, 0x80}}
mm4 {uint64 = 0xcc69980000000000, v2_int32 = {0x0, 0xcc699800},
v4_int16 = {0x0, 0x0, 0x9800, 0xcc69}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0,
0x98, 0x69, 0xcc}}
mm5 {uint64 = 0x97c40d0000000000, v2_int32 = {0x0, 0x97c40d00},
v4_int16 = {0x0, 0x0, 0xd00, 0x97c4}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0,
0xd, 0xc4, 0x97}}
mm6 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm7 {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000},
v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x80}}
(gdb)
Hope this helps...I've also reported the bug on SF just for reminding.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.