[asterisk-bugs] [Asterisk 0017789]: [patch] Asterisk crashes at startup on Solaris SPARC
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Aug 5 11:37:30 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17789
======================================================================
Reported By: Ian Mason
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 17789
Category: Core/General
Reproducibility: always
Severity: crash
Priority: normal
Status: ready for testing
Asterisk Version: 1.8.0-beta2
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-08-04 00:49 CDT
Last Modified: 2010-08-05 11:37 CDT
======================================================================
Summary: [patch] Asterisk crashes at startup on Solaris SPARC
Description:
Asterisk crashes at startup, vis:
equinox:root# /export/Packages/asterisk-root-1.8.0-beta2/usr/sbin/asterisk
-C /export/Packages/asterisk-root-1.8.0-beta2/etc/asterisk/asterisk.conf
-dcvvvv
Asterisk 1.8.0-beta2, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <markster at digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for
details.
This is free software, with components licensed under the GNU General
Public
License version 2 and other licenses; you are welcome to redistribute it
under
certain conditions. Type 'core show license' for details.
=========================================================================
== Parsing
'/export/Packages/asterisk-root-1.8.0-beta2/etc/asterisk/asterisk.conf':
Parsing
/export/Packages/asterisk-root-1.8.0-beta2/etc/asterisk/asterisk.conf
== Found
No ethernet interface found for seeding global EID. You will have to set
it manually.
Parsing
/export/Packages/asterisk-root-1.8.0-beta2/etc/asterisk/asterisk.conf
== Parsing
'/export/Packages/asterisk-root-1.8.0-beta2/etc/asterisk/asterisk.conf':
== Found
Bus Error (core dumped)
======================================================================
----------------------------------------------------------------------
(0125581) Ian Mason (reporter) - 2010-08-05 11:37
https://issues.asterisk.org/view.php?id=17789#c125581
----------------------------------------------------------------------
New backtrace below just in case the latest crash is related to the
original problem. Note this is a full working setup, not a minimised setup
to trace the issue so there's 1000 variables that make it likely that this
is totally unrelated to the original crash but I do see the tell-tale word
"Allocating" so I've posted it as, at least, an FYI.
*CLI> Allocating new SIP dialog for 39469b5a-13c4-34-c8fa-593f - REGISTER
(No RTP)
Store REGISTER's Contact header for call routing.
-- Registered SIP '201' at 90.155.70.57:5060
Allocating new SIP dialog for
000015b50000164800000c040000229e at 90.155.70.34:0 - OPTIONS (No RTP)
Bus Error (core dumped)
equinox:root#
Program terminated with signal 10, Bus error.
https://issues.asterisk.org/view.php?id=0 0x001c4018 in
__ast_string_field_ptr_build_va (mgr=0xfc6b28,
pool_head=0xfc6a74, ptr=0xfc6b14, format=0xfdf65110 "<sip:%s%s%s>",
ap1=0xfc1f9744, ap2=0xfc1f9744) at utils.c:1741
1741 AST_STRING_FIELD_ALLOCATION(target) = needed;
(gdb)
(gdb) bt
https://issues.asterisk.org/view.php?id=0 0x001c4018 in
__ast_string_field_ptr_build_va (mgr=0xfc6b28,
pool_head=0xfc6a74, ptr=0xfc6b14, format=0xfdf65110 "<sip:%s%s%s>",
ap1=0xfc1f9744, ap2=0xfc1f9744) at utils.c:1741
https://issues.asterisk.org/view.php?id=1 0x001c4160 in
__ast_string_field_ptr_build (mgr=0xfc6b28,
pool_head=0xfc6a74, ptr=0xfc6b14, format=0xfdf65110 "<sip:%s%s%s>") at
utils.c:1763
https://issues.asterisk.org/view.php?id=2 0xfdeceec8 in build_contact
(p=0xfc6a68) at chan_sip.c:10939
https://issues.asterisk.org/view.php?id=3 0xfded06c4 in initreqprep
(req=0xfc1fa0ec, p=0xfc6a68, sipmethod=3,
explicit_uri=0x0) at chan_sip.c:11107
https://issues.asterisk.org/view.php?id=4 0xfded0d54 in transmit_invite
(p=0xfc6a68, sipmethod=3, sdp=0, init=2,
explicit_uri=0x0) at chan_sip.c:11212
https://issues.asterisk.org/view.php?id=5 0xfdf2dbd0 in sip_poke_peer
(peer=0xf0dde0, force=0) at
chan_sip.c:24538
https://issues.asterisk.org/view.php?id=6 0xfdedf6bc in parse_register_contact
(pvt=0xfc5650, peer=0xf0dde0,
req=0xfc1fb89c) at chan_sip.c:13001
https://issues.asterisk.org/view.php?id=7 0xfdee2974 in register_verify
(p=0xfc5650, addr=0xfc1fb790,
req=0xfc1fb89c, uri=0xfc455d "sip:equinox.ian.co.uk:5060;transport=UDP")
at chan_sip.c:13624
https://issues.asterisk.org/view.php?id=8 0xfdf250f8 in handle_request_register
(p=0xfc5650, req=0xfc1fb89c,
addr=0xfc1fb790, e=0xfc455d "sip:equinox.ian.co.uk:5060;transport=UDP")
at chan_sip.c:23138
https://issues.asterisk.org/view.php?id=9 0xfdf268fc in handle_incoming
(p=0xfc5650, req=0xfc1fb89c,
addr=0xfc1fb790, recount=0xfc1fb700, nounlock=0xfc1fb6fc) at
chan_sip.c:23383
https://issues.asterisk.org/view.php?id=10 0xfdf282b4 in handle_request_do
(req=0xfc1fb89c, addr=0xfc1fb790) at
chan_sip.c:23669
https://issues.asterisk.org/view.php?id=11 0xfdf276ec in sipsock_read
(id=0xf330d0, fd=11, events=1, ignore=0x0)
at chan_sip.c:23567
https://issues.asterisk.org/view.php?id=12 0x0011b5f4 in ast_io_wait
(ioc=0x58caa8, howlong=1000) at io.c:288
https://issues.asterisk.org/view.php?id=13 0xfdf2a3c0 in do_monitor (data=0x0)
at chan_sip.c:24084
https://issues.asterisk.org/view.php?id=14 0x001c1a14 in dummy_start
(data=0xef9f70) at utils.c:971
https://issues.asterisk.org/view.php?id=15 0xfecc6d54 in _lwp_start () from
/usr/lib/libc.so.1
https://issues.asterisk.org/view.php?id=16 0xfecc6d54 in _lwp_start () from
/usr/lib/libc.so.1
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Issue History
Date Modified Username Field Change
======================================================================
2010-08-05 11:37 Ian Mason Note Added: 0125581
======================================================================
More information about the asterisk-bugs
mailing list