[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:02:20 -0800 (PST) |
I'm showing you the outbox table.It's not the whole
table.But all records are the same:
id number processed_date insertdate text
phone processed error dreport
20 XXX 20050324132908 00000000000000 test NULL
0 -1 0
Thank you very much for your help!!!Rella
Waiting for your reply.
--- 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!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail