← Back to team overview

hugin-devs team mailing list archive

[Bug 892827] Re: calibrate_lens_gui Segmentation fault on amd64

 

** Changed in: hugin
       Status: New => Fix Released

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

Title:
  calibrate_lens_gui Segmentation fault on amd64

Status in Hugin - Panorama Tools GUI:
  Fix Released

Bug description:
  On 2011.2.0 this bug is reproducible on amd64:
  -----------------------------------------------------
  Francesco Potortì writes in http://bugs.debian.org/649171
  I call calibrate_lens_gui, have it load the image at
  <http://fly.isti.cnr.it/tmp/hugin-bug.jpeg>.  I set Focal lenght to 157
  and Focal length multiplier to 1.  When I press the "Find lines" button
  the program dumps core.
  -----------------------------------------------------

  i386 binaries or  2011.4.0beta1 on amd64 does not crash. I am still
  forwarding this since some doublechecking whether the issue is just
  not triggered anymore or whether it was really fixed should be done.

  gdb backtrace looks like this:
  (sid-AMD64)ametzler@argenau:/tmp/HUGIN/hugin-2011.2.0+dfsg$ gdb `which calibrate
  _lens_gui `
  GNU gdb (GDB) 7.3-debian
  Copyright (C) 2011 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 "x86_64-linux-gnu".
  For bug reporting instructions, please see:
  <http://www.gnu.org/software/gdb/bugs/>...
  Reading symbols from /usr/bin/calibrate_lens_gui...done.
  (gdb) run
  Starting program: /usr/bin/calibrate_lens_gui
  [Thread debugging using libthread_db enabled]
  [New Thread 0x7fffe9029700 (LWP 505)]
  [New Thread 0x7fffe8828700 (LWP 507)]
  [Thread 0x7fffe9029700 (LWP 505) exited]
  [New Thread 0x7fffe9029700 (LWP 508)]
  [New Thread 0x7fffe3f9f700 (LWP 509)]
  [New Thread 0x7fffe379e700 (LWP 510)]
  [New Thread 0x7fffe2f9d700 (LWP 511)]
  [New Thread 0x7fffe279c700 (LWP 512)]
  [New Thread 0x7fffe1f9b700 (LWP 513)]
  [New Thread 0x7fffe179a700 (LWP 514)]
  [New Thread 0x7fffe0f99700 (LWP 515)]
  [New Thread 0x7fffdbfff700 (LWP 516)]
  [Thread 0x7fffe2f9d700 (LWP 511) exited]
  [Thread 0x7fffe279c700 (LWP 512) exited]
  [Thread 0x7fffe0f99700 (LWP 515) exited]
  [Thread 0x7fffe3f9f700 (LWP 509) exited]
  [Thread 0x7fffe8828700 (LWP 507) exited]
  [Thread 0x7fffdbfff700 (LWP 516) exited]
  [Thread 0x7fffe179a700 (LWP 514) exited]
  [Thread 0x7fffe1f9b700 (LWP 513) exited]
  [Thread 0x7fffe379e700 (LWP 510) exited]
  [New Thread 0x7fffe379e700 (LWP 517)]
  [New Thread 0x7fffdbfff700 (LWP 518)]
  [New Thread 0x7fffe179a700 (LWP 519)]
  [New Thread 0x7fffe8828700 (LWP 520)]
  [New Thread 0x7fffe3f9f700 (LWP 521)]

  (calibrate_lens_gui:491): Gtk-WARNING **: Could not find the icon 'image-jpeg'. The 'hicolor' theme
  was not found either, perhaps you need to install it.
  You can get a copy from:
          http://icon-theme.freedesktop.org/releases
  [Thread 0x7fffe179a700 (LWP 519) exited]
  [Thread 0x7fffe379e700 (LWP 517) exited]
  [Thread 0x7fffe9029700 (LWP 508) exited]
  [Thread 0x7fffe3f9f700 (LWP 521) exited]
  [Thread 0x7fffe8828700 (LWP 520) exited]
  Unable to read EXIF data from opened file:/tmp/hugin-bug.jpeg

  (calibrate_lens_gui:491): Gtk-WARNING **: Attempting to store changes
  into `/home/ametzler/.local/share/recently-used.xbel', but failed:
  Failed to create file '/home/ametzler/.local/share/recently-
  used.xbel.8LTA5V': No such file or directory

  (calibrate_lens_gui:491): Gtk-WARNING **: Attempting to set the
  permissions of `/home/ametzler/.local/share/recently-used.xbel', but
  failed: No such file or directory

  (calibrate_lens_gui:491): Gtk-WARNING **: Attempting to store changes
  into `/home/ametzler/.local/share/recently-used.xbel', but failed:
  Failed to create file '/home/ametzler/.local/share/recently-
  used.xbel.GPTA5V': No such file or directory

  (calibrate_lens_gui:491): Gtk-WARNING **: Attempting to set the
  permissions of `/home/ametzler/.local/share/recently-used.xbel', but
  failed: No such file or directory

  Program received signal SIGSEGV, Segmentation fault.
  vigra::internalCannyFindEdgels<vigra::BasicImage<double, std::allocator<double> >, vigra::BasicImage<double, std::allocator<double> >, std::vector<vigra::Edgel, std::allocator<vigra::Edgel> > > (gx=..., gy=..., magnitude=..., edgels=...)
      at /tmp/HUGIN/hugin-2011.2.0+dfsg/src/foreign/vigra/vigra/edgedetection.hxx:1222
  1222                PixelType m1 = magnitude(x1, y1);
  (gdb) bt
  #0  vigra::internalCannyFindEdgels<vigra::BasicImage<double, std::allocator<double> >, vigra::BasicImage<double, std::allocator<double> >, std::vector<vigra::Edgel, std::allocator<vigra::Edgel> > > (gx=..., gy=..., magnitude=...,
      edgels=...)
      at /tmp/HUGIN/hugin-2011.2.0+dfsg/src/foreign/vigra/vigra/edgedetection.hxx:1222
  #1  0x00007ffff57f4628 in vigra::cannyEdgelList<vigra::ConstBasicImageIterator<unsigned char, unsigned char**>, vigra::StandardConstValueAccessor<unsigned char>, std::vector<vigra::Edgel, std::allocator<vigra::Edgel> > > (ul=..., lr=...,
      src=..., edgels=..., scale=2)
      at /tmp/HUGIN/hugin-2011.2.0+dfsg/src/foreign/vigra/vigra/edgedetection.hxx:1351
  #2  0x00007ffff57f4dc7 in vigra::cannyEdgeImage<vigra::ConstBasicImageIterator<unsigned char, unsigned char**>, vigra::StandardConstValueAccessor<unsigned char>, vigra::BasicImageIterator<unsigned char, unsigned char**>, vigra::StandardValueAccessor<unsigned char>, double, int> (sul=..., slr=..., sa=..., dul=...,
      da=..., scale=<optimized out>, gradient_threshold=4, edge_marker=0)
      at /tmp/HUGIN/hugin-2011.2.0+dfsg/src/foreign/vigra/vigra/edgedetection.hxx:1450
  #3  0x00007ffff57ec236 in cannyEdgeImage<vigra::ConstBasicImageIterator<unsigned char, unsigned char**>, vigra::StandardConstValueAccessor<unsigned char>, vigra::BasicImageIterator<unsigned char, unsigned char**>, vigra::StandardValueAccessor<unsigned char>, double, int> (edge_marker=0, gradient_threshold=4, scale=2,
  ---Type <return> to continue, or q <return> to quit---
      src=<optimized out>, dest=<optimized out>)
      at /tmp/HUGIN/hugin-2011.2.0+dfsg/src/foreign/vigra/vigra/edgedetection.hxx:1471
  #4  HuginLines::detectEdges (input=<optimized out>, scale=2, threshold=4,
      resize_dimension=<optimized out>, size_factor=<optimized out>)
      at /tmp/HUGIN/hugin-2011.2.0+dfsg/src/hugin_base/lines/FindLines.cpp:86
  #5  0x0000000000436051 in LensCalFrame::OnFindLines (this=0x787640,
      e=<optimized out>)
      at /tmp/HUGIN/hugin-2011.2.0+dfsg/src/hugin1/calibrate_lens/LensCalFrame.cpp:600
  #6  0x00007ffff6386485 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
  #7  0x00007ffff63865ec in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_baseu-2.8.so.0
  #8  0x00007ffff6386924 in wxEvtHandler::ProcessEvent(wxEvent&) ()
     from /usr/lib/libwx_baseu-2.8.so.0
  #9  0x00007ffff5f6ea09 in wxWindowBase::TryParent(wxEvent&) ()
     from /usr/lib/libwx_gtk2u_core-2.8.so.0
  #10 0x00007ffff5f6ea09 in wxWindowBase::TryParent(wxEvent&) ()
     from /usr/lib/libwx_gtk2u_core-2.8.so.0
  #11 0x00007ffff5ec9e71 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
  #12 0x00007ffff1474804 in g_closure_invoke ()
     from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  ---Type <return> to continue, or q <return> to quit---
  #13 0x00007ffff1486955 in ?? ()
     from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  #14 0x00007ffff148fe11 in g_signal_emit_valist ()
     from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  #15 0x00007ffff148ffb2 in g_signal_emit ()
     from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  #16 0x00007ffff2ad3dc5 in ?? ()
     from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
  #17 0x00007ffff1474804 in g_closure_invoke ()
     from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  #18 0x00007ffff1485f7a in ?? ()
     from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  #19 0x00007ffff148fe11 in g_signal_emit_valist ()
     from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  #20 0x00007ffff148ffb2 in g_signal_emit ()
     from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  #21 0x00007ffff2ad2bed in ?? ()
     from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
  #22 0x00007ffff2b7c418 in ?? ()
     from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
  #23 0x00007ffff1474804 in g_closure_invoke ()
     from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  #24 0x00007ffff14865bf in ?? ()
  ---Type <return> to continue, or q <return> to quit---
     from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  #25 0x00007ffff148fbe3 in g_signal_emit_valist ()
     from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  #26 0x00007ffff148ffb2 in g_signal_emit ()
     from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  #27 0x00007ffff2c95301 in ?? ()
     from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
  #28 0x00007ffff2b7a5d3 in gtk_propagate_event ()
     from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
  #29 0x00007ffff2b7a933 in gtk_main_do_event ()
     from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
  #30 0x00007ffff27e621c in ?? ()
     from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
  #31 0x00007ffff0dac0cf in g_main_context_dispatch ()
     from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  #32 0x00007ffff0dac8c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  #33 0x00007ffff0dace02 in g_main_loop_run ()
     from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  #34 0x00007ffff2b79987 in gtk_main ()
     from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
  #35 0x00007ffff5e8b1a8 in wxEventLoop::Run() ()
     from /usr/lib/libwx_gtk2u_core-2.8.so.0
  #36 0x00007ffff5f0280b in wxAppBase::MainLoop() ()
  ---Type <return> to continue, or q <return> to quit---
     from /usr/lib/libwx_gtk2u_core-2.8.so.0
  #37 0x00007ffff633757b in wxEntry(int&, wchar_t**) ()
     from /usr/lib/libwx_baseu-2.8.so.0

  #38 0x000000000042f652 in main (argc=1, argv=<optimized out>)
      at /tmp/HUGIN/hugin-2011.2.0+dfsg/src/hugin1/calibrate_lens/LensCalApp.cpp:41
  (gdb)
  (gdb) quit
  A debugging session is active.

          Inferior 1 [process 491] will be killed.

  Quit anyway? (y or n) y
  (sid-AMD64)ametzler@argenau:/tmp/HUGIN/hugin-2011.2.0+dfsg$

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


References