Bug#471385: Wengophone crashes whenever initiating a call

Marcus Better marcus at better.se
Tue Mar 18 09:53:06 UTC 2008


I also get segfaults every time I hang up a call (and no audio, but I 
don't know yet if it's a problem with my SIP server).

~$ gdb qtwengophone
GNU gdb 6.7.1-debian
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
(gdb) c
The program is not being run.
(gdb) r
Starting program: /usr/bin/qtwengophone
[Thread debugging using libthread_db enabled]
warning: Lowest section in /usr/lib/libicudata.so.38 is .hash at 000000b4
(info) 10:44:03 Wenbox::Wenbox(): Wenbox dll not loaded
(debug) 10:44:03 int main(int, char**): WengoPhone started
(debug) 10:44:03 virtual void WebcamDriver::cleanup(): Cleaning up the 
Meta webcam driver
(debug) 10:44:03 virtual bool FileReader::open(): loading 
/home/marcus/.wengophone/config.xml
(debug) 10:44:03 virtual bool FileWriter::open(): saving to 
/home/marcus/.wengophone/config.xml
(debug) 10:44:03 virtual bool FileReader::open(): loading 
/home/marcus/.wengophone/config.xml
[New Thread 0xb514d710 (LWP 22339)]
Qt: gdb: -nograb added to command-line options.
          Use the -dograb option to enforce grabbing.
