Re: 64bit Kannel
Stipe Tolj <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | tolj.org system architecture |
| Message-ID | <[email protected]> |
Vincent CHAVANIS wrote:
> Stipe, Alex,
>
> Seems that bearebox segfault before smsbox attempt to connect
>
> 2006-02-13 18:58:22 [13469] [0] INFO: HTTP: Opening server at port 10000.
> 2006-02-13 18:58:22 [13469] [0] INFO: Set up send sms service at port 10000
> 2006-02-13 18:58:22 [13469] [0] ERROR: connect failed
> 2006-02-13 18:58:22 [13469] [0] ERROR: System error 111: Connection refused
> 2006-02-13 18:58:22 [13469] [0] ERROR: error connecting to server `127.0.0.1' at port `5000'
> 2006-02-13 18:58:22 [13469] [0] PANIC: Couldn't connect to the bearerbox.
> 2006-02-13 18:58:22 [13469] [0] PANIC: /usr/local/bin/smsbox-1.4.1(gw_panic+0x284) [0x442cb3]
> 2006-02-13 18:58:22 [13469] [0] PANIC: /usr/local/bin/smsbox-1.4.1(connect_to_bearerbox+0x50) [0x41d05e]
> 2006-02-13 18:58:22 [13469] [0] PANIC: /usr/local/bin/smsbox-1.4.1(main+0x2f7) [0x417c7f]
> 2006-02-13 18:58:22 [13469] [0] PANIC: /lib64/libc.so.6(__libc_start_main+0xef) [0x383fc1c3cf]
> 2006-02-13 18:58:22 [13469] [0] PANIC: /usr/local/bin/smsbox-1.4.1 [0x40c949]
>
> here is the segfault
>
> rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT TERM], [], 8) = 0
> mmap(NULL, 10489856, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|0x40, -1, 0) = 0x4c814000
> mprotect(0x4c814000, 4096, PROT_NONE) = 0
> clone(child_stack=0x4d214270, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID|CLONE_DETACHED, parent_tidptr=0x4d2149f0, tls=0x4d214960, child_tidptr=0x4d2149f0) = 13314
> pipe([59, 60]) = 0
> fcntl(59, F_GETFL) = 0 (flags O_RDONLY)
> fcntl(59, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
> fcntl(60, F_GETFL) = 0x1 (flags O_WRONLY)
> fcntl(60, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
> futex(0x5d4e40, FUTEX_WAKE, 1) = 1
> write(2, "2006-02-14 02:18:38 [13293] [0] "..., 902006-02-14 02:18:38 [13293] [0] DEBUG: Started thread 21 (gw/smsc/smsc_emi.c:emi2_sender)
> ) = 90
> futex(0x383fe32580, FUTEX_WAKE, 12006-02-14 02:18:38 [13293] [21] DEBUG: Thread 21 (gw/smsc/smsc_emi.c:emi2_sender) maps to pid 13293.
> ) = 1
> 2006-02-14 02:18:38 [13293] [21] INFO: EMI2[SMSC1]: connecting to Primary SMSC
> write(7, "2006-02-14 02:18:38 [13293] [0] "..., 90) = 90
> futex(0x74a160, FUTEX_WAKE, 1) = 1
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> +++ killed by SIGSEGV +++
moreover a gdb backtrace of the core would be interesting...
As we see here your emi2 thread is starting and mutex things get involved.
Stipe
-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany
tolj.org system architecture Kannel Software Foundation (KSF)
http://www.tolj.org/ http://www.kannel.org/
mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------