cURL / Mailing Lists / curl-library / Single Mail

curl-library

assert on http2.c on_frame_recv

From: Inca R <incarose_at_gmail.com>
Date: Thu, 22 Oct 2015 14:21:23 -0700

Hi;
Everything was good on 7.43.0 but when upgrading to 7.45.0 my app start
crashing on
http2.c line 411:

  conn = data_s->easy_conn;
  assert(conn);
*==>* assert(conn->data == data_s); *<==*
  httpc = &conn->proto.httpc;
  switch(frame->hd.type) {

This is the thread dump:

0 libsystem_kernel.dylib 0x0000000198a8f1e0 __pthread_kill + 8

1 libsystem_pthread.dylib 0x0000000198b58f0c pthread_kill + 112

2 libsystem_c.dylib 0x0000000198a02c18 __abort + 148

3 libsystem_c.dylib 0x0000000198a02b84 __abort + 0

4 libsystem_c.dylib 0x00000001989d7b50 basename + 0

5 MyApp 0x00000001040d5744 on_frame_recv + 360

6 MyApp 0x000000010408e10c
session_call_on_frame_received (nghttp2_session.c:2892)

7 MyApp 0x0000000104092304
session_after_header_block_received (nghttp2_session.c:3324)

8 MyApp 0x0000000104090a00
nghttp2_session_mem_recv (nghttp2_session.c:5427)

9 MyApp 0x00000001040d6dcc http2_recv + 1288

10 MyApp 0x00000001040ac98c Curl_read + 580

11 MyApp 0x00000001040bcde8 readwrite_data + 248

12 MyApp 0x00000001040bc8c0 Curl_readwrite + 340

13 MyApp 0x00000001040c6e68 multi_runsingle + 4764

14 MyApp 0x00000001040c5ab8 curl_multi_perform +
244

15 MyApp 0x00000001014862d0
myapp::http::request_processor::detail::multi_perform(char const*, int*)
(http.cpp:3807)

16 MyApp 0x0000000101482ebc
myapp::http::request_processor::detail::event_loop_i() (http.cpp:4362)

17 MyApp 0x00000001014827a8
myapp::http::request_processor::detail::thread_main() (http.cpp:3580)

18 MyApp 0x0000000101493244 void
std::__1::__invoke_void_return_wrapper<void>::__call<std::__1::__bind<void
(myapp::http::request_processor::detail::*)(),
std::__1::shared_ptr<myapp::http::request_processor::detail>
>&>(std::__1::__bind<void (myapp::http::request_processor::detail::*)(),
std::__1::shared_ptr<myapp::http::request_processor::detail> >&&&)
(__functional_base:441)

19 MyApp 0x0000000101492b0c
std::__1::__function::__func<std::__1::__bind<void
(myapp::http::request_processor::detail::*)(),
std::__1::shared_ptr<myapp::http::request_processor::detail> >,
std::__1::allocator<std::__1::__bind<void
(myapp::http::request_processor::detail::*)(),
std::__1::shared_ptr<myapp::http::request_processor::detail> > >, void
()>::operator()() (functional:1407)

20 MyApp 0x000000010375310c
std::__1::function<void ()>::operator()() const (functional:1793)

21 MyApp 0x0000000102d668cc
myapp::pr::thread::thread_function(void*) (thread.cpp:158)

22 MyApp 0x000000010371f210 thread_main
(os_core_unix.c:489)

23 libsystem_pthread.dylib 0x0000000198b57b3c _pthread_body + 156

24 libsystem_pthread.dylib 0x0000000198b57aa0 _pthread_body + 0

25 libsystem_pthread.dylib 0x0000000198b55030 thread_start + 4

Let me know if you need anything else.

Thanks
-- Inca

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-10-22