From: Ioan I. <ioa...@mo...> - 2007-05-23 19:53:18
|
Hello, I am just installed Astlinux 0.4.5 on a Via EPIA EN12000EG Mini ITX fanless system and trying to made some load tests. As this is our test system we have 1 GB memory and we run with a 40 GB SATA drive (boot=sda1 and kd=sda2). First I had to insert in rc.modules via-velocity module in order to recognize the Ethernet Gigabit Via VT6120/VT6121/VT6122. (this is mentioned here just for reference). Next I tried to load a little bit the system and found that asterisk receive a SIGSEGV signal and get "Killed" (literraly this is what I receive on CLI). Using Sipp on another machine (with rtp_echo) and generating 3 minutes calls (with .call files I generate a SIP call to a WaitMusicOnHold(300) extension) I found that at near 44-46 simultaneous calls asterisk crashed without any visible indications in logs (with verbose and debug set to 10). As I not a Linux expert and not very familiar with Astlinux the only idea was to use strace and here is the output: pbx ~ # uname -a Linux pbx 2.6.16.12 #1 SMP PREEMPT Sun Apr 22 12:16:58 EDT 2007 i686 unknown pbx ~ # strace -p 31201 ... --- SIGRT_1 (Unknown signal 33) @ 0 (0) --- sigreturn() = ? (mask now ~[TRAP KILL STOP]) getppid() = 31200 wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG|__WCLONE, NULL) = 31563 munmap(0xb7e00000, 2097152) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- Process 31201 detached Do you have any recommendations on how to trace the problem? How could be analyzed a core file on Astlinux? Best regards, Ioan Indreias www.modulo.ro |
From: Kristian K. <kri...@gm...> - 2007-05-23 20:01:07
|
On 5/23/07, Ioan Indreias <ioa...@mo...> wrote: > Hello, > > I am just installed Astlinux 0.4.5 on a Via EPIA EN12000EG Mini ITX fanless > system and trying to made some load tests. > > As this is our test system we have 1 GB memory and we run with a 40 GB SATA > drive (boot=sda1 and kd=sda2). > > First I had to insert in rc.modules via-velocity module in order to > recognize the Ethernet Gigabit Via VT6120/VT6121/VT6122. (this is mentioned > here just for reference). > > Next I tried to load a little bit the system and found that asterisk receive > a SIGSEGV signal and get "Killed" (literraly this is what I receive on CLI). > Using Sipp on another machine (with rtp_echo) and generating 3 minutes calls > (with .call files I generate a SIP call to a WaitMusicOnHold(300) extension) > I found that at near 44-46 simultaneous calls asterisk crashed without any > visible indications in logs (with verbose and debug set to 10). > > As I not a Linux expert and not very familiar with Astlinux the only idea > was to use strace and here is the output: > > pbx ~ # uname -a > Linux pbx 2.6.16.12 #1 SMP PREEMPT Sun Apr 22 12:16:58 EDT 2007 i686 unknown > pbx ~ # strace -p 31201 > ... > --- SIGRT_1 (Unknown signal 33) @ 0 (0) --- > sigreturn() = ? (mask now ~[TRAP KILL STOP]) > getppid() = 31200 > wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG|__WCLONE, NULL) = > 31563 > munmap(0xb7e00000, 2097152) = 0 > --- SIGSEGV (Segmentation fault) @ 0 (0) --- > Process 31201 detached > > Do you have any recommendations on how to trace the problem? How could be > analyzed a core file on Astlinux? > > Best regards, > Ioan Indreias > www.modulo.ro > Ioan, I like load tests! Thanks for asking what to do about this - make sure that you ask us any other questions you might have. When doing load tests you probably have to tweak ulimit before you start Asterisk: http://www.voip-info.org/wiki-Asterisk+debugging#ulimit http://www.voip-info.org/wiki/view/Asterisk+dimensioning I have always wanted to work this into AstLinux somehow... Unfortunately because most systems don't have any swap space we have to be very careful with memory consumption. However, if you want to add some swap space (if you need it), all of the utils are there: mkswap swapon swapoff -- Kristian Kielhofner |
From: Ioan I. <ioa...@mo...> - 2007-05-23 20:30:35
|
Hello Kris, Thank you for your quick answer and tips. Still I do not think it is a problem on ulimit. I verify fds for asterisk pid and was less that 1024. Also, for generating the core I run unlimit -c unlimited....but this is just to get the core. How to debug it? Regarding swap - I see (with free) that there is plenty of free memory. So no need for a swap. Or am I wrong? Bellow you have some data from such a crash: ------------------------------------------------------------------------ pbx ~ # asterisk -rx "show channels"; free Channel Location State Application(Data) 0 active channels 0 active calls total used free shared buffers Mem: 971136 57964 913172 0 8304 Swap: 0 0 0 Total: 971136 57964 913172 pbx ~ # asterisk -rx "show channels" | grep "active call"; free; uptime 10 active calls total used free shared buffers Mem: 971136 58808 912328 0 8304 Swap: 0 0 0 Total: 971136 58808 912328 22:16:56 up 7:42, load average: 0.09, 0.02, 0.00 pbx ~ # asterisk -rx "show channels" | grep "active call"; free; uptime 20 active calls total used free shared buffers Mem: 971136 59656 911480 0 8304 Swap: 0 0 0 Total: 971136 59656 911480 22:17:22 up 7:42, load average: 0.11, 0.03, 0.00 pbx ~ # asterisk -rx "show channels" | grep "active call"; free; uptime 31 active calls total used free shared buffers Mem: 971136 60596 910540 0 8304 Swap: 0 0 0 Total: 971136 60596 910540 22:17:46 up 7:43, load average: 0.14, 0.05, 0.01 pbx ~ # asterisk -rx "show channels" | grep "active call"; free; uptime 35 active calls total used free shared buffers Mem: 971136 60940 910196 0 8304 Swap: 0 0 0 Total: 971136 60940 910196 22:17:58 up 7:43, load average: 0.11, 0.04, 0.01 pbx ~ # asterisk -rx "show channels" | grep "active call"; free; uptime 41 active calls total used free shared buffers Mem: 971136 61580 909556 0 8304 Swap: 0 0 0 Total: 971136 61580 909556 22:18:14 up 7:43, load average: 0.08, 0.04, 0.00 pbx ~ # asterisk -rx "show channels" | grep "active call"; free; uptime 42 active calls total used free shared buffers Mem: 971136 61660 909476 0 8304 Swap: 0 0 0 Total: 971136 61660 909476 22:18:29 up 7:44, load average: 0.06, 0.04, 0.00 pbx ~ # asterisk -rx "show channels" | grep "active call"; free; uptime 43 active calls total used free shared buffers Mem: 971136 61752 909384 0 8304 Swap: 0 0 0 Total: 971136 61752 909384 22:18:37 up 7:44, load average: 0.05, 0.04, 0.00 pbx ~ # asterisk -rx "show channels" | grep "active call"; free; uptime 44 active calls total used free shared buffers Mem: 971136 61832 909304 0 8304 Swap: 0 0 0 Total: 971136 61832 909304 22:18:44 up 7:44, load average: 0.05, 0.04, 0.00 pbx ~ # asterisk -rx "show channels" | grep "active call"; free; uptime 45 active calls total used free shared buffers Mem: 971136 61924 909212 0 8304 Swap: 0 0 0 Total: 971136 61924 909212 22:18:53 up 7:44, load average: 0.04, 0.03, 0.00 pbx ~ # asterisk -rx "show channels" | grep "active call"; free; uptime 46 active calls total used free shared buffers Mem: 971136 62004 909132 0 8304 Swap: 0 0 0 Total: 971136 62004 909132 22:18:59 up 7:44, load average: 0.03, 0.03, 0.00 --- When I tried 47th call, asterisk crashed --- pbx ~ # asterisk -rx "show channels" | grep "active call"; free; uptime total used free shared buffers Mem: 971136 55480 915656 0 8304 Swap: 0 0 0 Total: 971136 55480 915656 22:19:05 up 7:44, load average: 0.51, 0.13, 0.03 pbx ~ # ------------------------------------------------------------------------ What do you think? BR, Ioan. ----- Original Message ----- From: "Kristian Kielhofner" <kri...@gm...> To: "AstLinux Users Mailing List" <ast...@li...> Sent: Wednesday, May 23, 2007 11:01 PM Subject: Re: [Astlinux-users] Astlinux 0.4.5 on Via EN12000EG - asteriskSIGSEGV > On 5/23/07, Ioan Indreias <ioa...@mo...> wrote: >> Hello, >> >> I am just installed Astlinux 0.4.5 on a Via EPIA EN12000EG Mini ITX >> fanless >> system and trying to made some load tests. >> >> As this is our test system we have 1 GB memory and we run with a 40 GB >> SATA >> drive (boot=sda1 and kd=sda2). >> >> First I had to insert in rc.modules via-velocity module in order to >> recognize the Ethernet Gigabit Via VT6120/VT6121/VT6122. (this is >> mentioned >> here just for reference). >> >> Next I tried to load a little bit the system and found that asterisk >> receive >> a SIGSEGV signal and get "Killed" (literraly this is what I receive on >> CLI). >> Using Sipp on another machine (with rtp_echo) and generating 3 minutes >> calls >> (with .call files I generate a SIP call to a WaitMusicOnHold(300) >> extension) >> I found that at near 44-46 simultaneous calls asterisk crashed without >> any >> visible indications in logs (with verbose and debug set to 10). >> >> As I not a Linux expert and not very familiar with Astlinux the only idea >> was to use strace and here is the output: >> >> pbx ~ # uname -a >> Linux pbx 2.6.16.12 #1 SMP PREEMPT Sun Apr 22 12:16:58 EDT 2007 i686 >> unknown >> pbx ~ # strace -p 31201 >> ... >> --- SIGRT_1 (Unknown signal 33) @ 0 (0) --- >> sigreturn() = ? (mask now ~[TRAP KILL STOP]) >> getppid() = 31200 >> wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG|__WCLONE, >> NULL) = >> 31563 >> munmap(0xb7e00000, 2097152) = 0 >> --- SIGSEGV (Segmentation fault) @ 0 (0) --- >> Process 31201 detached >> >> Do you have any recommendations on how to trace the problem? How could be >> analyzed a core file on Astlinux? >> >> Best regards, >> Ioan Indreias >> www.modulo.ro >> > > Ioan, > > I like load tests! Thanks for asking what to do about this - make > sure that you ask us any other questions you might have. > > When doing load tests you probably have to tweak ulimit before you > start Asterisk: > > http://www.voip-info.org/wiki-Asterisk+debugging#ulimit > http://www.voip-info.org/wiki/view/Asterisk+dimensioning > > I have always wanted to work this into AstLinux somehow... > Unfortunately because most systems don't have any swap space we have > to be very careful with memory consumption. > > However, if you want to add some swap space (if you need it), all of > the utils are there: > > mkswap > swapon > swapoff > > -- > 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.... |
From: Ioan I. <ioa...@mo...> - 2007-05-25 09:46:22
|
Hello, Any idea on how to debug the asterisk crash? Last test was running 2 cps with calls of 10 sec (resulting 20 simultaneous G711 calls) and after aprox. 3 hours asterisk crash. Same behaviour - no "visible" traces. If no other ideas I will configure some swap space and try again. Best regards, Ioan. > Hello Kris, > > Thank you for your quick answer and tips. Still I do not think it is a > problem on ulimit. > I verify fds for asterisk pid and was less that 1024. Also, for generating > the core I run unlimit -c unlimited....but this is just to get the core. > How > to debug it? > > Regarding swap - I see (with free) that there is plenty of free memory. So > no need for a swap. Or am I wrong? > > Bellow you have some data from such a crash: > > ------------------------------------------------------------------------ > pbx ~ # asterisk -rx "show channels"; free > Channel Location State Application(Data) > 0 active channels > 0 active calls > total used free shared buffers > Mem: 971136 57964 913172 0 8304 > Swap: 0 0 0 > Total: 971136 57964 913172 > > pbx ~ # asterisk -rx "show channels" | grep "active call"; free; uptime > 10 active calls > total used free shared buffers > Mem: 971136 58808 912328 0 8304 > Swap: 0 0 0 > Total: 971136 58808 912328 > 22:16:56 up 7:42, load average: 0.09, 0.02, 0.00 > > pbx ~ # asterisk -rx "show channels" | grep "active call"; free; uptime > 20 active calls > total used free shared buffers > Mem: 971136 59656 911480 0 8304 > Swap: 0 0 0 > Total: 971136 59656 911480 > 22:17:22 up 7:42, load average: 0.11, 0.03, 0.00 > > pbx ~ # asterisk -rx "show channels" | grep "active call"; free; uptime > 31 active calls > total used free shared buffers > Mem: 971136 60596 910540 0 8304 > Swap: 0 0 0 > Total: 971136 60596 910540 > 22:17:46 up 7:43, load average: 0.14, 0.05, 0.01 > > pbx ~ # asterisk -rx "show channels" | grep "active call"; free; uptime > 35 active calls > total used free shared buffers > Mem: 971136 60940 910196 0 8304 > Swap: 0 0 0 > Total: 971136 60940 910196 > 22:17:58 up 7:43, load average: 0.11, 0.04, 0.01 > > pbx ~ # asterisk -rx "show channels" | grep "active call"; free; uptime > 41 active calls > total used free shared buffers > Mem: 971136 61580 909556 0 8304 > Swap: 0 0 0 > Total: 971136 61580 909556 > 22:18:14 up 7:43, load average: 0.08, 0.04, 0.00 > > pbx ~ # asterisk -rx "show channels" | grep "active call"; free; uptime > 42 active calls > total used free shared buffers > Mem: 971136 61660 909476 0 8304 > Swap: 0 0 0 > Total: 971136 61660 909476 > 22:18:29 up 7:44, load average: 0.06, 0.04, 0.00 > > pbx ~ # asterisk -rx "show channels" | grep "active call"; free; uptime > 43 active calls > total used free shared buffers > Mem: 971136 61752 909384 0 8304 > Swap: 0 0 0 > Total: 971136 61752 909384 > 22:18:37 up 7:44, load average: 0.05, 0.04, 0.00 > > pbx ~ # asterisk -rx "show channels" | grep "active call"; free; uptime > 44 active calls > total used free shared buffers > Mem: 971136 61832 909304 0 8304 > Swap: 0 0 0 > Total: 971136 61832 909304 > 22:18:44 up 7:44, load average: 0.05, 0.04, 0.00 > > pbx ~ # asterisk -rx "show channels" | grep "active call"; free; uptime > 45 active calls > total used free shared buffers > Mem: 971136 61924 909212 0 8304 > Swap: 0 0 0 > Total: 971136 61924 909212 > 22:18:53 up 7:44, load average: 0.04, 0.03, 0.00 > > pbx ~ # asterisk -rx "show channels" | grep "active call"; free; uptime > 46 active calls > total used free shared buffers > Mem: 971136 62004 909132 0 8304 > Swap: 0 0 0 > Total: 971136 62004 909132 > 22:18:59 up 7:44, load average: 0.03, 0.03, 0.00 > > --- When I tried 47th call, asterisk crashed --- > > pbx ~ # asterisk -rx "show channels" | grep "active call"; free; uptime > total used free shared buffers > Mem: 971136 55480 915656 0 8304 > Swap: 0 0 0 > Total: 971136 55480 915656 > 22:19:05 up 7:44, load average: 0.51, 0.13, 0.03 > pbx ~ # > > ------------------------------------------------------------------------ > > > What do you think? > > BR, > Ioan. |
From: Ioan I. <ioa...@mo...> - 2007-05-30 13:02:48
|
Hello, I come back with the following report: 1. I add some swap but I experience the same crash (asterisk segmentation fault at 46 simultaneous SIP calls - with or without RTP traffic). 2. In order to avoid any discussions regarding Sipp, I create a simple test scenario: a. extensions.conf [test] exten => 000,1,Answer exten => 000,2,Echo exten => 000,3,Hangup exten => 001,1,Answer exten => 001,2,Playback(demo-congrats) exten => 001,3,Hangup b. create a call file (/tmp/test.call) Channel: Local/000@test MaxRetries: 0 Context: test Extension: 001 Priority: 1 c. Start the test: in one terminal run: # watch -n 1 asterisk -rx "show channels" in the seccond terminal run several times: # cp /tmp/test.call /var/spool/asterisk/outgoing/`date +%s`.call; free this will add 2 active calls. Result of the test: On our PBX (astlinux 0.4.5 on Via EN12000EG), asterisk crash at the transition from 46 to 48 channels: .... pbx asterisk # cp /tmp/test.call.orig /var/spool/asterisk/outgoing/`date +%s`.call; free total used free shared buffers Mem: 971136 37144 933992 0 1396 Swap: 2097136 0 2097136 Total: 3068272 37144 3031128 pbx asterisk # cp /tmp/test.call.orig /var/spool/asterisk/outgoing/`date +%s`.call; free total used free shared buffers Mem: 971136 32704 938432 0 1396 Swap: 2097136 0 2097136 Total: 3068272 32704 3035568 Could anybody confirmed that using astlinux 0.4.5 on their system, they could have more than 48 active calls using this simple test? Best regards, Ioan. www.modulo.ro |
From: Mathias W. <mat...@gr...> - 2007-05-30 13:49:12
|
Hello, What is the codec used : alaw to gsm ; ulaw to G729 ... ? Have you modify tmpfs sizes in rc.conf ? regards Mathias Ioan Indreias a écrit : > Hello, > > I come back with the following report: > > 1. I add some swap but I experience the same crash (asterisk segmentation > fault at 46 simultaneous SIP calls - with or without RTP traffic). > > 2. In order to avoid any discussions regarding Sipp, I create a simple test > scenario: > a. extensions.conf > [test] > exten => 000,1,Answer > exten => 000,2,Echo > exten => 000,3,Hangup > > exten => 001,1,Answer > exten => 001,2,Playback(demo-congrats) > exten => 001,3,Hangup > > b. create a call file (/tmp/test.call) > Channel: Local/000@test > MaxRetries: 0 > Context: test > Extension: 001 > Priority: 1 > > c. Start the test: > in one terminal run: > # watch -n 1 asterisk -rx "show channels" > in the seccond terminal run several times: > # cp /tmp/test.call /var/spool/asterisk/outgoing/`date +%s`.call; > free > this will add 2 active calls. > > > Result of the test: On our PBX (astlinux 0.4.5 on Via EN12000EG), asterisk > crash at the transition from 46 to 48 channels: > .... > pbx asterisk # cp /tmp/test.call.orig /var/spool/asterisk/outgoing/`date > +%s`.call; free > total used free shared buffers > Mem: 971136 37144 933992 0 1396 > Swap: 2097136 0 2097136 > Total: 3068272 37144 3031128 > > pbx asterisk # cp /tmp/test.call.orig /var/spool/asterisk/outgoing/`date > +%s`.call; free > total used free shared buffers > Mem: 971136 32704 938432 0 1396 > Swap: 2097136 0 2097136 > Total: 3068272 32704 3035568 > > > Could anybody confirmed that using astlinux 0.4.5 on their system, they > could have more than 48 active calls using this simple test? > > Best regards, > Ioan. > www.modulo.ro > > > ------------------------------------------------------------------------- > 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.... > -- Mathias WOLFF Groupe COMTEP Siège : 1, rue Meunier 44880 SAUTRON Tél. : 0 826 103 100 Fax. : 02 40 63 41 33 Site : http://www.groupe-comtep.com OPERATEUR & INTEGRATEUR TELECOM ------------------------------------- P - Before printing this e-mail please make sure that it's necessary ------------------------------------- |
From: Darrick H. <dha...@dj...> - 2007-05-30 14:23:41
|
Mathias WOLFF wrote: > Hello, > > What is the codec used : alaw to gsm ; ulaw to G729 ... ? > Have you modify tmpfs sizes in rc.conf ? > You'll need to be very careful there. From prior emails, Ioan only has 128MB of ram on this machine. If you increase /tmp or /var which are both tmpfs file systems, your available ram will be reduced as the partitions fill up. It would be interesting to repeat the same test with more memory (say 512MB) and increased /tmp and /var partitions. > regards > > Mathias > > Ioan Indreias a écrit : > >> Hello, >> >> I come back with the following report: >> >> 1. I add some swap but I experience the same crash (asterisk segmentation >> fault at 46 simultaneous SIP calls - with or without RTP traffic). >> >> 2. In order to avoid any discussions regarding Sipp, I create a simple test >> scenario: >> a. extensions.conf >> [test] >> exten => 000,1,Answer >> exten => 000,2,Echo >> exten => 000,3,Hangup >> >> exten => 001,1,Answer >> exten => 001,2,Playback(demo-congrats) >> exten => 001,3,Hangup >> >> b. create a call file (/tmp/test.call) >> Channel: Local/000@test >> MaxRetries: 0 >> Context: test >> Extension: 001 >> Priority: 1 >> >> c. Start the test: >> in one terminal run: >> # watch -n 1 asterisk -rx "show channels" >> in the seccond terminal run several times: >> # cp /tmp/test.call /var/spool/asterisk/outgoing/`date +%s`.call; >> free >> this will add 2 active calls. >> >> >> Result of the test: On our PBX (astlinux 0.4.5 on Via EN12000EG), asterisk >> crash at the transition from 46 to 48 channels: >> .... >> pbx asterisk # cp /tmp/test.call.orig /var/spool/asterisk/outgoing/`date >> +%s`.call; free >> total used free shared buffers >> Mem: 971136 37144 933992 0 1396 >> Swap: 2097136 0 2097136 >> Total: 3068272 37144 3031128 >> >> pbx asterisk # cp /tmp/test.call.orig /var/spool/asterisk/outgoing/`date >> +%s`.call; free >> total used free shared buffers >> Mem: 971136 32704 938432 0 1396 >> Swap: 2097136 0 2097136 >> Total: 3068272 32704 3035568 >> >> >> Could anybody confirmed that using astlinux 0.4.5 on their system, they >> could have more than 48 active calls using this simple test? >> >> Best regards, >> Ioan. >> www.modulo.ro >> >> >> ------------------------------------------------------------------------- >> 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.... >> >> > > -- Darrick Hartman DJH Solutions, LLC http://www.djhsolutions.com |
From: Ioan I. <ioa...@mo...> - 2007-05-30 14:09:04
|
Hello Mathias, 1. I use no transcoding. In Sipp tests I use the standard uac_pcap (using alaw g711a.pcap file) and uas with rtp_echo scenarios. Also, as I have mentioned I run uac+uas scenario (with no RTP traffic) and asterisk crashed with segmentation fault. I have core files but I do not know how to debug them. 2. Regarding tmpfs sizes - I do not modified them and here are the current settings: pbx asterisk # df -k Filesystem 1k-blocks Used Available Use% Mounted on /dev/sda1 63413 57044 6369 90% / none 200 0 200 0% /dev none 5000 192 4808 4% /var none 10000 184 9816 2% /tmp /dev/sda2 24730020 456 23473320 0% /mnt/kd |
From: Kristian K. <kri...@gm...> - 2007-05-30 14:54:56
|
On 5/30/07, Ioan Indreias <ioa...@mo...> wrote: > Hello Mathias, > > 1. I use no transcoding. > In Sipp tests I use the standard uac_pcap (using alaw g711a.pcap file) and > uas with rtp_echo scenarios. > Also, as I have mentioned I run uac+uas scenario (with no RTP traffic) and > asterisk crashed with segmentation fault. > > I have core files but I do not know how to debug them. > Ioan, You will have to load that corefile into gdb. I will try to compile an AstLinux gdb for you today. -- Kristian Kielhofner |
From: Ioan I. <ioa...@mo...> - 2007-05-30 14:30:51
|
Hello Darrick, Our machine have 1GB of memory - so I think it is more than enough. And as you seen from my "free" reports, only 35-45MB are used. /var and /tmp was never full (I monitor them carrefully). Maybe I miss something? Ioan. ----- Original Message ----- From: "Darrick Hartman" <dha...@dj...> To: "AstLinux Users Mailing List" <ast...@li...> Sent: Wednesday, May 30, 2007 5:23 PM Subject: Re: [Astlinux-users] Astlinux 0.4.5 on ViaEN12000EG - asteriskSIGSEGV Mathias WOLFF wrote: > Hello, > > What is the codec used : alaw to gsm ; ulaw to G729 ... ? > Have you modify tmpfs sizes in rc.conf ? > You'll need to be very careful there. From prior emails, Ioan only has 128MB of ram on this machine. If you increase /tmp or /var which are both tmpfs file systems, your available ram will be reduced as the partitions fill up. It would be interesting to repeat the same test with more memory (say 512MB) and increased /tmp and /var partitions. > regards > > Mathias > |
From: Darrick H. <dha...@dj...> - 2007-05-30 14:41:58
|
Ioan Indreias wrote: > Hello Darrick, > > Our machine have 1GB of memory - so I think it is more than enough. And as > you seen from my "free" reports, only 35-45MB are used. > Whoops! My bad. I was up til 4:30am last night so I'll blame it on that. > /var and /tmp was never full (I monitor them carrefully). > > Maybe I miss something? > I was only making the comment because I wouldn't have wanted you to run out of system memory (when I thought you only had 128MB). With 1GB of ram there would be no problem in making those partitions larger (using the variables in rc.conf), but as you say, you're not filling those up. Are you running the VIA or generic i586 image? > Ioan. > > ----- Original Message ----- > From: "Darrick Hartman" <dha...@dj...> > To: "AstLinux Users Mailing List" <ast...@li...> > Sent: Wednesday, May 30, 2007 5:23 PM > Subject: Re: [Astlinux-users] Astlinux 0.4.5 on ViaEN12000EG - > asteriskSIGSEGV > > > Mathias WOLFF wrote: > >> Hello, >> >> What is the codec used : alaw to gsm ; ulaw to G729 ... ? >> Have you modify tmpfs sizes in rc.conf ? >> >> > > You'll need to be very careful there. From prior emails, Ioan only has > 128MB of ram on this machine. If you increase /tmp or /var which are > both tmpfs file systems, your available ram will be reduced as the > partitions fill up. It would be interesting to repeat the same test > with more memory (say 512MB) and increased /tmp and /var partitions. > > > >> regards >> >> Mathias >> >> > > > ------------------------------------------------------------------------- > 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.... > -- Darrick Hartman DJH Solutions, LLC http://www.djhsolutions.com |
From: Ioan I. <ioa...@mo...> - 2007-05-30 14:46:09
|
We experience crashes with both images - the generic i586 (this is the one used when I start this thread) and via (which is the one we have currently on our machine). Thanks, Ioan. ----- Original Message ----- From: "Darrick Hartman" <dha...@dj...> To: "AstLinux Users Mailing List" <ast...@li...> Sent: Wednesday, May 30, 2007 5:41 PM Subject: Re: [Astlinux-users] Astlinux 0.4.5on ViaEN12000EG - asteriskSIGSEGV > Ioan Indreias wrote: >> Hello Darrick, >> >> Our machine have 1GB of memory - so I think it is more than enough. And >> as >> you seen from my "free" reports, only 35-45MB are used. >> > > Whoops! My bad. I was up til 4:30am last night so I'll blame it on that. > >> /var and /tmp was never full (I monitor them carrefully). >> >> Maybe I miss something? >> > > I was only making the comment because I wouldn't have wanted you to run > out of system memory (when I thought you only had 128MB). With 1GB of > ram there would be no problem in making those partitions larger (using > the variables in rc.conf), but as you say, you're not filling those up. > > Are you running the VIA or generic i586 image? > >> Ioan. |
From: Kristian K. <kri...@gm...> - 2007-05-30 15:29:41
|
On 5/30/07, Ioan Indreias <ioa...@mo...> wrote: > We experience crashes with both images - the generic i586 (this is the one > used when I start this thread) and via (which is the one we have currently > on our machine). > > Thanks, > Ioan. > Ioan, I have compiled gdb for AstLinux 0.4.x here: http://admin.star2star.com/gdb.gz sha1: cbedf5d68460a8a43a690559a49eebcd7f436e99 gdb.gz Follow the instructions here: http://www.voip-info.org/wiki/view/Asterisk+debugging#Backtracingacoredumpfileintmp Let me know how it goes! -- Kristian Kielhofner |
From: Ioan I. <ioa...@mo...> - 2007-05-31 08:02:12
|
Hello Kris, This is the output from gdb when I try to debug the core generated by asterisk: pbx / # /mnt/kd/bin/gdb /core.19646 GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-linux-uclibc"..."/core.19646": not in executable format: File format not recognized (gdb) What I have done: 1. remount / with +rw 2. ulimit -c unlimited 3. Asterisk was started from command line, using asterisk -g 4. start the test and crash asterisk Am I doing something wrong? Best regards and thank all of you for your time. Ioan. ----- Original Message ----- From: "Kristian Kielhofner" <kri...@gm...> To: "AstLinux Users Mailing List" <ast...@li...> Sent: Wednesday, May 30, 2007 6:29 PM Subject: Re: [Astlinux-users] Astlinux 0.4.5on ViaEN12000EG - asteriskSIGSEGV > On 5/30/07, Ioan Indreias <ioa...@mo...> wrote: >> We experience crashes with both images - the generic i586 (this is the >> one >> used when I start this thread) and via (which is the one we have >> currently >> on our machine). >> >> Thanks, >> Ioan. >> > > Ioan, > > I have compiled gdb for AstLinux 0.4.x here: > > http://admin.star2star.com/gdb.gz > > sha1: > cbedf5d68460a8a43a690559a49eebcd7f436e99 gdb.gz > > Follow the instructions here: > > http://www.voip-info.org/wiki/view/Asterisk+debugging#Backtracingacoredumpfileintmp > > Let me know how it goes! > > > -- > Kristian Kielhofner |
From: Ioan I. <ioa...@mo...> - 2007-05-31 08:27:33
|
I come back. I was not giving the right gdb syntax - excuse me for beeing so "stupid". So, bellow is the output from gdb - it looks that it dies in ast_translate? Thank you one more time, Ioan. --------------------------------------------------- pbx bin # gdb /usr/sbin/asterisk /tmp core.19646 -sh: gdb: command not found pbx bin # gdb /usr/sbin/asterisk /core.19646 ./ GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-linux-uclibc"...(no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (no debugging symbols found) Core was generated by `asterisk -g'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libdl.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libdl.so.0 Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libpthread.so.0 Reading symbols from /lib/libncurses.so.5... (no debugging symbols found)...done. Loaded symbols for /lib/libncurses.so.5 Reading symbols from /lib/libm.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.0 Reading symbols from /lib/libresolv.so.0... (no debugging symbols found)...done. Loaded symbols for /lib/libresolv.so.0 Reading symbols from /usr/lib/libssl.so.0.9.7...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libssl.so.0.9.7 Reading symbols from /lib/libgcc_s.so.1... (no debugging symbols found)...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /lib/libc.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.0 Reading symbols from /usr/lib/libcrypto.so.0.9.7... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libcrypto.so.0.9.7 Reading symbols from /lib/ld-uClibc.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/ld-uClibc.so.0 Reading symbols from /usr/lib/asterisk/modules/res_musiconhold.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/res_musiconhold.so Reading symbols from /usr/lib/asterisk/modules/res_adsi.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/res_adsi.so Reading symbols from /usr/lib/asterisk/modules/res_indications.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/res_indications.so Reading symbols from /usr/lib/asterisk/modules/res_agi.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/res_agi.so Reading symbols from /usr/lib/asterisk/modules/res_crypto.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/res_crypto.so Reading symbols from /usr/lib/asterisk/modules/res_monitor.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/res_monitor.so Reading symbols from /usr/lib/asterisk/modules/res_features.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/res_features.so Reading symbols from /usr/lib/asterisk/modules/pbx_ael.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/pbx_ael.so Reading symbols from /usr/lib/asterisk/modules/pbx_realtime.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/pbx_realtime.so Reading symbols from /usr/lib/asterisk/modules/pbx_config.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/pbx_config.so Reading symbols from /usr/lib/asterisk/modules/pbx_spool.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/pbx_spool.so Reading symbols from /usr/lib/asterisk/modules/pbx_dundi.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/pbx_dundi.so Reading symbols from /lib/libz.so.1... (no debugging symbols found)...done. Loaded symbols for /lib/libz.so.1 Reading symbols from /usr/lib/asterisk/modules/pbx_loopback.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/pbx_loopback.so Reading symbols from /usr/lib/asterisk/modules/pbx_functions.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/pbx_functions.so Reading symbols from /usr/lib/asterisk/modules/chan_zap.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/chan_zap.so Reading symbols from /lib/libpri.so.1.0... (no debugging symbols found)...done. Loaded symbols for /lib/libpri.so.1.0 Reading symbols from /lib/libtonezone.so.1.0...(no debugging symbols found)...done. Loaded symbols for /lib/libtonezone.so.1.0 Reading symbols from /usr/lib/asterisk/modules/chan_iax2.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/chan_iax2.so Reading symbols from /usr/lib/asterisk/modules/chan_local.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/chan_local.so Reading symbols from /usr/lib/asterisk/modules/chan_sip.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/chan_sip.so Reading symbols from /usr/lib/asterisk/modules/chan_features.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/chan_features.so Reading symbols from /usr/lib/asterisk/modules/chan_agent.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/chan_agent.so Reading symbols from /usr/lib/asterisk/modules/chan_mgcp.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/chan_mgcp.so Reading symbols from /usr/lib/asterisk/modules/chan_sccp.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/chan_sccp.so Reading symbols from /usr/lib/asterisk/modules/app_echo.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_echo.so Reading symbols from /usr/lib/asterisk/modules/format_au.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/format_au.so Reading symbols from /usr/lib/asterisk/modules/app_setcdruserfield.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_setcdruserfield.so Reading symbols from /usr/lib/asterisk/modules/app_setrdnis.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_setrdnis.so Reading symbols from /usr/lib/asterisk/modules/format_pcm_alaw.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/format_pcm_alaw.so Reading symbols from /usr/lib/asterisk/modules/app_cdr.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_cdr.so Reading symbols from /usr/lib/asterisk/modules/app_softhangup.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_softhangup.so Reading symbols from /usr/lib/asterisk/modules/app_disa.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_disa.so Reading symbols from /usr/lib/asterisk/modules/app_voicemail.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_voicemail.so Reading symbols from /usr/lib/asterisk/modules/app_while.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_while.so Reading symbols from /usr/lib/asterisk/modules/app_setcidnum.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_setcidnum.so Reading symbols from /usr/lib/asterisk/modules/app_setcidname.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_setcidname.so Reading symbols from /usr/lib/asterisk/modules/format_pcm.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/format_pcm.so Reading symbols from /usr/lib/asterisk/modules/app_zapscan.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_zapscan.so Reading symbols from /usr/lib/asterisk/modules/app_eval.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_eval.so Reading symbols from /usr/lib/asterisk/modules/cdr_custom.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/cdr_custom.so Reading symbols from /usr/lib/asterisk/modules/app_system.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_system.so Reading symbols from /usr/lib/asterisk/modules/app_talkdetect.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_talkdetect.so Reading symbols from /usr/lib/asterisk/modules/codec_zap.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/codec_zap.so Reading symbols from /usr/lib/asterisk/modules/app_exec.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_exec.so Reading symbols from /usr/lib/asterisk/modules/app_groupcount.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_groupcount.so Reading symbols from /usr/lib/asterisk/modules/cdr_pgsql.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/cdr_pgsql.so Reading symbols from /lib/libpq.so.4...(no debugging symbols found)...done. Loaded symbols for /lib/libpq.so.4 Reading symbols from /lib/libcrypt.so.0... (no debugging symbols found)...done. Loaded symbols for /lib/libcrypt.so.0 Reading symbols from /lib/libnsl.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libnsl.so.0 Reading symbols from /usr/lib/asterisk/modules/codec_lpc10.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/codec_lpc10.so Reading symbols from /usr/lib/asterisk/modules/format_g723.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/format_g723.so Reading symbols from /usr/lib/asterisk/modules/format_jpeg.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/format_jpeg.so Reading symbols from /usr/lib/asterisk/modules/app_getcpeid.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_getcpeid.so Reading symbols from /usr/lib/asterisk/modules/app_enumlookup.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_enumlookup.so Reading symbols from /usr/lib/asterisk/modules/codec_adpcm.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/codec_adpcm.so Reading symbols from /usr/lib/asterisk/modules/app_mixmonitor.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_mixmonitor.so Reading symbols from /usr/lib/asterisk/modules/app_zapras.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_zapras.so Reading symbols from /usr/lib/asterisk/modules/app_dial.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_dial.so Reading symbols from /usr/lib/asterisk/modules/app_record.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_record.so Reading symbols from /usr/lib/asterisk/modules/app_privacy.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_privacy.so Reading symbols from /usr/lib/asterisk/modules/app_stack.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_stack.so Reading symbols from /usr/lib/asterisk/modules/app_flash.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_flash.so Reading symbols from /usr/lib/asterisk/modules/app_cut.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_cut.so Reading symbols from /usr/lib/asterisk/modules/app_mp3.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_mp3.so Reading symbols from /usr/lib/asterisk/modules/format_wav_gsm.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/format_wav_gsm.so Reading symbols from /usr/lib/asterisk/modules/app_random.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_random.so Reading symbols from /usr/lib/asterisk/modules/app_waitforring.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_waitforring.so Reading symbols from /usr/lib/asterisk/modules/app_chanspy.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_chanspy.so Reading symbols from /usr/lib/asterisk/modules/app_txtcidname.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_txtcidname.so Reading symbols from /usr/lib/asterisk/modules/codec_ilbc.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/codec_ilbc.so Reading symbols from /usr/lib/asterisk/modules/app_parkandannounce.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_parkandannounce.so Reading symbols from /usr/lib/asterisk/modules/app_waitforsilence.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_waitforsilence.so Reading symbols from /usr/lib/asterisk/modules/app_milliwatt.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_milliwatt.so Reading symbols from /usr/lib/asterisk/modules/format_g726.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/format_g726.so Reading symbols from /usr/lib/asterisk/modules/format_wav.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/format_wav.so Reading symbols from /usr/lib/asterisk/modules/app_festival.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_festival.so Reading symbols from /usr/lib/asterisk/modules/format_vox.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/format_vox.so Reading symbols from /usr/lib/asterisk/modules/app_readfile.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_readfile.so Reading symbols from /usr/lib/asterisk/modules/app_page.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_page.so Reading symbols from /usr/lib/asterisk/modules/app_userevent.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_userevent.so Reading symbols from /usr/lib/asterisk/modules/app_playback.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_playback.so Reading symbols from /usr/lib/asterisk/modules/format_g729.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/format_g729.so Reading symbols from /usr/lib/asterisk/modules/func_uri.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/func_uri.so Reading symbols from /usr/lib/asterisk/modules/app_zapbarge.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_zapbarge.so Reading symbols from /usr/lib/asterisk/modules/app_realtime.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_realtime.so Reading symbols from /usr/lib/asterisk/modules/app_sql_postgres.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_sql_postgres.so Reading symbols from /usr/lib/asterisk/modules/app_dumpchan.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_dumpchan.so Reading symbols from /usr/lib/asterisk/modules/codec_g729a.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/codec_g729a.so Reading symbols from /usr/lib/asterisk/modules/app_forkcdr.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_forkcdr.so Reading symbols from /usr/lib/asterisk/modules/app_pipe.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_pipe.so Reading symbols from /usr/lib/asterisk/modules/app_controlplayback.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_controlplayback.so Reading symbols from /usr/lib/asterisk/modules/app_read.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_read.so Reading symbols from /usr/lib/asterisk/modules/func_enum.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/func_enum.so Reading symbols from /usr/lib/asterisk/modules/app_math.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_math.so Reading symbols from /usr/lib/asterisk/modules/app_url.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_url.so Reading symbols from /usr/lib/asterisk/modules/app_sayunixtime.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_sayunixtime.so Reading symbols from /usr/lib/asterisk/modules/app_pagecon.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_pagecon.so Reading symbols from /usr/lib/asterisk/modules/app_authenticate.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_authenticate.so Reading symbols from /usr/lib/asterisk/modules/app_chanisavail.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_chanisavail.so Reading symbols from /usr/lib/asterisk/modules/app_alarmreceiver.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_alarmreceiver.so Reading symbols from /usr/lib/asterisk/modules/cdr_csv.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/cdr_csv.so Reading symbols from /usr/lib/asterisk/modules/cdr_manager.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/cdr_manager.so Reading symbols from /usr/lib/asterisk/modules/app_macro.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_macro.so Reading symbols from /usr/lib/asterisk/modules/codec_ulaw.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/codec_ulaw.so Reading symbols from /usr/lib/asterisk/modules/codec_g726.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/codec_g726.so Reading symbols from /usr/lib/asterisk/modules/app_image.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_image.so Reading symbols from /usr/lib/asterisk/modules/app_directory.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_directory.so Reading symbols from /usr/lib/asterisk/modules/app_meetme.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_meetme.so Reading symbols from /usr/lib/asterisk/modules/app_sms.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_sms.so Reading symbols from /usr/lib/asterisk/modules/format_ilbc.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/format_ilbc.so Reading symbols from /usr/lib/asterisk/modules/app_transfer.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_transfer.so Reading symbols from /usr/lib/asterisk/modules/app_ices.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_ices.so Reading symbols from /usr/lib/asterisk/modules/app_sendtext.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_sendtext.so Reading symbols from /usr/lib/asterisk/modules/app_nbscat.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_nbscat.so Reading symbols from /usr/lib/asterisk/modules/app_hasnewvoicemail.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_hasnewvoicemail.so Reading symbols from /usr/lib/asterisk/modules/app_senddtmf.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_senddtmf.so Reading symbols from /usr/lib/asterisk/modules/app_test.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_test.so Reading symbols from /usr/lib/asterisk/modules/format_sln.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/format_sln.so Reading symbols from /usr/lib/asterisk/modules/app_lookupcidname.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_lookupcidname.so Reading symbols from /usr/lib/asterisk/modules/func_callerid.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/func_callerid.so Reading symbols from /usr/lib/asterisk/modules/codec_gsm.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/codec_gsm.so Reading symbols from /usr/lib/asterisk/modules/app_verbose.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_verbose.so Reading symbols from /usr/lib/asterisk/modules/app_md5.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_md5.so Reading symbols from /usr/lib/asterisk/modules/app_zapateller.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_zapateller.so Reading symbols from /usr/lib/asterisk/modules/app_settransfercapability.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_settransfercapability.so Reading symbols from /usr/lib/asterisk/modules/app_dictate.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_dictate.so Reading symbols from /usr/lib/asterisk/modules/codec_alaw.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/codec_alaw.so Reading symbols from /usr/lib/asterisk/modules/app_externalivr.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_externalivr.so Reading symbols from /usr/lib/asterisk/modules/app_v110.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_v110.so Reading symbols from /usr/lib/asterisk/modules/app_adsiprog.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_adsiprog.so Reading symbols from /usr/lib/asterisk/modules/app_setcallerid.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_setcallerid.so Reading symbols from /usr/lib/asterisk/modules/app_waitfordigits.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_waitfordigits.so Reading symbols from /usr/lib/asterisk/modules/app_db.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_db.so Reading symbols from /usr/lib/asterisk/modules/app_conference.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_conference.so Reading symbols from /usr/lib/asterisk/modules/app_directed_pickup.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_directed_pickup.so Reading symbols from /usr/lib/asterisk/modules/format_gsm.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/format_gsm.so Reading symbols from /usr/lib/asterisk/modules/codec_a_mu.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/codec_a_mu.so Reading symbols from /usr/lib/asterisk/modules/format_h263.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/format_h263.so Reading symbols from /usr/lib/asterisk/modules/app_lookupblacklist.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_lookupblacklist.so Reading symbols from /usr/lib/asterisk/modules/app_queue.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/asterisk/modules/app_queue.so #0 0x0806283d in ast_translate () (gdb) bt #0 0x0806283d in ast_translate () #1 0x00000000 in ?? () (gdb) bt full #0 0x0806283d in ast_translate () No symbol table info available. #1 0x00000000 in ?? () No symbol table info available. (gdb) thread apply all bt Thread 65 (process 19512): #0 0xb7ebab48 in poll () from /lib/libc.so.0 #1 0x0809139d in ast_safe_system () #2 0xb7ea0efa in __uClibc_main () from /lib/libc.so.0 #3 0x08055570 in _start () Thread 64 (process 19513): #0 0xb7ebab48 in poll () from /lib/libc.so.0 #1 0xb7f49872 in __pthread_manager () from /lib/libpthread.so.0 #2 0xb7ebc8ee in clone () from /lib/libc.so.0 Thread 63 (process 19515): #0 0xb7ebab48 in poll () from /lib/libc.so.0 #1 0x0808f583 in ast_console_puts () #2 0x00000001 in ?? () #3 0xffffffff in ?? () #4 0x00000002 in ?? () #5 0x00000005 in ?? () #6 0x00000001 in ?? () #7 0x00000001 in ?? () #8 0x00000000 in ?? () #9 0x00000000 in ?? () #10 0x00000000 in ?? () #11 0x00000000 in ?? () #12 0x00001000 in ?? () #13 0x00000000 in ?? () #14 0x00000000 in ?? () #15 0x00040000 in ?? () #16 0x00000000 in ?? () #17 0x00000000 in ?? () #18 0x00000000 in ?? () #19 0x00000001 in ?? () #20 0x00000000 in ?? () #21 0x00000000 in ?? () #22 0x00000000 in ?? () #23 0x00000000 in ?? () #24 0x00000000 in ?? () #25 0x00000000 in ?? () #26 0x00000000 in ?? () #27 0x00000000 in ?? () #28 0x00000000 in ?? () #29 0x00000000 in ?? () #30 0x00000000 in ?? () #31 0x00000000 in ?? () #32 0x00000000 in ?? () #33 0x00000000 in ?? () #34 0x00000000 in ?? () #35 0xb7ec33b8 in ?? () from /lib/libc.so.0 #36 0xb7ec33b8 in ?? () from /lib/libc.so.0 #37 0x00000002 in ?? () #38 0x00000000 in ?? () #39 0xbf7ffd48 in ?? () #40 0xb7ebbbd1 in sigprocmask () from /lib/libc.so.0 #41 0xb7ebc8ee in clone () from /lib/libc.so.0 Thread 62 (process 19516): #0 0xb7ebbbf8 in __rt_sigsuspend () from /lib/libc.so.0 #1 0xb7ebbc2f in sigsuspend () from /lib/libc.so.0 #2 0xb7f4b4aa in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #3 0xb7f488a4 in pthread_cond_wait () from /lib/libpthread.so.0 #4 0x0809e1d6 in ast_device_state_changed () #5 0x080e4d88 in cli_database_show () #6 0xb7f4f380 in ?? () from /lib/libpthread.so.0 #7 0xb7f4940d in pthread_start_thread () from /lib/libpthread.so.0 #8 0xb7ebc8ee in clone () from /lib/libc.so.0 Thread 61 (process 19517): #0 0xb7ebb327 in select () from /lib/libc.so.0 #1 0xb7d80b58 in ast_bridge_call () from /usr/lib/asterisk/modules/res_features.so #2 0x00000000 in ?? () #3 0x00000000 in ?? () #4 0x00418937 in ?? () #5 0x00048058 in ?? () #6 0x00000000 in ?? () #7 0x00000000 in ?? () #8 0x00000000 in ?? () #9 0x00000000 in ?? () #10 0x00000000 in ?? () #11 0xb7d84fe0 in ?? () from /usr/lib/asterisk/modules/res_features.so #12 0x00000000 in ?? () #13 0x00000000 in ?? () #14 0x00000000 in ?? () #15 0x00000000 in ?? () #16 0x00000000 in ?? () #17 0x00000000 in ?? () #18 0xffffffff in ?? () #19 0xffffffff in ?? () #20 0x00418937 in ?? () #21 0x00048058 in ?? () #22 0x00000000 in ?? () #23 0x00000000 in ?? () #24 0x00000000 in ?? () #25 0x00000000 in ?? () #26 0x00000000 in ?? () #27 0x00000000 in ?? () #28 0x00000000 in ?? () #29 0x00000000 in ?? () #30 0x00000000 in ?? () #31 0x00000000 in ?? () #32 0x00000000 in ?? () #33 0x00000000 in ?? () #34 0x00000000 in ?? () #35 0x00000000 in ?? () #36 0x00000000 in ?? () #37 0x00000000 in ?? () #38 0x00000000 in ?? () #39 0x00000000 in ?? () #40 0x00000000 in ?? () #41 0x00000000 in ?? () #42 0x00000000 in ?? () #43 0x00000000 in ?? () #44 0x00000000 in ?? () #45 0x00000000 in ?? () #46 0x00000000 in ?? () #47 0x00000000 in ?? () #48 0x00000000 in ?? () #49 0x00000000 in ?? () #50 0x00000000 in ?? () #51 0x00000000 in ?? () #52 0x00000000 in ?? () #53 0x00000000 in ?? () #54 0x00000000 in ?? () #55 0x00000000 in ?? () #56 0x00000000 in ?? () #57 0x00000000 in ?? () #58 0x00000000 in ?? () #59 0x00000000 in ?? () #60 0x00000000 in ?? () #61 0x00000000 in ?? () #62 0x00000000 in ?? () #63 0x00000000 in ?? () #64 0x00000000 in ?? () #65 0x00000000 in ?? () #66 0x00000000 in ?? () #67 0x00000000 in ?? () #68 0x00000000 in ?? () #69 0x00000000 in ?? () #70 0x00000000 in ?? () #71 0x00000000 in ?? () #72 0x00000000 in ?? () #73 0x00000000 in ?? () #74 0x00000000 in ?? () #75 0x00000000 in ?? () #76 0x00000000 in ?? () #77 0x00000000 in ?? () #78 0x00000000 in ?? () #79 0x00000000 in ?? () #80 0x00000000 in ?? () #81 0x00000000 in ?? () #82 0x00000000 in ?? () #83 0x00000000 in ?? () #84 0x00000000 in ?? () #85 0x00000000 in ?? () #86 0x00000000 in ?? () #87 0x00000000 in ?? () #88 0x00000000 in ?? () #89 0x00000000 in ?? () #90 0x00000000 in ?? () #91 0x00000000 in ?? () #92 0x00000000 in ?? () #93 0x00000000 in ?? () #94 0x00000000 in ?? () #95 0x00000000 in ?? () #96 0x00000000 in ?? () #97 0x00000000 in ?? () #98 0x00000000 in ?? () #99 0x00000000 in ?? () #100 0x00000000 in ?? () #101 0x00000000 in ?? () #102 0x00000000 in ?? () #103 0x00000000 in ?? () #104 0x00000000 in ?? () #105 0x00000000 in ?? () #106 0x00000000 in ?? () #107 0x00000000 in ?? () #108 0x00000000 in ?? () #109 0x00000000 in ?? () #110 0x00000000 in ?? () #111 0x00000000 in ?? () #112 0x00000000 in ?? () #113 0x00000000 in ?? () #114 0x00000000 in ?? () #115 0x00000000 in ?? () #116 0x00000000 in ?? () #117 0x00000000 in ?? () #118 0x00000000 in ?? () #119 0x00000000 in ?? () #120 0x00000000 in ?? () #121 0x00000000 in ?? () #122 0x00000000 in ?? () #123 0x00000000 in ?? () #124 0x00000000 in ?? () #125 0x00000000 in ?? () #126 0x00000000 in ?? () #127 0x00000000 in ?? () #128 0x00000000 in ?? () #129 0x00000000 in ?? () #130 0x00000000 in ?? () #131 0x00000000 in ?? () #132 0x00000000 in ?? () #133 0x00000000 in ?? () #134 0x00000000 in ?? () #135 0x00000000 in ?? () #136 0x00000000 in ?? () #137 0x00000000 in ?? () #138 0x00000000 in ?? () #139 0x00000000 in ?? () #140 0x00000000 in ?? () #141 0x00000000 in ?? () #142 0x00000000 in ?? () #143 0x00000000 in ?? () #144 0x00000000 in ?? () #145 0x00000000 in ?? () #146 0x00000000 in ?? () #147 0x00000000 in ?? () #148 0x00000000 in ?? () #149 0x00000000 in ?? () #150 0x00000000 in ?? () #151 0x00000000 in ?? () #152 0x00000000 in ?? () #153 0x00000000 in ?? () #154 0x00000000 in ?? () #155 0x00000000 in ?? () #156 0x00000000 in ?? () #157 0x00000000 in ?? () #158 0x00000000 in ?? () #159 0x00000000 in ?? () #160 0x00000000 in ?? () #161 0x00000000 in ?? () #162 0x00000000 in ?? () #163 0x00000000 in ?? () #164 0x00000000 in ?? () #165 0x00000000 in ?? () #166 0x00000000 in ?? () #167 0x00000000 in ?? () #168 0x00000000 in ?? () #169 0x00000000 in ?? () #170 0x00000000 in ?? () #171 0x00000000 in ?? () #172 0x00000000 in ?? () #173 0x00000000 in ?? () #174 0x00000000 in ?? () #175 0x00000000 in ?? () #176 0x00000000 in ?? () #177 0x00000000 in ?? () #178 0x00000000 in ?? () #179 0x00000000 in ?? () #180 0x00000000 in ?? () #181 0xb7ec33b8 in ?? () from /lib/libc.so.0 #182 0xb7ec33b8 in ?? () from /lib/libc.so.0 #183 0x00000002 in ?? () #184 0x00000000 in ?? () #185 0xbf3ffd48 in ?? () #186 0xb7ebbbd1 in sigprocmask () from /lib/libc.so.0 Previous frame inner to this frame (corrupt stack?) #0 0x0806283d in ast_translate () ------------------------------------------------------------------ ----- Original Message ----- From: "Ioan Indreias" <ioa...@mo...> To: "AstLinux Users Mailing List" <ast...@li...> Sent: Thursday, May 31, 2007 11:02 AM Subject: Re: [Astlinux-users] Astlinux 0.4.5on ViaEN12000EG - asteriskSIGSEGV > Hello Kris, > > This is the output from gdb when I try to debug the core generated by > asterisk: > > pbx / # /mnt/kd/bin/gdb /core.19646 > GNU gdb 6.3 > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. > This GDB was configured as "i586-linux-uclibc"..."/core.19646": not in > executable format: File format not recognized > (gdb) > > What I have done: > 1. remount / with +rw > 2. ulimit -c unlimited > 3. Asterisk was started from command line, using asterisk -g > 4. start the test and crash asterisk > > Am I doing something wrong? > > Best regards and thank all of you for your time. > Ioan. > > > ----- Original Message ----- > From: "Kristian Kielhofner" <kri...@gm...> > To: "AstLinux Users Mailing List" <ast...@li...> > Sent: Wednesday, May 30, 2007 6:29 PM > Subject: Re: [Astlinux-users] Astlinux 0.4.5on ViaEN12000EG - > asteriskSIGSEGV > > >> On 5/30/07, Ioan Indreias <ioa...@mo...> wrote: >>> We experience crashes with both images - the generic i586 (this is the >>> one >>> used when I start this thread) and via (which is the one we have >>> currently >>> on our machine). >>> >>> Thanks, >>> Ioan. >>> >> >> Ioan, >> >> I have compiled gdb for AstLinux 0.4.x here: >> >> http://admin.star2star.com/gdb.gz >> >> sha1: >> cbedf5d68460a8a43a690559a49eebcd7f436e99 gdb.gz >> >> Follow the instructions here: >> >> http://www.voip-info.org/wiki/view/Asterisk+debugging#Backtracingacoredumpfileintmp >> >> Let me know how it goes! >> >> >> -- >> 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.... |
From: Ioan I. <ioa...@mo...> - 2007-05-31 09:59:50
|
And here is the output when I run Sipp test with uac+uas default scenarios: Program terminated with signal 11, Segmentation fault. Cannot access memory at address 0xb7fd0004 #0 0xb7f2f89c in ?? () Program terminated with signal 11, Segmentation fault. Cannot access memory at address 0xb7f2c004 #0 0xb7e8b89c in ?? () Regards, Ioan. ----- Original Message ----- From: "Ioan Indreias" <ioa...@mo...> To: "AstLinux Users Mailing List" <ast...@li...> Sent: Thursday, May 31, 2007 11:27 AM Subject: Re: [Astlinux-users] Astlinux 0.4.5on ViaEN12000EG - asteriskSIGSEGV >I come back. > > I was not giving the right gdb syntax - excuse me for beeing so "stupid". > > So, bellow is the output from gdb - it looks that it dies in > ast_translate? > > Thank you one more time, > Ioan. > |
From: Ioan I. <ioa...@mo...> - 2007-05-31 14:48:21
|
Hello all, I have some time and install Astlinux 0.4.5 on another machine (Intel based) and we experience the same scenario - crash at 46 simultaneous calls. So, my following question is: could somebody test on their 0.4.5 Astlinux installation if more than 46 simultaneous calls could be handled? I hope my test scenario (calls on local channel) it is very simple to use and avoid any discussions regarding sip of iax calls. In paralel we prepared one image from Astlinux trunk and tommorow we wil try to test it. Best regards, Ioan. ----- Original Message ----- From: "Ioan Indreias" <ioa...@mo...> To: "AstLinux Users Mailing List" <ast...@li...> Sent: Thursday, May 31, 2007 12:59 PM Subject: Re: [Astlinux-users] Astlinux 0.4.5on ViaEN12000EG - asteriskSIGSEGV > And here is the output when I run Sipp test with uac+uas default > scenarios: > > Program terminated with signal 11, Segmentation fault. > Cannot access memory at address 0xb7fd0004 > #0 0xb7f2f89c in ?? () > > Program terminated with signal 11, Segmentation fault. > Cannot access memory at address 0xb7f2c004 > #0 0xb7e8b89c in ?? () > > Regards, > Ioan. > > ----- Original Message ----- > From: "Ioan Indreias" <ioa...@mo...> > To: "AstLinux Users Mailing List" <ast...@li...> > Sent: Thursday, May 31, 2007 11:27 AM > Subject: Re: [Astlinux-users] Astlinux 0.4.5on ViaEN12000EG - > asteriskSIGSEGV > > >>I come back. >> >> I was not giving the right gdb syntax - excuse me for beeing so "stupid". >> >> So, bellow is the output from gdb - it looks that it dies in >> ast_translate? >> >> Thank you one more time, >> Ioan. >> > > > ------------------------------------------------------------------------- > 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.... |
From: Ioan I. <ioa...@mo...> - 2007-06-01 09:30:56
|
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. ----- Original Message ----- From: "Ioan Indreias" <ioa...@mo...> To: "AstLinux Users Mailing List" <ast...@li...> Sent: Thursday, May 31, 2007 5:48 PM Subject: Re: [Astlinux-users] Astlinux 0.4.5on ViaEN12000EG - asteriskSIGSEGV > Hello all, > > I have some time and install Astlinux 0.4.5 on another machine (Intel > based) > and we experience the same scenario - crash at 46 simultaneous calls. > > So, my following question is: could somebody test on their 0.4.5 Astlinux > installation if more than 46 simultaneous calls could be handled? > > I hope my test scenario (calls on local channel) it is very simple to use > and avoid any discussions regarding sip of iax calls. > > In paralel we prepared one image from Astlinux trunk and tommorow we wil > try > to test it. > > Best regards, > Ioan. > > > ----- Original Message ----- > From: "Ioan Indreias" <ioa...@mo...> > To: "AstLinux Users Mailing List" <ast...@li...> > Sent: Thursday, May 31, 2007 12:59 PM > Subject: Re: [Astlinux-users] Astlinux 0.4.5on ViaEN12000EG - > asteriskSIGSEGV > > >> And here is the output when I run Sipp test with uac+uas default >> scenarios: >> >> Program terminated with signal 11, Segmentation fault. >> Cannot access memory at address 0xb7fd0004 >> #0 0xb7f2f89c in ?? () >> >> Program terminated with signal 11, Segmentation fault. >> Cannot access memory at address 0xb7f2c004 >> #0 0xb7e8b89c in ?? () >> >> Regards, >> Ioan. >> >> ----- Original Message ----- >> From: "Ioan Indreias" <ioa...@mo...> >> To: "AstLinux Users Mailing List" <ast...@li...> >> Sent: Thursday, May 31, 2007 11:27 AM >> Subject: Re: [Astlinux-users] Astlinux 0.4.5on ViaEN12000EG - >> asteriskSIGSEGV >> >> >>>I come back. >>> >>> I was not giving the right gdb syntax - excuse me for beeing so >>> "stupid". >>> >>> So, bellow is the output from gdb - it looks that it dies in >>> ast_translate? >>> >>> Thank you one more time, >>> Ioan. >>> >> >> >> ------------------------------------------------------------------------- >> 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.... > > > ------------------------------------------------------------------------- > 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.... |
From: Kristian K. <kri...@gm...> - 2007-06-01 15:00:17
|
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 |
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.... |