← Back to team overview

hugin-devs team mailing list archive

[Bug 1316702] Re: segfault loading multiple images in assistant

 

Hello,

here is what I get with rc3 (hugin built with -O0):

[...]
[Thread 0xe5bfeb40 (LWP 12214) exited]
Error: XMP Toolkit error 203: Duplicate property or field node
Warning: Failed to decode XMP metadata.
[New Thread 0xe5bfeb40 (LWP 12215)]
ContractViolation:
Precondition violation!
Unable to open file ''.

ERROR: 20:07:56.539886 (/tmp/HUGIN/hugin-2014.0.0/src/hugin_base/huginapp/ImageCache.cpp:697) loadImageSafely(): Error during image reading:
Precondition violation!
Unable to open file ''.

[Thread 0xe5bfeb40 (LWP 12215) exited]

Program received signal SIGSEGV, Segmentation fault.
HuginBase::ImageCache::postEvent (this=0x83a4338, request=..., entry=...)
    at /tmp/HUGIN/hugin-2014.0.0/src/hugin_base/huginapp/ImageCache.cpp:871
871         entry->lastAccess = m_accessCounter;
(gdb) bt full
#0  HuginBase::ImageCache::postEvent (this=0x83a4338, request=..., entry=...)
    at /tmp/HUGIN/hugin-2014.0.0/src/hugin_base/huginapp/ImageCache.cpp:871
        is_small_request = <optimized out>
        filename = <optimized out>
#1  0x080f6ad1 in huginApp::relayImageLoaded (this=0x8377120, event=...)
    at /tmp/HUGIN/hugin-2014.0.0/src/hugin1/hugin/huginApp.cpp:541
No locals.
#2  0xf7134766 in wxAppConsoleBase::HandleEvent (this=0x8377120, handler=
    0x8377120, func=
    (void (wxEvtHandler::*)(wxEvtHandler * const, wxEvent &)) 0x80f6a80 <huginApp::relayImageLoaded(ImageReadyEvent&)>, event=...)
    at ../src/common/appbase.cpp:611
No locals.
#3  0xf7134b8b in wxAppConsoleBase::CallEventHandler (this=0x8377120,
    handler=0x8377120, functor=..., event=...) at ../src/common/appbase.cpp:623
No locals.
#4  0xf72be1da in wxEvtHandler::ProcessEventIfMatchesId (entry=...,
    handler=0x8377120, event=...) at ../src/common/event.cpp:1384
        event = @0x9346f48: {<wxObject> = {
            _vptr.wxObject = 0x82790c8 <vtable for ImageReadyEvent+8>,
            static ms_classInfo = {m_className = 0xf72e8068 L"wxObject",
              m_objectSize = 8, m_objectConstructor = 0x0, m_baseInfo1 = 0x0,
              m_baseInfo2 = 0x0, static sm_first = 0x0,
              m_next = 0xf73627bc <wxMemoryOutputStream::ms_classInfo>,
              static sm_classTable = 0x8334918}, m_refData = 0x0},
          m_eventObject = 0x0, m_eventType = 10331, m_timeStamp = 0, m_id = 0,
          m_callbackUserData = 0x0, m_handlerToProcessOnlyIn = 0x0,
          m_propagationLevel = 0, m_propagatedFrom = 0x0, m_skipped = false,
          m_isCommandEvent = false, m_wasProcessed = true,
          m_willBeProcessedAgain = false, static ms_classInfo = {
            m_className = 0x0, m_objectSize = 0, m_objectConstructor = 0x0,
            m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x0,
            m_next = 0x0, static sm_classTable = 0x8334918}}
        handler = 0x8377120
        entry = @0x832ef80: {m_id = -1, m_lastId = -1, m_fn = 0x836ed38,
          m_callbackUserData = 0x0}
#5  0xf72be29a in wxEventHashTable::HandleEvent (
    this=0x832efa8 <huginApp::sm_eventHashTable>, event=...,
    self=self@entry=0x8377120) at ../src/common/event.cpp:990
        entry = <optimized out>
        n = 0
        eventEntryTable = @0x866419c: {<wxBaseArrayPtrVoid> = {m_nSize = 1,
            m_nCount = 1, m_pItems = 0x85d2c58}, <No data fields>}
        eTTnode = 0x8664198
#6  0xf72be673 in wxEvtHandler::TryHereOnly (this=this@entry=0x8377120,
    event=...) at ../src/common/event.cpp:1581
