[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
smsd core dump #2
From: |
Paulius Bulotas |
Subject: |
smsd core dump #2 |
Date: |
Mon, 2 Sep 2002 14:04:08 +0200 |
Hello list,
compiled with -g and here is debug session:
[Sending Ack of type 0a, seq: 2]
Message received: 0x0a / 0x0013
01 08 00 71 01 00 01 0b 01 02 71 1c 00 01 42 f6 | q q B
10 00 00 |
Breakpoint 1, GSM_DataClear (data=0xbfaec73c) at gsm-common.c:82
82 memset(data, 0, sizeof(GSM_Data));
(gdb) print data
$7 = (GSM_Data *) 0xbfaec73c
(gdb) print *data
Error accessing memory address 0xbfaec73c: Bad address.
(gdb) bt
#0 GSM_DataClear (data=0xbfaec73c) at gsm-common.c:82
#1 0x280ab9c9 in SM_IncomingFunction (state=0x8059da0, messagetype=10 '\n',
message=0x805a140, messagesize=19)
at gsm-statemachine.c:107
#2 0x280c38b2 in FBUS_RX_StateMachine (rx_byte=137 '\211') at fbus.c:356
#3 0x280c394d in FBUS_Loop (timeout=0xbfaf1154) at fbus.c:384
#4 0x280ab8eb in SM_Loop (state=0x8059da0, timeout=1) at gsm-statemachine.c:77
#5 0x280abcf3 in __SM_BlockTimeout (state=0x8059da0, data=0xbfaf123c,
waitfor=210, t=30, noretry=0)
at gsm-statemachine.c:220
#6 0x280abdb7 in SM_Block (state=0x8059da0, data=0xbfaf123c, waitfor=210) at
gsm-statemachine.c:242
#7 0x280bc525 in PhoneInfo2 (data=0xbfaf123c, state=0x8059da0) at nk6100.c:1025
#8 0x280bb046 in IdentifyPhone (state=0x8059da0) at nk6100.c:441
#9 0x280bb2dc in Initialise (state=0x8059da0) at nk6100.c:519
#10 0x280bab55 in Functions (op=GOP_Init, data=0x0, state=0x8059da0) at
nk6100.c:222
#11 0x280a57b6 in register_phone (phone=0x280d9340, model=0x806d0f0 "5110",
setupmodel=0x0, sm=0x8059da0) at gsm-api.c:110
#12 0x280a587c in gn_gsm_initialise (model=0x806d0f0 "5110", device=0x806d0c0
"/dev/ttyd0", initlength=0x806d120 "default",
connection=GCT_Serial, rlp_callback=0, sm=0x8059da0) at gsm-api.c:138
#13 0x804a82e in main ()
#14 0x804acd1 in Connect ()
#15 0x280fb613 in _thread_start () from /usr/lib/libc_r.so.4
#16 0x0 in ?? ()
after that, smsd segfaults. This happens with 0.4.3 and latest cvs versions.
Any ideas?
TIA
Paulius
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- smsd core dump #2,
Paulius Bulotas <=