(debug) 10:44:14 QtWengoStyle::QtWengoStyle(): style=oxygen
(debug) 10:44:14 virtual void QtFactory::reset():  RESET
[New Thread 0xb48d5b90 (LWP 22353)]
[New Thread 0xb40b3b90 (LWP 22354)]
(debug) 10:44:15 void 
CommandServer::serverStatusEventHandler(ServerSocket&, 
ServerSocket::Error): connected
(debug) 10:44:15 void QtLanguage::loadLanguageFromConfig(): 
/usr/share/wengophone/lang/qtwengophone_sv_SE
(debug) 10:44:16 virtual bool FileReader::open(): loading 
/usr/share/wengophone/pics/avatars/default-avatar.png
(debug) 10:44:19 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_card_name: hw:0
(debug) 10:44:19 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_card_name: HDA ATI SB
(debug) 10:44:19 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plug:dmix:0
(debug) 10:44:19 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: STAC92xx Analog
(debug) 10:44:19 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plug:dmix:0
(debug) 10:44:19 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: STAC92xx Digital
(debug) 10:44:19 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plug:dmix:0
(debug) 10:44:19 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: Si3054 Modem
(debug) 10:44:19 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_card_name: hw:0
(debug) 10:44:19 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_card_name: HDA ATI SB
(debug) 10:44:19 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plughw:0,0
(debug) 10:44:19 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: STAC92xx Analog
(debug) 10:44:19 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plughw:0,1
(debug) 10:44:19 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: STAC92xx Digital
(debug) 10:44:19 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plughw:0,6
(debug) 10:44:19 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: Si3054 Modem
[New Thread 0xb352cb90 (LWP 22361)]
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_card_name: hw:0
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_card_name: HDA ATI SB
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plughw:0,0
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: STAC92xx Analog
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plughw:0,1
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: STAC92xx Digital
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plughw:0,6
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: Si3054 Modem
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_card_name: hw:0
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_card_name: HDA ATI SB
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plug:dmix:0
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: STAC92xx Analog
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plug:dmix:0
(debug) 10:44:20 void DtmfThemeManager::constructDTMF(): find a theme : 
dialpad.xml
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: STAC92xx Digital
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plug:dmix:0
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: Si3054 Modem
(debug) 10:44:20 void DtmfThemeManager::constructDTMF(): find a theme : 
dialpad.xml
(debug) 10:44:20 virtual bool FileReader::open(): loading 
/home/marcus/.wengophone/profiles/marcus at example.org/userprofile.xml
(debug) 10:44:20 virtual bool FileReader::open(): loading 
/home/marcus/.wengophone/profiles/marcus at example.org/imaccounts.xml
(debug) 10:44:20 virtual bool FileReader::open(): loading 
/home/marcus/.wengophone/profiles/marcus at example.org/contactlist.xml
(debug) 10:44:20 virtual bool FileReader::open(): loading 
/home/marcus/.wengophone/profiles/marcus at example.org/history.xml
(debug) 10:44:20 virtual bool UserProfileFileStorage::load(const 
std::string&): profile marcus at example.org loaded successfully
(debug) 10:44:20 void UserProfileHandler::setCurrentUserProfile(const 
std::string&, const SipAccount&): No current UserProfile set. Change now
[New Thread 0xb2d2bb90 (LWP 22362)]
(debug) 10:44:20 void 
IMContactListHandler::imAccountAddedEventHandler(IMAccountManager&, 
std::string): cannot create an IMContactList
(debug) 10:44:20 void 
ChatHandler::imAccountAddedEventHandler(IMAccountManager&, std::string): 
new account added: login: marcus protocol: SIP
[New Thread 0xb252ab90 (LWP 22363)]
(debug) 10:44:20 void 
CWengoPhone::initFinishedEventHandler(WengoPhone&): WengoPhone::init() 
finished
(debug) 10:44:20 virtual void WengoPhone::run(): model thread is ready 
for events
(debug) 10:44:20 virtual bool SipAccount::discoverForSIP(): discovering 
network parameters for SIP connection
(debug) 10:44:20 unsigned int NetworkDiscovery::getFreeLocalPort(): UDP 
port 5060 is busy, will use 5061
(debug) 10:44:20 virtual bool SipAccount::discoverForSIP(): SIP will use 
5061 as local SIP port
(debug) 10:44:20 virtual bool SipAccount::discoverForSIP(): testSIP test 
number: 1
(debug) 10:44:20 bool NetworkDiscovery::testSIP(const std::string&, 
unsigned int, unsigned int): pinging SIP server sip.example.org on port 
5060 from port 5061
(debug) 10:44:20 virtual bool SipAccount::discoverForSIP(): SIP can 
connect via UDP
(debug) 10:44:20 virtual EnumSipLoginState::SipLoginState 
SipAccount::discoverNetwork(): initialization Ok
(debug) 10:44:20 void 
UserProfile::loginStateChangedEventHandlerThreadSafe(SipAccount&, 
EnumSipLoginState::SipLoginState): SIP_ marcus at example.org
(debug) 10:44:20 void 
UserProfile::loginStateChangedEventHandlerThreadSafe(SipAccount&, 
EnumSipLoginState::SipLoginState): SIP_ READY
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_card_name: hw:0
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_card_name: HDA ATI SB
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plug:dmix:0
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: STAC92xx Analog
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plug:dmix:0
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: STAC92xx Digital
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plug:dmix:0
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: Si3054 Modem
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_card_name: hw:0
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_card_name: HDA ATI SB
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plughw:0,0
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: STAC92xx Analog
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plughw:0,1
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: STAC92xx Digital
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plughw:0,6
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: Si3054 Modem
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_card_name: hw:0
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_card_name: HDA ATI SB
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plug:dmix:0
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: STAC92xx Analog
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plug:dmix:0
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: STAC92xx Digital
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plug:dmix:0
(debug) 10:44:20 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: Si3054 Modem
(debug) 10:44:20 virtual void PhApiWrapper::enableAEC(bool): AEC enabled
(debug) 10:44:20 virtual void PhApiWrapper::enableHalfDuplex(bool): 
half-duplex disabled
(info) 10:44:20 virtual void PhApiWrapper::setCallsEncryption(bool): Set 
call encryption to:0
[New Thread 0xb1d29b90 (LWP 22364)]
(debug) 10:44:21 void QtWengoPhone::languageChanged(): retranslate main 
window ui
(debug) 10:44:21 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_card_name: hw:0
[New Thread 0xb1528b90 (LWP 22365)]
(debug) 10:44:21 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_card_name: HDA ATI SB
(debug) 10:44:21 virtual void PhApiWrapper::init(): phApi successfully 
initialized
(debug) 10:44:21 virtual bool FileReader::open(): loading 
/home/marcus/.wengophone/profiles/marcus at example.org/history.xml
(debug) 10:44:21 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plug:dmix:0
(debug) 10:44:21 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: STAC92xx Analog
(debug) 10:44:21 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plug:dmix:0
(debug) 10:44:21 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: STAC92xx Digital
(debug) 10:44:21 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plug:dmix:0
(debug) 10:44:21 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: Si3054 Modem
(debug) 10:44:21 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_card_name: hw:0
(debug) 10:44:21 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_card_name: HDA ATI SB
(debug) 10:44:21 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plughw:0,0
(debug) 10:44:21 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: STAC92xx Analog
(debug) 10:44:21 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plughw:0,1
(debug) 10:44:21 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: STAC92xx Digital
(debug) 10:44:21 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plughw:0,6
(debug) 10:44:21 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: Si3054 Modem
(debug) 10:44:21 void QtDialpad::setCurrentTheme(const QString&): default
(debug) 10:44:21 void QtWengoPhone::setQtDialpad(QtDialpad*): QtDialpad 
added
[New Thread 0xb0d27b90 (LWP 22366)]
[Thread 0xb252ab90 (LWP 22363) exited]
(debug) 10:44:21 void 
SipCallbacks::phoneLineStateChangedEventHandler(SipWrapper&, int, 
EnumPhoneLineState::PhoneLineState): registerProgress: lineId=1 state=1
(debug) 10:44:21 void 
SipCallbacks::phoneLineStateChangedEventHandler(SipWrapper&, int, 
EnumPhoneLineState::PhoneLineState): lineId=1
(debug) 10:44:21 virtual void 
PhoneLine::setState(EnumPhoneLineState::PhoneLineState): 
PhoneLineState=PhoneLineStateProgress
(debug) 10:44:21 virtual void 
PhoneLine::setState(EnumPhoneLineState::PhoneLineState): line state 
changed lineId=1 state=PhoneLineStateProgress
(debug) 10:44:21 virtual void PhoneLine::connect(): connect 
username=marcus server=example.org lineId=1
(debug) 10:44:21 void UserProfile::connectSipAccounts(): SIP connection OK
(debug) 10:44:21 virtual bool FileWriter::open(): saving to 
/home/marcus/.wengophone/profiles/marcus at example.org.new/userprofile.xml
(debug) 10:44:21 virtual bool FileWriter::open(): saving to 
/home/marcus/.wengophone/profiles/marcus at example.org.new/imaccounts.xml
(debug) 10:44:21 virtual bool FileWriter::open(): saving to 
/home/marcus/.wengophone/profiles/marcus at example.org.new/contactlist.xml
(debug) 10:44:21 virtual bool FileWriter::open(): saving to 
/home/marcus/.wengophone/profiles/marcus at example.org.new/history.xml
(debug) 10:44:21 void 
CUserProfile::phoneLineCreatedEventHandler(UserProfile&, IPhoneLine&): 
CPhoneLine created
(debug) 10:44:21 void QtWengoPhone::setQtContactList(QtContactList*): 
QtContactList added
(debug) 10:44:22 void 
QtWengoPhone::setQtHistoryWidget(QtHistoryWidget*): QtHistoryWidget added
(debug) 10:44:36 void 
SipCallbacks::phoneLineStateChangedEventHandler(SipWrapper&, int, 
EnumPhoneLineState::PhoneLineState): registerProgress: lineId=1 state=5
(debug) 10:44:36 void 
SipCallbacks::phoneLineStateChangedEventHandler(SipWrapper&, int, 
EnumPhoneLineState::PhoneLineState): lineId=1
(debug) 10:44:36 virtual void 
PhoneLine::setState(EnumPhoneLineState::PhoneLineState): 
PhoneLineState=PhoneLineStateOk
(debug) 10:44:36 void 
UserProfile::loginStateChangedEventHandlerThreadSafe(SipAccount&, 
EnumSipLoginState::SipLoginState): SIP_ marcus at example.org
(debug) 10:44:36 void 
UserProfile::loginStateChangedEventHandlerThreadSafe(SipAccount&, 
EnumSipLoginState::SipLoginState): SIP_ CONNECTED
(debug) 10:44:36 virtual void 
PhoneLine::setState(EnumPhoneLineState::PhoneLineState): line state 
changed lineId=1 state=PhoneLineStateOk
(debug) 10:44:36 void UserProfile::updateIMAccount(const IMAccount&): 
updating IMAccount
(debug) 10:44:36 void 
PresenceHandler::connectedEventHandler(ConnectHandler&, std::string): an 
account is connected, login=marcus protocol=8
(debug) 10:44:36 void 
PhApiIMPresence::myPresenceStatusEventHandler(PhApiWrapper&, 
EnumPresenceState::MyPresenceStatus, const std::string&): my presence 
status=0
(debug) 10:44:36 void PresenceHandler::changeMyAlias(const std::string&, 
IMAccount*): changing alias for marcus, of protocol=8 with alias=
(debug) 10:44:36 void 
PhApiIMPresence::myPresenceStatusEventHandler(PhApiWrapper&, 
EnumPresenceState::MyPresenceStatus, const std::string&): my presence 
status=0
(debug) 10:44:36 void PresenceHandler::changeMyIcon(const OWPicture&, 
IMAccount*): changing icon for marcus, of protocol=8
[Thread 0xb0d27b90 (LWP 22366) exited]
(debug) 10:44:44 virtual int PhApiWrapper::makeCall(int, const 
std::string&, bool): call=sip:613 at fwd.pulver.com
(debug) 10:44:44 void 
SipCallbacks::phoneCallStateChangedEventHandler(SipWrapper&, int, 
EnumPhoneCallState::PhoneCallState, const std::string&): callProgress: 
callId=1 state=4 from=sip:613 at fwd.pulver.com
(debug) 10:44:44 virtual void PhoneLine::setPhoneCallState(int, 
EnumPhoneCallState::PhoneCallState, const SipAddress&): call state 
changed callId=1 state=PhoneCallStateDialing from=sip:613 at fwd.pulver.com
(debug) 10:44:44 void 
PhoneCall::setState(EnumPhoneCallState::PhoneCallState): PhoneCallState=4
(debug) 10:44:44 void 
PhoneCall::setState(EnumPhoneCallState::PhoneCallState): call state 
changed callId=1 state=PhoneCallStateDialing
(debug) 10:44:44 void 
CPhoneLine::phoneCallCreatedEventHandler(IPhoneLine&, PhoneCall&): 
CPhoneCall created
[New Thread 0xb0526b90 (LWP 22375)]
sVoIP_phapi_handle_invite_out
(debug) 10:44:49 virtual bool FileWriter::open(): saving to 
/home/marcus/.wengophone/profiles/marcus at example.org.new/userprofile.xml
(debug) 10:44:49 virtual bool FileWriter::open(): saving to 
/home/marcus/.wengophone/profiles/marcus at example.org.new/imaccounts.xml
(debug) 10:44:49 virtual bool FileWriter::open(): saving to 
/home/marcus/.wengophone/profiles/marcus at example.org.new/contactlist.xml
(debug) 10:44:49 virtual bool FileWriter::open(): saving to 
/home/marcus/.wengophone/profiles/marcus at example.org.new/history.xml
sVoIP_phapi_handle_invite_out
[Thread 0xb0526b90 (LWP 22375) exited]
sVoIP_phapi_handle_invite_out
sVoIP_phapi_handle_invite_out
(debug) 10:45:09 void 
SipCallbacks::phoneCallStateChangedEventHandler(SipWrapper&, int, 
EnumPhoneCallState::PhoneCallState, const std::string&): callProgress: 
callId=1 state=4 from=<sip:613 at fwd.pulver.com>
(debug) 10:45:09 virtual void PhoneLine::setPhoneCallState(int, 
EnumPhoneCallState::PhoneCallState, const SipAddress&): call state 
changed callId=1 state=PhoneCallStateDialing from=sip:613 at fwd.pulver.com
(debug) 10:45:09 void 
SipCallbacks::phoneCallStateChangedEventHandler(SipWrapper&, int, 
EnumPhoneCallState::PhoneCallState, const std::string&): callProgress: 
callId=1 state=5 from=<sip:613 at 69.90.168.13:5028>
(debug) 10:45:09 virtual void PhoneLine::setPhoneCallState(int, 
EnumPhoneCallState::PhoneCallState, const SipAddress&): call state 
changed callId=1 state=PhoneCallStateRinging from=sip:613 at 69.90.168.13:5028
(debug) 10:45:09 void 
PhoneCall::setState(EnumPhoneCallState::PhoneCallState): PhoneCallState=5
(debug) 10:45:09 void 
PhoneCall::setState(EnumPhoneCallState::PhoneCallState): call state 
changed callId=1 state=PhoneCallStateRinging
(debug) 10:45:10 void 
SipCallbacks::phoneCallStateChangedEventHandler(SipWrapper&, int, 
EnumPhoneCallState::PhoneCallState, const std::string&): callProgress: 
callId=1 state=5 from=<sip:613 at 69.90.168.13:5028>
(debug) 10:45:10 virtual void PhoneLine::setPhoneCallState(int, 
EnumPhoneCallState::PhoneCallState, const SipAddress&): call state 
changed callId=1 state=PhoneCallStateRinging from=sip:613 at 69.90.168.13:5028
sVoIP_phapi_handle_ok_in
incoming OK message 1 0 (nil) 0
rtp_session_new: LITTLEENDIAN
Jitter in ts units 480:
[New Thread 0xafd25b90 (LWP 22379)]
Timer: pthread_create: Lyckat
(debug) 10:45:15 void 
SipCallbacks::phoneCallStateChangedEventHandler(SipWrapper&, int, 
EnumPhoneCallState::PhoneCallState, const std::string&): callProgress: 
callId=1 state=3 from=<sip:613 at fwd.pulver.com>;tag=as71f40888
(debug) 10:45:15 virtual void PhoneLine::setPhoneCallState(int, 
EnumPhoneCallState::PhoneCallState, const SipAddress&): call state 
changed callId=1 state=PhoneCallStateTalking from=sip:613 at fwd.pulver.com
(debug) 10:45:15 void 
PhoneCall::setState(EnumPhoneCallState::PhoneCallState): PhoneCallState=3
(debug) 10:45:15 void 
PhoneCall::setState(EnumPhoneCallState::PhoneCallState): call state 
changed callId=1 state=PhoneCallStateTalking
(info) 10:45:15 virtual bool PhApiWrapper::isCallEncrypted(int): Call 
with callId 1 has encryption mode 0
(debug) 10:45:32 void QtDialpad::setCurrentTheme(const QString&): default
(debug) 10:45:32 void QtDialpad::setCurrentTheme(const QString&): default
(debug) 10:45:34 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_card_name: hw:0
(debug) 10:45:34 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_card_name: HDA ATI SB
(debug) 10:45:34 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plug:dmix:0
(debug) 10:45:34 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: STAC92xx Analog
(debug) 10:45:34 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plug:dmix:0
(debug) 10:45:34 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: STAC92xx Digital
(debug) 10:45:34 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plug:dmix:0
(debug) 10:45:34 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: Si3054 Modem
[New Thread 0xaf524b90 (LWP 22382)]
(debug) 10:45:34 void alsa_play_file(const char*, const char*, int*): 
playing /usr/share/wengophone/sounds/tones/default/sound_1.wav
[Thread 0xaf524b90 (LWP 22382) exited]
(debug) 10:45:35 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_card_name: hw:0
(debug) 10:45:35 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_card_name: HDA ATI SB
(debug) 10:45:35 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plug:dmix:0
(debug) 10:45:35 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: STAC92xx Analog
(debug) 10:45:35 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plug:dmix:0
(debug) 10:45:35 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: STAC92xx Digital
(debug) 10:45:35 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): alsa_device_name: plug:dmix:0
(debug) 10:45:35 std::list<AudioDevice, std::allocator<AudioDevice> > 
find_alsa_devices(int): friendly_device_name: Si3054 Modem
[New Thread 0xaf524b90 (LWP 22383)]
(debug) 10:45:35 void alsa_play_file(const char*, const char*, int*): 
playing /usr/share/wengophone/sounds/tones/default/sound_2.wav
[Thread 0xaf524b90 (LWP 22383) exited]
(debug) 10:45:39 void QtPhoneCall::rejectCall(): phone call hangup

