Re: Cannot use modem.
Stipe Tolj <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | The Kannel Group |
| Message-ID | <[email protected]> |
Magnus Byrkjeflot wrote:
> I'm having some problems using an GSM modem as SMSC. I am using a
> AMD64 machine on Fedora Core 3. Have tried the same settings with two
> phones Siemens M50 and Nokia 6310i. Both have worked before on i386
> older kannel. I'm using CVS version.
>
> Anybody else encountered this error? The config file is a minimal one,
> with modems.conf from the kannel package.
>
> Thanks
> Magnus
>
>
> 2005-01-26 20:12:40 [6719] [0] INFO: Debug_lvl = -1, log_file =
> <none>, log_lvl = 0
> 2005-01-26 20:12:40 [6719] [0] DEBUG: Loading include file
> `/etc/kannel/modems.conf' (on line 15 of file
> /etc/kannel/kannel.conf).
> 2005-01-26 20:12:40 [6719] [0] WARNING: DLR: using default 'internal'
> for storage type.
> 2005-01-26 20:12:40 [6719] [0] INFO: DLR using storage type: internal
> 2005-01-26 20:12:40 [6719] [0] DEBUG: Kannel bearerbox version `cvs-20050124'.
> Build `Jan 26 2005 20:11:18', compiler `3.4.2 20041017 (Red Hat 3.4.2-6.fc3)'.
> System Linux, release 2.6.10-1.741_FC3, version #1 Thu Jan 13 16:35:56
> EST 2005, machine x86_64.
> Hostname localhost.localdomain, IP 127.0.0.1.
> Libxml version 2.6.16.
> Using native malloc.
>
> 2005-01-26 20:12:40 [6719] [0] INFO: Added logfile
> `/var/log/bearerbox.log' with level `1'.
> 2005-01-26 20:12:40 [6719] [0] INFO: Started access logfile
> `/var/log/bearerbox_access.log'.
> 2005-01-26 20:12:40 [6719] [0] INFO: SSL not supported, no SSL
> initialization done.
> 2005-01-26 20:12:40 [6719] [0] INFO: HTTP: Opening server at port 13000.
> 2005-01-26 20:12:40 [6719] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
> 2005-01-26 20:12:40 [6719] [0] DEBUG: Started thread 2
> (gwlib/http.c:server_thread)
> 2005-01-26 20:12:40 [6719] [0] DEBUG: Started thread 3
> (gw/bb_http.c:httpadmin_run)
> 2005-01-26 20:12:40 [6719] [0] DEBUG: starting smsbox connection module
> 2005-01-26 20:12:40 [6719] [0] ERROR: Missing smsbox-port variable,
> cannot start smsboxes
> 2005-01-26 20:12:40 [6719] [0] INFO: DLR rerouting for smsc id
> <(null)> disabled.
> 2005-01-26 20:12:40 [6719] [0] INFO: AT2[/dev/modem]: configuration
> doesn't show modemtype. will autodetect
> 2005-01-26 20:12:40 [6719] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
> maps to pid 6719.
> 2005-01-26 20:12:40 [6719] [2] DEBUG: Thread 2
> (gwlib/http.c:server_thread) maps to pid 6719.
> 2005-01-26 20:12:40 [6719] [0] DEBUG: Started thread 4
> (gw/smsc/smsc_at.c:at2_device_thread)
> 2005-01-26 20:12:40 [6719] [0] DEBUG: Started thread 5
> (gw/bb_smscconn.c:sms_router)
> 2005-01-26 20:12:40 [6719] [0] INFO: ----------------------------------------
> 2005-01-26 20:12:40 [6719] [0] INFO: Kannel bearerbox II version
> cvs-20050124 starting
> 2005-01-26 20:12:40 [6719] [3] DEBUG: Thread 3
> (gw/bb_http.c:httpadmin_run) maps to pid 6719.
> 2005-01-26 20:12:40 [6719] [4] DEBUG: Thread 4
> (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 6719.
> 2005-01-26 20:12:40 [6719] [4] DEBUG: AT2[/dev/modem]: detecting modem speed.
> 2005-01-26 20:12:40 [6719] [4] INFO: AT2[/dev/modem]: opening device
> 2005-01-26 20:12:40 [6719] [4] DEBUG: AT2[/dev/modem]: device opened
> 2005-01-26 20:12:40 [6719] [5] DEBUG: Thread 5
> (gw/bb_smscconn.c:sms_router) maps to pid 6719.
> 2005-01-26 20:12:40 [6719] [0] INFO: MAIN: Start-up done, entering mainloop
> 2005-01-26 20:12:40 [6719] [0] DEBUG: AT2[/dev/modem]: start called
> 2005-01-26 20:12:40 [6719] [5] DEBUG: sms_router: time to sleep
> 2005-01-26 20:12:40 [6719] [5] DEBUG: sms_router: list_len = 0
> 2005-01-26 20:12:40 [6719] [5] DEBUG: Thread 5
> (gw/bb_smscconn.c:sms_router) terminates.
> 2005-01-26 20:12:41 [6719] [4] DEBUG: AT2[/dev/modem]: device opened
> 2005-01-26 20:12:41 [6719] [4] INFO: AT2[/dev/modem]: speed set to 115200
> 2005-01-26 20:12:41 [6719] [4] DEBUG: AT2[/dev/modem]: --> ^M
> 2005-01-26 20:12:41 [6719] [4] PANIC: gwlib/octstr.c:183: octstr_grow:
> Assertion `size >= 0' failed.
> 2005-01-26 20:12:41 [6719] [4] PANIC: gw/bearerbox(gw_panic+0x254) [0x4829c6]
> 2005-01-26 20:12:41 [6719] [4] PANIC: gw/bearerbox [0x483cee]
> 2005-01-26 20:12:41 [6719] [4] PANIC:
> gw/bearerbox(octstr_insert_data+0xc0) [0x4871e0]
> 2005-01-26 20:12:41 [6719] [4] PANIC:
> gw/bearerbox(octstr_append_data+0x5e) [0x48742f]
> 2005-01-26 20:12:41 [6719] [4] PANIC: gw/bearerbox [0x41c803]
> 2005-01-26 20:12:41 [6719] [4] PANIC: gw/bearerbox [0x41c8e1]
> 2005-01-26 20:12:41 [6719] [4] PANIC: gw/bearerbox [0x41d816]
> 2005-01-26 20:12:41 [6719] [4] PANIC: gw/bearerbox [0x41d740]
> 2005-01-26 20:12:41 [6719] [4] PANIC: gw/bearerbox [0x42214b]
> 2005-01-26 20:12:41 [6719] [4] PANIC: gw/bearerbox [0x422045]
> 2005-01-26 20:12:41 [6719] [4] PANIC: gw/bearerbox [0x41ec4e]
> 2005-01-26 20:12:41 [6719] [4] PANIC: gw/bearerbox [0x478018]
> 2005-01-26 20:12:41 [6719] [4] PANIC: /lib64/tls/libpthread.so.0 [0x356930613a]
> 2005-01-26 20:12:41 [6719] [4] PANIC:
> /lib64/tls/libc.so.6(__clone+0x73) [0x3568ac53c3]
>
ok, this is a panic from an assertion check on growing an Octstr to a specific
size. Can you please use addr2line to see which function does the octstr_grow()
call with the invalid size.
Stipe
mailto:stolj_{at}_wapme.de
-------------------------------------------------------------------
Wapme Systems AG
Vogelsanger Weg 80
40470 Düsseldorf, NRW, Germany
phone: +49.211.74845.0
fax: +49.211.74845.299
mailto:info_{at}_wapme-systems.de
http://www.wapme-systems.de/
-------------------------------------------------------------------