Summary: | ASTERISK-12448: Asterisk crash when compile with low_memory | ||
Reporter: | Eric Dantie (edantie) | Labels: | |
Date Opened: | 2008-07-24 18:03:14 | Date Closed: | 2008-07-30 15:29:06 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | PBX/pbx_dundi |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | When asterisk is compile with option low_memory asterisk crash if using dundi ****** ADDITIONAL INFORMATION ****** Program terminated with signal 11, Segmentation fault. #0 0xb7e27837 in memset () from /lib/libc.so.6 (gdb) bt #0 0xb7e27837 in memset () from /lib/libc.so.6 #1 0xb720c60b in handle_command_response (trans=0x8207678, hdr=0xb71fbfe4, datalen=11, encrypted=1) at pbx_dundi.c:1550 #2 0xb720e231 in handle_command_response (trans=0x8207678, hdr=0xb720132c, datalen=50, encrypted=0) at pbx_dundi.c:1916 #3 0xb720e799 in handle_frame (h=0xb720132c, sin=0xb720332c, datalen=50) at pbx_dundi.c:1993 #4 0xb720ea0f in socket_read (id=0x8201030, fd=15, events=1, cbdata=0x0) at pbx_dundi.c:2038 ASTERISK-1 0x080aee5d in ast_io_wait (ioc=0x81ff7e8, howlong=139) at io.c:279 ASTERISK-2 0xb720eed9 in network_thread (ignore=0x0) at pbx_dundi.c:2139 ASTERISK-3 0xb7f6917b in start_thread () from /lib/libpthread.so.0 ASTERISK-4 0xb7e7b09e in clone () from /lib/libc.so.6 | ||
Comments: | By: Digium Subversion (svnbot) 2008-07-30 15:29:03 Repository: asterisk Revision: 134595 U branches/1.4/pbx/pbx_dundi.c ------------------------------------------------------------------------ r134595 | russell | 2008-07-30 15:29:03 -0500 (Wed, 30 Jul 2008) | 6 lines Reduce stack consumption by 12.5% of the max stack size to fix a crash when compiled with LOW_MEMORY. (closes issue ASTERISK-12448) Reported by: edantie ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=134595 |