[asterisk-bugs] [JIRA] (ASTERISK-20612) Segmentation fault related to pthread stack size with LOW MEMORY compiler flag selected

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Oct 29 20:40:18 CDT 2012


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

Matt Jordan commented on ASTERISK-20612:
----------------------------------------

Thank you for your bug report. In order to move your issue forward, we require a backtrace[1] from the core file produced after the crash. Also, be sure you have DONT_OPTIMIZE enabled in menuselect within the Compiler Flags section, then:

make install

After enabling, reproduce the crash, and then execute the backtrace[1] instructions. When complete, attach that file to this issue report.

[1] https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace

A few other points.

The LOW_MEMORY compile time option is an extended support feature.  As such, development support for it typically comes from the Asterisk developer community, and response times may reflect that.

On that same vein, using the LOW_MEMORY compile time option will most likely run into several known problem areas where exceptionally large amounts of stack memory are needed.  While developers have historically attempted to provide LOW_MEMORY options; sometimes, this has either not been possible or noticed.  Patches are certainly welcome to fix any known trouble areas, but you may need to "get your hands dirty" in Asterisk to run Asterisk with this option.
                
> Segmentation fault related to pthread stack size with LOW MEMORY compiler flag selected
> ---------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-20612
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20612
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 10.10.0
>         Environment: Debian Wheezy with all updates (DebWrt), Asus RT-N16 router (480Mhz, 128mb ram, O/S on usb)
>            Reporter: Stephen Hinton
>
> Compiled asterisk with the low memory flag selected. Upon trying to start asterisk manually (asterisk -cvvvd) the following output is printed:
> "utils.c:1056 ast_pthread_create_stack: pthread_attr_setstacksize: Invalid argument"
> When starting with amportal start:
> "(debwrt-mipsel)root at debwrt:~# amportal start
> Please wait...
> SETTING FILE PERMISSIONS
> chown: cannot access `/dev/tty9': No such file or directory
> Permissions OK
> STARTING ASTERISK
> pthread_attr_setstacksize: Invalid argument
> Segmentation fault
> Asterisk ended with exit status 139
> Asterisk exited on signal 11.
> Automatically restarting Asterisk."

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list