[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: smsd segmentation fault!
From: |
Pawel Kot |
Subject: |
Re: smsd segmentation fault! |
Date: |
Mon, 28 Mar 2005 17:59:08 +0200 (CEST) |
On Mon, 28 Mar 2005, tasos wrote:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1220138064 (LWP 3299)]
0xb7d9c290 in strncpy () from /lib/tls/libc.so.6
(gdb) bt
#0 0xb7d9c290 in strncpy () from /lib/tls/libc.so.6
#1 0xb7fe74fe in DB_Look () from
/usr/share/smsd/libmysql.so
Could you please show the contents of the database? Apperently it seems
that some row has inconsistant values.
This is either in
strncpy (sms.remote.number, row[1], sizeof (sms.remote.number) - 1);
or
strncpy (sms.user_data[0].u.text, row[2], GN_SMS_MAX_LENGTH + 1);
and I think either row[1] or row[2] is null
take care,
pkot
--
p k o t a t b e z s e n s u d o t p l
http://www.gnokii.org/