** (process:22339): WARNING **: 
rtp_session_signal_disconnect_by_callback: callback not found.
Statictics for payload type 0
oRTP-stats-Message:
    Session statistics :
  packet_sent=0
  sent=0 bytes
  packet_recv=0
  hw_recv=0 bytes
  recv=0 bytes
  unavailable=1 packets
  outoftime=0 bytes
  bad=0
  discarded=0
  thrown=0


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xafd25b90 (LWP 22379)]
0xb6b7aa25 in snd_pcm_poll_descriptors_revents () from 
/usr/lib/libasound.so.2
(gdb) thread apply all bt

Thread 11 (Thread 0xafd25b90 (LWP 22379)):
#0  0xb6b7aa25 in snd_pcm_poll_descriptors_revents () from 
/usr/lib/libasound.so.2
#1  0xb6b8daaa in ?? () from /usr/lib/libasound.so.2
#2  0x08b9e4f8 in ?? ()
#3  0xafd24e60 in ?? ()
#4  0x00000001 in ?? ()
#5  0x08b9d6a0 in ?? ()
#6  0xb6bf4044 in ?? () from /usr/lib/libasound.so.2
#7  0xafd24e18 in ?? ()
#8  0xb6b7aa46 in snd_pcm_poll_descriptors_revents () from 
/usr/lib/libasound.so.2
#9  0xafd24e60 in ?? ()
#10 0x00000000 in ?? ()

