Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000007 [Yate - Yet Another Telephony Engine] documentation major sometimes 2005-11-25 19:00 2006-06-09 13:17
Reporter maciejka View Status public  
Assigned To
Priority normal Resolution no change required  
Status closed   Product Version
Summary 0000007: Core dumped from libiax2 when hungup during wave channel activity
Description YateEngine ALL WaveSource::~WaveSource() [0x80ac580] total=660 stamp=3040
Sniffed 'chan.hangup' time=1132934200.340198
  thread=0x8096fe0
  data=(nil)
  retval='(null)'
  param['id'] = 'iax/5'
  param['module'] = 'iax'
  param['status'] = 'hangup'
  param['reason'] = 'Hangup'
RemoteModule ALL xx:
RemoteModule ALL Queued message 'chan.hangup' [0x80a1180] with timeout: -1us
Sniffed 'chan.hangup' time=1132934200.340428
  thread=0x80a19c8
  data=(nil)
  retval='(null)'
  param['driver'] = 'dumb'
  param['id'] = 'dumb/3'
RemoteModule ALL xx:
RemoteModule ALL Queued message 'chan.hangup' [0x80a1980] with timeout: -1us
RemoteModule ALL tcp read: '%%<message:30811224322086014783:true:chan.hangup::status=hangup:reason=Hangup:id=iax/5:module=iax
%%>message:1132934200.356876:1132934200:call.drop::id=iax/5
'
RemoteModule ALL Processing line: '%%<message:30811224322086014783:true:chan.hangup::status=hangup:reason=Hangup:id=iax/5:module=iax'
RemoteModule ALL Processing line: '%%>message:1132934200.356876:1132934200:call.drop::id=iax/5'
RemoteModuleRec ALL Created message 'call.drop' [0x80a69d8] from:
%%>message:1132934200.356876:1132934200:call.drop::id=iax/5
RemoteModule ALL Mesage 'chan.hangup' [0x80a1180] returning true in 4826 usecs
Returned true 'chan.hangup' delay=0.009512
  thread=0x8096fe0
  data=(nil)
  retval='(null)'
  param['id'] = 'iax/5'
  param['module'] = 'iax'
  param['status'] = 'hangup'
  param['reason'] = 'Hangup'
Sniffed 'call.drop' time=1132934200.000000
  thread=0x8096fe0
  data=(nil)
  retval='(null)'
  param['id'] = 'iax/5'
Returned false 'call.drop' delay=0.349943
  thread=0x8096fe0
  data=(nil)
  retval='(null)'
  param['id'] = 'iax/5'
RemoteModule ALL tcp read: '%%<message:30801230082099436206:false:chan.hangup::driver=dumb:id=dumb/3
'
RemoteModule ALL Processing line: '%%<message:30801230082099436206:false:chan.hangup::driver=dumb:id=dumb/3'
RemoteModule ALL Mesage 'chan.hangup' [0x80a1980] returning false in 11238 usecs
Returned false 'chan.hangup' delay=0.020060
  thread=0x80a19c8
  data=(nil)
  retval='(null)'
  param['driver'] = 'dumb'
  param['id'] = 'dumb/3'
YateEngine ALL WaveSource [0x80ac580] end of data [0x80abe58] [iax/5]
YateEngine INFO WaveSource rate=1626 b/s
Sniffed 'chan.notify' time=1132934200.460963
  thread=0x8096fe0
  data=0x80abe58
  retval='(null)'
  param['targetid'] = 'iax/5'
RemoteModule ALL xx:
RemoteModule ALL Queued message 'chan.notify' [0x80a1980] with timeout: -1us
RemoteModule ALL tcp read: '%%<message:3081122432305042944:false:chan.notify::targetid=iax/5
'
RemoteModule ALL Processing line: '%%<message:3081122432305042944:false:chan.notify::targetid=iax/5'
RemoteModule ALL Mesage 'chan.notify' [0x80a1980] returning false in 2858 usecs
Returned false 'chan.notify' delay=0.008974
  thread=0x8096fe0
  data=0x80abe58
  retval='(null)'
  param['targetid'] = 'iax/5'
Sniffed 'module.update' time=1132934206.004093
  thread=0x8096fe0
  data=(nil)
  retval='(null)'
  param['module'] = 'iax'
  param['routed'] = '5'
  param['routing'] = '0'
  param['total'] = '5'
  param['chans'] = '0'
Returned false 'module.update' delay=0.000240
  thread=0x8096fe0
  data=(nil)
  retval='(null)'
  param['module'] = 'iax'
  param['routed'] = '5'
  param['routing'] = '0'
  param['total'] = '5'
  param['chans'] = '0'
Sniffed 'module.update' time=1132934206.004184
  thread=0x8096fe0
  data=(nil)
  retval='(null)'
  param['module'] = 'dumb'
  param['routed'] = '0'
  param['routing'] = '0'
  param['total'] = '3'
  param['chans'] = '0'
Returned false 'module.update' delay=0.000306
  thread=0x8096fe0
  data=(nil)
  retval='(null)'
  param['module'] = 'dumb'
  param['routed'] = '0'
  param['routing'] = '0'
  param['total'] = '3'
  param['chans'] = '0'
Naruszenie ochrony pamiêci (core dumped)
maciejka@maciejka:~/projekty/9/yate$
maciejka@maciejka:~/projekty/9/yate$ gdb yate co
conf.d/ config.status configure.in core.24100 core.2717 core.3474
config.log configure contrib/ core.24894 core.2819
maciejka@maciejka:~/projekty/9/yate$ gdb yate core.
core.24100 core.24894 core.2717 core.2819 core.3474
maciejka@maciejka:~/projekty/9/yate$ gdb yate core.3474
GNU gdb 6.3-debian
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 "i486-linux-gnu"...Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

Core was generated by `./yate -c ./conf.d -m ./modules -vvvvvvvvvvvvvvvv'.
Program terminated with signal 11, Segmentation fault.

warning: current_sos: Can't read pathname for load map: B³±d wej¶cia/wyj¶cia

Reading symbols from /lib/tls/i686/cmov/libpthread.so.0...done.
Loaded symbols for /lib/tls/i686/cmov/libpthread.so.0
Reading symbols from /home/maciejka/projekty/9/yate/libyate.so.0.9.0...done.
Loaded symbols for ./libyate.so.0.9.0
Reading symbols from /usr/lib/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/tls/i686/cmov/libm.so.6...done.
Loaded symbols for /lib/tls/i686/cmov/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/tls/i686/cmov/libc.so.6...done.
Loaded symbols for /lib/tls/i686/cmov/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/tls/i686/cmov/libdl.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libdl.so.2
Reading symbols from /home/maciejka/projekty/9/yate/modules/iaxchan.yate...done.
Loaded symbols for ./modules/iaxchan.yate
Reading symbols from /home/maciejka/projekty/9/yate/modules/accfile.yate...done.
Loaded symbols for ./modules/accfile.yate
Reading symbols from /home/maciejka/projekty/9/yate/modules/regexroute.yate...done.
Loaded symbols for ./modules/regexroute.yate
Reading symbols from /home/maciejka/projekty/9/yate/modules/regfile.yate...done.
Loaded symbols for ./modules/regfile.yate
Reading symbols from /home/maciejka/projekty/9/yate/modules/gsmcodec.yate...done.
Loaded symbols for ./modules/gsmcodec.yate
Reading symbols from /usr/lib/libgsm.so.1...done.
Loaded symbols for /usr/lib/libgsm.so.1
Reading symbols from /home/maciejka/projekty/9/yate/modules/tonegen.yate...done.
Loaded symbols for ./modules/tonegen.yate
Reading symbols from /home/maciejka/projekty/9/yate/modules/wavefile.yate...done.
Loaded symbols for ./modules/wavefile.yate
Reading symbols from /home/maciejka/projekty/9/yate/modules/conference.yate...done.
Loaded symbols for ./modules/conference.yate
Reading symbols from /home/maciejka/projekty/9/yate/modules/moh.yate...done.
Loaded symbols for ./modules/moh.yate
Reading symbols from /home/maciejka/projekty/9/yate/modules/extmodule.yate...done.
Loaded symbols for ./modules/extmodule.yate
Reading symbols from /home/maciejka/projekty/9/yate/modules/tts.yate...done.
Loaded symbols for ./modules/tts.yate
Reading symbols from /home/maciejka/projekty/9/yate/modules/osschan.yate...done.
Loaded symbols for ./modules/osschan.yate
Reading symbols from /home/maciejka/projekty/9/yate/modules/ysipchan.yate...done.
Loaded symbols for ./modules/ysipchan.yate
Reading symbols from /home/maciejka/projekty/9/yate/modules/yrtpchan.yate...done.
Loaded symbols for ./modules/yrtpchan.yate
Reading symbols from /home/maciejka/projekty/9/yate/modules/rmodule.yate...done.
Loaded symbols for ./modules/rmodule.yate
Reading symbols from /home/maciejka/projekty/9/yate/modules/glue.yate...done.
Loaded symbols for ./modules/glue.yate
Reading symbols from /home/maciejka/projekty/9/yate/modules/echochan.yate...done.
Loaded symbols for ./modules/echochan.yate
Reading symbols from /home/maciejka/projekty/9/yate/modules/transfer.yate...done.
Loaded symbols for ./modules/transfer.yate
Reading symbols from /home/maciejka/projekty/9/yate/modules/rewrite.yate...done.
Loaded symbols for ./modules/rewrite.yate
Reading symbols from /home/maciejka/projekty/9/yate/modules/dumbchan.yate...done.
Loaded symbols for ./modules/dumbchan.yate
Reading symbols from /home/maciejka/projekty/9/yate/modules/msgsniff.yate...done.
Loaded symbols for ./modules/msgsniff.yate
Reading symbols from /lib/tls/i686/cmov/libnss_files.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_files.so.2
Reading symbols from /lib/tls/i686/cmov/libnss_dns.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_dns.so.2
Reading symbols from /lib/tls/i686/cmov/libresolv.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libresolv.so.2
#0 0xb7c863ee in free () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0 0xb7c863ee in free () from /lib/tls/i686/cmov/libc.so.6
0000001 0xb7c88391 in malloc () from /lib/tls/i686/cmov/libc.so.6
0000002 0xb7c13c99 in iax_frame_new (direction=2, datalen=6) at iax2-parser.c:550
0000003 0xb7c14b66 in iax_send (pvt=0x80acdf0, f=0xb7ae4c7c, ts=0, seqno=-1, now=0, transfer=0, final=0) at iax.c:605
0000004 0xb7c14f51 in __send_command (i=0x80acdf0, type=6 '\006', command=7, ts=0, data=0xb7ae4d20 "\t\004", datalen=6, seqno=-1, now=0,
    transfer=0, final=0) at iax.c:726
0000005 0xb7c14f8a in send_command (i=0x80acdf0, type=6 '\006', command=7, ts=0, data=0xb7ae4d20 "\t\004", datalen=6, seqno=-1) at iax.c:731
0000006 0xb7c15c55 in iax_accept (session=0x80acdf0, format=2) at iax.c:1040
0000007 0xb7c0d892 in IAXEndPoint::accepting (this=0x804b818, e=0x80abe58) at iaxchan.cpp:444
0000008 0xb7c0ea2d in IAXEndPoint::answer (this=0x804b818, e=0x80abe58) at iaxchan.cpp:515
0000009 0xb7c10a68 in IAXEndPoint::run (this=0x804b818) at iaxchan.cpp:379
0000010 0xb7e8b200 in TelEngine::ThreadPrivate::run (this=0x804b320) at Thread.cpp:258
0000011 0xb7e8b22d in TelEngine::ThreadPrivate::startFunc (arg=0x804b320) at Thread.cpp:407
0000012 0xb7ed2361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
0000013 0xb7cebbde in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb)
Additional Information The libiax based channel is being replaced with a native implementation so these issues will become irrelevant.
Tags No tags attached.
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2005-11-25 19:00 maciejka New Issue
2006-06-09 13:17 paulc Status new => closed
2006-06-09 13:17 paulc Resolution open => no change required
2006-06-09 13:17 paulc Category => documentation
2006-06-09 13:17 paulc Additional Information Updated


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker