gnokii-users
[Top][All Lists]
Advanced

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

Re: Gnokii 6.0.22, Gnokii working fine, but smsd is coredumping


From: Jan Derfinak
Subject: Re: Gnokii 6.0.22, Gnokii working fine, but smsd is coredumping
Date: Sun, 24 Feb 2008 18:23:12 +0100 (CET)

On Sun, 24 Feb 2008, Pawel Kot wrote:

> Hi,
> 
> On Sun, Feb 24, 2008 at 5:09 PM, Jan Derfinak <address@hidden> wrote:
> >  > fbusinit: error 0
> >  >
> >  > Program received signal SIGSEGV, Segmentation fault.
> >  > [Switching to Thread 3 (LWP 100270)]

> Probably xdebug is disabled.

No.
"fbusinit: error 0" is printed only when xdebug is on.

> InitPhoneMonitor() invokes GetSMS() which does while(1) {...}
> But GetSMS() is not in the stack.

No.
InitPhoneMonitor() and GetSMS() are invoked from Run() in sequence.
static void Run (void)
{
...
  InitPhoneMonitor ();
  if ((*DB_ConnectInbox) (connection))
    exit (2);
  pthread_create (&monitor_th, NULL, Connect, smsdConfig.phone);
  db_monitor = TRUE;
  pthread_mutex_init (&db_monitorMutex, NULL);
  pthread_create (&db_monitor_th, NULL, SendSMS, NULL);
  GetSMS ();
}


jan

-- 




reply via email to

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