Hello, I have successfully installed Kannel 1.4.3 on Ubuntu Intrepid-64 bits,and was able to run the fake SMSC. I configured the modems.conf and smskannel.conf according to the values i thought reasonable enough,and I ran bearerbox. Here is an section of the log file that I am posting.Can anyone please guide me on why the panic condition occurs when i recieve a message?
***************************************************************************************************************** 2009-02-25 01:42:48 [19040] [0] INFO: Kannel bearerbox II version 1.4.3 starting 2009-02-25 01:42:48 [19040] [0] INFO: MAIN: Start-up done, entering mainloop 2009-02-25 01:42:48 [19040] [0] DEBUG: AT2[/dev/ttyUSB0]: start called 2009-02-25 01:42:49 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: device opened 2009-02-25 01:42:49 [19040] [2] INFO: AT2[/dev/ttyUSB0]: speed set to 115200 2009-02-25 01:42:49 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: --> ^M 2009-02-25 01:42:51 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M 2009-02-25 01:42:51 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: <-- OK 2009-02-25 01:42:51 [19040] [2] INFO: AT2[/dev/ttyUSB0]: Closing device 2009-02-25 01:42:51 [19040] [2] INFO: AT2[/dev/ttyUSB0]: detect speed is 115200 2009-02-25 01:42:51 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: detecting modem type 2009-02-25 01:42:51 [19040] [2] INFO: AT2[/dev/ttyUSB0]: opening device 2009-02-25 01:42:51 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: device opened. Telnet mode = 0 2009-02-25 01:42:52 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: device opened 2009-02-25 01:42:52 [19040] [2] INFO: AT2[/dev/ttyUSB0]: speed set to 115200 2009-02-25 01:42:52 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: --> ^M 2009-02-25 01:42:54 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M 2009-02-25 01:42:54 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: <-- OK 2009-02-25 01:42:54 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: --> AT&F^M 2009-02-25 01:42:54 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: <-- OK 2009-02-25 01:42:54 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: --> ATE0^M 2009-02-25 01:42:54 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: <-- OK 2009-02-25 01:42:54 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: --> ATI^M 2009-02-25 01:42:54 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: <-- WAVECOM MODEM 2009-02-25 01:42:54 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: <-- MULTIBAND 900E 1800 2009-02-25 01:42:54 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: <-- OK 2009-02-25 01:42:54 [19040] [2] DEBUG: Loading include file `/usr/local/kannel/modems.conf' (on line 3 of file /usr/local/kannel/smskannel.conf). 2009-02-25 01:42:54 [19040] [2] DEBUG: Loading include file `/usr/local/kannel/modems.conf' (on line 3 of file /usr/local/kannel/smskannel.conf). 2009-02-25 01:42:54 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: found string <WAVECOM>, using modem definition <Wavecom> 2009-02-25 01:42:54 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: --> AT+CSMS=?^M 2009-02-25 01:42:54 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: <-- +CSMS: (0,1) 2009-02-25 01:42:54 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: <-- OK 2009-02-25 01:42:54 [19040] [2] INFO: AT2[/dev/ttyUSB0]: Phase 2+ is supported 2009-02-25 01:42:54 [19040] [2] INFO: AT2[/dev/ttyUSB0]: Closing device 2009-02-25 01:42:54 [19040] [2] INFO: AT2[/dev/ttyUSB0]: opening device 2009-02-25 01:42:54 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: device opened. Telnet mode = 0 2009-02-25 01:42:54 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: device opened 2009-02-25 01:42:54 [19040] [2] INFO: AT2[/dev/ttyUSB0]: Logging in 2009-02-25 01:42:55 [19040] [2] INFO: AT2[/dev/ttyUSB0]: init device 2009-02-25 01:42:55 [19040] [2] INFO: AT2[/dev/ttyUSB0]: speed set to 115200 2009-02-25 01:42:55 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: --> ATZ^M 2009-02-25 01:42:55 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: <-- OK 2009-02-25 01:42:55 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M 2009-02-25 01:42:55 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: <-- AT 2009-02-25 01:42:55 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: <-- OK 2009-02-25 01:42:55 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: --> AT&F^M 2009-02-25 01:42:55 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: <-- AT&F 2009-02-25 01:42:55 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: <-- OK 2009-02-25 01:42:55 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: --> ATE0^M 2009-02-25 01:42:56 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: <-- ATE0 2009-02-25 01:42:56 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: <-- OK 2009-02-25 01:42:56 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: --> AT+IFC=2,2^M 2009-02-25 01:42:57 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: <-- OK 2009-02-25 01:42:57 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: --> AT+CPIN?^M 2009-02-25 01:42:57 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: <-- +CPIN: READY 2009-02-25 01:43:08 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: --> AT+CMGF=0^M 2009-02-25 01:43:08 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: <-- OK 2009-02-25 01:43:08 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: --> AT+CSMS=?^M 2009-02-25 01:43:08 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: <-- +CSMS: (0,1) 2009-02-25 01:43:08 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: <-- OK 2009-02-25 01:43:08 [19040] [2] INFO: AT2[/dev/ttyUSB0]: Phase 2+ is supported 2009-02-25 01:43:08 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: --> AT+CSMS=1^M 2009-02-25 01:43:08 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: <-- +CSMS: 1,1,1 2009-02-25 01:43:08 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: <-- OK 2009-02-25 01:43:08 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: --> AT+CNMI=1,2,0,1,0^M 2009-02-25 01:43:09 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: <-- OK 2009-02-25 01:43:09 [19040] [2] INFO: AT2[/dev/ttyUSB0]: AT SMSC successfully opened. 2009-02-25 01:46:52 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: <-- +CMT: ,155 2009-02-25 01:46:53 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: <-- 0791198902004544040C911989915017970000902052108481229BCCB7B50C4ACF758A6BD90D3ACAC36E72330C4ACF41757758CC2E8364207838EDA683D0653988FE2E83DCE1347BCE0ACE41737419340EBB4F7490B8EC26871426C5511E7693A161103C9C76D3E72072B90DA281D065392BE99EC3D3F432E86D06A1D37390383C5E87C7E87248714FCFD1A03A280C62A7CD6590B9CE06BDCD2076DDAE68D7C368970B 2009-02-25 01:46:53 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: received message from SMSC: +919820005444 2009-02-25 01:46:53 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: Numeric sender (international) <+919819057179> 2009-02-25 01:46:53 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: User data length read as (155) 2009-02-25 01:46:53 [19040] [2] DEBUG: AT2[/dev/ttyUSB0]: Udh decoding done len=155 udhi=0 udhlen=0 udh='' 2009-02-25 01:46:53 [19040] [2] PANIC: gwlib/gw-rwlock.c:137: gw_rwlock_rdlock: Assertion `lock != NULL' failed. 2009-02-25 01:46:53 [19040] [2] PANIC: ./bearerbox(gw_panic+0x158) [0x47e218] 2009-02-25 01:46:53 [19040] [2] PANIC: ./bearerbox(gw_rwlock_rdlock+0x54) [0x473404] 2009-02-25 01:46:53 [19040] [2] PANIC: ./bearerbox(route_incoming_to_boxc+0x5f) [0x40f9cf] 2009-02-25 01:46:53 [19040] [2] PANIC: ./bearerbox(bb_smscconn_receive+0x930) [0x415ea0] 2009-02-25 01:46:53 [19040] [2] PANIC: ./bearerbox [0x422905] 2009-02-25 01:46:53 [19040] [2] PANIC: ./bearerbox [0x425226] 2009-02-25 01:46:53 [19040] [2] PANIC: ./bearerbox [0x4745af] 2009-02-25 01:46:53 [19040] [2] PANIC: /lib/libpthread.so.0 [0x7f03f5c6a3ea] 2009-02-25 01:46:53 [19040] [2] PANIC: /lib/libc.so.6(clone+0x6d) [0x7f03f567ac6d] *************************************************************************************************************** Thanks Rupin
