-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Henning,
|> The seg-fault:
|>
|> Apr 17 10:57:20 [28437] DBG:carrierroute:get_route_tree_by_id: searching
|> in carrier default, id 1
|> Apr 17 10:57:20 [28437] DBG:carrierroute:get_route_tree_by_id: tree
|> default, domain 0 : 0
|> Segmentation fault (core dumped)
|>
|>
|> Number in $rU was "+49441234"
|
| Did the module crashes during the first execution of the cr_route? Or
does the
| segfault occur only after some time/ traffic? If you have a core dump
of the
| crash it would be great if you could send me the backtrace from gdb.
|
| Cheers,
|
| Henning
|
|
it crashes during first execution of cr_route()
gdb-Backtrace:
Program terminated with signal 11, Segmentation fault.
#0 0x00002aaaad83dd2a in rewrite_uri_recursor (route_tree=0x8,
pm=0x7fffac501ed0, flags=2281701376, dest=0x7fffac502080, msg=0x7a5a78,
~ user=0x7fffac5020a0, hash_source=shs_call_id, alg=alg_crc32,
dstavp=0x0) at route_func.c:522
522 if (re_pm.len == 0 || route_tree->nodes[*re_pm.s - '0']
== NULL) {
(gdb) bt
#0 0x00002aaaad83dd2a in rewrite_uri_recursor (route_tree=0x8,
pm=0x7fffac501ed0, flags=2281701376, dest=0x7fffac502080, msg=0x7a5a78,
~ user=0x7fffac5020a0, hash_source=shs_call_id, alg=alg_crc32,
dstavp=0x0) at route_func.c:522
#1 0x00002aaaad83dd92 in rewrite_uri_recursor
(route_tree=0x2aaaae305b50, pm=0x7fffac502090, flags=2281701376,
dest=0x7fffac502080,
~ msg=0x7a5a78, user=0x7fffac5020a0, hash_source=shs_call_id,
alg=alg_crc32, dstavp=0x0) at route_func.c:534
#2 0x00002aaaad83f721 in cr_do_route (_msg=0x7a5a78, _carrier=<value
optimized out>, _domain=0x799d78,
~ _prefix_matching=<value optimized out>, _rewrite_user=<value
optimized out>, _hsrc=shs_call_id, _halg=alg_crc32, _dstavp=0x0)
~ at route_func.c:637
#3 0x00002aaaad83fed7 in cr_route (_msg=0x2aaab0098978, _carrier=0x39,
_domain=0x722962, _prefix_matching=0x3, _rewrite_user=0x7a5a78,
~ _hsrc=2890932384, _dstavp=0x0) at route_func.c:680
#4 0x000000000040ce91 in do_action (a=0x7702d0, msg=0x7a5a78) at
action.c:838
#5 0x000000000040f47e in run_action_list (a=<value optimized out>,
msg=0x7a5a78) at action.c:132
#6 0x000000000045b544 in eval_expr (e=0x7703a0, msg=0x7a5a78, val=0x0)
at route.c:1072
#7 0x000000000045afbd in eval_expr (e=0x7703e8, msg=0x7a5a78, val=0x0)
at route.c:1379
#8 0x000000000045af65 in eval_expr (e=0x770430, msg=0x7a5a78, val=0x0)
at route.c:1384
#9 0x000000000040c9ca in do_action (a=0x771128, msg=0x7a5a78) at
action.c:693
#10 0x000000000040f47e in run_action_list (a=<value optimized out>,
msg=0x7a5a78) at action.c:132
#11 0x000000000040e2f2 in do_action (a=0x772be0, msg=0x7a5a78) at
action.c:710
#12 0x000000000040f47e in run_action_list (a=<value optimized out>,
msg=0x7a5a78) at action.c:132
#13 0x000000000040e2f2 in do_action (a=0x773e90, msg=0x7a5a78) at
action.c:710
#14 0x000000000040f47e in run_action_list (a=<value optimized out>,
msg=0x7a5a78) at action.c:132
#15 0x000000000040e2f2 in do_action (a=0x77a180, msg=0x7a5a78) at
action.c:710
#16 0x000000000040f47e in run_action_list (a=<value optimized out>,
msg=0x7a5a78) at action.c:132
#17 0x000000000040eda7 in do_action (a=0x77a250, msg=0x7a5a78) at
action.c:716
#18 0x000000000040f47e in run_action_list (a=<value optimized out>,
msg=0x7a5a78) at action.c:132
#19 0x000000000040f7db in run_top_route (a=0x767fc0, msg=0x7a5a78) at
action.c:112
#20 0x000000000044c93f in receive_msg (buf=0x6f15 <Address 0x6f15 out of
bounds>, len=2890939456, rcv_info=0x7fffac503c40)
~ at receive.c:156
#21 0x000000000048971e in udp_rcv_loop () at udp_server.c:438
#22 0x00000000004264c7 in main (argc=28437, argv=0x20) at main.c:692
(gdb)
regards
Helmut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iEYEARECAAYFAkgHI9YACgkQ4tZeNddg3dw+kACdHVH19SGUY6RZWoZXnOfojlFQ
oIIAn28mptoEWuc3cDFkImoq5FrFKsqe
=dEWo
-----END PGP SIGNATURE-----