On Jun 30, 2005 at 16:49, Lol Zimmerli lolzim@worldcom.ch wrote: [...]
Which is called from the end of route{} and also from end of some route(x).
In the log, I can see SER crashing, after tm's "fr_inv_timer" seconds: Jun 30 16:40:00 ser /usr/local/sbin/ser[3548]: Entering failure_route (1) Jun 30 16:40:00 ser /usr/local/sbin/ser[3548]: reverted Jun 30 16:40:00 ser /usr/local/sbin/ser[3548]: rewritten Jun 30 16:40:00 ser /usr/local/sbin/ser[3548]: appended Jun 30 16:40:00 ser /usr/local/sbin/ser[3548]: BUG: qm_free: bad pointer 0x2a97d717e8 (out of memory block!) - aborting Jun 30 16:40:00 ser /usr/local/sbin/ser[3558]: ERROR: receive_fd: EOF on 14 Jun 30 16:40:00 ser /usr/local/sbin/ser[3525]: child process 3548 exited by a signal 6 Jun 30 16:40:00 ser /usr/local/sbin/ser[3525]: core was generated Jun 30 16:40:00 ser /usr/local/sbin/ser[3525]: INFO: terminating due to SIGCHLD
It also do the same if I replace t_relay_to_udp(...) with t_relay(). And also if I move the t_on_failure() in main route() or the calling route(x).
Is it a known bug or am I doing something wrong?
No, it's not a known bug. What ser version are you using? Could you send ser -V output? Could you send me a backtrace (gdb ser core and then type bt)?
Andrei