Thread 8 (Thread 0xb1528b90 (LWP 22365)):
#0  0xb7f53410 in __kernel_vsyscall ()
#1  0xb6c1f589 in __lll_lock_wait () from /lib/i686/cmov/libpthread.so.0
#2  0xb6c1aba6 in _L_lock_95 () from /lib/i686/cmov/libpthread.so.0
#3  0xb6c1a58a in pthread_mutex_lock () from /lib/i686/cmov/libpthread.so.0
#4  0xb76e2866 in osip_mutex_lock (_mut=0x8ab6320)
     at 
/tmp/buildd/wengophone-2.1.2.dfsg0/wifo/libosip2/src/osip2/port_sema.c:68
#5  0xb76e8973 in eXosip_lock () at 
/tmp/buildd/wengophone-2.1.2.dfsg0/wifo/eXosip/src/eXosip.c:157
#6  0xb76f63bc in eXosip_event_wait (tv_s=0, tv_ms=500)
     at /tmp/buildd/wengophone-2.1.2.dfsg0/wifo/eXosip/src/jevents.c:947
#7  0xb76bcd68 in ph_event_get () at 
/tmp/buildd/wengophone-2.1.2.dfsg0/wifo/phapi/phapi-old.c:4951
#8  0xb76bd916 in ph_api_thread (arg=0x0) at 
/tmp/buildd/wengophone-2.1.2.dfsg0/wifo/phapi/phapi-old.c:5110
#9  0xb6c184fb in start_thread () from /lib/i686/cmov/libpthread.so.0
#10 0xb66e193e in clone () from /lib/i686/cmov/libc.so.6

