I have installed Asterisk 1.8 on slackware 13.1, php, mysql and apache.

I am later to install freepbx to help with reporting on VOIP activity. However, after installing asterisk, I am getting a segment fault.

My log file shows this:

darkstar kernel: asterisk[2660]: segfault at 800001c4f ip 00007ffff7514810 sp 00007fffffffcd48 error 4 in libc-2.11.1.so[7ffff7492000+16b000]

I have used gdb so that I can perform a backtrace however the program executes and exits without a stack thus not helpful.

Any help is appreciated!

asked 03 Aug '11, 03:47

rikizulu's gravatar image

rikizulu
111
accept rate: 0%




If you launch the program from GDB or else attach GDB to it after it's started you should be able to catch it at the point of the fault. If it's already running, use ps to find its PID and then in GDB say:

   attach thatPID
   continue

When it faults you should find that GDB has regained control at the point of the fault and you may be able to learn more.

link

answered 09 Sep '11, 08:10

mod's gravatar image

mod
393
accept rate: 0%

edited 09 Sep '11, 08:11

I suggest checking your ulimits (ulimit -c) - by default the limit is 0, thus no core dump. You can set it fairly high to catch the stack. Then use gdb <program> <corefile> to view the core dump.

link

answered 03 Mar '15, 19:00

Jesse%20Pollard's gravatar image

Jesse Pollard
111
accept rate: 0%

-1

I would recommend you ask the development team for asterisk, or someplace like http://stackoverflow.com/

-Rob

link

answered 23 Aug '11, 12:35

rfelsburg's gravatar image

rfelsburg ♦
6061618
accept rate: 25%

-1. Not an answer. Should be a comment.

(18 Aug '14, 15:45) landroni
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×12

Asked: 03 Aug '11, 03:47

Seen: 5,782 times

Last updated: 03 Mar '15, 19:00

powered by OSQA