gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnokii segmentation fault when deleting sms


From: Ausrius Juozapavicius
Subject: gnokii segmentation fault when deleting sms
Date: Tue, 16 Jun 2009 03:53:16 +0300

Hej,

Short story: if there are any SMS in the given folder, gnokii
--deletesms gets a core dump.

Longer one:
everything seems to work fine - I can send SMS, get them, get the
phonebook, I even started the smsd with pq and it would send out one
message and then crash without making changes in the DB. I tried
running gnokii without the smsd and managed to narrow down the problem
to the one mentioned above.

uname -a:
FreeBSD red 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13
UTC 2009     address@hidden:/usr/obj/usr/src/sys/GENERIC
i386

Phone:
Manufacturer : Nokia
Model        : RM-303
Revision     : V 08.32
(Nokia 5310 XpressMusic)

Cable: CA-101 (Charging USB)

/usr/local/etc/gnokiirc:
[global]
model = series40
port = 1
connection = dku2libusb
initlength = default
use_locking = no
smsc_timeout = 10
[gnokiid]
bindir = /usr/local/sbin/
[connect_script]
TELEPHONE = 12345678
[disconnect_script]
[logging]
debug = on
rlpdebug = on
xdebug = on

gnokii --version
GNOKII Version 0.6.27
Built from /usr/ports/comms/gnokii

Running the program:
gnokii --deletesms OU 1 end
...
SMS successfully deleted
Deleted SMS OU 1
Deleting SMS...
Using DeleteSMS for Series40 3rd Ed
Trying to retrieve filelist of C:\predefmessages\3\*.* from cache
Getting key C:\predefmessages\3\*.* from map 0x28307300.
Getting key C:\predefmessages\3\*.* from map 0x28307300.
(full error.log attached)


gdb /usr/local/bin/gnokii gnokii.core:
GNU gdb 6.1.1 [FreeBSD]
...
#0  0x280d3149 in NK6510_DeleteSMS_S40_30 (data=0x2830b394,
state=0x2830b000) at nk6510.c:1668
1668                            fl2.files[fl2.file_count++] = fl.files[j];
[New Thread 0x28301040 (LWP 100084)]
(gdb) backtrace
#0  0x280d3149 in NK6510_DeleteSMS_S40_30 (data=0x2830b394,
state=0x2830b000) at nk6510.c:1668
#1  0x280d3cb8 in NK6510_DeleteSMS (data=0x2830b394, state=0x2830b000)
at nk6510.c:1430
#2  0x280d5ef6 in NK6510_Functions (op=GN_OP_DeleteSMS,
data=0x2830b394, state=0x2830b000) at nk6510.c:442
#3  0x280a589b in gn_sm_functions (op=GN_OP_DeleteSMS,
data=0x2830b394, sm=0x2830b000) at gsm-statemachine.c:360
#4  0x280b7006 in gn_sms_delete (data=0x2830b394, state=0x2830b000) at
gsm-sms.c:1045
#5  0x08055406 in deletesms (argc=5, argv=0xbfbfe8c4, data=0x2830b394,
state=0x2830b000) at gnokii-sms.c:915
#6  0x0804b754 in parse_options (argc=5, argv=0xbfbfe8c4) at gnokii.c:812
#7  0x0804bb7e in main (argc=0, argv=0x0) at gnokii.c:1125


Bye,
Aušrius

Attachment: error.log
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]