Am Fri, 23 Jul 2010 10:58:05 +0200 schrieb Sylvain Munaut 246tnt@gmail.com:
That's not much of a backtrace
Please, use the 'bt' command to get the full backtrace. Using the 'bt full' command if even better. And to further improve things you could also make sure the libosmocore and openbsc were compiled with full debugging symbol by including -ggdb if the CFLAGS/LDFLAGS
OK, here more information:
(gdb) bt full #0 bsc_unregister_fd (fd=0x80c59f4) at ../include/osmocore/linuxlist.h:107 No locals. #1 0x08055c67 in ipaccess_drop_rsl (trx=0x806d880) at input/ipaccess.c:427 ts = (struct e1inp_ts *) 0x80c548c #2 0x08055d3f in ipaccess_drop_oml (bts=0x806cc38) at input/ipaccess.c:368 trx = (struct gsm_bts_trx *) 0x806d880 ts = <value optimized out> line = (struct e1inp_line *) 0x80c4ef8 #3 0x08055d97 in ipaccess_drop (ts=0x0, bfd=<value optimized out>) at input/ipaccess.c:400 link = (struct e1inp_sign_link *) 0x0 bts_nr = 0 #4 0x080563ca in ipaccess_fd_cb (bfd=0x80c5470, what=<value optimized out>) at input/ipaccess.c:451 line = <value optimized out> ts_nr = 1 rc = <value optimized out> #5 0xb76e8073 in bsc_select_main (polling=0) at select.c:119 flags = 1 ufd = (struct bsc_fd *) 0x80c5470 tmp = (struct bsc_fd *) 0xb76f93a0 readset = {__fds_bits = {0 <repeats 32 times>}} writeset = {__fds_bits = {0 <repeats 32 times>}} exceptset = {__fds_bits = {0 <repeats 32 times>}} work = 0 rc = <value optimized out> no_time = {tv_sec = 0, tv_usec = 0} #6 0x0804af42 in main (argc=6, argv=0xbffbde84) at ipaccess-config.c:861 bts = (struct gsm_bts *) 0x806cc38 sin = {sin_family = 2, sin_port = 48651, sin_addr = {s_addr = 1812048064}, sin_zero = "\000\000\000\000\000\000\000"} rc = 135027188 option_index = 0 stream_id = <value optimized out> stderr_target = <value optimized out> long_options = {{name = 0x8061169 "unit-id", has_arg = 1, flag = 0x0, val = 117}, {name = 0x8061171 "oml-ip", has_arg = 1, flag = 0x0, val = 111}, { name = 0x8061178 "ip-address", has_arg = 1, flag = 0x0, val = 105}, {name = 0x8061183 "ip-gateway", has_arg = 1, flag = 0x0, val = 103}, {name = 0x806118e "restart", has_arg = 0, flag = 0x0, val = 114}, {name = 0x8061196 "nvram-flags", has_arg = 1, flag = 0x0, val = 110}, {name = 0x80611a2 "nvattr-set", has_arg = 1, flag = 0x0, val = 83}, {name = 0x80611ad "nvattr-unset", has_arg = 1, flag = 0x0, val = 85}, {name = 0x80611ba "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x80611bf "listen", has_arg = 1, flag = 0x0, val = 108}, {name = 0x80611c6 "stream-id", has_arg = 1, flag = 0x0, val = 115}, {name = 0x80611d0 "software", has_arg = 1, flag = 0x0, val = 100}, { name = 0x806106d "firmware", has_arg = 1, flag = 0x0, val = 102}, {name = 0x80611d9 "write-firmware", has_arg = 0, flag = 0x0, val = 119}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
Thanks