Segmentation fault
Hi list I'm trying to compile an SMS gateway called kannel on an IBM RS/6000 44P model 270 running SuSe Linux PPC 7.3. It compiles but I get a Segmentation Fault when running it. This is what I get from the debugger: When running, Starting program: /usr/local/kannel/sbin/bearerbox-cvs [New Thread 1024 (LWP 10108)] 2001-12-11 08:57:50 [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 10108)] 0x0fcd8448 in strlen () from /lib/libc.so.6 When issueing bt command: #0 0x0fcd8448 in strlen () from /lib/libc.so.6 #1 0x10047d60 in convert (os=0x101a0098, format=0x7ffff4c8, fmt=0x7ffff4e8, args=0x7ffff4ec) at gwlib/octstr.c:1897 #2 0x100481dc in octstr_format_valist (fmt=0x1004d879 "s, IP %s.\nLibxml version %s.\nUsing %s malloc.\n", args=0x7ffff580) at gwlib/octstr.c:1987 #3 0x10048054 in octstr_format (fmt=0x0) at gwlib/octstr.c:1958 #4 0x1000ae8c in version_report_string (boxname=0x1004b078 "bearerbox") at gw/shared.c:33 #5 0x1000ad60 in report_versions (boxname=0x0) at gw/shared.c:22 #6 0x10002730 in main (argc=1, argv=0x7ffff814) at gw/bearerbox.c:434 #7 0x0fc75680 in __libc_start_main () from /lib/libc.so.6 It seems like there is something wrong with strlen() from libc. Any ideas? Jacob
participants (1)
-
Jacob Vennervald Madsen