[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 Apr 25 13:04:38 CDT 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-21665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=205849#comment-205849 ] 

Jeremy Kister commented on ASTERISK-21665:
------------------------------------------

for Asterisk 1.8.21.0:
{noformat}
pbx1.offphl> suex touch main/astobj2.c
pbx1.offphl> suex make NOISY_BUILD=yes
[...]
make[1]: Entering directory `/usr/local/src/asterisk/asterisk-1.8.21.0/main'
gcc -o astobj2.o -c astobj2.c -MD -MT astobj2.o -MF .astobj2.o.d -MP -pthread -I/usr/local/src/asterisk/asterisk-1.8.21.0/include    -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3  -O0  -DAST_MODULE=\"core\" 
cd editline && test -f config.h || CFLAGS="-pthread -I../..//include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -O0 " LDFLAGS="  " ./configure --build=sparc64-unknown-linux-gnu --host=sparc64-unknown-linux-gnu --with-ncurses= --with-curses= --with-termcap= --with-tinfo=
make -C editline libedit.a
make[2]: Entering directory `/usr/local/src/asterisk/asterisk-1.8.21.0/main/editline'
make[2]: `libedit.a' is up to date.
make[2]: Leaving directory `/usr/local/src/asterisk/asterisk-1.8.21.0/main/editline'
_ASTCFLAGS="-I/usr/local/src/asterisk/asterisk-1.8.21.0/include    -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3  -O0  -Wno-strict-aliasing" ASTCFLAGS="" make -C db1-ast libdb1.a
make[2]: Entering directory `/usr/local/src/asterisk/asterisk-1.8.21.0/main/db1-ast'
make[2]: `libdb1.a' is up to date.
make[2]: Leaving directory `/usr/local/src/asterisk/asterisk-1.8.21.0/main/db1-ast'
gcc  -o asterisk -Wl,--export-dynamic -Wl,--version-script,asterisk.exports -Wl,--dynamic-list,asterisk.dynamics     abstract_jb.o acl.o adsi.o alaw.o aoc.o app.o ast_expr2.o ast_expr2f.o asterisk.o astfd.o astmm.o astobj2.o audiohook.o autochan.o autoservice.o bridging.o callerid.o ccss.o cdr.o cel.o channel.o chanvars.o cli.o config.o data.o datastore.o db.o devicestate.o dial.o dns.o dnsmgr.o dsp.o enum.o event.o features.o file.o fixedjitterbuf.o frame.o framehook.o fskmodem.o global_datastores.o hashtab.o heap.o http.o image.o indications.o io.o jitterbuf.o loader.o lock.o logger.o manager.o md5.o netsock.o netsock2.o pbx.o plc.o poll.o privacy.o rtp_engine.o say.o sched.o security_events.o sha1.o slinfactory.o srv.o ssl.o stdtime/localtime.o strcompat.o strings.o stun.o syslog.o taskprocessor.o tcptls.o tdd.o term.o test.o threadstorage.o timing.o translate.o udptl.o ulaw.o utils.o version.o xml.o xmldoc.o editline/libedit.a db1-ast/libdb1.a  buildinfo.o -lssl -lcrypto -lc    -ldl -lpthread -ltermcap  -lm -lresolv  
make[1]: Leaving directory `/usr/local/src/asterisk/asterisk-1.8.21.0/main'
 +--------- Asterisk Build Complete ---------+
 + Asterisk has successfully been built, and +
 + can be installed by running:              +
 +                                           +
 +                make install               +
 +-------------------------------------------+
{noformat}

for Asterisk 11.4.0-rc1:
{noformat}
pbx1.offphl> suex touch main/astobj2.c 
pbx1.offphl> suex make NOISY_BUILD=yes
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts
make[1]: Entering directory `/usr/local/src/asterisk/asterisk-11.4.0-rc1/menuselect'
make[1]: `makeopts' is up to date.
make[1]: Leaving directory `/usr/local/src/asterisk/asterisk-11.4.0-rc1/menuselect'
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" menuselect
[...]
make[1]: Entering directory `/usr/local/src/asterisk/asterisk-11.4.0-rc1/main'
gcc -o astobj2.o -c astobj2.c -MD -MT astobj2.o -MF .astobj2.o.d -MP -pthread -I/usr/local/src/asterisk/asterisk-11.4.0-rc1/include    -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations  -g3  -O0  -DAST_MODULE=\"core\" 
cd editline && test -f config.h || CFLAGS="-pthread -I../..//include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -O0 " LDFLAGS="   " ./configure --build=sparc64-unknown-linux-gnu --host=sparc64-unknown-linux-gnu --with-ncurses= --with-curses= --with-termcap= --with-tinfo=
make -C editline libedit.a
make[2]: Entering directory `/usr/local/src/asterisk/asterisk-11.4.0-rc1/main/editline'
make[2]: `libedit.a' is up to date.
make[2]: Leaving directory `/usr/local/src/asterisk/asterisk-11.4.0-rc1/main/editline'
gcc  -o asterisk -Wl,--export-dynamic -Wl,--version-script,asterisk.exports -Wl,--dynamic-list,asterisk.dynamics      abstract_jb.o acl.o adsi.o alaw.o aoc.o app.o ast_expr2.o ast_expr2f.o asterisk.o astfd.o astmm.o astobj2.o audiohook.o autochan.o autoservice.o bridging.o callerid.o ccss.o cdr.o cel.o channel.o channel_internal_api.o chanvars.o cli.o config.o config_options.o data.o datastore.o db.o devicestate.o dial.o dns.o dnsmgr.o dsp.o enum.o event.o features.o file.o fixedjitterbuf.o format.o format_cap.o format_pref.o frame.o framehook.o fskmodem.o global_datastores.o hashtab.o heap.o http.o image.o indications.o io.o jitterbuf.o loader.o lock.o logger.o manager.o md5.o message.o named_acl.o netsock.o netsock2.o pbx.o plc.o poll.o presencestate.o privacy.o rtp_engine.o say.o sched.o security_events.o sha1.o sip_api.o slinfactory.o srv.o stdtime/localtime.o strcompat.o strings.o stun.o syslog.o taskprocessor.o tcptls.o tdd.o term.o test.o threadstorage.o timing.o translate.o udptl.o ulaw.o utils.o version.o xml.o xmldoc.o -L. -lasteriskssl editline/libedit.a  buildinfo.o -lc   -lsqlite3  -lssl -lcrypto -ldl -lpthread -ltermcap  -lm -lresolv   
make[1]: Leaving directory `/usr/local/src/asterisk/asterisk-11.4.0-rc1/main'
 +--------- Asterisk Build Complete ---------+
 + Asterisk has successfully been built, and +
 + can be installed by running:              +
 +                                           +
 +                make install               +
 +-------------------------------------------+
{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