smsd Mac OS X crash EXC_BAD_ACCESS

helpFractal <[email protected]>
Newsgroups gmane.linux.drivers.gnokii
Message-ID <[email protected]>
When I run /opt/local/bin/smsd -u smsd -p smsd -d online_smsd -c localhost -m
mysql I get this...

smsd - version 1.5.2 from gnokii 0.6.31
LOG: debug mask is 0x1
LOG: xdebug mask is 0x1
Config read from file /Users/fractal/.gnokiirc.
Lockfile /var/lock/LCK..cu.HUAWEIMobile-Modem is stale. Overriding it...
phone instance config:
model = AT
port = /dev/cu.HUAWEIMobile-Modem
connection = serial
initlength = default
serial_baudrate = 9600
serial_write_usleep = -1
handshake = software
require_dcd = 0
smsc_timeout = 10
rfcomm_channel = 0
sm_retry = 120


... when I run it through the debugger (gdb) I get this ...


(gdb) run -u smsd -p smsd -d online_smsd -c localhost -m mysql
Starting program: /opt/local/bin/smsd -u smsd -p smsd -d online_smsd -c
localhost -m mysql
Reading symbols for shared libraries .. done
Reading symbols for shared libraries ..... done
smsd - version 1.5.2 from gnokii 0.6.31
LOG: debug mask is 0x1
LOG: xdebug mask is 0x1
Config read from file /Users/fractal/.gnokiirc.
Lockfile /var/lock/LCK..cu.HUAWEIMobile-Modem is stale. Overriding it...
phone instance config:
model = AT
port = /dev/cu.HUAWEIMobile-Modem
connection = serial
initlength = default
serial_baudrate = 9600
serial_write_usleep = -1
handshake = software
require_dcd = 0
smsc_timeout = 10
rfcomm_channel = 0
sm_retry = 120
Initializing AT capable mobile phone ...
Serial device: opening device /dev/cu.HUAWEIMobile-Modem
Serial device: setting RTS to high and DTR to high
Message sent: 0x00 / 0x0004
41 54 5a 0d                                     | ATZ             
write: [ATZ<cr>]
read : [ATZ<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x000a
02 41 54 5a 0d 0d 0a 4f 4b 0d                   |  ATZ   OK       
Received message type 00
Message sent: 0x00 / 0x0005
41 54 45 31 0d                                  | ATE1            
write: [ATE1<cr>]
read : [ATE1<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x000b
02 41 54 45 31 0d 0d 0a 4f 4b 0d                |  ATE1   OK      
Received message type 00
Message sent: 0x00 / 0x000a
41 54 2b 43 4d 45 45 3d 31 0d                   | AT+CMEE=1       
write: [AT+CMEE=1<cr>]
read : [AT+CMEE=1<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x0010
02 41 54 2b 43 4d 45 45 3d 31 0d 0d 0a 4f 4b 0d |  AT+CMEE=1   OK 
Received message type 00

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x0000000100700000
[Switching to process 31676 thread 0x1503]
0x00007fff8d690c55 in bzero$VARIANT$sse2 ()
(gdb) bt
#0  0x00007fff8d690c55 in bzero$VARIANT$sse2 ()
#1  0x00000001000eeb7e in gn_data_clear ()
#2  0x0000000100118832 in Functions ()
#3  0x00000001000cf5fd in gn_gsm_initialise ()
#4  0x00000001000ce86b in gn_lib_phone_open ()
#5  0x00000001000026c6 in Connect ()
#6  0x00007fff8d6a3742 in _pthread_start ()
#7  0x00007fff8d690181 in thread_start ()
(gdb) 


... so there is something not quite right. I am not sure how to compile
gnokii in debug mode (as I am installing from macports) so am a bit stuck in
determining which file is causing this problem.

Any help would be greatly appreciated.

-- 
View this message in context: http://old.nabble.com/smsd-Mac-OS-X-crash-EXC_BAD_ACCESS-tp34920693p34920693.html
Sent from the gnokii-users mailing list archive at Nabble.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.