[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: smsd segmentation fault!
From: |
tasos |
Subject: |
Re: smsd segmentation fault! |
Date: |
Mon, 28 Mar 2005 12:11:30 -0800 (PST) |
I'm showing you the outbox table.It's not the whole
table.But all records are the same:
id 20
number XXX
processed_date 20050324132908
insertdate 00000000000000
text test
phone NULL
processed 0
error -1
dreport 0
Thank you very much for your help!!!Really appreciate
that.
Waiting for your reply.
ps:sorry for the previous reply!my mistake.
--- Pawel Kot <address@hidden> wrote:
> 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/
>
>
> _______________________________________________
> gnokii-users mailing list
> address@hidden
>
http://lists.nongnu.org/mailman/listinfo/gnokii-users
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail