From: Ioan I. <ioa...@mo...> - 2007-06-04 05:32:27
|
Hello Kris, Please find below our findings: 1/ The stack looks corrupt (note references to functions 0x00000000, 0x00000001). Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 3240)] 0xb7e7bd18 in read () from /lib/libc.so.0 (gdb) bt #0 0xb7e7bd18 in read () from /lib/libc.so.0 #1 0xb7e84458 in ?? () from /lib/libc.so.0 #2 0xb7f0d3b4 in ?? () from /lib/libpthread.so.0 #3 0xbfce1e3b in ?? () #4 0xbfce1cd8 in ?? () #5 0xb7f0be27 in read () from /lib/libpthread.so.0 #6 0x00000000 in ?? () #7 0xbfce1e3b in ?? () #8 0x00000001 in ?? () #9 0x00000001 in ?? () #10 0xbfce1ccc in ?? () #11 0x00000000 in ?? () #12 0xbfce1e84 in ?? () #13 0x00000000 in ?? () #14 0xbfce1d08 in ?? () #15 0x080a8d97 in read_char () Previous frame inner to this frame (corrupt stack?) (gdb) 2/ Asterisk is compiled with debugging symbols: (gdb) b main Breakpoint 1 at 0x8091dea: file asterisk.c, line 2034. 3/ The stack trace has been obtained by running: gdb /usr/sbin/asterisk and executing: r -c (-c for console) We haven't figured out how we can compile asterisk individually i.e. without rebuilding the entire package. What we have noticed is that after a "make clean" in the asterisk directory (.../build_i586/asterisk-1.2.18/) we can no longer compile the package due to misdn build errors. The next thing we would like to try is to run the test under gdb with asterisk compiled without any otpimizations (the current version uses -fomit-frame-pointer and -fPIC). If you could help us build asterisk without any optimization or alternatively provide us with the non optimized binary (for trunnk version). Best regards, Ioan. ----- Original Message ----- From: "Kristian Kielhofner" <kri...@gm...> To: "AstLinux Users Mailing List" <ast...@li...> Sent: Friday, June 01, 2007 6:00 PM Subject: Re: [Astlinux-users] Astlinux 0.4.5on ViaEN12000EG - asteriskSIGSEGV > On 6/1/07, Ioan Indreias <ioa...@mo...> wrote: >> Hello, >> >> Bad news - the image obtained from trunk have the same problem: asterisk >> crash at 46 simultaneous calls. >> >> Could be a kernel problem? 0.4.5 is using asterisk 1.2.17 and the trunk >> image use 1.2.18 >> >> We try now to compile asterisk with debug information inside but we are >> lost >> in the make scripts used for compiling astlinux. >> >> Could someone send a simple "how to compile asterisk/zaptel/libpri" for >> astlinux? >> It will pe useful for upgrades on asterisk. >> >> Best regards, >> Ioan. >> > > Ioan, > > trunk and 0.4.5 use different kernels, too. I am thinking that this > has to be a problem with the C library. That's certainly what it > looks like... > > I you have already built trunk, it is trivial to build a debug version: > > 1) Remove the references to strip or $(STRIP) from the asterisk, > zaptel, and libpri makefiles > 2) Build Asterisk with the flags specified in the Asterisk debugging > page from voip-info.org (the one I sent before). This can be done by > modifying the Asterisk makefile targets in the package makefile. > > I am very interested in this problem and I'd like to help however I > can. Let me know if you would like me to build Asterisk, etc for you. > > -- > Kristian Kielhofner > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Astlinux-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to > pa...@kr.... |