Hugin crashes with Segfault

Bug #679362 reported by noone
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Hugin
Fix Released
Low
Unassigned

Bug Description

As soon as Hugin is opened, it crashes; in fact just after closing the tips popup.

-------------------------------
sh-4.0$ export LANG=C
sh-4.0$ hugin
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
MainFrame::RestoreLayoutOnNextResize()
Segmentation fault
sh-4.0$
-------------------------------

I join the backtrace

Revision history for this message
noone (noone-users) wrote :

The file hugin.gdb.bt was added: Hugin backtrace

Revision history for this message
noone (noone-users) wrote :

The problem was I have tried NVidia proprietary drivers on Fedora 12 beta. After installing again the last version of the Nouveau glx driver, everything is OK again.

I don't know if I can close this bug.

Revision history for this message
Yuv (yuv) wrote :

this is most likely a configuration issue on your system rather than an issue with the nVidia proprietary drivers. I've been using Hugin on Ubuntu 9.10 with nVidia proprietary drivers successfully.
Unrelated to this bug, I'm curious to know if you can run GPU accelerated stitching on your machine with Nouveau. Please add your report to http://wiki.panotools.org/Nona_GPU_stitching_reports

merci!
Yuv

Revision history for this message
noone (noone-users) wrote :

I have installed the last NVidia driver and everything is working fine. So :
- NVidia driver 190.32 not working (but not sure of my test as I have a lot of problems compiling and installing the driver)
- Nouveau driver from xorg-x11-server-Xorg-1.7.0-1.fc12.x86_64 working fine for Hugin but not for nona-gpu
- NVidia driver 190.42 working fine with hugin and nona-gpu

Hope that helps

Revision history for this message
sf-robot (sf-robot-users) wrote :

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

Revision history for this message
Andreas Metzler (k-launchpad-downhill-at-eu-org) wrote :
Download full text (4.6 KiB)

Hello,

please re-open this report. It has appeared again in <http://bugs.debian.org/71199>.

The system in question is using intel graphics, probably with a broken configuration. However the fact that hugin simply crashes instead of handling the error is clearly a bug. More info below:
--------------------

-------### Started program, loaded image, clicked Layout tab, segfault.
$ hugin
/usr/share/hugin/data/plugins/shooting_pattern.py
   CAT:initial distribution
   NAM:6-1-1 Shooting Pattern
/usr/share/hugin/data/plugins/woa.py
   CAT:Control Points
   NAM:Warped Overlap Analysis
/usr/share/hugin/data/plugins/crop_cp.py
   CAT:Control Points
   NAM:Crop Control Points
/usr/share/hugin/data/plugins/top_five.py
   CAT:Control Points
   NAM:keep 5 CPs per image pair
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Segmentation fault
-------------

    > [:~]$ glxgears -info
    > Xlib: extension "GLX" missing on display ":0.0".
    > Error: couldn't get an RGB, Double-buffered visual
    > [:~]$

    And at this point it simply exits?

Yes.

    Do you have libgl1-mesa-dri or libgl1-mesa-swx11 installed?

Looks like libgl1-mesa-dri is installed. libgl1-mesa-swx11 is not installed.

[:~]$ dpkg -l | grep libgl1-mesa
ii libgl1-mesa-dri:amd64 8.0.5-6 amd64 free implementation of the OpenGL API -- DRI modules
ii libgl1-mesa-glx:amd64 8.0.5-6 amd64 free implementation of the OpenGL API -- GLX runtime
[:~]$

    Could enter bt at this point?

As you wish!

Program received signal SIGSEGV, Segmentation fault.
0x00000000005b9183 in PreviewIdentifyTool::setConstantOn(bool) ()
(gdb) bt
#0 0x00000000005b9183 in PreviewIdentifyTool::setConstantOn(bool) ()
#1 0x000000000056040f in GLPreviewFrame::SetMode(int) ()
#2 0x00007ffff53aa3f6 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#3 0x00007ffff53aa564 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#4 0x00007ffff53aa887 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#5 0x00007ffff4f963d9 in wxWindowBase::TryParent(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
#6 0x00007ffff4f963d9 in wxWindowBase::TryParent(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
#7 0x00007ffff4f79f2b in wxNotebookBase::SendPageChangedEvent(int, int) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
#8 0x00007fffef05c620 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9 0x00007fffef06dfde in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007fffef075cd1 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007fffef075f82 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x00007ffff0779ef0 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#13 ...

Read more...

Revision history for this message
Andreas Metzler (k-launchpad-downhill-at-eu-org) wrote :

Correct debian report number: <http://bugs.debian.org/711997>.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.