[OpenSIPS-Devel] [ opensips-Bugs-2936343 ] 'opensipsctl fifo get_statistics all' crashes opensips
SourceForge.net
noreply at sourceforge.net
Thu Jan 21 14:51:28 CET 2010
Bugs item #2936343, was opened at 2010-01-21 15:51
Message generated for change (Tracker Item Submitted) made by cupotka2008
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2936343&group_id=232389
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: 1.6.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alex Massover (cupotka2008)
Assigned to: Nobody/Anonymous (nobody)
Summary: 'opensipsctl fifo get_statistics all' crashes opensips
Initial Comment:
Hi!
'opensipsctl fifo get_statistics all' always crashes opensips. Core is somehow not produced.
Always reproducible for me on 1.6.1.
Here's a strace of parent process:
Process 9509 attached - interrupt to quit
pause() = ? ERESTARTNOHAND (To be restarted)
--- SIGUSR2 (User defined signal 2) @ 0 (0) ---
sigreturn() = ? (mask now [])
pause() = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
sigreturn() = ? (mask now [])
waitpid(-1, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGUSR2}], WNOHANG) = 9520
waitpid(-1, 0xbf84b4c8, WNOHANG) = 0
kill(0, SIGTERM) = 0
--- SIGTERM (Terminated) @ 0 (0) ---
--- SIGCHLD (Child exited) @ 0 (0) ---
sigreturn() = ? (mask now [TERM])
sigreturn() = ? (mask now [])
rt_sigaction(SIGALRM, {0x8065920, [ALRM], SA_RESTART}, {SIG_DFL}, 8) = 0
alarm(60) = 0
wait4(-1, NULL, 0, NULL) = 9514
wait4(-1, NULL, 0, NULL) = 9519
wait4(-1, NULL, 0, NULL) = 9521
wait4(-1, NULL, 0, NULL) = 9522
wait4(-1, NULL, 0, NULL) = 9512
--- SIGCHLD (Child exited) @ 0 (0) ---
sigreturn() = ? (mask now [])
--- SIGCHLD (Child exited) @ 0 (0) ---
sigreturn() = ? (mask now [])
wait4(-1, NULL, 0, NULL) = 9510
wait4(-1, NULL, 0, NULL) = 9516
--- SIGCHLD (Child exited) @ 0 (0) ---
sigreturn() = ? (mask now [])
--- SIGCHLD (Child exited) @ 0 (0) ---
sigreturn() = ? (mask now [])
wait4(-1, NULL, 0, NULL) = 9515
wait4(-1, NULL, 0, NULL) = 9517
wait4(-1, NULL, 0, NULL) = 9524
wait4(-1, NULL, 0, NULL) = 9525
--- SIGCHLD (Child exited) @ 0 (0) ---
sigreturn() = ? (mask now [])
--- SIGCHLD (Child exited) @ 0 (0) ---
sigreturn() = ? (mask now [])
--- SIGCHLD (Child exited) @ 0 (0) ---
sigreturn() = ? (mask now [])
--- SIGCHLD (Child exited) @ 0 (0) ---
sigreturn() = ? (mask now [])
wait4(-1, NULL, 0, NULL) = 9511
wait4(-1, NULL, 0, NULL) = 9513
wait4(-1, NULL, 0, NULL) = 9518
wait4(-1, NULL, 0, NULL) = 9523
wait4(-1, NULL, 0, NULL) = -1 ECHILD (No child processes)
rt_sigaction(SIGALRM, {0x8066080, [ALRM], SA_RESTART}, {0x8065920, [ALRM], SA_RESTART}, 8) = 0 stat64("/tmp/opensips_fifo", {st_mode=S_IFIFO|0660, st_size=0, ...}) = 0
unlink("/tmp/opensips_fifo") = 0
munmap(0xaed25000, 134217728) = 0
unlink("/var/run/opensips/opensips.pid") = 0
alarm(0) = 60
rt_sigaction(SIGALRM, {SIG_IGN}, {0x8066080, [ALRM], SA_RESTART}, 8) = 0
exit_group(0) = ?
Process 9509 detached
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2936343&group_id=232389
More information about the Devel
mailing list