Just do an strace of bearerbox. Send the relevant output.

On 2/14/06, Vincent CHAVANIS <[EMAIL PROTECTED]> 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 +++
>
>
> regards
>
> Vincent
>
> --
> Telemaque - NICE
> Service Technique
> Tel : +33 4 93 97 71 64 (fax 68)
> [EMAIL PROTECTED]
>
> ----- Original Message -----
> From: "Stipe Tolj" <[EMAIL PROTECTED]>
> To: "Vincent CHAVANIS" <[EMAIL PROTECTED]>
> Cc: <[email protected]>
> Sent: Monday, February 13, 2006 10:02 PM
> Subject: Re: 64bit Kannel
>
>
> > Vincent CHAVANIS wrote:
> >
> >> Stipe,
> >>
> >> Are you sure of that ?
> >>
> >> I've tried many times and get the same error from smsbox (lastest 
> >> cvs-20060210)
> >>
> >> 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]
> >
> > we'd need more of the log _before_ the PANIC.
> >
> > 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
> > -------------------------------------------------------------------
> >
>
>
>


--
Article:
-
    And an unknown college dropout named Bill Gates, together with his
partner Paul Allen, wrote a version of the programming language BASIC
for the Altair, forming a company called Micro-Soft in the process. He
would later drop the hyphen and the capital S, and make billions of
dollars.
--
Comment:
+++
Dammit Slashdot! If you would just drop the capital S, you could be
making billions of dollars too!
+++++
http://slashdot.org/comments.pl?sid=171335&cid=14270286
+++++++
www.opensource.or.ke

Reply via email to