No locals.
#7  0xf72be6f4 in TryBeforeAndHere (event=..., this=0x8377120)
    at ../include/wx/event.h:3671
        event = @0x9346f48: {<wxObject> = {
            _vptr.wxObject = 0x82790c8 <vtable for ImageReadyEvent+8>,
            static ms_classInfo = {m_className = 0xf72e8068 L"wxObject",
              m_objectSize = 8, m_objectConstructor = 0x0, m_baseInfo1 = 0x0,
              m_baseInfo2 = 0x0, static sm_first = 0x0,
              m_next = 0xf73627bc <wxMemoryOutputStream::ms_classInfo>,
              static sm_classTable = 0x8334918}, m_refData = 0x0},
          m_eventObject = 0x0, m_eventType = 10331, m_timeStamp = 0, m_id = 0,
          m_callbackUserData = 0x0, m_handlerToProcessOnlyIn = 0x0,
          m_propagationLevel = 0, m_propagatedFrom = 0x0, m_skipped = false,
          m_isCommandEvent = false, m_wasProcessed = true,
          m_willBeProcessedAgain = false, static ms_classInfo = {
            m_className = 0x0, m_objectSize = 0, m_objectConstructor = 0x0,
            m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x0,
            m_next = 0x0, static sm_classTable = 0x8334918}}
        this = 0x8377120
#8  wxEvtHandler::ProcessEventLocally (this=this@entry=0x8377120, event=...)
    at ../src/common/event.cpp:1514
No locals.
#9  0xf72be755 in wxEvtHandler::ProcessEvent (this=0x8377120, event=...)
    at ../src/common/event.cpp:1487
        __FUNCTION__ = "ProcessEvent"
#10 0xf72bf786 in wxEvtHandler::ProcessPendingEvents (this=0x8377120)
    at ../src/common/event.cpp:1351
        __FUNCTION__ = "ProcessPendingEvents"
        node = <optimized out>
        pEvent = 0x9346f48
#11 0xf7138720 in wxAppConsoleBase::ProcessPendingEvents (this=0x8377120)
    at ../src/common/appbase.cpp:520
        this = 0x8377120
#12 0xf6d84dc0 in wxApp::DoIdle (this=0x8377120) at ../src/gtk/app.cpp:136
        id_save = 1167
        needMore = <optimized out>
        lock = <optimized out>
        keepSource = <optimized out>
#13 0xf6d84ecf in wxapp_idle_callback () at ../src/gtk/app.cpp:107
No locals.
#14 0xf5632d80 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#15 0xf56361d7 in g_main_context_dispatch ()
   from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#16 0xf5636598 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#17 0xf563689b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#18 0xf5d7be30 in gtk_main () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
No symbol table info available.
#19 0xf6d996ad in wxGUIEventLoop::DoRun (this=0x92dc198)
    at ../src/gtk/evtloop.cpp:65
        loopLevel = 1
#20 0xf717b400 in wxEventLoopBase::Run (this=0x92dc198)
    at ../src/common/evtloopcmn.cpp:78
        __FUNCTION__ = "Run"
        activate = {m_evtLoopOld = 0x8827670}
#21 0xf6dffcfa in wxDialog::ShowModal (this=this@entry=0xffffa4a8)
    at ../src/gtk/dialog.cpp:178
        modal = {<wxGUIEventLoopPtr> = {m_ptr = 0x92dc198}, m_pp = 0xffffa6c0,
          m_pOld = <optimized out>}
        modalDialogHookRC = <optimized out>
        __FUNCTION__ = "ShowModal"
        hookId = 462
        modalDialogHookExit = {m_dialog = 0xffffa4a8}
        win = <optimized out>
        sigId = 16
#22 0x0810d057 in getLensDataFromUser (parent=0x84d6db0, srcImg=...)
 [...]

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1316702

Title:
  segfault loading multiple images in assistant

Status in Hugin - Panorama Tools GUI:
  Fix Committed

Bug description:
  Hello,

  hugin 2014.0.0-rc2 segfaults when multiple images are loaded at once
  using the simple interface ([Load Images] button on preview window.

  ERROR: 19:30:12.852684 (/tmp/HUGIN/hugin-2014.0.0/src/hugin_base/huginapp/ImageCache.cpp:697) loadImageSafely(): Error during image reading: 
  Precondition violation!
  Unable to open file ''.

  This was submitted by Ingo Steine in <https://bugs.debian.org/747021>.
  Ingo has also provided example images (availabe for download in the
  Debian bug report) that reproduce the breakage. The important part
  seems to be that they have no EXIF data, causing the "Enter
  FOV"-dialogue to appear.

  Using the [Add Images] button in the expert interface does not trigger
  the crash.

  cu Andreas

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1316702/+subscriptions


References