Comment 7 for bug 901755

Revision history for this message
Darko Surjan (dsurjan) wrote :

I've upgraded to 12.04 and the bug is still here.

$ lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04

$ uname -a
Linux ubuntu 3.2.0-24-generic #37-Ubuntu SMP Wed Apr 25 08:43:52 UTC 2012 i686 i686 i386 GNU/Linux

To get more debug info I've built Hugin from sources without stripping debug simbols.

(apt-get build-dep hugin; apt-get source hugin; cd hugin-2011.4.0+dfsg; (edited debian/rules dh_strip line); dpkg-buildpackage -us -uc -nc)

Backtrace in 'gdb hugin' now returns line numbers:

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) backtrace
#0 0x00000000 in ?? ()
#1 0x081e728c in OverviewOutlinesTool::draw (this=0x9297328)
    at /media/Projects/hugin/hugin-2011.4.0+dfsg/src/hugin1/hugin/OverviewOutlinesTool.cpp:194
#2 0x081e156b in PanosphereOverviewToolHelper::AfterDrawImagesBack (this=0x9296f50)
    at /media/Projects/hugin/hugin-2011.4.0+dfsg/src/hugin1/hugin/ToolHelper.cpp:706
#3 0x0818549b in GLPanosphereOverviewRenderer::Redraw (this=0x9298658)
    at /media/Projects/hugin/hugin-2011.4.0+dfsg/src/hugin1/hugin/GLRenderer.cpp:312
#4 0x081839ef in GLViewer::Redraw (this=0x8d7b2b8)
    at /media/Projects/hugin/hugin-2011.4.0+dfsg/src/hugin1/hugin/GLViewer.cpp:353
#5 0x08183c1e in GLViewer::RedrawE (this=0x8d7b2b8, e=...)
    at /media/Projects/hugin/hugin-2011.4.0+dfsg/src/hugin1/hugin/GLViewer.cpp:295
#6 0x00da2038 in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const () from /usr/lib/i386-linux-gnu/libwx_baseu-2.8.so.0
#7 0x00e3178a in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/i386-linux-gnu/libwx_baseu-2.8.so.0
#8 0x00e3190b in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) ()
   from /usr/lib/i386-linux-gnu/libwx_baseu-2.8.so.0
#9 0x00e31cc1 in wxEvtHandler::ProcessEvent(wxEvent&) ()
   from /usr/lib/i386-linux-gnu/libwx_baseu-2.8.so.0
#10 0x013f79fb in ?? () from /usr/lib/i386-linux-gnu/libwx_gtk2u_gl-2.8.so.0
#11 0x01f2b1ec in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#12 0x01f29484 in g_closure_invoke () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#13 0x01f3b0d9 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#14 0x01f432dc in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#15 0x01f43453 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#16 0x01c1444a in gtk_widget_map () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#17 0x01a064ad in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#18 0x01b40aab in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#19 0x01a44537 in gtk_container_forall () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0

$ awk 'FNR==194 { print $0 }' /media/Projects/hugin/hugin-2011.4.0+dfsg/src/hugin1/hugin/OverviewOutlinesTool.cpp
    glBlendEquation(GL_FUNC_ADD);

It looks like there is a problem with this glBlendEquation function call.