VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
geisj at pagestation.com Guest
|
Posted: Wed Jun 25, 2008 7:42 am Post subject: [asterisk-users] asterisk seg fault |
|
|
I am running asterisk from svn check out from yesterday Jun 24.
I started with 1.4.20, then 1.4.21 then svn.
I am getting:
pcm_local.h:389 snd_pcm_channel_area_addr assertion bitsofs %8 = 0 failed
segment fault.
I am running debian i386, on a 486 sx machine.
I am connecting to the Console/DSP and then I get the seg fault.
Only thing in asterisk I changed from the default was turning off
codec_lpc10.
Which I am not using anyway.
What should I do with this error?
Jerry |
|
Back to top |
|
|
geisj at pagestation.com Guest
|
Posted: Wed Jun 25, 2008 8:28 am Post subject: [asterisk-users] asterisk seg fault |
|
|
I managed to catch the whole trace from the seg fault. What is my next step?
Program received signal SIGABRT, Aborted.
[Switching to Thread -1224033360 (LWP 2440)]
0xb7d77947 in raise () from /lib/tls/libc.so.6
(gdb) where
#0 0xb7d77947 in raise () from /lib/tls/libc.so.6
#1 0xb7d790c9 in abort () from /lib/tls/libc.so.6
#2 0xb7d7105f in __assert_fail () from /lib/tls/libc.so.6
#3 0xb741861f in snd_pcm_area_copy (dst_area=0x81cc62c, dst_offset=0,
src_area=0x81cb7ec, src_offset=5223, samples=816,
format=SND_PCM_FORMAT_S16_LE) at pcm_local.h:499
#4 0xb744b7b7 in snd_pcm_dsnoop_sync_ptr (pcm=0x81cb930) at pcm_dsnoop.c:77
#5 0xb7410b11 in snd_pcm_hwsync (pcm=0x81cb930) at pcm.c:932
#6 0xb7422b55 in snd1_pcm_generic_hwsync (pcm=0x81cc1c8) at pcm_generic.c:143
#7 0xb7410b11 in snd_pcm_hwsync (pcm=0x81cc1c8) at pcm.c:932
#8 0xb742fb4d in snd_pcm_rate_hwsync (pcm=0x81cc3f8) at pcm_rate.c:624
#9 0xb7410b11 in snd_pcm_hwsync (pcm=0x81cc3f8) at pcm.c:932
#10 0xb7417817 in snd1_pcm_read_areas (pcm=0x81cc3f8, areas=0xb70a5b70,
offset=0, size=160, func=0xb7421e10 <snd_pcm_mmap_read_areas>)
at pcm.c:6376
#11 0xb742111f in snd_pcm_mmap_readi (pcm=0x81cc3f8, buffer=0xb74a5a40,
size=160) at pcm_mmap.c:236
#12 0xb740fff4 in snd_pcm_readi (pcm=0x81cc038, buffer=0xb74a5a40, size=2440)
at pcm_local.h:521
#13 0xb749579b in alsa_read (chan=0x8213f18) at chan_alsa.c:683
#14 0x080855b1 in __ast_read (chan=0x8213f18, dropaudio=0) at channel.c:2100
#15 0x08087725 in ast_channel_bridge (c0=0x8212858, c1=0x817cf68,
config=0xb70a6eac, fo=0xb70a5fe8, rc=0xb70a5fe4) at channel.c:2380
#16 0xb7c75592 in ast_bridge_call (chan=0x8212858, peer=0x8213f18,
config=0xb70a6eac) at res_features.c:1490
#17 0xb75c38fd in dial_exec_full (chan=0x8212858, data=0xb70a8fd8,
peerflags=0xb70a6f84, continue_exec=0x0) at app_dial.c:1773
#18 0xb75c519d in dial_exec (chan=0x8212858, data=0xb70a8fd8)
at app_dial.c:1827
#19 0x080c6e3f in pbx_extension_helper (c=0x8212858, con=0x0,
context=0x82129d8 "smvoice-mediaport-firepanel", exten=0x8212a28 "s",
priority=3, label=0x0, callerid=0x8215450 "404", action=E_SPAWN)
at pbx.c:537
#20 0x080c9185 in __ast_pbx_run (c=0x8212858) at pbx.c:2317
#21 0x080c9ebe in pbx_thread (data=0x8212858) at pbx.c:2636
#22 0x080f51d2 in dummy_start (data=0x8213178) at utils.c:909
#23 0xb7eff0bd in start_thread () from /lib/tls/libpthread.so.0
#24 0xb7e1b01e in clone () from /lib/tls/libc.so.6
(gdb) quit |
|
Back to top |
|
|
tilghman at mail.jeffa... Guest
|
Posted: Wed Jun 25, 2008 8:29 am Post subject: [asterisk-users] asterisk seg fault |
|
|
On Wednesday 25 June 2008 07:42:21 Jerry Geis wrote:
Quote: | I am running asterisk from svn check out from yesterday Jun 24.
I started with 1.4.20, then 1.4.21 then svn.
I am getting:
pcm_local.h:389 snd_pcm_channel_area_addr assertion bitsofs %8 = 0 failed
segment fault.
I am running debian i386, on a 486 sx machine.
I am connecting to the Console/DSP and then I get the seg fault.
Only thing in asterisk I changed from the default was turning off
codec_lpc10.
Which I am not using anyway.
What should I do with this error?
|
That error is not from Asterisk code, but from libalsa. You'll need to query
that project as to how to proceed.
--
Tilghman |
|
Back to top |
|
|
kwem at gmx.de Guest
|
Posted: Sun Jun 29, 2008 6:33 am Post subject: [asterisk-users] asterisk seg fault |
|
|
Hi,
Am Mittwoch, den 25.06.2008, 08:42 -0400 schrieb Jerry Geis:
Quote: | I am running asterisk from svn check out from yesterday Jun 24.
I started with 1.4.20, then 1.4.21 then svn.
I am getting:
pcm_local.h:389 snd_pcm_channel_area_addr assertion bitsofs %8 = 0 failed
segment fault.
I am running debian i386, on a 486 sx machine.
I am connecting to the Console/DSP and then I get the seg fault.
Only thing in asterisk I changed from the default was turning off
codec_lpc10.
Which I am not using anyway.
What should I do with this error?
|
If You are realy using a 486sx, please remember, that this CPU does not
have a math copro. Maybe that's the cause for the failure. Do You have
the Math-Emulation in kernel options activated? Other reasons can be
some optimisations this processor doesn't support. As Tilghman wrote,
the error does not occur in asterisk. According to Your second posting,
I would suspect the alsa-stuff.
HTH,
Karsten |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|