[Top][All Lists]

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

Re: smsd segmentation fault!

From: Guido Falsi
Subject: Re: smsd segmentation fault!
Date: Mon, 28 Mar 2005 19:14:06 +0200
User-agent: Mutt/1.5.9i

On Mon, Mar 28, 2005 at 05:59:08PM +0200, Pawel Kot 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/
> >(gdb) bt
> >#0  0xb7d9c290 in strncpy () from /lib/tls/
> >#1  0xb7fe74fe in DB_Look () from
> >/usr/share/smsd/
> 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

Something similar is also happening under FreeBSD when using the file
module, when there is no file to send, smsd is dumping core. Perhaps it
tries to send smses even if it shouldn't...

Guido Falsi <address@hidden>

reply via email to

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