Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-6835

Regular crashes by segv

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • qpid-cpp-0.34
    • None
    • C++ Client
    • None
    • Raspberry 2B, wheezy, Linux 4.1.7-v7+ #817 SMP PREEMPT

    Description

      Being QPID the foundation for the AgoControl application, various of the AgoControl processes appear to crash with a SEGV at the same spot as gdb trace below shows. Having just to little experience in really digging this through:

      pi@pi-03 ~ $ gdb /opt/agocontrol/bin/agoplugwise /var/crash/25098-109-112-11-1446733457-pi-03.mynet.local-!opt!agocontrol!bin!agoplugwise.core
      GNU gdb (GDB) 7.4.1-debian
      Copyright (C) 2012 Free Software Foundation, Inc.
      License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
      This is free software: you are free to change and redistribute it.
      There is NO WARRANTY, to the extent permitted by law. Type "show copying"
      and "show warranty" for details.
      This GDB was configured as "arm-linux-gnueabihf".
      For bug reporting instructions, please see:
      <http://www.gnu.org/software/gdb/bugs/>...
      Reading symbols from /opt/agocontrol/bin/agoplugwise...(no debugging symbols found)...done.
      [New LWP 25098]
      [New LWP 25531]
      [New LWP 25530]
      [New LWP 25133]

      warning: Can't read pathname for load map: Input/output error.
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
      Core was generated by `/opt/agocontrol/bin/agoplugwise '.
      Program terminated with signal 11, Segmentation fault.
      #0 0x00000000 in ?? ()
      (gdb) bt
      #0 0x00000000 in ?? ()
      #1 0x76785804 in qpid::framing::AMQFrame::getMethod (this=0x74701edc) at /home/pi/qpidd/qpid-cpp-0.34/src/qpid/framing/AMQFrame.h:49
      #2 0x767be73c in qpid::framing::FrameSet::getMethod (this=0x74701ed8) at /home/pi/qpidd/qpid-cpp-0.34/src/qpid/framing/FrameSet.cpp:63
      #3 0x76e5bb4c in qpid::framing::FrameSet::isA<qpid::framing::MessageTransferBody> (this=0x74701ed8) at /home/pi/qpidd/qpid-cpp-0.34/src/qpid/framing/FrameSet.h:77
      #4 0x76e57650 in qpid::client::amqp0_10::IncomingMessages::process (this=0x75900608, handler=0x7eaae674, duration=...)
      at /home/pi/qpidd/qpid-cpp-0.34/src/qpid/client/amqp0_10/IncomingMessages.cpp:285
      #5 0x76e56784 in qpid::client::amqp0_10::IncomingMessages::get (this=0x75900608, handler=..., timeout=...)
      at /home/pi/qpidd/qpid-cpp-0.34/src/qpid/client/amqp0_10/IncomingMessages.cpp:167
      #6 0x76e683e8 in qpid::client::amqp0_10::SessionImpl::getIncoming (this=0x759005d8, handler=..., timeout=...)
      at /home/pi/qpidd/qpid-cpp-0.34/src/qpid/client/amqp0_10/SessionImpl.cpp:380
      #7 0x76e68568 in qpid::client::amqp0_10::SessionImpl::get (this=0x759005d8, receiver=..., message=..., timeout=...)
      at /home/pi/qpidd/qpid-cpp-0.34/src/qpid/client/amqp0_10/SessionImpl.cpp:387
      #8 0x76e61d98 in qpid::client::amqp0_10::ReceiverImpl::getImpl (this=0x75901d38, message=..., timeout=...)
      at /home/pi/qpidd/qpid-cpp-0.34/src/qpid/client/amqp0_10/ReceiverImpl.cpp:169
      #9 0x76e621e8 in qpid::client::amqp0_10::ReceiverImpl::fetchImpl (this=0x75901d38, message=..., timeout=...)
      at /home/pi/qpidd/qpid-cpp-0.34/src/qpid/client/amqp0_10/ReceiverImpl.cpp:204
      #10 0x76e62e28 in qpid::client::amqp0_10::ReceiverImpl::Fetch::operator() (this=0x7eaae850) at /home/pi/qpidd/qpid-cpp-0.34/src/qpid/client/amqp0_10/ReceiverImpl.h:119
      #11 0x76e638bc in qpid::client::amqp0_10::SessionImpl::execute<qpid::client::amqp0_10::ReceiverImpl::Fetch> (this=0x759005d8, f=...)
      at /home/pi/qpidd/qpid-cpp-0.34/src/qpid/client/amqp0_10/SessionImpl.h:102
      #12 0x76e61438 in qpid::client::amqp0_10::ReceiverImpl::fetch (this=0x75901d38, message=..., timeout=...)
      at /home/pi/qpidd/qpid-cpp-0.34/src/qpid/client/amqp0_10/ReceiverImpl.cpp:73
      #13 0x76e612c4 in qpid::client::amqp0_10::ReceiverImpl::fetch (this=0x75901d38, timeout=...) at /home/pi/qpidd/qpid-cpp-0.34/src/qpid/client/amqp0_10/ReceiverImpl.cpp:59
      #14 0x76e8cc9c in qpid::messaging::Receiver::fetch (this=0x2032d60, timeout=...) at /home/pi/qpidd/qpid-cpp-0.34/src/qpid/messaging/Receiver.cpp:52
      #15 0x76f83844 in agocontrol::AgoConnection::run() () from /usr/lib/libagoclient.so.1
      #16 0x76f8df40 in agocontrol::AgoApp::appMain() () from /usr/lib/libagoclient.so.1

      Attachments

        Activity

          People

            Unassigned Unassigned
            turboproc Roland Barenbrug
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: