Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#209 closed баг (fixed)

Падение при входе в сеть

Reported by: alx Owned by: dimag
Priority: major Milestone: 2 очередь
Component: ПО MC04-Dispatcher. Пульт диспетчера/техника Keywords: падение
Cc: san

Description

r241 падает при входе в сеть (после нажатия кнопки "Вход):

(gdb) r
Starting program: /home/alx/src/dispatcher/MC04Dispatcher 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
/usr/lib/x86_64-linux-gnu/qt4/plugins

rootStartElement
Characters
13:57:19.853 os_core_unix.c !pjlib 2.1 for POSIX initialized
8013003
21
285
480
640
UP 0 years, 0 days, 1 hour, 10 minutes, 5 seconds, 56 milliseconds, 252 microseconds
FreeSWITCH (Version 1.6.7 git d38d065 2016-04-01 01:36:13Z 64bit) is ready
107 session(s) since startup
0 session(s) - peak 7, last 5min 3 
0 session(s) per Sec out of max 30, peak 5, last 5min 2 
1000 session(s) max
min idle cpu 0.00/82.83
Current Stack Size/Max 240K/8192K
13:57:24.557 sip_endpoint.c  .Creating endpoint instance...
13:57:24.557          pjlib  .select() I/O Queue created (0x883870)
13:57:24.557 sip_endpoint.c  .Module "mod-msg-print" registered
13:57:24.557 sip_transport.  .Transport manager created.
13:57:24.557   pjsua_core.c  .PJSUA state changed: NULL --> CREATED
13:57:24.557 sip_endpoint.c  .Module "mod-pjsua-log" registered
13:57:24.557 sip_endpoint.c  .Module "mod-tsx-layer" registered
13:57:24.557 sip_endpoint.c  .Module "mod-stateful-util" registered
13:57:24.557 sip_endpoint.c  .Module "mod-ua" registered
13:57:24.557 sip_endpoint.c  .Module "mod-100rel" registered
13:57:24.557 sip_endpoint.c  .Module "mod-pjsua" registered
13:57:24.557 sip_endpoint.c  .Module "mod-invite" registered
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver returned error: Нет такого файла или каталога
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat returned error: Нет такого файла или каталога
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer returned error: Нет такого файла или каталога
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: Нет такого файла или каталога
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM sysdefault
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver returned error: Нет такого файла или каталога
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat returned error: Нет такого файла или каталога
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer returned error: Нет такого файла или каталога
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: Нет такого файла или каталога
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM sysdefault
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver returned error: Нет такого файла или каталога
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat returned error: Нет такого файла или каталога
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer returned error: Нет такого файла или каталога
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: Нет такого файла или каталога
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver returned error: Нет такого файла или каталога
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat returned error: Нет такого файла или каталога
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer returned error: Нет такого файла или каталога
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: Нет такого файла или каталога
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver returned error: Нет такого файла или каталога
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat returned error: Нет такого файла или каталога
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer returned error: Нет такого файла или каталога
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: Нет такого файла или каталога
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM dmix
[New Thread 0x7fffebb60700 (LWP 20384)]
Cannot connect to server socket err = Нет такого файла или каталога
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
[Thread 0x7fffebb60700 (LWP 20384) exited]
13:57:24.564       pa_dev.c  ..PortAudio sound library initialized, status=0
13:57:24.564       pa_dev.c  ..PortAudio host api count=2
13:57:24.564       pa_dev.c  ..Sound device count=0
13:57:24.564          pjlib  ..select() I/O Queue created (0x89d678)
[New Thread 0x7fffebadf700 (LWP 20385)]
13:57:24.571 sip_endpoint.c  .Module "mod-evsub" registered
13:57:24.571 sip_endpoint.c  .Module "mod-presence" registered
13:57:24.571 sip_endpoint.c  .Module "mod-mwi" registered
13:57:24.571 sip_endpoint.c  .Module "mod-refer" registered
13:57:24.571 sip_endpoint.c  .Module "mod-pjsua-pres" registered
13:57:24.571 sip_endpoint.c  .Module "mod-pjsua-im" registered
13:57:24.571 sip_endpoint.c  .Module "mod-pjsua-options" registered
[New Thread 0x7fffeb2de700 (LWP 20386)]
13:57:24.571   pjsua_core.c  .1 SIP worker threads created
13:57:24.571   pjsua_core.c  .pjsua version 2.1 for Linux-4.4.0.22/x86_64/glibc-2.17 initialized
13:57:24.571   pjsua_core.c  .PJSUA state changed: CREATED --> INIT
13:57:24.571   pjsua_core.c  bind() error: Адрес уже используется [status=120098]
13:57:24.572   pjsua_core.c  SIP UDP socket reachable at 192.168.0.63:5061
13:57:24.572    udp0x8b9330  SIP UDP transport started, published address is 192.168.0.63:5061
13:57:24.572   pjsua_core.c  PJSUA state changed: INIT --> STARTING
13:57:24.572 sip_endpoint.c  .Module "mod-unsolicited-mwi" registered
13:57:24.572   pjsua_core.c  .PJSUA state changed: STARTING --> RUNNING
13:57:24.572    pjsua_acc.c  Adding account: id=sip:2@192.168.0.63
13:57:24.572    pjsua_acc.c  .Account sip:2@192.168.0.63 added with id 0
13:57:24.572    pjsua_acc.c  .Acc 0: setting registration..
13:57:24.573   pjsua_core.c  ...TX 485 bytes Request msg REGISTER/cseq=56926 (tdta0x8be350) to UDP 192.168.0.63:5060:
REGISTER sip:192.168.0.63 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.63:5061;rport;branch=z9hG4bKPj4f777e08-a0fb-44e6-a953-e3d966d92fa1
Max-Forwards: 70
From: <sip:2@192.168.0.63>;tag=b5eb89ef-421a-4388-b043-833d0b07a237
To: <sip:2@192.168.0.63>
Call-ID: 689c3fe5-722f-4623-8de4-34f32fe7aca2
CSeq: 56926 REGISTER
Contact: <sip:2@192.168.0.63:5061;ob>
Expires: 300
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Content-Length:  0


--end msg--
13:57:24.573    pjsua_acc.c  ..Acc 0: Registration sent
13:57:24.581   pjsua_core.c  .RX 671 bytes Response msg 401/REGISTER/cseq=56926 (rdata0x8ba998) from UDP 192.168.0.63:5060:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.0.63:5061;rport=5061;branch=z9hG4bKPj4f777e08-a0fb-44e6-a953-e3d966d92fa1
From: <sip:2@192.168.0.63>;tag=b5eb89ef-421a-4388-b043-833d0b07a237
To: <sip:2@192.168.0.63>;tag=HSDg636B2taUp
Call-ID: 689c3fe5-722f-4623-8de4-34f32fe7aca2
CSeq: 56926 REGISTER
User-Agent: FreeSWITCH-mod_sofia/1.6.7+git~20160401T013613Z~d38d065f51~64bit
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
WWW-Authenticate: Digest realm="192.168.0.63", nonce="740b0a9c-1aac-48df-8f52-cc8be1009ec7", algorithm=MD5, qop="auth"
Content-Length: 0


--end msg--
13:57:24.582   pjsua_core.c  ....TX 743 bytes Request msg REGISTER/cseq=56927 (tdta0x8be350) to UDP 192.168.0.63:5060:
REGISTER sip:192.168.0.63 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.63:5061;rport;branch=z9hG4bKPjf555ea84-b8c7-46e8-85bd-225a1ccfbde2
Max-Forwards: 70
From: <sip:2@192.168.0.63>;tag=b5eb89ef-421a-4388-b043-833d0b07a237
To: <sip:2@192.168.0.63>
Call-ID: 689c3fe5-722f-4623-8de4-34f32fe7aca2
CSeq: 56927 REGISTER
Contact: <sip:2@192.168.0.63:5061;ob>
Expires: 300
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Authorization: Digest username="2", realm="192.168.0.63", nonce="740b0a9c-1aac-48df-8f52-cc8be1009ec7", uri="sip:192.168.0.63", response="de6eb6ec2e631f470b6a376c1bffe927", algorithm=MD5, cnonce="1d42cca5-2177-4b29-8c34-b5470ee9af47", qop=auth, nc=00000001
Content-Length:  0


--end msg--
13:57:24.584   pjsua_core.c  .RX 629 bytes Response msg 200/REGISTER/cseq=56927 (rdata0x7fffe4001568) from UDP 192.168.0.63:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.63:5061;rport=5061;branch=z9hG4bKPjf555ea84-b8c7-46e8-85bd-225a1ccfbde2
From: <sip:2@192.168.0.63>;tag=b5eb89ef-421a-4388-b043-833d0b07a237
To: <sip:2@192.168.0.63>;tag=j2687yQFZ30Dj
Call-ID: 689c3fe5-722f-4623-8de4-34f32fe7aca2
CSeq: 56927 REGISTER
Contact: <sip:2@192.168.0.63:5061;ob>;expires=300
Date: Fri, 01 Jul 2016 10:57:24 GMT
User-Agent: FreeSWITCH-mod_sofia/1.6.7+git~20160401T013613Z~d38d065f51~64bit
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Content-Length: 0


--end msg--
13:57:24.584    pjsua_acc.c  ....SIP outbound status for acc 0 is not active
13:57:24.584    pjsua_acc.c  ....sip:2@192.168.0.63: registration success, status=200 (OK), will re-register in 300 seconds
13:57:24.584    pjsua_acc.c  ....Keep-alive timer started for acc 0, destination:192.168.0.63:5060, interval:15s
13:57:24.663   pjsua_core.c  .RX 912 bytes Request msg NOTIFY/cseq=93349258 (rdata0x7fffe4001568) from UDP 192.168.0.63:5060:
NOTIFY sip:2@192.168.0.63:5061;ob SIP/2.0
Via: SIP/2.0/UDP 192.168.0.63;rport;branch=z9hG4bK1aBNpgm0rH4cS
Max-Forwards: 70
From: <sip:2@192.168.0.63>;tag=KB019S8jvcQ0D
To: <sip:2@192.168.0.63>
Call-ID: 6f29a7b2-ba1d-1234-f3a5-902b3433882b
CSeq: 93349258 NOTIFY
Contact: <sip:mod_sofia@192.168.0.63:5060>
User-Agent: FreeSWITCH-mod_sofia/1.6.7+git~20160401T013613Z~d38d065f51~64bit
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Event: message-summary
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Subscription-State: terminated;reason=noresource
Content-Type: application/simple-message-summary
Content-Length: 61

Messages-Waiting: no
Message-Account: sip:2@192.168.0.63


--end msg--
13:57:24.663   pjsua_pres.c  .Got unsolicited NOTIFY from 192.168.0.63:5060..
13:57:24.663   pjsua_core.c  ...TX 297 bytes Response msg 200/NOTIFY/cseq=93349258 (tdta0x7fffe4003490) to UDP 192.168.0.63:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.63;rport=5060;received=192.168.0.63;branch=z9hG4bK1aBNpgm0rH4cS
Call-ID: 6f29a7b2-ba1d-1234-f3a5-902b3433882b
From: <sip:2@192.168.0.63>;tag=KB019S8jvcQ0D
To: <sip:2@192.168.0.63>;tag=z9hG4bK1aBNpgm0rH4cS
CSeq: 93349258 NOTIFY
Content-Length:  0


--end msg--
Startup dlg  finished
ESL Connected
 Window Icon setted
MainAppFrameWindow2 ctor
pLogViewWidget created
pSplitterSoundPlay created
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_M_construct null not valid

Thread 1 "MC04Dispatcher" received signal SIGABRT, Aborted.
0x00007ffff5062418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54      ../sysdeps/unix/sysv/linux/raise.c: Нет такого файла или каталога.
(gdb) bt
#0  0x00007ffff5062418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1  0x00007ffff506401a in __GI_abort () at abort.c:89
#2  0x00007ffff59a484d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007ffff59a26b6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007ffff59a2701 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007ffff59a2919 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007ffff59cb13f in std::__throw_logic_error(char const*) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x00007ffff5a36a84 in void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*>(char const*, char const*, std::forward_iterator_tag) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#8  0x00007ffff5a36c3c in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x0000000000489c71 in CPJSIPSUA::DefaultInputDevice[abi:cxx11]() const (this=0x6fc8c0 <pjsipsua>) at PJSIPSUA.cpp:195
#10 0x00000000004261aa in MainAppFrameWindow3::MainAppFrameWindow3 (this=0x7fffffffdfb0) at MainAppFrameWindow3.cpp:1294
#11 0x0000000000413b46 in main (argc=1, argv=0x7fffffffe5e8) at MC04Dispatcher.cpp:137

Change History (2)

comment:1 by dimag, 8 years ago

Resolution: fixed
Status: newclosed

comment:2 by san, 7 years ago

Milestone: Текущее2 очередь

Milestone renamed

Note: See TracTickets for help on using tickets.