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

Addix Internet Services GmbH (JIRA) noreply at issues.asterisk.org
Tue May 27 08:19:45 CDT 2014


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

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

>rerun valgrind while attempting to get more info out of it
There is no segmentation fault when starting asterisk with valgrind. The output to valgrind.txt is basically the same, just more errors of libcrypto
>try a more recent libxml2. the oldest version I run is 2.8.0, the newest is 2.9.1. yours are older
i will try using a newer version, but this is not easy in my enviroment. Rusty Newton was also using 2.7.6 with no issue.
>if you can, remove the libxml2 package and compile it from source while making sure that optimization is disabled and debugging symbols are enabled
l>ibxml2$ CFLAGS=-O0\ -g ./configure --with-debug
iam already building it from the source of libxml 2.7.6. Using these parameters does not change anything.
>try what happens if you remove BUILD_NATIVE from the asterisk build options (a 586 system is rather rare nowadays)
>a combination of the above
Im using an AMD Geode CPU but BUILD_NATIVE or any other optimization is not enabled.


> 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: Hendrik Wedhorn
>         Attachments: asterisk.conf, asterisk.inc, backtrace1190.txt, 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