[asterisk-bugs] [JIRA] (ASTERISK-21665) 11.4 rc1 Crash on debian/sparc with SIGBUS, Bus Error

Jeremy Kister (JIRA) noreply at issues.asterisk.org
Thu May 9 17:51:38 CDT 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-21665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremy Kister updated ASTERISK-21665:
-------------------------------------

    Comment: was deleted

(was: {noformat}
pbx1.offphl> gdb `which asterisk`
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "sparc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/asterisk...done.
(gdb) break pthread_cond_init
Breakpoint 1 at 0x260b08
(gdb) break pthread_attr_init
Breakpoint 2 at 0x260bbc
(gdb) break pthread_condattr_init
Function "pthread_condattr_init" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 3 (pthread_condattr_init) pending.
(gdb) break pthread_mutex_init
Breakpoint 4 at 0x260ec8
(gdb) break pthread_mutexattr_init
Breakpoint 5 at 0x2613fc
(gdb) break pthread_rwlock_init
Breakpoint 6 at 0x2606dc
(gdb) break pthread_rwlockattr_init
Breakpoint 7 at 0x2606e8
(gdb) run -nrx 'core show version'
Starting program: /usr/sbin/asterisk -nrx 'core show version'
[Thread debugging using libthread_db enabled]

Breakpoint 5, 0xf7b8eb00 in pthread_mutexattr_init () from /lib/libpthread.so.0
(gdb) bt
#0  0xf7b8eb00 in pthread_mutexattr_init () from /lib/libpthread.so.0
#1  0x0014ac10 in ast_reentrancy_init (plt=0x264a08) at /usr/local/src/asterisk/asterisk-11.4.0-rc1/include/asterisk/lock.h:473
#2  0x0014e03c in __ast_rwlock_wrlock (filename=0x21d0d8 "asterisk.c", line=349, func=0x221850 "ast_register_file_version", 
    t=0x2649e8, name=0x21d108 "&(&file_versions)->lock") at lock.c:998
#3  0x00055f84 in ast_register_file_version (file=0xf7fb54f8 "libasteriskssl.c", version=0xf7fb5510 "$Revision: 373079 $")
    at asterisk.c:349
#4  0xf7fb4c28 in __register_file_version () at libasteriskssl.c:32
#5  0xf7fb5494 in __do_global_ctors_aux () from /usr/lib/libasteriskssl.so.1
#6  0xf7fb4a30 in _init () from /usr/lib/libasteriskssl.so.1
#7  0xf7fd8c4c in ?? () from /lib/ld-linux.so.2
#8  0xf7fd8c4c in ?? () from /lib/ld-linux.so.2
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)
{noformat})
    
> 11.4 rc1 Crash on debian/sparc with SIGBUS, Bus Error
> -----------------------------------------------------
>
>                 Key: ASTERISK-21665
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21665
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/General
>    Affects Versions: 11.3.0, 11.4.0
>         Environment: Debian 6.0.7 sparc64
>            Reporter: Jeremy Kister
>            Assignee: Walter Doekes
>            Severity: Critical
>         Attachments: modules.conf, sparc_alignment_issues_2.diff, sparc_alignment_issues_3.diff, sparc_alignment_issues.diff
>
>
> Asterisk 11.4.0-rc1 immediately dumps core with error "Bus Error"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list