Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XMPP login crash on iOS ARM build #103

Open
noscript opened this issue Jul 9, 2013 · 3 comments
Open

XMPP login crash on iOS ARM build #103

noscript opened this issue Jul 9, 2013 · 3 comments

Comments

@noscript
Copy link

noscript commented Jul 9, 2013

Hi,

Tested several times, this is specific to ARM build only, i.e. running on real hardware (iPad2). Crashes when I press Login.

initlogging in2013-07-09 16:54:57.313 voiceclient[14013:907] CREATE VOICE CLIENT DELEGATAE
initingVoiceClient::VoiceClient - new ClientSignalingThread client_signaling_thread_@(0x494c4320)
ClientSignalingThread::ClientSignalingThread
VoiceClient::Login
LOGT [stun=(stun.l.google.com:19302),turn=()]
ClientSignalingThread::Login
ClientSignalingThread::OnMessage: MSG_LOGIN
ClientSignalingThread::LoginS
TXmppPump::TXmppPump
TXmppPump::DoLogin
TXmppPump::DoLogin - logging onClientSignalingThread::OnMessage: MSG_XMPP_STATE

XMPP ENGINE CREATEDClientSignalingThread::OnMessage: MSG_XMPP_STATE
ClientSignalingThread::OnXmppSocketClose: with state=4
TXmppPump::DoDisconnect
ClientSignalingThread::OnMessage: MSG_XMPP_SOCKET_CLOSE
(lldb)

No problem with i386 build in Simulator.

@lukeweber
Copy link
Owner

In the build command, did you specifically target arm? I don't have any iOS devices to test with.

./build/gyp_chromium --depth=. -DOS=ios -Dinclude_tests=0 -Denable_protobuf=0 -Denable_video=0 -Dtarget_arch=arm webrtcjingle.gyp

@lukeweber
Copy link
Owner

As well, just an aside, I do get a crash there when my credentials aren't any good also on the emulator.

@noscript
Copy link
Author

noscript commented Jul 9, 2013

In Simulator it succeeds to log in. I add -Dtarget_arch=arm, so the complete command is

./build/gyp_chromium --depth=. -DOS=ios -Dinclude_tests=0 -Denable_protobuf=0 -Denable_video=0 -DTARGET_OS_IPHONE -Dtarget_arch=arm webrtcjingle.gyp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants