If you provided -w parameter, then it is at that path. If not, it should be in '/' or in the OS-configured corefiles directory.

Daniel

On 10/9/12 12:45 PM, samuel wrote:
I can not locate where the core is (wasn'i it in /tmp?) but I see the following statement in the log:

Oct  9 12:44:21 kamailio1 kamailio[17420]: ALERT: <core> [main.c:788]: core was generated

so i guess somewhere in the disk there is a core file....

Thanks a lot, Daniel,
Samuel.

On 9 October 2012 12:08, Daniel-Constantin Mierla <miconda@gmail.com> wrote:
Did you get a core dump, can you send the backtrace?

Daniel


On 10/9/12 11:00 AM, samuel wrote:
Hi folks,

I was making some tests with kamailio (both 3.3.0 and 3.3.1 tgz) with siptrace module sending "homer" packets to a remote central agent where the data is stored and presented to the user.

The related config is:
# ----- siptrace params from HOMER -----
modparam("siptrace", "duplicate_uri", "sip:A.B.C.D:9060")
modparam("siptrace", "trace_to_database", 0)
modparam("siptrace", "trace_flag", 22)
modparam("siptrace", "trace_on", 1)
#HEPv2 == timestamp will be included to HEP header
modparam("siptrace", "hep_version", 2)
modparam("siptrace", "hep_mode_on", 1)
modparam("siptrace", "hep_capture_id", 1)

basically for all incoming messages, a route is called with the following actions:

route[HOMER] {
        setflag(22);
        sip_trace();
}

I've been making some tests and if I disable the setflag action, there is no problem (well, no transaction messages are sent to the central agent), but as soon as I activated setflag, kamailio crashes with the following error:

<core> [pass_fd.c:293]: ERROR: receive_fd: EOF on 28

There's no concrete point in the config file where it fails so I think the problem is more tm-internals related. I can provide further information in case you need it.

Just for adding information, and without any intention to start a flame-war, with opensips 1.8.0-tls the server does not crash...

Thanks in advance!
Samuel.


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - http://asipto.com/u/katu


-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - http://asipto.com/u/katu