[asterisk-bugs] [JIRA] (ASTERISK-23717) Segfault when loading XML documentation

Addix Internet Services GmbH (JIRA) noreply at issues.asterisk.org
Tue Jun 3 08:16:57 CDT 2014


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

Addix Internet Services GmbH commented on ASTERISK-23717:
---------------------------------------------------------

The patch libxml-z_stream-misuse.diff ist not working with 2.7.6:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -g -O0 -g -O0 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -Wp,-MD,.deps/xmlIO.pp -c xmlIO.c  -fPIC -DPIC -o .libs/xmlIO.o
cc1: warning: -Wuninitialized is not supported without -O
xmlIO.c: In function '__xmlParserInputBufferCreateFilename':
xmlIO.c:2524: warning: dereferencing 'void *' pointer
xmlIO.c:2524: error: request for member 'have' in something not a structure or union
xmlIO.c:2526: warning: dereferencing 'void *' pointer
xmlIO.c:2526: error: request for member 'next' in something not a structure or union
make[2]: *** [xmlIO.lo] Error 1
make[2]: Leaving directory `/mnt/sdb1/fec-astimax/libxml2-2.7.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/sdb1/fec-astimax/libxml2-2.7.6'
make: *** [all-recursive-am] Error 2


At the moment i cannot test 2.7.7 because of autoconf dependency....

> Segfault when loading XML documentation
> ---------------------------------------
>
>                 Key: ASTERISK-23717
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23717
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/General, Documentation
>    Affects Versions: 11.9.0
>         Environment: i586 - GLIBC_2.3.2
>            Reporter: Hendrik Wedhorn
>            Assignee: Addix Internet Services GmbH
>         Attachments: asterisk.conf, asterisk.inc, backtrace1190.txt, backtrace_new.txt, libxml-z_stream-misuse.diff, libxml-z_stream-misuse-gitfix.diff, valgrind.txt
>
>
> When loading the xml documentation the asterisk always dies with an segmentation fault. Although this should not influence each other, this only happens when the /etc/asterisk/asterisk.conf has an include to an another file. 
> - When the include in the asterisk.conf is removed the xml documentation is loaded perfectly fine. No segfault.
> - When the xml documentation is remove the include in the asterisk.conf works perfectly fine. No segfault.
> - The segfault always appears (100% reproducible.) when both is used. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list