Ticket #69 (closed defect: fixed)

Opened 22 months ago

Last modified 5 weeks ago

Crash – std::bad_alloc

Reported by: ajk Owned by: ajk
Priority: major Milestone:
Component: General Keywords:
Cc: Sensitive: no

Description

terminate called after throwing an instance of 'std::bad_alloc'

what(): std::bad_alloc

alue[0x805aa4a]
[0xffffe400]
/lib/libc.so.6(gsignal+0x46)[0xb7462556]
/lib/libc.so.6(abort+0x188)[0xb7463d78]
/usr/lib/libstdc++.so.6(_ZN9gnu_cxx27verbose_terminate_handlerEv+0x158)[0xb7665988]
/usr/lib/libstdc++.so.6[0xb7663865]
/usr/lib/libstdc++.so.6[0xb76638a2]
/usr/lib/libstdc++.so.6[0xb76639da]
/usr/lib/libstdc++.so.6(_Znwj+0x83)[0xb7664033]
alue[0x80d6c8f]
alue[0x80d7057]
alue[0x80d7178]
alue[0x80d71ac]
/usr/lib/libgnutls.so.26(_gnutls_io_write_buffered+0x172)[0xb76b43f2]
/usr/lib/libgnutls.so.26(_gnutls_send_int+0x337)[0xb76b1017]
/usr/lib/libgnutls.so.26(gnutls_record_send+0x3b)[0xb76b127b]
alue[0x80e8727]
alue[0x80e4220]
alue[0x80d4b0c]
alue[0x80d4b51]
alue[0x80d4b8d]
alue[0x80dd149]
alue[0x80d497f]
alue[0x80d49a1]
alue[0x80dd82d]
alue[0x80dd8ab]
alue[0x8084706]
alue[0x80847f2]
alue[0x8084869]
alue[0x8070970]
alue[0x805a144]
/lib/libc.so.6(libc_start_main+0xe5)[0xb744e455]
alue(_ZNSt8ios_base4InitD1Ev+0x5d)[0x8059401]

Attachments

Change History

Changed 22 months ago by ajk

  • status changed from new to accepted

ajk@flowerpot[19:52:42]:~$ gdb --batch --ex 'info line *0x80d6c8f' alue
Line 144 of "/usr/include/c++/4.3/bits/stl_vector.h" starts at address 0x80d6c6b <_ZNSt12_Vector_baseIhSaIhEE11_M_allocateEj+11> and ends at 0x80d6c91.
ajk@flowerpot[19:52:58]:~$ gdb --batch --ex 'info line *0x80d7057' alue
Line 316 of "/usr/include/c++/4.3/bits/vector.tcc" starts at address 0x80d7057 <_ZNSt6vectorIhSaIhEE13_M_insert_auxEN9gnu_cxx17normal_iteratorIPhS1_EERKh+167>

and ends at 0x80d705a <_ZNSt6vectorIhSaIhEE13_M_insert_auxEN9gnu_cxx17normal_iteratorIPhS1_EERKh+170>.

ajk@flowerpot[19:53:08]:~$ gdb --batch --ex 'info line *0x80d7178' alue
Line 695 of "/usr/include/c++/4.3/bits/stl_vector.h" starts at address 0x80d7178 <_ZNSt6vectorIhSaIhEE9push_backERKh+88> and ends at 0x80d717d.
ajk@flowerpot[19:53:21]:~$ gdb --batch --ex 'info line *0x80d71ac' alue
Line 69 of "nntp/../tls/session_impl.hh" starts at address 0x80d71ac <_ZN3tls12session_implIRN5boost4asio19basic_stream_socketINS2_2ip3tcpENS2_21stream_socket_serviceIS5_EEEEE4pushEPKvj+44>

and ends at 0x80d71b0 <_ZN3tls12session_implIRN5boost4asio19basic_stream_socketINS2_2ip3tcpENS2_21stream_socket_serviceIS5_EEEEE4pushEPKvj+48>.

ajk@flowerpot[19:53:32]:~$ gdb --batch --ex 'info line *0x80e8727' alue
Line 408 of "http/../tls/session_impl.hh"

