Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CRASH] module carrierroute crash when start opensips and open debug #3456

Open
garry6543121 opened this issue Aug 31, 2024 · 1 comment
Open
Labels

Comments

@garry6543121
Copy link

garry6543121 commented Aug 31, 2024

OpenSIPS version you are running

3.1.2

Crash Core Dump

(gdb) bt full
#0 0x00007f6127f5b703 in carrier_fixup (param=0x7f61a41ea490) at carrierroute.c:396
FUNCTION = "carrier_fixup"
#1 0x000056419096ef29 in fix_cmd (params=params@entry=0x7f6127f6fa60 <cmds+256>, elems=elems@entry=0x7f61a40fc9d0) at mod_fix.c:241
i = 1
param =
gp = 0x7f61a41ea488
ret =
pve = 0x7f61a4230608
re = 0x0
h = 0x7f61a41ea498
FUNCTION = "fix_cmd"
#2 0x0000564190985483 in fix_actions (a=) at route.c:1273
t = 0x7f61a40fc9c8
ret =
cmd =
acmd =
s = {s = 0x8 <error: Cannot access memory at address 0x8>, len = -1869065654}
model = 0x0
xlp =
FUNCTION = "fix_actions"
#3 0x0000564190986a83 in fix_expr (exp=0x7f61a40fcad8) at route.c:1067
re =
ret = -5
FUNCTION = "fix_expr"
#4 0x00005641909853ad in fix_actions (a=) at route.c:1188
t = 0x7f61a40fd2a8
ret =
cmd =
acmd =
s = {s = 0x7f61a40f6dd0 "($ci) cache_fetch ($(td{s.escape.common})_$(tU{s.escape.common})_sn)\n", len = 70}
model = 0x7f61a422e560
xlp =
FUNCTION = "fix_actions"
#5 0x000056419098e7a6 in fix_rls () at route.c:1410
i = 0
ret =
--Type for more, q to quit, c to continue without paging--
#6 0x00005641908ed812 in main (argc=, argv=) at main.c:1496
c =
r =
tmp = 0x7ffd1908270c ""
tmp_len =
port =
proto =
protos_no =
options = 0x564190b5b9f0 "f:cCm:M:b:l:n:N:rRvdDFEVhw:t:u:g:p:P:G:W:o:a:k:s:"
seed = 1944467758
rfd =
FUNCTION = "main"
(gdb) f 0
#0 0x00007f6127f5b703 in carrier_fixup (param=0x7f61a41ea490) at carrierroute.c:396
396 in carrierroute.c
(gdb) p *param
$1 = (void *) 0x1
(gdb)

Describe the traffic that generated the bug

To Reproduce

opensips.cfg has the following configurations
log_level=5
xlog_level=3

Relevant System Logs

OS/environment information

  • Operating System:
  • OpenSIPS installation:
  • other relevant information:

Additional context

Copy link

Any updates here? No progress has been made in the last 15 days, marking as stale. Will close this issue if no further updates are made in the next 30 days.

@github-actions github-actions bot added the stale label Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants
@garry6543121 and others