---Type <return> to continue, or q <return> to quit---
Thread 7 (Thread 0xb1d29b90 (LWP 22364)):
#0  0xb7f53410 in __kernel_vsyscall ()
#1  0xb66d1d3b in read () from /lib/i686/cmov/libc.so.6
#2  0xb667197d in _IO_new_file_underflow () from /lib/i686/cmov/libc.so.6
#3  0xb66720eb in _IO_default_uflow_internal () from 
/lib/i686/cmov/libc.so.6
#4  0xb66734b4 in __uflow () from /lib/i686/cmov/libc.so.6
#5  0xb6666b86 in _IO_getline_info_internal () from /lib/i686/cmov/libc.so.6
#6  0xb6666ad1 in _IO_getline_internal () from /lib/i686/cmov/libc.so.6
#7  0xb6665a4a in fgets () from /lib/i686/cmov/libc.so.6
#8  0xb7f3bdd7 in ?? () from /lib/libnss_mdns4.so.2
#9  0xb1d284bc in ?? ()
#10 0x00000100 in ?? ()
#11 0xb7f3bff2 in _nss_mdns4_gethostbyaddr_r () from /lib/libnss_mdns4.so.2
#12 0xb66f86c8 in gethostbyaddr_r@@GLIBC_2.1.2 () from 
/lib/i686/cmov/libc.so.6
#13 0xb66c6a1f in gaih_inet () from /lib/i686/cmov/libc.so.6
#14 0xb66c84c8 in getaddrinfo () from /lib/i686/cmov/libc.so.6
#15 0xb76ee502 in eXosip_get_addrinfo (addrinfo=0xb1d29264, 
hostname=0x8c37340 "sip.example.org", service=5060)
     at /tmp/buildd/wengophone-2.1.2.dfsg0/wifo/eXosip/src/eXutils.c:549
