Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 671134 Details for
Bug 754012
net-im/telegram-desktop with webrtc use flag crashes when making audio calls
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
valgrind detect invalid memory writes
tgmemcheck.txt (text/plain), 13.15 KB, created by
Михаил
on 2020-11-12 19:45:17 UTC
(
hide
)
Description:
valgrind detect invalid memory writes
Filename:
MIME Type:
Creator:
Михаил
Created:
2020-11-12 19:45:17 UTC
Size:
13.15 KB
patch
obsolete
>==34802== Thread 27: >==34802== Invalid write of size 8 >==34802== at 0x730E3DC: _Vector_impl_data (stl_vector.h:95) >==34802== by 0x730E3DC: _Vector_impl (stl_vector.h:130) >==34802== by 0x730E3DC: _Vector_base (stl_vector.h:285) >==34802== by 0x730E3DC: vector (stl_vector.h:484) >==34802== by 0x730E3DC: cricket::PortAllocator::PortAllocator() (port_allocator.cc:101) >==34802== by 0x73381A9: cricket::BasicPortAllocator::BasicPortAllocator(rtc::NetworkManager*, rtc::PacketSocketFactory*, webrtc::TurnCustomizer*, cricket::RelayPortFactoryInterface*) (basic_port_allocator.cc:159) >==34802== by 0x57DC05: tgcalls::NetworkManager::start() (NetworkManager.cpp:93) >==34802== by 0x57E4CD: rtc::rtc_thread_internal::MessageWithFunctor<void tgcalls::ThreadLocalObject<tgcalls::NetworkManager>::perform<tgcalls::Manager::start()::{lambda(tgcalls::NetworkManager*)#4}>(rtc::Location const&, tgcalls::Manager::start()::{lambda(tgcalls::NetworkManager*)#4}&&)::{lambda()#1}>::Run() [clone .lto_priv.0] (Manager.cpp:265) >==34802== by 0x6E1FDA3: rtc::(anonymous namespace)::MessageHandlerWithTask::OnMessage(rtc::Message*) (thread.cc:78) >==34802== by 0x6E2037F: rtc::Thread::Dispatch(rtc::Message*) (thread.cc:664) >==34802== by 0x6E20BB7: rtc::Thread::ProcessMessages(int) (thread.cc:1000) >==34802== by 0x6E20C47: rtc::Thread::Run() (thread.cc:842) >==34802== by 0x6E22596: rtc::Thread::PreRun(void*) (thread.cc:831) >==34802== by 0x4CABEDD: start_thread (pthread_create.c:463) >==34802== by 0x498010E: clone (clone.S:95) >==34802== Address 0x171bfd18 is 0 bytes after a block of size 616 alloc'd >==34802== at 0x4838E0F: operator new(unsigned long) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) >==34802== by 0x57DBEB: tgcalls::NetworkManager::start() (NetworkManager.cpp:93) >==34802== by 0x57E4CD: rtc::rtc_thread_internal::MessageWithFunctor<void tgcalls::ThreadLocalObject<tgcalls::NetworkManager>::perform<tgcalls::Manager::start()::{lambda(tgcalls::NetworkManager*)#4}>(rtc::Location const&, tgcalls::Manager::start()::{lambda(tgcalls::NetworkManager*)#4}&&)::{lambda()#1}>::Run() [clone .lto_priv.0] (Manager.cpp:265) >==34802== by 0x6E1FDA3: rtc::(anonymous namespace)::MessageHandlerWithTask::OnMessage(rtc::Message*) (thread.cc:78) >==34802== by 0x6E2037F: rtc::Thread::Dispatch(rtc::Message*) (thread.cc:664) >==34802== by 0x6E20BB7: rtc::Thread::ProcessMessages(int) (thread.cc:1000) >==34802== by 0x6E20C47: rtc::Thread::Run() (thread.cc:842) >==34802== by 0x6E22596: rtc::Thread::PreRun(void*) (thread.cc:831) >==34802== by 0x4CABEDD: start_thread (pthread_create.c:463) >==34802== by 0x498010E: clone (clone.S:95) >==34802== >==34802== Invalid write of size 1 >==34802== at 0x730E3E7: cricket::PortAllocator::PortAllocator() (port_allocator.cc:101) >==34802== by 0x73381A9: cricket::BasicPortAllocator::BasicPortAllocator(rtc::NetworkManager*, rtc::PacketSocketFactory*, webrtc::TurnCustomizer*, cricket::RelayPortFactoryInterface*) (basic_port_allocator.cc:159) >==34802== by 0x57DC05: tgcalls::NetworkManager::start() (NetworkManager.cpp:93) >==34802== by 0x57E4CD: rtc::rtc_thread_internal::MessageWithFunctor<void tgcalls::ThreadLocalObject<tgcalls::NetworkManager>::perform<tgcalls::Manager::start()::{lambda(tgcalls::NetworkManager*)#4}>(rtc::Location const&, tgcalls::Manager::start()::{lambda(tgcalls::NetworkManager*)#4}&&)::{lambda()#1}>::Run() [clone .lto_priv.0] (Manager.cpp:265) >==34802== by 0x6E1FDA3: rtc::(anonymous namespace)::MessageHandlerWithTask::OnMessage(rtc::Message*) (thread.cc:78) >==34802== by 0x6E2037F: rtc::Thread::Dispatch(rtc::Message*) (thread.cc:664) >==34802== by 0x6E20BB7: rtc::Thread::ProcessMessages(int) (thread.cc:1000) >==34802== by 0x6E20C47: rtc::Thread::Run() (thread.cc:842) >==34802== by 0x6E22596: rtc::Thread::PreRun(void*) (thread.cc:831) >==34802== by 0x4CABEDD: start_thread (pthread_create.c:463) >==34802== by 0x498010E: clone (clone.S:95) >==34802== Address 0x171bfd20 is 8 bytes after a block of size 616 alloc'd >==34802== at 0x4838E0F: operator new(unsigned long) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) >==34802== by 0x57DBEB: tgcalls::NetworkManager::start() (NetworkManager.cpp:93) >==34802== by 0x57E4CD: rtc::rtc_thread_internal::MessageWithFunctor<void tgcalls::ThreadLocalObject<tgcalls::NetworkManager>::perform<tgcalls::Manager::start()::{lambda(tgcalls::NetworkManager*)#4}>(rtc::Location const&, tgcalls::Manager::start()::{lambda(tgcalls::NetworkManager*)#4}&&)::{lambda()#1}>::Run() [clone .lto_priv.0] (Manager.cpp:265) >==34802== by 0x6E1FDA3: rtc::(anonymous namespace)::MessageHandlerWithTask::OnMessage(rtc::Message*) (thread.cc:78) >==34802== by 0x6E2037F: rtc::Thread::Dispatch(rtc::Message*) (thread.cc:664) >==34802== by 0x6E20BB7: rtc::Thread::ProcessMessages(int) (thread.cc:1000) >==34802== by 0x6E20C47: rtc::Thread::Run() (thread.cc:842) >==34802== by 0x6E22596: rtc::Thread::PreRun(void*) (thread.cc:831) >==34802== by 0x4CABEDD: start_thread (pthread_create.c:463) >==34802== by 0x498010E: clone (clone.S:95) >==34802== >==34802== Invalid write of size 4 >==34802== at 0x730E3EE: cricket::PortAllocator::PortAllocator() (port_allocator.cc:101) >==34802== by 0x73381A9: cricket::BasicPortAllocator::BasicPortAllocator(rtc::NetworkManager*, rtc::PacketSocketFactory*, webrtc::TurnCustomizer*, cricket::RelayPortFactoryInterface*) (basic_port_allocator.cc:159) >==34802== by 0x57DC05: tgcalls::NetworkManager::start() (NetworkManager.cpp:93) >==34802== by 0x57E4CD: rtc::rtc_thread_internal::MessageWithFunctor<void tgcalls::ThreadLocalObject<tgcalls::NetworkManager>::perform<tgcalls::Manager::start()::{lambda(tgcalls::NetworkManager*)#4}>(rtc::Location const&, tgcalls::Manager::start()::{lambda(tgcalls::NetworkManager*)#4}&&)::{lambda()#1}>::Run() [clone .lto_priv.0] (Manager.cpp:265) >==34802== by 0x6E1FDA3: rtc::(anonymous namespace)::MessageHandlerWithTask::OnMessage(rtc::Message*) (thread.cc:78) >==34802== by 0x6E2037F: rtc::Thread::Dispatch(rtc::Message*) (thread.cc:664) >==34802== by 0x6E20BB7: rtc::Thread::ProcessMessages(int) (thread.cc:1000) >==34802== by 0x6E20C47: rtc::Thread::Run() (thread.cc:842) >==34802== by 0x6E22596: rtc::Thread::PreRun(void*) (thread.cc:831) >==34802== by 0x4CABEDD: start_thread (pthread_create.c:463) >==34802== by 0x498010E: clone (clone.S:95) >==34802== Address 0x171bfd24 is 12 bytes after a block of size 616 alloc'd >==34802== at 0x4838E0F: operator new(unsigned long) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) >==34802== by 0x57DBEB: tgcalls::NetworkManager::start() (NetworkManager.cpp:93) >==34802== by 0x57E4CD: rtc::rtc_thread_internal::MessageWithFunctor<void tgcalls::ThreadLocalObject<tgcalls::NetworkManager>::perform<tgcalls::Manager::start()::{lambda(tgcalls::NetworkManager*)#4}>(rtc::Location const&, tgcalls::Manager::start()::{lambda(tgcalls::NetworkManager*)#4}&&)::{lambda()#1}>::Run() [clone .lto_priv.0] (Manager.cpp:265) >==34802== by 0x6E1FDA3: rtc::(anonymous namespace)::MessageHandlerWithTask::OnMessage(rtc::Message*) (thread.cc:78) >==34802== by 0x6E2037F: rtc::Thread::Dispatch(rtc::Message*) (thread.cc:664) >==34802== by 0x6E20BB7: rtc::Thread::ProcessMessages(int) (thread.cc:1000) >==34802== by 0x6E20C47: rtc::Thread::Run() (thread.cc:842) >==34802== by 0x6E22596: rtc::Thread::PreRun(void*) (thread.cc:831) >==34802== by 0x4CABEDD: start_thread (pthread_create.c:463) >==34802== by 0x498010E: clone (clone.S:95) >==34802== >==34802== Invalid write of size 8 >==34802== at 0x730E3F8: cricket::PortAllocator::PortAllocator() (port_allocator.cc:101) >==34802== by 0x73381A9: cricket::BasicPortAllocator::BasicPortAllocator(rtc::NetworkManager*, rtc::PacketSocketFactory*, webrtc::TurnCustomizer*, cricket::RelayPortFactoryInterface*) (basic_port_allocator.cc:159) >==34802== by 0x57DC05: tgcalls::NetworkManager::start() (NetworkManager.cpp:93) >==34802== by 0x57E4CD: rtc::rtc_thread_internal::MessageWithFunctor<void tgcalls::ThreadLocalObject<tgcalls::NetworkManager>::perform<tgcalls::Manager::start()::{lambda(tgcalls::NetworkManager*)#4}>(rtc::Location const&, tgcalls::Manager::start()::{lambda(tgcalls::NetworkManager*)#4}&&)::{lambda()#1}>::Run() [clone .lto_priv.0] (Manager.cpp:265) >==34802== by 0x6E1FDA3: rtc::(anonymous namespace)::MessageHandlerWithTask::OnMessage(rtc::Message*) (thread.cc:78) >==34802== by 0x6E2037F: rtc::Thread::Dispatch(rtc::Message*) (thread.cc:664) >==34802== by 0x6E20BB7: rtc::Thread::ProcessMessages(int) (thread.cc:1000) >==34802== by 0x6E20C47: rtc::Thread::Run() (thread.cc:842) >==34802== by 0x6E22596: rtc::Thread::PreRun(void*) (thread.cc:831) >==34802== by 0x4CABEDD: start_thread (pthread_create.c:463) >==34802== by 0x498010E: clone (clone.S:95) >==34802== Address 0x171bfd28 is 16 bytes after a block of size 616 alloc'd >==34802== at 0x4838E0F: operator new(unsigned long) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) >==34802== by 0x57DBEB: tgcalls::NetworkManager::start() (NetworkManager.cpp:93) >==34802== by 0x57E4CD: rtc::rtc_thread_internal::MessageWithFunctor<void tgcalls::ThreadLocalObject<tgcalls::NetworkManager>::perform<tgcalls::Manager::start()::{lambda(tgcalls::NetworkManager*)#4}>(rtc::Location const&, tgcalls::Manager::start()::{lambda(tgcalls::NetworkManager*)#4}&&)::{lambda()#1}>::Run() [clone .lto_priv.0] (Manager.cpp:265) >==34802== by 0x6E1FDA3: rtc::(anonymous namespace)::MessageHandlerWithTask::OnMessage(rtc::Message*) (thread.cc:78) >==34802== by 0x6E2037F: rtc::Thread::Dispatch(rtc::Message*) (thread.cc:664) >==34802== by 0x6E20BB7: rtc::Thread::ProcessMessages(int) (thread.cc:1000) >==34802== by 0x6E20C47: rtc::Thread::Run() (thread.cc:842) >==34802== by 0x6E22596: rtc::Thread::PreRun(void*) (thread.cc:831) >==34802== by 0x4CABEDD: start_thread (pthread_create.c:463) >==34802== by 0x498010E: clone (clone.S:95) >==34802== >==34802== Invalid write of size 1 >==34802== at 0x730E403: _Optional_payload_base (optional:108) >==34802== by 0x730E403: _Optional_payload (optional:300) >==34802== by 0x730E403: _Optional_base (optional:600) >==34802== by 0x730E403: optional (optional:688) >==34802== by 0x730E403: cricket::PortAllocator::PortAllocator() (port_allocator.cc:101) >==34802== by 0x73381A9: cricket::BasicPortAllocator::BasicPortAllocator(rtc::NetworkManager*, rtc::PacketSocketFactory*, webrtc::TurnCustomizer*, cricket::RelayPortFactoryInterface*) (basic_port_allocator.cc:159) >==34802== by 0x57DC05: tgcalls::NetworkManager::start() (NetworkManager.cpp:93) >==34802== by 0x57E4CD: rtc::rtc_thread_internal::MessageWithFunctor<void tgcalls::ThreadLocalObject<tgcalls::NetworkManager>::perform<tgcalls::Manager::start()::{lambda(tgcalls::NetworkManager*)#4}>(rtc::Location const&, tgcalls::Manager::start()::{lambda(tgcalls::NetworkManager*)#4}&&)::{lambda()#1}>::Run() [clone .lto_priv.0] (Manager.cpp:265) >==34802== by 0x6E1FDA3: rtc::(anonymous namespace)::MessageHandlerWithTask::OnMessage(rtc::Message*) (thread.cc:78) >==34802== by 0x6E2037F: rtc::Thread::Dispatch(rtc::Message*) (thread.cc:664) >==34802== by 0x6E20BB7: rtc::Thread::ProcessMessages(int) (thread.cc:1000) >==34802== by 0x6E20C47: rtc::Thread::Run() (thread.cc:842) >==34802== by 0x6E22596: rtc::Thread::PreRun(void*) (thread.cc:831) >==34802== by 0x4CABEDD: start_thread (pthread_create.c:463) >==34802== by 0x498010E: clone (clone.S:95) >==34802== Address 0x171bfd34 is 20 bytes after a block of size 624 in arena "client" >==34802== >==34802== Invalid write of size 1 >==34802== at 0x730E40A: cricket::PortAllocator::PortAllocator() (port_allocator.cc:101) >==34802== by 0x73381A9: cricket::BasicPortAllocator::BasicPortAllocator(rtc::NetworkManager*, rtc::PacketSocketFactory*, webrtc::TurnCustomizer*, cricket::RelayPortFactoryInterface*) (basic_port_allocator.cc:159) >==34802== by 0x57DC05: tgcalls::NetworkManager::start() (NetworkManager.cpp:93) >==34802== by 0x57E4CD: rtc::rtc_thread_internal::MessageWithFunctor<void tgcalls::ThreadLocalObject<tgcalls::NetworkManager>::perform<tgcalls::Manager::start()::{lambda(tgcalls::NetworkManager*)#4}>(rtc::Location const&, tgcalls::Manager::start()::{lambda(tgcalls::NetworkManager*)#4}&&)::{lambda()#1}>::Run() [clone .lto_priv.0] (Manager.cpp:265) >==34802== by 0x6E1FDA3: rtc::(anonymous namespace)::MessageHandlerWithTask::OnMessage(rtc::Message*) (thread.cc:78) >==34802== by 0x6E2037F: rtc::Thread::Dispatch(rtc::Message*) (thread.cc:664) >==34802== by 0x6E20BB7: rtc::Thread::ProcessMessages(int) (thread.cc:1000) >==34802== by 0x6E20C47: rtc::Thread::Run() (thread.cc:842) >==34802== by 0x6E22596: rtc::Thread::PreRun(void*) (thread.cc:831) >==34802== by 0x4CABEDD: start_thread (pthread_create.c:463) >==34802== by 0x498010E: clone (clone.S:95) >==34802== Address 0x171bfd38 is 24 bytes after a block of size 624 in arena "client" >==34802== > >valgrind: m_mallocfree.c:303 (get_bszB_as_is): Assertion 'bszB_lo == bszB_hi' failed. >valgrind: Heap block lo/hi size mismatch: lo = 688, hi = 512. >This is probably caused by your program erroneously writing past the >end of a heap block and corrupting heap metadata. If you fix any >invalid writes reported by Memcheck, this assertion failure will >probably go away. Please try that before reporting this as a bug.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 754012
: 671134