Hi Ray,

it looks like the "trusted" hash table is corrupted. If I understand correctly, you say if you start the proxy and send an INVITE, the proxy will immediately crash, right? do you see any errors during startup or before the crash?

regards,
bogdan

Raymond Chen wrote:

Hi Bogdan,

yes, it happens everytime we send an invite the openser. btw, we build this in FC5.

(gdb) p *np
Cannot access memory at address 0x38363033

thanks

Ray




Bogdan-Andrei Iancu wrote:

Hi Ray,

it looks like a different story. Anyhow, can you print the content of the "np" pointer variable (p *np)....

it this something you can reproduce ?

thanks and regards,
bogdan

Raymond Chen wrote:

Dear all

I have encountered coredump with yesterday's CVS, Looks like it's the same issue discussed in SER forum http://lists.iptel.org/pipermail/serdev/2004-November/003312.html, please advise.

thanks

Ray

Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0xbb2000
Core was generated by `openser'.
Program terminated with signal 11, Segmentation fault.

warning: svr4_current_sos: Can't read pathname for load map: Input/output error

Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/local/lib/openser/modules/mysql.so...done.
Loaded symbols for /usr/local/lib/openser/modules/mysql.so
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/lib/mysql/libmysqlclient.so.15...done.
Loaded symbols for /usr/lib/mysql/libmysqlclient.so.15
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libssl.so.6...done.
Loaded symbols for /lib/libssl.so.6
Reading symbols from /lib/libcrypto.so.6...done.
Loaded symbols for /lib/libcrypto.so.6
Reading symbols from /usr/lib/libgssapi_krb5.so.2...done.
Loaded symbols for /usr/lib/libgssapi_krb5.so.2
Reading symbols from /usr/lib/libkrb5.so.3...done.
Loaded symbols for /usr/lib/libkrb5.so.3
Reading symbols from /lib/libcom_err.so.2...done.
Loaded symbols for /lib/libcom_err.so.2
Reading symbols from /usr/lib/libk5crypto.so.3...done.
Loaded symbols for /usr/lib/libk5crypto.so.3
Reading symbols from /usr/lib/libkrb5support.so.0...done.
Loaded symbols for /usr/lib/libkrb5support.so.0
Reading symbols from /usr/local/lib/openser/modules/sl.so...done.
Loaded symbols for /usr/local/lib/openser/modules/sl.so
Reading symbols from /usr/local/lib/openser/modules/tm.so...done.
Loaded symbols for /usr/local/lib/openser/modules/tm.so
Reading symbols from /usr/local/lib/openser/modules/rr.so...done.
Loaded symbols for /usr/local/lib/openser/modules/rr.so
Reading symbols from /usr/local/lib/openser/modules/maxfwd.so...done.
Loaded symbols for /usr/local/lib/openser/modules/maxfwd.so
Reading symbols from /usr/local/lib/openser/modules/usrloc.so...done.
Loaded symbols for /usr/local/lib/openser/modules/usrloc.so
Reading symbols from /usr/local/lib/openser/modules/registrar.so...done.
Loaded symbols for /usr/local/lib/openser/modules/registrar.so
Reading symbols from /usr/local/lib/openser/modules/auth.so...done.
Loaded symbols for /usr/local/lib/openser/modules/auth.so
Reading symbols from /usr/local/lib/openser/modules/auth_db.so...done.
Loaded symbols for /usr/local/lib/openser/modules/auth_db.so
Reading symbols from /usr/local/lib/openser/modules/exec.so...done.
Loaded symbols for /usr/local/lib/openser/modules/exec.so
Reading symbols from /usr/local/lib/openser/modules/group.so...done.
Loaded symbols for /usr/local/lib/openser/modules/group.so
Reading symbols from /usr/local/lib/openser/modules/textops.so...done.
Loaded symbols for /usr/local/lib/openser/modules/textops.so
Reading symbols from /usr/local/lib/openser/modules/nathelper.so...done.
Loaded symbols for /usr/local/lib/openser/modules/nathelper.so
Reading symbols from /usr/local/lib/openser/modules/uri.so...done.
Loaded symbols for /usr/local/lib/openser/modules/uri.so
Reading symbols from /usr/local/lib/openser/modules/uri_db.so...done.
Loaded symbols for /usr/local/lib/openser/modules/uri_db.so
Reading symbols from /usr/local/lib/openser/modules/domain.so...done.
Loaded symbols for /usr/local/lib/openser/modules/domain.so
Reading symbols from /usr/local/lib/openser/modules/xlog.so...done.
Loaded symbols for /usr/local/lib/openser/modules/xlog.so
Reading symbols from /usr/local/lib/openser/modules/options.so...done.
Loaded symbols for /usr/local/lib/openser/modules/options.so
Reading symbols from /usr/local/lib/openser/modules/speeddial.so...done.
Loaded symbols for /usr/local/lib/openser/modules/speeddial.so
Reading symbols from /usr/local/lib/openser/modules/avpops.so...done.
Loaded symbols for /usr/local/lib/openser/modules/avpops.so
Reading symbols from /usr/local/lib/openser/modules/lcr.so...done.
Loaded symbols for /usr/local/lib/openser/modules/lcr.so
Reading symbols from /usr/local/lib/openser/modules/alias_db.so...done.
Loaded symbols for /usr/local/lib/openser/modules/alias_db.so
Reading symbols from /usr/local/lib/openser/modules/uac.so...done.
Loaded symbols for /usr/local/lib/openser/modules/uac.so
Reading symbols from /usr/local/lib/openser/modules/permissions.so...done.
Loaded symbols for /usr/local/lib/openser/modules/permissions.so
Reading symbols from /usr/local/lib/openser/modules/path.so...done.
Loaded symbols for /usr/local/lib/openser/modules/path.so
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
#0 0x00213991 in match_hash_table (table=0xb60e3aa8, msg=0x8163ff8) at hash.c:215
215 if ((np->src_ip.len == src_ip.len) &&
(gdb) bt
#0 0x00213991 in match_hash_table (table=0xb60e3aa8, msg=0x8163ff8) at hash.c:215 #1 0x00219817 in allow_trusted (_msg=0x8163ff8, str1=0x0, str2=0x0) at trusted.c:363
#2 0x0805070a in do_action (a=0x814fc28, msg=0x8163ff8) at action.c:700
#3 0x08052353 in run_action_list (a=0x814fc28, msg=0x8163ff8) at action.c:89
#4 0x080877b9 in eval_expr (e=0x814fc68, msg=0x8163ff8) at route.c:624
#5 0x0808762f in eval_expr (e=0x814fc98, msg=0x8163ff8) at route.c:692
#6 0x080506a7 in do_action (a=0x8150358, msg=0x8163ff8) at action.c:616
#7 0x08051c6b in do_action (a=0x8150508, msg=0x8163ff8) at action.c:89
#8 0x080523b1 in run_top_route (a=0x8150508, msg=0x8163ff8) at action.c:89
#9 0x0807dab9 in receive_msg (
buf=0x810d160 "INVITE sip:[EMAIL PROTECTED]:5066 SIP/2.0\r\nTo: <sip:[EMAIL PROTECTED]>\r\nFrom: Ray <sip:[EMAIL PROTECTED]>;tag=4938167b\r\nVia: SIP/2.0/UDP 192.168.1.168:9799;branch=z9hG4bK"..., len=758, rcv_info=0xbfc57278)
at receive.c:155
#10 0x080a1789 in udp_rcv_loop () at udp_server.c:465
#11 0x0806a0f1 in main_loop () at main.c:806
#12 0x0806c40b in main (argc=1, argv=0xbfc57464) at main.c:1475
(gdb) bt full
#0 0x00213991 in match_hash_table (table=0xb60e3aa8, msg=0x8163ff8) at hash.c:215 uri_string = "sip:[EMAIL PROTECTED] \000r%-000\000\000\000\000??000??000??000??000\001\000\000\000(g?7 \232?000Lg???000\001\000\000\0007\232?000\\g???000\224f?\000\000\000\000 ??$\226?000\000g?r%-000\000\000\000\000-?\000-?\000??000\234g??\016\bxg? I\222?000\234g?'?\000??\000\000\000\000\000\000\000\000\020\000\000\000? ?[f?\000\000\000\000\000\000\000\000???"... preg = {buffer = 0xfbad8004 <Address 0xfbad8004 out of bounds>, allocated = 58720, used = 0, syntax = 0, fastmap = 0xbfc544c8 "??, translate = 0xbfc544ea "?, re_nsub = 3217384648, can_be_null = 0, regs_allocated = 0, fastmap_accurate = 0, no_sub = 0, not_bol = 1, not_eol = 1, newline_anchor = 0}
np = (struct trusted_list *) 0x38363033
val = {n = 0, s = {s = 0x0, len = 0}}
#1 0x00219817 in allow_trusted (_msg=0x8163ff8, str1=0x0, str2=0x0) at trusted.c:363
result = Variable "result" is not available.





_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel






--




_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to