#16 0xb76f3cb5 in cb_udp_snd_message (tr=0x8c47230, sip=0x8c46858, 
host=0x8c37340 "sip.example.org", port=5060,
     out_socket=0) at 
/tmp/buildd/wengophone-2.1.2.dfsg0/wifo/eXosip/src/jcallback.c:256
#17 0xb773a183 in nict_snd_request (nict=0x8c47230, evt=0x8b74bb0)
     at 
/tmp/buildd/wengophone-2.1.2.dfsg0/wifo/libosip2/src/osip2/nict_fsm.c:171
#18 0xb7736ce7 in fsm_callmethod (type=SND_REQUEST, state=3011936256, 
statemachine=0x8ad0b88, sipevent=0x8b74bb0,
     transaction=0x8c47230) at 
/tmp/buildd/wengophone-2.1.2.dfsg0/wifo/libosip2/src/osip2/fsm_misc.c:59
#19 0xb7735e68 in osip_transaction_execute (transaction=0x8c47230, 
evt=0x8b74bb0)
     at 
/tmp/buildd/wengophone-2.1.2.dfsg0/wifo/libosip2/src/osip2/osip_transaction.c:377
#20 0xb773257c in osip_nict_execute (osip=0x8ae4118)
     at 
/tmp/buildd/wengophone-2.1.2.dfsg0/wifo/libosip2/src/osip2/osip.c:1603
#21 0xb76e8a6a in eXosip_thread (arg=0x0) at 
/tmp/buildd/wengophone-2.1.2.dfsg0/wifo/eXosip/src/eXosip.c:420
---Type <return> to continue, or q <return> to quit---
#22 0xb6c184fb in start_thread () from /lib/i686/cmov/libpthread.so.0
#23 0xb66e193e in clone () from /lib/i686/cmov/libc.so.6

Thread 5 (Thread 0xb2d2bb90 (LWP 22362)):
#0  0xb7f53410 in __kernel_vsyscall ()
#1  0xb66d76a7 in poll () from /lib/i686/cmov/libc.so.6
#2  0xb7ecc676 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x08a098d0 in ?? ()
#4  0x00000001 in ?? ()
#5  0x08a098d0 in ?? ()
#6  0x00000002 in ?? ()
#7  0xb7f3a6c0 in ?? () from /usr/lib/libglib-2.0.so.0
#8  0xb2d2b2e4 in ?? ()
#9  0x00000001 in ?? ()
#10 0x08ac1c00 in ?? ()
#11 0x08a098d0 in ?? ()
#12 0xb66d7630 in ?? () from /lib/i686/cmov/libc.so.6
#13 0xb6c1bdf0 in ?? () from /lib/i686/cmov/libpthread.so.0
#14 0xb6c1a520 in ?? () from /lib/i686/cmov/libpthread.so.0
#15 0xb7eec3c2 in g_thread_self () from /usr/lib/libglib-2.0.so.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 4 (Thread 0xb352cb90 (LWP 22361)):
#0  0xb7f53410 in __kernel_vsyscall ()
#1  0xb6c1f589 in __lll_lock_wait () from /lib/i686/cmov/libpthread.so.0
#2  0xb6c1aba6 in _L_lock_95 () from /lib/i686/cmov/libpthread.so.0
#3  0xb6c1a58a in pthread_mutex_lock () from /lib/i686/cmov/libpthread.so.0
#4  0xb76e2866 in osip_mutex_lock (_mut=0x8ab6320)
     at 
