Hi,
It seems that Lion has a buggy implementation of pthreads. Since kannel's
pthreads work fine with *all* the rest of *nix, I would bug Mac forums to
see if there is a fix for them.
BR,
Nikos
----- Original Message -----
From: "Nii Ako Ampa-Sowa" <ampas...@gmail.com>
To: <users@kannel.org>
Sent: Sunday, July 31, 2011 4:48 AM
Subject: bearerbox segfaults on Mac OS X 10.7 Lion
Hi,
Since upgrading to OS X 10.7, bearerbox segfaults on startup.
Here's a gdb backtrace:
2011-07-31 01:24:03 [45285] [0] DEBUG: Started thread 6
(gw/smsc/smsc_smpp.c:io_thread)
2011-07-31 01:24:03 [45285] [6] DEBUG: Thread 6
(gw/smsc/smsc_smpp.c:io_thread) maps to pid 45285.
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00000419000cbd70
[Switching to process 45285 thread 0x1a03]
0x000000010008f41d in log_thread_to (idx=4294967295) at log.c:717
717 info(0, "Logging thread `%ld' to logfile `%s' with level `%d'.",
(gdb) backtrace
#0 0x000000010008f41d in log_thread_to (idx=4294967295) at log.c:717
#1 0x00000001000681f7 in io_thread (arg=0x101) at smsc_smpp.c:1908
#2 0x0000000100085c72 in new_thread (arg=0x1018031f0) at
gwthread-pthread.c:362
#3 0x00007fff92f358bf in _pthread_start ()
#4 0x00007fff92f38b75 in thread_start ()
Has anyone else encountered this so far on Lion and figured a workaround?
Thanks,
Nii