[asterisk-bugs] [Asterisk 0017331]: [patch] segfault on logging
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue May 18 17:49:27 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17331
======================================================================
Reported By: under
Assigned To: dvossel
======================================================================
Project: Asterisk
Issue ID: 17331
Category: General
Reproducibility: sometimes
Severity: minor
Priority: normal
Status: closed
Asterisk Version: 1.6.0.26
JIRA: SWP-1454
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2010-05-13 07:53 CDT
Last Modified: 2010-05-18 17:49 CDT
======================================================================
Summary: [patch] segfault on logging
Description:
(gdb) bt
https://issues.asterisk.org/view.php?id=0 0x081700ec in __ast_str_helper
(buf=0xbf34da80, max_len=1024,
append=0, fmt=0x81c1938 "%s", ap=0xbf34dab4
"]#))èÚ4¿ë»\026\b\177\n<--- SIP read from %s://%s:%d --->\n%s\n<", '-'
<repeats 13 times>, ">\n")
at asterisk/main/utils.c:1685
https://issues.asterisk.org/view.php?id=1 0x08101982 in ast_log (level=5,
file=0x81c1500
"asterisk/main/logger.c", line=1156, function=0x81c2b09 "ast_verbose",
fmt=0x81c1938 "%s")
at asterisk/main/logger.c:1043
https://issues.asterisk.org/view.php?id=2 0x08101e63 in ast_verbose
(fmt=0xbf34dac0 "\177\n<--- SIP read from
%s://%s:%d --->\n%s\n<", '-' <repeats 13 times>, ">\n") at
asterisk/main/logger.c:1156
https://issues.asterisk.org/view.php?id=3 0x2b35f623 in handle_request_do
(req=0xbf34dc78, sin=0xbf34dc68) at
asterisk/channels/chan_sip.c:20011
https://issues.asterisk.org/view.php?id=4 0x2b35f52a in sipsock_read
(id=0x29225328, fd=11, events=1,
ignore=0x0) at asterisk/channels/chan_sip.c:19994
https://issues.asterisk.org/view.php?id=5 0x080f670d in ast_io_wait
(ioc=0x2b2567a8, howlong=794) at
asterisk/main/io.c:288
https://issues.asterisk.org/view.php?id=6 0x2b361272 in do_monitor (data=0x0)
at
asterisk/channels/chan_sip.c:20493
https://issues.asterisk.org/view.php?id=7 0x0816da02 in dummy_start
(data=0x2b263c28) at
asterisk/main/utils.c:861
https://issues.asterisk.org/view.php?id=8 0x2821b73f in pthread_getprio () from
/lib/libthr.so.3
https://issues.asterisk.org/view.php?id=9 0x00000000 in ?? ()
(gdb) fr 0
https://issues.asterisk.org/view.php?id=0 0x081700ec in __ast_str_helper
(buf=0xbf34da80, max_len=1024,
append=0, fmt=0x81c1938 "%s", ap=0xbf34dab4
"]#))èÚ4¿ë»\026\b\177\n<--- SIP read from %s://%s:%d --->\n%s\n<", '-'
<repeats 13 times>, ">\n")
at asterisk/main/utils.c:1685
1685 in asterisk/main/utils.c
(gdb) p buf
$1 = (struct ast_str **) 0xbf34da80
(gdb) p *buf
$2 = (struct ast_str *) 0x0
======================================================================
----------------------------------------------------------------------
(0122105) svnbot (reporter) - 2010-05-18 17:49
https://issues.asterisk.org/view.php?id=17331#c122105
----------------------------------------------------------------------
Repository: asterisk
Revision: 263906
_U branches/1.6.2/
U branches/1.6.2/main/strings.c
------------------------------------------------------------------------
r263906 | dvossel | 2010-05-18 17:49:26 -0500 (Tue, 18 May 2010) | 16
lines
Merged revisions 263904 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r263904 | dvossel | 2010-05-18 17:48:51 -0500 (Tue, 18 May 2010) | 9
lines
fixes segfault on logging
(closes issue https://issues.asterisk.org/view.php?id=17331)
Reported by: under
Patches:
utils.diff uploaded by under (license 914)
segfault_on_logging.diff uploaded by dvossel (license 671)
Tested by: under, dvossel
........
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=263906
Issue History
Date Modified Username Field Change
======================================================================
2010-05-18 17:49 svnbot Checkin
2010-05-18 17:49 svnbot Note Added: 0122105
======================================================================
More information about the asterisk-bugs
mailing list