/tmp/buildd/wengophone-2.1.2.dfsg0/wifo/libosip2/src/osip2/port_sema.c:68
---Type <return> to continue, or q <return> to quit---
#5  0xb76e8973 in eXosip_lock () at 
/tmp/buildd/wengophone-2.1.2.dfsg0/wifo/eXosip/src/eXosip.c:157
#6  0xb76bae03 in phCloseCall (cid=1) at 
/tmp/buildd/wengophone-2.1.2.dfsg0/wifo/phapi/phapi-old.c:1419
#7  0xb76be55d in owplCallDisconnect (hCall=1) at 
/tmp/buildd/wengophone-2.1.2.dfsg0/wifo/phapi/phapi.c:1130
#8  0x0843c6d5 in PhApiWrapper::closeCall (this=0x891bc60, callId=1)
     at 
/tmp/buildd/wengophone-2.1.2.dfsg0/libs/sipwrapper/src/phapi/PhApiWrapper.cpp:232
#9  0x084bd64a in PhoneLine::closeCall (this=0x8aeccf8, callId=1)
     at 
/tmp/buildd/wengophone-2.1.2.dfsg0/wengophone/src/model/phoneline/PhoneLine.cpp:252
#10 0x084b03f8 in PhoneCall::close (this=0x8b50088)
     at 
/tmp/buildd/wengophone-2.1.2.dfsg0/wengophone/src/model/phonecall/PhoneCall.cpp:216
#11 0x085a07b0 in CPhoneCall::hangUpThreadSafe (this=0x8b16fb8)
     at 
/tmp/buildd/wengophone-2.1.2.dfsg0/wengophone/src/control/phonecall/CPhoneCall.cpp:123
#12 0x085a2c86 in 
boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, 
boost::_mfi::mf0<void, CPhoneCall>, 
boost::_bi::list1<boost::_bi::value<CPhoneCall*> > >, void>::invoke 
(function_obj_ptr=@0x8b25d48)
     at /usr/include/boost/bind/mem_fn_template.hpp:49
#13 0x0826a26c in boost::function0<void, std::allocator<void> 
 >::operator() (this=0x8b25d44)
     at /usr/include/boost/function/function_template.hpp:692
#14 0x083961c0 in ThreadEvent0<void ()()>::callback (this=0x8b25d40)
     at 
/tmp/buildd/wengophone-2.1.2.dfsg0/libs/owutil/thread/ThreadEvent.h:67
#15 0x083e9c26 in Thread::runEvents (this=0x89a98e0)
     at 
/tmp/buildd/wengophone-2.1.2.dfsg0/libs/owutil/thread/src/Thread.cpp:132
#16 0x08469118 in WengoPhone::run (this=0x89a98e0)
     at 
/tmp/buildd/wengophone-2.1.2.dfsg0/wengophone/src/model/WengoPhone.cpp:138
#17 0x083e9b1c in Thread::runThread (this=0x89a98e0)
     at 
/tmp/buildd/wengophone-2.1.2.dfsg0/libs/owutil/thread/src/Thread.cpp:70
#18 0x083ea176 in 
boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, 
boost::_mfi::mf0<void, Thread>, 
boost::_bi::list1<boost::_bi::value<Thread*> > >, void>::invoke 
(function_obj_ptr=@0xb352c360)
     at /usr/include/boost/bind/mem_fn_template.hpp:49
#19 0xb7d3af4c in boost::function0<void, 
std::allocator<boost::function_base> >::operator() ()
    from /usr/lib/libboost_thread-gcc41-mt-1_34_1.so.1.34.1
---Type <return> to continue, or q <return> to quit---
#20 0xb7d3ab87 in ?? () from 
/usr/lib/libboost_thread-gcc41-mt-1_34_1.so.1.34.1
#21 0xb6c184fb in start_thread () from /lib/i686/cmov/libpthread.so.0
#22 0xb66e193e in clone () from /lib/i686/cmov/libc.so.6

Thread 3 (Thread 0xb40b3b90 (LWP 22354)):
#0  0xb7f53410 in __kernel_vsyscall ()
#1  0xb66da321 in select () from /lib/i686/cmov/libc.so.6
#2  0x0864e265 in ServerSocket::run (this=0x89d0060)
     at 
/tmp/buildd/wengophone-2.1.2.dfsg0/libs/owutil/socket/src/ServerSocket.cpp:237
#3  0x083e9b1c in Thread::runThread (this=0x89d0060)
     at 
/tmp/buildd/wengophone-2.1.2.dfsg0/libs/owutil/thread/src/Thread.cpp:70
#4  0x083ea176 in 
boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, 
boost::_mfi::mf0<void, Thread>, 
boost::_bi::list1<boost::_bi::value<Thread*> > >, void>::invoke 
(function_obj_ptr=@0xb40b3360)
     at /usr/include/boost/bind/mem_fn_template.hpp:49
#5  0xb7d3af4c in boost::function0<void, 
std::allocator<boost::function_base> >::operator() ()
    from /usr/lib/libboost_thread-gcc41-mt-1_34_1.so.1.34.1
