Daniele orlandi wrote:
On Tuesday 25 April 2006 22:54, Aleš Golob wrote:
Hi!
I've got a problem when accepting calls in asterisk from a HFC-PCI card.
Asterisk dumps core with the following
backtrace. Any ideas what would this be?
Thanks for the backtrace, unfortunately I also need the "debug visdn *" trace
for the whole call in order to understand where the reference got lost,
please try to reproduce the bug with debugging enabled.
Bye,
Hi!
The debugging trace is included at the bottom. I should mention the
machine has a Via C3 CPU, but everything is compiled
for the i586 arch so that should not cause any problems. The kernel is
2.6.16.8 on Suse 10.1 beta 9.
The weird thing is, that I've tried a never version of the kernel
package, tried installing Fedora Core 5 or compiling the "vanilla"
kernel, yet all of them lack a symbol export for "dev_ioctl". To get
lapd.ko properly loaded, I added an EXPORT_SYMBOL(dev_ioctl);
to /net/core/dev.c and recompiled the kernel but I guess that is not the
correct solution? I'm not really a familiar with kernel programing
but is that an error in the kernel sources?
*CLI> -- visdn0: MPH-ERROR-INDICATION: 1
-- set timeout = -1
-- visdn0: MPH-ACTIVATE-INDICATION
-- set timeout = -1
-- visdn0: MPH-ERROR-INDICATION: 2
-- set timeout = -1
q931 visdn0:TEI[127]: Received message:
q931 <- call reference = 1.I (len 1)
q931 <- message_type = SETUP (5)
q931 visdn0:TEI[0]: DLC autorelease timer stopped
q931 visdn0:CALL[1.I]: call.c:277 GET (1 => 2)
q931 visdn0:CALL[1.I]: Got SETUP
q931 <- SO IE 1 ===> 161 (Sending Complete) length=(1)
q931 <- VL IE 2 ===> 4 (Bearer Capability) length=(3)
q931 <- Coding Standard = CCITT (0)
q931 <- Information Transfer Capability = Speech (0)
q931 <- Transfer mode = Circuit (0)
q931 <- Information Transfer Rate = 64 kbps (16)
q931 <- User information layer 1 protocol = g.711 a-law (3)
q931 <- VL IE 3 ===> 24 (Channel Identification) length=(1)
q931 <- Interface id = Implicit (0)
q931 <- Interface type = Basic (0)
q931 <- Pref/Excl = Exclusive (1)
q931 <- D channel ident = Is not D channel (0)
q931 <- Coding standard = CCITT (0)
q931 <- Channels = B1
q931 <- VL IE 4 ===> 108 (Calling Party Number) length=(11)
q931 <- Type of number = Unknown (0)
q931 <- Numbering plan = Unknown (0)
q931 <- Presentation indicator = Presentation allowed (0)
q931 <- Screening indicator = Network provided (3)
q931 <- Number = 041789987
q931 <- VL IE 5 ===> 108 (Calling Party Number) length=(11)
q931 <- Type of number = Unknown (0)
q931 <- Numbering plan = Unknown (0)
q931 <- Presentation indicator = Presentation allowed (0)
q931 <- Screening indicator = Network provided (3)
q931 <- Number = 041789987
q931 <- VL IE 6 ===> 112 (Called Party Number) length=(8)
q931 <- Type of number = Subscriber (4)
q931 <- Numbering plan = ISDN Telephony (1)
q931 <- Number = 5108844
q931 visdn0:CALL[1.I]: Requested channel B1 available
q931 visdn0:CALL[1.I]: U0_NULL_STATE ==to==> U6_CALL_PRESENT
q931 visdn0:CALL[1.I]: chan_visdn.c:372 GET (2 => 3)
q931
q931 visdn0:CALL[1.I]: input.c:1210 PUT (3 => 2)
q931 visdn0:TEI[127]: Releasing message
q931 visdn0:TEI[127]: Releasing DLC
*** glibc detected *** asterisk: munmap_chunk(): invalid pointer:
0x0815f918 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7e02ec2]
/usr/local/lib/libq931.so.0(q931_dlc_put+0x6c)[0xb7744d6c]
/usr/local/lib/libq931.so.0(q931_msg_put+0x77)[0xb77450f7]
/usr/local/lib/libq931.so.0(q931_receive+0x384)[0xb772a364]
/usr/lib/asterisk/modules/chan_visdn.so[0xb776539e]
/usr/lib/asterisk/modules/chan_visdn.so[0xb7765675]
/lib/libpthread.so.0[0xb7f8239b]
/lib/libc.so.6(__clone+0x5e)[0xb7e5ca2e]
======= Memory map: ========
08048000-0810a000 r-xp 00000000 03:02 63938 /usr/sbin/asterisk
0810a000-08111000 rw-p 000c1000 03:02 63938 /usr/sbin/asterisk
08111000-0819b000 rw-p 08111000 00:00 0 [heap]
b737d000-b7387000 r-xp 00000000 03:02 6792 /lib/libgcc_s.so.1
b7387000-b7388000 rw-p 00009000 03:02 6792 /lib/libgcc_s.so.1
b738e000-b7390000 r-xp 00000000 03:02 64029
/usr/lib/asterisk/modules/app_waitforsilence.so
b7390000-b7391000 rw-p 00001000 03:02 64029
/usr/lib/asterisk/modules/app_waitforsilence.so
b7391000-b7395000 r-xp 00000000 03:02 63999
/usr/lib/asterisk/modules/app_db.so
b7395000-b7396000 rw-p 00003000 03:02 63999
/usr/lib/asterisk/modules/app_db.so
b7396000-b7398000 r-xp 00000000 03:02 64026
/usr/lib/asterisk/modules/app_math.so
b7398000-b7399000 rw-p 00001000 03:02 64026
/usr/lib/asterisk/modules/app_math.so
b7399000-b739c000 r-xp 00000000 03:02 64020
/usr/lib/asterisk/modules/app_talkdetect.so
b739c000-b739d000 rw-p 00002000 03:02 64020
/usr/lib/asterisk/modules/app_talkdetect.so
b739d000-b739f000 r-xp 00000000 03:02 64003
/usr/lib/asterisk/modules/app_setcidnum.so
b739f000-b73a0000 rw-p 00001000 03:02 64003
/usr/lib/asterisk/modules/app_setcidnum.so
b73a0000-b73a2000 r-xp 00000000 03:02 64033
/usr/lib/asterisk/modules/app_readfile.so
b73a2000-b73a3000 rw-p 00001000 03:02 64033
/usr/lib/asterisk/modules/app_readfile.so
b73a3000-b73a5000 r-xp 00000000 03:02 63997
/usr/lib/asterisk/modules/app_waitforring.so
b73a5000-b73a6000 rw-p 00001000 03:02 63997
/usr/lib/asterisk/modules/app_waitforring.so
b73a6000-b73a8000 r-xp 00000000 03:02 64038
/usr/lib/asterisk/modules/app_directed_pickup.so
b73a8000-b73a9000 rw-p 00001000 03:02 64038
/usr/lib/asterisk/modules/app_directed_pickup.so
b73a9000-b73ab000 r-xp 00000000 03:02 64053
/usr/lib/asterisk/modules/format_vox.so
b73ab000-b73ac000 rw-p 00001000 03:02 64053
/usr/lib/asterisk/modules/format_vox.so
b73ac000-b73ae000 r-xp 00000000 03:02 63989
/usr/lib/asterisk/modules/app_senddtmf.so
b73ae000-b73af000 rw-p 00001000 03:02 63989
/usr/lib/asterisk/modules/app_senddtmf.so
b73af000-b73b2000 r-xp 00000000 03:02 64051
/usr/lib/asterisk/modules/format_wav.so
b73b2000-b73b3000 rw-p 00002000 03:02 64051
/usr/lib/asterisk/modules/format_wav.so
b73b3000-b73b5000 r-xp 00000000 03:02 63992
/usr/lib/asterisk/modules/app_lookupcidname.so
b73b5000-b73b6000 rw-p 00001000 03:02 63992
/usr/lib/asterisk/modules/app_lookupcidname.so
b73b6000-b73b8000 r-xp 00000000 03:02 63975
/usr/lib/asterisk/modules/app_mp3.so
b73b8000-b73b9000 rw-p 00001000 03:02 63975
/usr/lib/asterisk/modules/app_mp3.so
b73b9000-b73bb000 r-xp 00000000 03:02 64032
/usr/lib/asterisk/modules/app_md5.so
b73bb000-b73bc000 rw-p 00001000 03:02 64032
/usr/lib/asterisk/modules/app_md5.so
b73bc000-b73cd000 r-xp 00000000 03:02 63988
/usr/lib/asterisk/modules/app_queue.so
b73cd000-b73ce000 rw-p 00011000 03:02 63988
/usr/lib/asterisk/modules/app_queue.so
b73ce000-b73d0000 r-xp 00000000 03:02 63985
/usr/lib/asterisk/modules/app_zapateller.so
b73d0000-b73d1000 rw-p 00001000 03:02 63985
/usr/lib/asterisk/modules/app_zapateller.so
b73d1000-b73d3000 r-xp 00000000 03:02 64060
/usr/lib/asterisk/modules/format_sln.so
b73d3000-b73d4000 rw-p 00001000 03:02 64060
/usr/lib/asterisk/modules/format_sln.so
b73d4000-b73d6000 r-xp 00000000 03:02 64040
/usr/lib/asterisk/modules/app_stack.so
b73d6000-b73d7000 rw-p 00001000 03:02 64040
/usr/lib/asterisk/modules/app_stack.so
b73d7000-b7Aborted
_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers