[asterisk-bugs] [Asterisk 0017789]: [patch] Asterisk crashes at startup on Solaris SPARC
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Aug 5 11:25:03 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:25 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)
======================================================================
----------------------------------------------------------------------
(0125580) Ian Mason (reporter) - 2010-08-05 11:25
https://issues.asterisk.org/view.php?id=17789#c125580
----------------------------------------------------------------------
Tested patch. Patch as it stands fails to compile, vis:
utils.c:1638: error: invalid operands to binary % (have ‘char
*’ and ‘unsigned int’
Adding cast to line 1638 so that it reads:
if ( ((unsigned int) result) %
sizeof(ast_string_field_allocation)) {
compiles and will start.
It eventually crashes much, much, much later after running all the
configuration and apparently even talking some SIP. This is after 1600+
lines of output at -dcvvvv level so I think we can assume that the
immediate issue is solved.
Issue History
Date Modified Username Field Change
======================================================================
2010-08-05 11:25 Ian Mason Note Added: 0125580
======================================================================
More information about the asterisk-bugs
mailing list