[OpenSER-Devel] [ openser-Bugs-1892078 ] dialog: openser crash on dialog timeout

SourceForge.net noreply at sourceforge.net
Tue Feb 19 19:19:43 CET 2008


Bugs item #1892078, was opened at 2008-02-12 11:58
Message generated for change (Comment added) made by osas
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1892078&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver devel
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Ovidiu Sas (osas)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: dialog: openser crash on dialog timeout

Initial Comment:
When the dialog timeout fires, openser crashes:
Feb 12 13:36:39 localhost oser[4434]: DBG:tm:timer_routine: timer routine:2,tl=0x403f1408 next=(nil), timeout=21 
Feb 12 13:36:39 localhost oser[4434]: DBG:tm:wait_handler: WAIT timer hit 
Feb 12 13:36:39 localhost oser[4434]: DBG:tm:reset_timer: (group 3, tl=0x403f15a0) 
Feb 12 13:36:39 localhost oser[4434]: DBG:tm:reset_timer: (group 0, tl=0x403f15c0) 
Feb 12 13:36:39 localhost oser[4434]: DBG:tm:wait_handler: removing 0x403f13c0 from table  
Feb 12 13:36:39 localhost oser[4434]: DBG:tm:remove_timer_unsafe: unlinking timer: tl=0x403f153c, timeout=132, group=0 
Feb 12 13:36:39 localhost oser[4434]: DBG:tm:delete_cell: delete transaction 0x403f13c0 
Feb 12 13:36:39 localhost oser[4434]: DBG:tm:run_trans_callbacks: trans=0x403f13c0, callback type 2048, id 0 entered 
Feb 12 13:36:39 localhost oser[4434]: DBG:dialog:next_state_dlg: unref dlg 0x403f22e0 with 1 -> 1 
Feb 12 13:36:39 localhost oser[4434]: DBG:dialog:next_state_dlg: dialog 0x403f22e0 changed from state 4 to state 4, due event 1 
Feb 12 13:36:40 localhost oser[4430]: INFO:core:handle_sigs: child process 4434 exited by a signal 11 
Feb 12 13:36:40 localhost oser[4430]: INFO:core:handle_sigs: core was generated 
Feb 12 13:36:40 localhost oser[4430]: INFO:core:handle_sigs: terminating due to SIGCHLD 


(gdb) bt
#0  0x40192b39 in run_trans_callbacks (type=2048, trans=0x403f13c0, req=0x0, rpl=0x0, code=0) at t_hooks.c:209
#1  0x40181d19 in free_cell (dead_cell=0x403f13c0) at h_table.c:125
#2  0x401937ff in delete_cell (p_cell=0x403f13c0, unlock=1) at timer.c:240
#3  0x40195da5 in wait_handler (wait_tl=0x403f1408) at timer.c:440
#4  0x4019555e in timer_routine (ticks=21, attr=0x0) at timer.c:1040
#5  0x080ab7ff in timer_ticker (timer_list=0x816f6d0) at timer.c:275
#6  0x080ab633 in run_timer_process (tpl=0x816f528, do_jiffies=1) at timer.c:357
#7  0x080ab96a in start_timer_processes () at timer.c:386
#8  0x08063362 in main_loop () at main.c:818
#9  0x080651b8 in main (argc=3, argv=0xbffffd54) at main.c:1318


# openser -V
version: openser 1.4.0dev4-notls (i386/linux)
flags: STATS: Off, EXTRA_DEBUG, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
svnrevision: 2:3691
@(#) $Id: main.c 3589 2008-01-28 17:31:33Z bogdan_iancu $
main.c compiled on 13:27:49 Feb 12 2008 with gcc 4.1.2

----------------------------------------------------------------------

>Comment By: Ovidiu Sas (osas)
Date: 2008-02-19 13:19

Message:
Logged In: YES 
user_id=1395524
Originator: YES

Confirmed also in my environment.

Thanks and regards,
Ovidiu Sas

----------------------------------------------------------------------

Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2008-02-18 08:25

Message:
Logged In: YES 
user_id=1275325
Originator: NO

The fix was confirmed on 1892705.

Regards,
Bogdan

----------------------------------------------------------------------

Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2008-02-13 08:41

Message:
Logged In: YES 
user_id=1275325
Originator: NO

Hi Ovidiu,

It looks like it is the same problem as the one Norm reported (id
1892705), which was already fixed. Please update and see if the problem
persists.

Thanks and regards,
Bogdan

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1892078&group_id=139143



More information about the Devel mailing list