#6  0xb7d3ab87 in ?? () from 
/usr/lib/libboost_thread-gcc41-mt-1_34_1.so.1.34.1
#7  0xb6c184fb in start_thread () from /lib/i686/cmov/libpthread.so.0
#8  0xb66e193e in clone () from /lib/i686/cmov/libc.so.6

Thread 2 (Thread 0xb48d5b90 (LWP 22353)):
#0  0xb7f53410 in __kernel_vsyscall ()
#1  0xb66a0b46 in nanosleep () from /lib/i686/cmov/libc.so.6
#2  0xb66dacbc in usleep () from /lib/i686/cmov/libc.so.6
#3  0x083e9231 in Thread::msleep (milliseconds=500)
     at 
/tmp/buildd/wengophone-2.1.2.dfsg0/libs/owutil/thread/src/Thread.cpp:115
#4  0x083e58d0 in PrivateThread::msleepAndCheck (this=0x89cf100, 
time=4294966780)
     at 
/tmp/buildd/wengophone-2.1.2.dfsg0/libs/owutil/thread/src/Timer.cpp:135
#5  0x083e5a22 in PrivateThread::run (this=0x89cf100)
---Type <return> to continue, or q <return> to quit---
     at 
/tmp/buildd/wengophone-2.1.2.dfsg0/libs/owutil/thread/src/Timer.cpp:111
#6  0x083e9b1c in Thread::runThread (this=0x89cf100)
     at 
/tmp/buildd/wengophone-2.1.2.dfsg0/libs/owutil/thread/src/Thread.cpp:70
#7  0x083ea176 in 
boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, 
boost::_mfi::mf0<void, Thread>, 
boost::_bi::list1<boost::_bi::value<Thread*> > >, void>::invoke 
(function_obj_ptr=@0xb48d5360)
     at /usr/include/boost/bind/mem_fn_template.hpp:49
#8  0xb7d3af4c in boost::function0<void, 
std::allocator<boost::function_base> >::operator() ()
    from /usr/lib/libboost_thread-gcc41-mt-1_34_1.so.1.34.1
#9  0xb7d3ab87 in ?? () from 
/usr/lib/libboost_thread-gcc41-mt-1_34_1.so.1.34.1
#10 0xb6c184fb in start_thread () from /lib/i686/cmov/libpthread.so.0
#11 0xb66e193e in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb514d710 (LWP 22339)):
#0  0xb7f53410 in __kernel_vsyscall ()
#1  0xb66da321 in select () from /lib/i686/cmov/libc.so.6
#2  0xb75f86a6 in QEventDispatcherUNIX::select (this=0x8959078, nfds=17, 
readfds=0x895595c, writefds=0x8955b70,
     exceptfds=0x8955d84, timeout=0xbfd922d8) at 
kernel/qeventdispatcher_unix.cpp:599
#3  0xb6effc74 in QEventDispatcherX11::select (this=0x8959078, nfds=17, 
readfds=0x895595c, writefds=0x8955b70,
     exceptfds=0x8955d84, timeout=0xbfd922d8) at 
kernel/qeventdispatcher_x11.cpp:188
#4  0xb75f9397 in QEventDispatcherUNIXPrivate::doSelect (this=0x8955878, 
flags=@0xbfd922ec, timeout=0xbfd922d8)
     at kernel/qeventdispatcher_unix.cpp:170
#5  0xb75f99b3 in QEventDispatcherUNIX::processEvents (this=0x8959078, 
flags=@0xbfd9240c)
     at kernel/qeventdispatcher_unix.cpp:893
#6  0xb6f00125 in QEventDispatcherX11::processEvents (this=0x8959078, 
flags=@0xbfd9244c)
     at kernel/qeventdispatcher_x11.cpp:152
#7  0xb75c91a2 in QEventLoop::processEvents (this=0xbfd924c0, 
flags=@0xbfd92484) at kernel/qeventloop.cpp:147
#8  0xb75c9324 in QEventLoop::exec (this=0xbfd924c0, flags=@0xbfd924c8) 
at kernel/qeventloop.cpp:189
#9  0xb75cca81 in QCoreApplication::exec () at 
kernel/qcoreapplication.cpp:766
#10 0xb6e6620a in QApplication::exec () at kernel/qapplication.cpp:3060
---Type <return> to continue, or q <return> to quit---
#11 0x082941c7 in QtFactory::exec (this=0x89595b8)
     at 
/tmp/buildd/wengophone-2.1.2.dfsg0/wengophone/src/presentation/qt/QtFactory.cpp:105
#12 0x08259fff in main (argc=0, argv=0xbfd926b4)
     at 
/tmp/buildd/wengophone-2.1.2.dfsg0/wengophone/src/presentation/main.cpp:256
#0  0xb6b7aa25 in snd_pcm_poll_descriptors_revents () from 
/usr/lib/libasound.so.2
(gdb)





More information about the Pkg-voip-maintainers mailing list