Menu

#1 Mrcp client library crashes when closing session.

open
nobody
None
5
2008-02-05
2008-02-05
Anonymous
No

This happens (under both win32 and linux) when closing ASR or TTS session. Here is the log file and the backtrace when TTS session is being closed after successful receiving and saving audio stream (the generated voice file can be played)

INFO ! 02/05/08 15:08:43.204 ! PrimProcessResults ! N/A ! CMrcpSipSignal::Entering:
INFO ! 02/05/08 15:08:43.204 ! PrimProcessResults ! N/A ! CMrcpSipSignal::MRCP/2.0 111 SPEAK-COMPLETE 1003 COMPLETE
Channel-Identifier: 94@speechsynth
Completion-Cause: 000 normal

:
INFO ! 02/05/08 15:08:43.204 ! PerformCallbackProce ! N/A ! CMrcpCmdIdMgr::Entering Routine:
INFO ! 02/05/08 15:08:43.204 ! PerformCallbackProce ! N/A ! CMrcpCmdIdMgr::Exiting Routine:
waiting for TTS status...
INFO ! 02/05/08 15:08:46.023 ! StopAudio ! N/A ! CMrcpSystem::Entered:
INFO ! 02/05/08 15:08:46.023 ! Stop ! N/A ! CMrcpAudioStream::Entering:
Closing TTS session...
INFO ! 02/05/08 15:08:46.023 ! Stop ! N/A ! CMrcpAudioStream::Exiting:
INFO ! 02/05/08 15:08:46.023 ! CloseSession ! N/A ! CMrcpSystem::Close Session Entered:
INFO ! 02/05/08 15:08:46.023 ! CloseSession ! N/A ! CMrcpSessionMgr::Entering CloseSession:
INFO ! 02/05/08 15:08:46.023 ! StopSession ! N/A ! CMrcpSession::Entering StopSession:
INFO ! 02/05/08 15:08:46.023 ! PrimDisconnect ! N/A ! CMrcpSipSignal::Entering:
INFO ! 02/05/08 15:08:47.232 ! PrimStop ! N/A ! CMrcpSipSignal::Entering:
INFO ! 02/05/08 15:08:47.232 ! PrimOnStopped ! N/A ! CMrcpSipSignal::Entering:
INFO ! 02/05/08 15:08:47.232 ! PrimOnStopped ! N/A ! CMrcpSipSignal::SIP Event thread exited:
INFO ! 02/05/08 15:08:47.233 ! PrimOnStopped ! N/A ! CMrcpSipSignal::SIP Command Thread Exited:
INFO ! 02/05/08 15:08:47.233 ! HandleEvent ! N/A ! CMrcpSession::Protocol Disconnected:
INFO ! 02/05/08 15:08:47.233 ! Stop ! N/A ! CMrcpRtp::Entering:
INFO ! 02/05/08 15:08:47.233 ! Stop ! N/A ! CMrcpRtp::Exiting:
INFO ! 02/05/08 15:08:47.233 ! Stop ! N/A ! CMrcpAudioStream::Entering:
INFO ! 02/05/08 15:08:47.234 ! Stop ! N/A ! CMrcpAudioStream::Exiting:
INFO ! 02/05/08 15:08:47.234 ! PerformCallbackProce ! N/A ! CMrcpCmdIdMgr::Entering Routine:
return_result():
referenceNumber=0
MrcpReturnValue=1
asrSessionHandle=0
ttsSessionHandle=1
packet:
[
Session Disconnected
]
INFO ! 02/05/08 15:08:47.234 ! PerformCallbackProce ! N/A ! CMrcpCmdIdMgr::Exiting Routine:
INFO ! 02/05/08 15:08:47.523 ! HandleEvent ! N/A ! CMrcpSession::Exiting StopSession:
zsh: illegal hardware instruction (core dumped) ./mrcp_client

% gdb mrcp_client core
GNU gdb 6.6-debian
Copyright (C) 2006 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".

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/tls/i686/cmov/libpthread.so.0...done.
Loaded symbols for /lib/tls/i686/cmov/libpthread.so.0
Reading symbols from /lib/tls/i686/cmov/libdl.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libdl.so.2
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
Core was generated by `./mrcp_client'.
Program terminated with signal 4, Illegal instruction.
#0 0x080ee651 in ?? ()
(gdb) bt
#0 0x080ee651 in ?? ()
#1 0x0804f5a0 in ~AMrcpResource (this=0x80eefa0) at src/mrcpv2/AMrcpResource.cpp:142
#2 0x080ae535 in ~CSpeechSynthesizer (this=0x80eefa0) at src/mrcpv2/CSpeechSynthesizer.cpp:102
#3 0x0808858c in ~CMrcpSession (this=0x80ee280) at src/mrcpv2/CMrcpSession.cpp:155
#4 0x0808cc7b in MrcpV2RefLib::CMrcpSessionMgr::CloseSession (this=0x80eceb8, a_sessionHandle=1)
at src/mrcpv2/CMrcpSessionMgr.cpp:210
#5 0x0809b2cb in MrcpV2RefLib::CMrcpSystem::CloseSession (this=0x80ea240, a_sessionHandle=1)
at src/mrcpv2/CMrcpSystem.cpp:266
#6 0x080b0b07 in shutdown (mrcp=0x80ea240, resource=0xbfaac0a8, status=0) at src/main.cpp:72
#7 0x080b0f15 in main () at src/main.cpp:494

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.