[prev in list] [next in list] [prev in thread] [next in thread]
List: serdev
Subject: [Serdev] rtpproxy crash
From: axelm () nic ! at (Alexander Mayrhofer)
Date: 2004-04-25 1:05:05
Message-ID: 20040424230600.GB9073 () kahua ! nona ! net
[Download RAW message or body]
Hi,
i'm trying to get latest CVS rtpproxy running. Unfortunately, it tends
to crash as soon as the second leg of a call is established (200 OK, sipwise):
(gdb) file /usr/bin/rtpproxy
Reading symbols from /usr/bin/rtpproxy...done.
(gdb) run -f
Starting program: /usr/bin/rtpproxy -f
rtpproxy: rtpproxy started, pid 9031
rtpproxy: new session C91B9C15-BC50-44FE-BF6A-AF249AE980AB@10.10.10.124,
tag 3143037586 requested
rtpproxy: new session on a port 35000 created, tag 3143037586
rtpproxy: pre-filling caller's address with XX.XX.XX.XX:8000
Program received signal SIGSEGV, Segmentation fault.
ishostseq (ia1=0x7d6903a6, ia2=0x7fffd750) at main.c:237
237 if (ia1->sa_family != ia2->sa_family)
(gdb) bt
#0 ishostseq (ia1=0x7d6903a6, ia2=0x7fffd750) at main.c:237
#1 0x10002064 in handle_command (controlfd=8) at main.c:760
#2 0x10003328 in main (argc=268435456, argv=0x8) at main.c:1209
#3 0x0fecac30 in __libc_start_main () from /lib/libc.so.6
(gdb) print ia1->sa_family
Cannot access memory at address 0x7d6903a6
(gdb) print ia1
$1 = (struct sockaddr *) 0x7d6903a6
(gdb) ptype ia1
type = struct sockaddr {
sa_family_t sa_family;
char sa_data[14];
} *
(gdb) print ia1->sa_data
Cannot access memory at address 0x7d6903a8
ia2 looks fine, btw.
I have no idea what should happen at main.c:760, looks like something
related to the ip4<->ip6 conversion/bridging...
anyone who can either enlighten me, or (preferred ;) even fix that bug?
maxim? ;)
cheers
axelm
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic