<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 11/25/2010 12:07 PM, marius zbihlei wrote:
<blockquote cite="mid:4CEE3561.4090202@1and1.ro" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
On 11/25/2010 12:00 PM, dotnetdub wrote:
<blockquote
cite="mid:AANLkTikv+_obyg9UpijcPG8iW9Xv79YLc8paVcY8gZ+5@mail.gmail.com"
type="cite"><br>
<br>
<div class="gmail_quote">On 24 November 2010 07:10,
Daniel-Constantin
Mierla <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">If
you
don't have the mask ip to your host ip (kamailio listening ip) like
Alex pointed, do you have a core dump from where you can send the
backtrace?<br>
<br>
Cheers,<br>
Daniel
<div>
<div><br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div><br>
</div>
<div>Hi Alex/Daniel,</div>
<div><br>
</div>
<div>so THe IP of this SIP proxy is x.x.x.11 and I am using
x.x.x.10
for the Mask IP.</div>
<div><br>
</div>
<div>I see the coredump in the root of the server..</div>
<div><br>
</div>
<div>
<div>ls /core -lah</div>
<div>-rw------- 1 root root 134M 2010-11-20 19:48 /core</div>
</div>
<div><br>
</div>
<div>which is the date it crashed.</div>
<div><br>
</div>
<div>
<div>gdb /sbin/kamailio /core</div>
</div>
<div><br>
</div>
<div>
<div>This GDB was configured as "i486-linux-gnu"...</div>
<div>Cannot access memory at address 0xb75f3fb0</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>I am running gdb from debian repo on 5.04 maybe I need to
compile gdb?</div>
<div><br>
</div>
</div>
</blockquote>
Hello, <br>
<br>
No, the problem is with the coredump AFAIK. Try looking thru
/var/log/messages and dmesg for any indication of a coredump and the
module that generated it. Please email those lines as well.<br>
</blockquote>
<br>
Hello<br>
I see that the interesting line is already in the first mail . Please
try this<br>
<br>
readelf -S /path/to/topoh.so<br>
<br>
You should have somethink like this<br>
<br>
[Nr] Name Type Addr Off Size ES Flg
Lk Inf Al<br>
[ 0] NULL 00000000 000000 000000 00
0 0 0<br>
.....<br>
[10] .init PROGBITS 00001914 001914 000030 00 AX
0 0 4<br>
[11] .plt PROGBITS 00001944 001944 000430 04 AX
0 0 4<br>
[12] .text PROGBITS 00001d80 001d80 008008 00 AX
0 0 16<br>
<br>
Note the address of the .text segment (in my case is 0x00001d80) <br>
<br>
Then<br>
<br>
gdb /path/to/kamailio core.dump<br>
<br>
in the gdb console load the topoh.so<br>
<br>
add-symbol-file /path/to/topoh.so 0xb7004000 + 0x<offset of .text
segment found as above> <br>
<br>
then check the value of the Instruction pointer IP (0xb70070d9) Still
in the gdb console <br>
<br>
x/s 0xb70070d9<br>
<br>
You will get an offset relative to a function where the crashed
happened. This would be very helpful so please share the finding. Also
do a info registers (in the gdb console) and paste the content of the
registers as well.<br>
<br>
Marius <br>
<blockquote cite="mid:4CEE3561.4090202@1and1.ro" type="cite"><br>
Marius<br>
<blockquote
cite="mid:AANLkTikv+_obyg9UpijcPG8iW9Xv79YLc8paVcY8gZ+5@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<div>Thanks</div>
<div>Brian</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>