starts at address 0x80e8727 <_ZN3tls12session_implIRN5boost4asio19basic_stream_socketINS2_2ip3tcpENS2_21stream_socket_serviceIS5_EEEEE15write_initiatorINS2_6detail13write_handlerINS_7sessionIS9_EENS2_15const_buffers_1ENSC_14transfer_all_tENS1_3_bi6bind_tIvPFvNS1_10shared_ptrIN4http10connectionEEENSK_INSL_8responseEEENS1_6system10error_codeEjENSI_5list4INSI_5valueISN_EENSV_ISP_EENS1_3argILi1EEENSY_ILi2EEEEEEEEEE13gnutls_actionEv+71> and ends at 0x80e8734.

ajk@flowerpot[19:53:47]:~$ gdb --batch --ex 'info line *0x80e4220' alue
Line 341 of "http/../tls/session_impl.hh"

starts at address 0x80e4220 <_ZN3tls12session_implIRN5boost4asio19basic_stream_socketINS2_2ip3tcpENS2_21stream_socket_serviceIS5_EEEEE12io_initiatorINS2_6detail13write_handlerINS_7sessionIS9_EENS2_15const_buffers_1ENSC_14transfer_all_tENS1_3_bi6bind_tIvPFvNS1_10shared_ptrIN4http10connectionEEENSK_INSL_8responseEEENS1_6system10error_codeEjENSI_5list4INSI_5valueISN_EENSV_ISP_EENS1_3argILi1EEENSY_ILi2EEEEEEEEEEclENSK_INSA_14initiator_baseEEE+240>
and ends at 0x80e4222 <_ZN3tls12session_implIRN5boost4asio19basic_stream_socketINS2_2ip3tcpENS2_21stream_socket_serviceIS5_EEEEE12io_initiatorINS2_6detail13write_handlerINS_7sessionIS9_EENS2_15const_buffers_1ENSC_14transfer_all_tENS1_3_bi6bind_tIvPFvNS1_10shared_ptrIN4http10connectionEEENSK_INSL_8responseEEENS1_6system10error_codeEjENSI_5list4INSI_5valueISN_EENSV_ISP_EENS1_3argILi1EEENSY_ILi2EEEEEEEEEEclENSK_INSA_14initiator_baseEEE+242>.

ajk@flowerpot[19:54:03]:~$ gdb --batch --ex 'info line *0x80d4b0c' alue
Line 144 of "nntp/../tls/session.hh" starts at address 0x80d4ae2 <_ZN3tls12session_implIRN5boost4asio19basic_stream_socketINS2_2ip3tcpENS2_21stream_socket_serviceIS5_EEEEE6actionclEv+18>

and ends at 0x80d4b33.

ajk@flowerpot[19:54:26]:~$ gdb --batch --ex 'info line *0x80d4b51' alue
Line 63 of "/usr/include/boost/asio/handler_invoke_hook.hpp"

starts at address 0x80d4b51 <_ZN5boost4asio19asio_handler_invokeIN3tls12session_implIRNS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEEE6actionEEEvT_z+17>
and ends at 0x80d4b53.

ajk@flowerpot[19:54:51]:~$ gdb --batch --ex 'info line *0x80d4b8d' alue
Line 39 of "/usr/include/boost/asio/detail/handler_invoke_helpers.hpp"

starts at address 0x80d4b72 <_ZN33boost_asio_handler_invoke_helpers6invokeIN3tls12session_implIRN5boost4asio19basic_stream_socketINS4_2ip3tcpENS4_21stream_socket_serviceIS7_EEEEE6actionESD_EEvRKT_PT0_+18>
and ends at 0x80d4b95 <_ZN33boost_asio_handler_invoke_helpers6invokeIN3tls12session_implIRN5boost4asio19basic_stream_socketINS4_2ip3tcpENS4_21stream_socket_serviceIS7_EEEEE6actionESD_EEvRKT_PT0_+53>.

ajk@flowerpot[19:55:10]:~$ gdb --batch --ex 'info line *0x80dd149' alue
Line 334 of "/usr/include/boost/asio/detail/strand_service.hpp"

starts at address 0x80dd13d <_ZN5boost4asio6detail14strand_service15handler_wrapperIN3tls12session_implIRNS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS8_EEEEE6actionEE9do_invokeEPNS2_12handler_baseERS2_RNS_13intrusive_ptrINS2_11strand_implEEE+141>
and ends at 0x80dd17a <_ZN5boost4asio6detail14strand_service15handler_wrapperIN3tls12session_implIRNS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS8_EEEEE6actionEE9do_invokeEPNS2_12handler_baseERS2_RNS_13intrusive_ptrINS2_11strand_implEEE+202>.

Changed 22 months ago by ajk

ajk@flowerpot[19:56:05]:~$ gdb --batch --ex 'info line *0x80d497f' alue
Line 218 of "/usr/include/boost/asio/detail/strand_service.hpp" starts at address 0x80d497f <_ZN5boost4asio6detail14strand_service22invoke_current_handlerclEv+47> and ends at 0x80d4989.
ajk@flowerpot[19:56:19]:~$ gdb --batch --ex 'info line *0x80d49a1' alue
Line 63 of "/usr/include/boost/asio/handler_invoke_hook.hpp" starts at address 0x80d49a1 <_ZN5boost4asio19asio_handler_invokeINS0_6detail14strand_service22invoke_current_handlerEEEvT_z+17>

and ends at 0x80d49a3.

ajk@flowerpot[19:56:35]:~$ gdb --batch --ex 'info line *0x80dd82d' alue
Line 39 of "/usr/include/boost/asio/detail/handler_invoke_helpers.hpp"

starts at address 0x80dd812 <_ZN33boost_asio_handler_invoke_helpers6invokeIN5boost4asio6detail14strand_service22invoke_current_handlerES5_EEvRKT_PT0_+18>
and ends at 0x80dd835 <_ZN33boost_asio_handler_invoke_helpers6invokeIN5boost4asio6detail14strand_service22invoke_current_handlerES5_EEvRKT_PT0_+53>.

ajk@flowerpot[19:56:50]:~$ gdb --batch --ex 'info line *0x80dd8ab' alue
Line 192 of "/usr/include/boost/asio/detail/handler_queue.hpp"

starts at address 0x80dd89f <_ZN5boost4asio6detail13handler_queue15handler_wrapperINS1_14strand_service22invoke_current_handlerEE7do_callEPNS2_7handlerE+63>
and ends at 0x80dd8bb <_ZN5boost4asio6detail13handler_queue15handler_wrapperINS1_14strand_service22invoke_current_handlerEE7do_callEPNS2_7handlerE+91>.

ajk@flowerpot[19:57:04]:~$ gdb --batch --ex 'info line *0x8084706' alue
Line 270 of "/usr/include/boost/asio/detail/task_io_service.hpp"

starts at address 0x8084706 <_ZN5boost4asio6detail15task_io_serviceINS1_13epoll_reactorILb0EEEE6do_oneERNS1_11scoped_lockINS1_11posix_mutexEEEPNS5_16idle_thread_infoERNS_6system10error_codeE+454> and ends at 0x808471f <_ZN5boost4asio6detail15task_io_serviceINS1_13epoll_reactorILb0EEEE6do_oneERNS1_11scoped_lockINS1_11posix_mutexEEEPNS5_16idle_thread_infoERNS_6system10error_codeE+479>.

ajk@flowerpot[19:57:20]:~$ gdb --batch --ex 'info line *0x80847f2' alue
Line 130 of "/usr/include/boost/asio/detail/task_io_service.hpp" starts at address 0x80847d7 <_ZN5boost4asio6detail15task_io_serviceINS1_13epoll_reactorILb0EEEE4pollERNS_6system10error_codeE+71>

and ends at 0x80847f6 <_ZN5boost4asio6detail15task_io_serviceINS1_13epoll_reactorILb0EEEE4pollERNS_6system10error_codeE+102>.

ajk@flowerpot[19:57:37]:~$ gdb --batch --ex 'info line *0x8084869' alue
Line 85 of "/usr/include/boost/asio/impl/io_service.ipp" starts at address 0x8084869 <_ZN5boost4asio10io_service4pollEv+41> and ends at 0x808486c <_ZN5boost4asio10io_service4pollEv+44>.
ajk@flowerpot[19:57:51]:~$ gdb --batch --ex 'info line *0x8070970' alue
Line 128 of "server.cc" starts at address 0x8070966 <_ZN6server3runEv+38> and ends at 0x8070980 <server>.
ajk@flowerpot[19:58:05]:~$ gdb --batch --ex 'info line *0x805a144' alue
Line 198 of "alue_posix.cc" starts at address 0x805a13c <main+2300> and ends at 0x805a176 <main+2358>.

Changed 22 months ago by ajk

  • summary changed from Crash to Crash – std::bad_alloc

Changed 22 months ago by ajk

  • status changed from accepted to closed
  • resolution set to fixed

The immediate cause is addressed by changeset:08f5bd75ad170e6b8177b93e98f40d0f8a51b9d2

Add/Change #69 (Crash – std::bad_alloc)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
The resolution will be deleted. Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.