[Devel] core dump

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Jan 18 11:47:43 CET 2006


Hi Helge,

Thanks for the report - indeed there was a problem with the new TM API; 
actually an old mis-functionality was triggered -  exported functions 
with same names and same C function but with different number of 
parameter overlaps.

For the moment I set different wrapper functions to have different C 
function. Later I will fix the module interface to accept this case.

Thanks and regards,
Bogdan


Helge Waastad wrote:

>Hi, I get a core dump in the last cvs version:
>
>
>[root at proxy-02 openser]# gdb openser core.30086
>GNU gdb Red Hat Linux (6.3.0.0-1.63rh)
>Copyright 2004 Free Software Foundation, Inc.
>GDB is free software, covered by the GNU General Public License, and you
>are
>welcome to change it and/or distribute copies of it under certain
>conditions.
>Type "show copying" to see the conditions.
>There is absolutely no warranty for GDB.  Type "show warranty" for
>details.
>This GDB was configured as "i386-redhat-linux-gnu"...(no debugging
>symbols found)
>Using host libthread_db library "/lib/tls/libthread_db.so.1".
>
>Core was generated by `openser -f proxy-02.cfg'.
>Program terminated with signal 11, Segmentation fault.
>Reading symbols from /lib/libdl.so.2...(no debugging symbols
>found)...done.
>Loaded symbols for /lib/libdl.so.2
>Reading symbols from /lib/libresolv.so.2...(no debugging symbols
>found)...done.
>Loaded symbols for /lib/libresolv.so.2
>Reading symbols from /lib/tls/libc.so.6...(no debugging symbols
>found)...done.
>Loaded symbols for /lib/tls/libc.so.6
>Reading symbols from /lib/ld-linux.so.2...(no debugging symbols
>found)...done.
>Loaded symbols for /lib/ld-linux.so.2
>Reading symbols from /usr/lib/openser/modules/tm.so...done.
>Loaded symbols for /usr/lib/openser/modules/tm.so
>Reading symbols from /usr/lib/openser/modules/sl.so...done.
>Loaded symbols for /usr/lib/openser/modules/sl.so
>Reading symbols from /usr/lib/openser/modules/acc.so...done.
>Loaded symbols for /usr/lib/openser/modules/acc.so
>Reading symbols from /usr/lib/openser/modules/rr.so...done.
>Loaded symbols for /usr/lib/openser/modules/rr.so
>Reading symbols from /usr/lib/openser/modules/maxfwd.so...done.
>Loaded symbols for /usr/lib/openser/modules/maxfwd.so
>Reading symbols from /usr/lib/openser/modules/mysql.so...done.
>Loaded symbols for /usr/lib/openser/modules/mysql.so
>Reading symbols from /usr/lib/libz.so.1...done.
>Loaded symbols for /usr/lib/libz.so.1
>Reading symbols from /usr/lib/openser/modules/usrloc.so...done.
>Loaded symbols for /usr/lib/openser/modules/usrloc.so
>Reading symbols from /usr/lib/openser/modules/registrar.so...done.
>Loaded symbols for /usr/lib/openser/modules/registrar.so
>Reading symbols from /usr/lib/openser/modules/group.so...done.
>Loaded symbols for /usr/lib/openser/modules/group.so
>Reading symbols from /usr/lib/openser/modules/auth.so...done.
>Loaded symbols for /usr/lib/openser/modules/auth.so
>Reading symbols from /usr/lib/openser/modules/auth_db.so...done.
>Loaded symbols for /usr/lib/openser/modules/auth_db.so
>Reading symbols from /usr/lib/openser/modules/textops.so...done.
>Loaded symbols for /usr/lib/openser/modules/textops.so
>Reading symbols from /usr/lib/openser/modules/uri.so...done.
>Loaded symbols for /usr/lib/openser/modules/uri.so
>Reading symbols from /usr/lib/openser/modules/uri_db.so...done.
>Loaded symbols for /usr/lib/openser/modules/uri_db.so
>Reading symbols from /usr/lib/openser/modules/enum.so...done.
>Loaded symbols for /usr/lib/openser/modules/enum.so
>Reading symbols from /usr/lib/openser/modules/domain.so...done.
>Loaded symbols for /usr/lib/openser/modules/domain.so
>Reading symbols from /usr/lib/openser/modules/pa.so...done.
>Loaded symbols for /usr/lib/openser/modules/pa.so
>Reading symbols from /usr/lib/libxml2.so.2...done.
>Loaded symbols for /usr/lib/libxml2.so.2
>Reading symbols from /lib/tls/libpthread.so.0...done.
>Loaded symbols for /lib/tls/libpthread.so.0
>Reading symbols from /lib/tls/libm.so.6...done.
>Loaded symbols for /lib/tls/libm.so.6
>Reading symbols from /usr/lib/openser/modules/mediaproxy.so...done.
>Loaded symbols for /usr/lib/openser/modules/mediaproxy.so
>Reading symbols from /usr/lib/openser/modules/exec.so...done.
>Loaded symbols for /usr/lib/openser/modules/exec.so
>Reading symbols from /usr/lib/openser/modules/pdt.so...done.
>Loaded symbols for /usr/lib/openser/modules/pdt.so
>Reading symbols from /usr/lib/openser/modules/avpops.so...done.
>Loaded symbols for /usr/lib/openser/modules/avpops.so
>Reading symbols from /usr/lib/openser/modules/options.so...done.
>Loaded symbols for /usr/lib/openser/modules/options.so
>Reading symbols from /usr/lib/openser/modules/xlog.so...done.
>Loaded symbols for /usr/lib/openser/modules/xlog.so
>Reading symbols from /usr/lib/openser/modules/permissions.so...done.
>Loaded symbols for /usr/lib/openser/modules/permissions.so
>Reading symbols from /usr/lib/openser/modules/speeddial.so...done.
>Loaded symbols for /usr/lib/openser/modules/speeddial.so
>Reading symbols from /usr/lib/openser/modules/lcr.so...done.
>Loaded symbols for /usr/lib/openser/modules/lcr.so
>Reading symbols from /usr/lib/openser/modules/pike.so...done.
>Loaded symbols for /usr/lib/openser/modules/pike.so
>Reading symbols from /usr/lib/openser/modules/diversion.so...done.
>Loaded symbols for /usr/lib/openser/modules/diversion.so
>Reading symbols from /usr/lib/openser/modules/alias_db.so...done.
>Loaded symbols for /usr/lib/openser/modules/alias_db.so
>Reading symbols from /usr/lib/openser/modules/uac.so...done.
>Loaded symbols for /usr/lib/openser/modules/uac.so
>Reading symbols from /usr/lib/openser/modules/uac_redirect.so...done.
>Loaded symbols for /usr/lib/openser/modules/uac_redirect.so
>Reading symbols from /usr/lib/openser/modules/nathelper.so...done.
>Loaded symbols for /usr/lib/openser/modules/nathelper.so
>Reading symbols from /lib/libnss_files.so.2...done.
>Loaded symbols for /lib/libnss_files.so.2
>Reading symbols from /lib/libnss_dns.so.2...done.
>Loaded symbols for /lib/libnss_dns.so.2
>
>#0  0x00ece6ab in add_uac (t=0xb6193360, request=0x8158780,
>uri=0xbfede118, next_hop=0xbfede120, proxy=0x814ae58) at t_fwd.c:304
>304                     if (proxy->host.h_addr_list[proxy->addr_idx+1])
>
>
>
>
>bt:(gdb) bt
>#0  0x00ece6ab in add_uac (t=0xb6193360, request=0x8158780,
>uri=0xbfede118, next_hop=0xbfede120, proxy=0x814ae58) at t_fwd.c:304
>#1  0x00ecfb67 in t_forward_nonack (t=0xb6193360, p_msg=0x8158780,
>proxy=0x814ae58) at t_fwd.c:612
>#2  0x00ecd088 in t_relay_to (p_msg=0x8158780, proxy=0x814ae58,
>replicate=0) at t_funcs.c:257
>#3  0x00eda154 in w_t_relay (p_msg=0x8158780, proxy=0x814ae58
>"udp:195.18.134.147:22050", foo=0x0) at tm.c:1088
>#4  0x08050387 in do_action ()
>#5  0x08051d21 in run_action_list ()
>#6  0x0807d06a in eval_expr ()
>#7  0x0807cfe9 in eval_expr ()
>#8  0x0804fc7f in do_action ()
>#9  0x08051d82 in run_actions ()
>#10 0x08051031 in do_action ()
>#11 0x08051b93 in do_action ()
>#12 0x08051b93 in do_action ()
>#13 0x08051d82 in run_actions ()
>#14 0x08075eaf in receive_msg ()
>#15 0x08093ffc in udp_rcv_loop ()
>#16 0x080651b6 in main_loop ()
>#17 0x08065995 in main ()
>(gdb)
>
>
>
>Anyone?
>
>
>br hw
>
>
>
>_______________________________________________
>Devel mailing list
>Devel at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/devel
>
>  
>




More information about the Devel mailing list