Please always copy the users list when asking for support.

 

This is interesting. Unfortunately I don't have access to a Mac. To debug
this further.

But maybe one of the other developers has.

The bug is pretty straight forward. But can be one of as many as 11
parameters that probably has a NULL or uninitialized value.

 

== Rene

 

From: Manoj M N [mailto:[email protected]] 
Sent: Friday, 31 August, 2012 03:20
To: Rene Kluwen
Subject: Re: Facing an issue starting up Kannel

 

Thanks for the help Rene, Please see attached the requested info. If you
need more info, please let me know.

Thanks,

On Fri, Aug 31, 2012 at 2:23 AM, Rene Kluwen <[email protected]> wrote:

Is it possible for you to start bearerbox with gdb and do a backtrace on it?

 

== Rene

 

From: [email protected] [mailto:[email protected]] On
Behalf Of Manoj M N
Sent: Thursday, 30 August, 2012 18:26
To: [email protected]
Subject: Facing an issue starting up Kannel

 

Hello, 

I am very new to WAP/SMS gateways and my requirement goes as far as to get
SMS messages sent out using my 3G data card with a SIM card in it for now.
So as you can see my requirement is pretty basic.

I use a MAC and I downloaded the source code and compiled/installed kannel.
I have put a sample config file as per the documentation 
group = core
admin-port = 13000
admin-password = f00bar

# Default service.
group = sms-service
keyword = default
text = "No services defined"

When I try to start 
007/-- sudo /usr/local/sbin/bearerbox -v 1 
Password:
2012-08-30 21:57:44 [599] [0] INFO: Debug_lvl = 1, log_file = <none>,
log_lvl = 0
2012-08-30 21:57:44 [599] [0] WARNING: DLR: using default 'internal' for
storage type.
2012-08-30 21:57:44 [599] [0] INFO: DLR using storage type: internal
Segmentation fault

I am getting this error and it is not coming up at all. 

I am possibly doing something stupid, can you please help me understand?

Regards,

 

(gdb) run -v 1
Starting program: /usr/local/sbin/bearerbox -v 1
Reading symbols for shared libraries .+++++++.. done
2012-08-31 06:51:15 [342] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0
2012-08-31 06:51:15 [342] [0] WARNING: DLR: using default 'internal' for 
storage type.
2012-08-31 06:51:15 [342] [0] INFO: DLR using storage type: internal

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
0x00007fff858eac00 in strlen ()
(gdb) backtrace
#0  0x00007fff858eac00 in strlen ()
#1  0x000000010007bef0 in octstr_format_valist_real (fmt=0x10008a950 "n 
`%s'.\nBuild `%s', compiler `%s'.\nSystem %s, release %s, version %s, machine 
%s.\nHostname %s, IP %s.\nLibxml version %s.\nUsing %s.\nUsing %s malloc.\n", 
args=0x7fff5fbfec60) at gwlib/octstr.c:2414
#2  0x000000010007c7f2 in octstr_format (fmt=<value temporarily unavailable, 
due to optimizations>) at gwlib/octstr.c:2407
#3  0x0000000100012bb1 in version_report_string (boxname=0x1000861df 
"bearerbox") at gw/shared.c:105
#4  0x0000000100012bee in report_versions (boxname=<value temporarily 
unavailable, due to optimizations>) at gw/shared.c:94
#5  0x0000000100001d02 in main (argc=<value temporarily unavailable, due to 
optimizations>, argv=0x7fff5fbff398) at gw/bearerbox.c:621

Reply via email to