← Back to team overview

hugin-devs team mailing list archive

[Bug 700896] Re: hugin default branch (hg41621fb36f15) crashes

 

Further testing, after installing hugin and libpano12 debuginfo packages, suggests that the crash when selecting a button in FPW is in code in "/usr/include/c++/4.5.1/bits/stl_tree.h", as follows;
  template<typename _Key, typename _Val, typename _KeyOfValue,
           typename _Compare, typename _Alloc>
    pair<typename _Rb_tree<_Key, _Val, _KeyOfValue,
                           _Compare, _Alloc>::iterator, bool>
    _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
    _M_insert_unique(const _Val& __v)
    {
-->      _Link_type __x = _M_begin();
      _Link_type __y = _M_end();
      bool __comp = true;
      while (__x != 0)
        {
          __y = __x;
          __comp = _M_impl._M_key_compare(_KeyOfValue()(__v), _S_key(__x));
          __x = __comp ? _S_left(__x) : _S_right(__x);
        }
      iterator __j = iterator(__y);
      if (__comp)
        {
          if (__j == begin())
            return pair<iterator, bool>(_M_insert_(__x, __y, __v), true);
          else
            --__j;
        }
      if (_M_impl._M_key_compare(_S_key(__j._M_node), _KeyOfValue()(__v)))
        return pair<iterator, bool>(_M_insert_(__x, __y, __v), true);
      return pair<iterator, bool>(__j, false);
    }

The --> points the offending line (nominated by ddd) when crash occurs.
I can only guess that this code is being incorrectly called from somewhere in hugin...if ddd is pointing to the right place.
Tracking this down any further would be stretching my abilities a bit at the moment.

Hope this helps.

Cheers,
Terry

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

Title:
  hugin default branch (hg41621fb36f15) crashes

Status in Hugin - Panorama Tools GUI:
  New

Bug description:
  First time run of this version (Panorama-overview) was OK. Panosphere view was shown in pane to left of fast preview window. Selecting the little 'pin' icon changed panosphere view to separate window. Couldn't see how to switch it back to a FPW pane.
  Second time I run this version, FPW opens after alignment, image briefly shown, then a mangled image appeared, then hugin crashed.
  I ran again from terminal which provided the following;
  (hugin:3157): Gdk-WARNING **: gdkdrawable-x11.c:952 drawable is not a pixmap or window

  Gdk-ERROR **: The program 'hugin' received an X Window System error.
  This probably reflects a bug in the program.
  The error was 'GLXBadDrawable'.
    (Details: serial 35575 error_code 149 request_code 136 minor_code 11)
    (Note to programmers: normally, X errors are reported asynchronously;
     that is, you will receive the error a while after causing it.
     To debug your program, run it with the --sync command line
     option to change this behavior. You can then get a meaningful
     backtrace from your debugger if you break on the gdk_x_error() function.)
  aborting...

  [1]+  Aborted                 (core dumped) hugin

  Unfortunately, the abrt tool deletes the core dump, and not sure at this time how to get around that.
  The binary was built on fedora 14 x86_64.

  Hope this helps.

  Cheers,
  Terry





References