Open david-bui opened 7 years ago
More background info:
it failed.
as a check, and to have a basis for comparison, we also compiled libwebrtc using the instructions at webrtc.org, switched to release-branch 57, and did the same thing as above, and it worked.
I'm not sure about what's going on here, I needed to add these lines:
${ex_ROOT}/../../../base/asyncsocket.cc
${ex_ROOT}/../../../base/messagehandler.cc
${ex_ROOT}/../../../base/physicalsocketserver.cc
Please type the following line before running the process in gdb
:
set follow-fork-mode child
Then send me the whole input, I'm building peerconnection_server
in the meantime.
I'm having this right now:
Thread 1 "peerconnection_" received signal SIGSEGV, Segmentation fault.
0x00007ffff5f2b58f in std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) bt
#0 0x00007ffff5f2b58f in std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*) () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#1 0x0000000000428099 in void std::list<sigslot::_opaque_connection, std::allocator<sigslot::_opaque_connection> >::_M_insert<sigslot::_opaque_connection>(std::_List_iterator<sigslot::_opaque_connection>, sigslot::_opaque_connection&&) ()
#2 0x0000000000427751 in std::list<sigslot::_opaque_connection, std::allocator<sigslot::_opaque_connection> >::push_back(sigslot::_opaque_connection&&) ()
#3 0x0000000000426f77 in void sigslot::signal_with_thread_policy<sigslot::single_threaded, rtc::AsyncResolverInterface*>::connect<PeerConnectionClient>(PeerConnectionClient*, void (PeerConnectionClient::*)(rtc::AsyncResolverInterface*)) ()
#4 0x0000000000423543 in PeerConnectionClient::Connect(std::string const&, int, std::string const&) ()
#5 0x0000000000415906 in Conductor::StartLogin(std::string const&, int) ()
#6 0x000000000040e5b2 in GtkMainWnd::OnClicked(_GtkWidget*) ()
By the way, you should use GTK2 to avoid deprecated warnings and strange behaviour.
I'll try to replace the sample with peerconnection on my side tonight GMT+2
Le 18 mai 2017 18:17:07 GMT+02:00, alex gouaillard notifications@github.com a écrit :
More background info:
- we used your scripts
- we took the example code that come shipped with libwebrtc out.
- we compiled libwertc separately and installed it
- we then tried to build the example code separately using the provided cmakelists, and linked against the installed version of libwebrtc.
it failed.
as a check, and to have a basis for comparison, we also compiled libwebrtc using the instructions at webrtc.org, switched to release-branch 57, and did the same thing as above, and it worked.
- can you reproduce the problem?
- any idea what we are doing wrong?
-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/aisouard/libwebrtc/issues/46#issuecomment-302459699
-- Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
same error, i'm using gtk-2.0
Thread 1 "main" received signal SIGSEGV, Segmentation fault.
0x00000000004115b9 in sigslot::lock_block<sigslot::single_threaded>::lock_block (this=0x7fffffffbf70,
mtx=0x1210b30) at ../libwebrtc/include/webrtc/base/sigslot.h:257
257 m_mutex->lock();
ps: use ip address to avoid name resolver will skip the problem for temporary.
Hi,Is this problem solved?
Hello, I tried to run peerconnection_client example linked with libwebrtc.a but I end up with a segmentation fault. I am running on a Unix machine 16.04.1-Ubuntu x86_64.
After running your script, I run the attached CMakeLists.txt in a different directory :
Then
make
:[More Gtk warnings]
When I run the code and then I press Connect :
In gdb :
Is it linked to Gtk deprecated functions ?
Thank you
CMakeLists.txt