[Pkg-phototools-devel] Bug#711997: hugin: Hugin fails with segfault; program partially unusable

Charlie Hagedorn charlie.hagedorn at gmail.com
Fri Jun 14 18:48:39 UTC 2013


mesa-utils was not installed. After installing it (didn't pull in any other
packages), I get:

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

[:~]$ 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
[:~]$


All but the Segmentation fault appears when hugin starts. Segfault happens
as described in the bug report.

[:~]$ glxinfo
name of display: :0.0
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual or fbconfig

Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
[:~]$


Providing a backtrace is new to me, but if I run hugin with gdb, this is
what I get, following these instructions
http://wiki.debian.org/HowToGetABacktrace :

[:~]$ gdb hugin
GNU gdb (GDB) 7.6-debian
Copyright (C) 2013 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/hugin...(no debugging symbols found)...done.
(gdb)
(gdb) set pagination 0
(gdb) run
Starting program: /usr/bin/hugin
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
/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".
[New Thread 0x7fffdfab0700 (LWP 9773)]
[New Thread 0x7fffdf2af700 (LWP 9774)]
[New Thread 0x7fffd7fff700 (LWP 9775)]
[New Thread 0x7fffdeaae700 (LWP 9776)]
[New Thread 0x7fffde291700 (LWP 9777)]
[Thread 0x7fffdf2af700 (LWP 9774) exited]
[Thread 0x7fffdeaae700 (LWP 9776) exited]
[Thread 0x7fffde291700 (LWP 9777) exited]
[New Thread 0x7fffde291700 (LWP 9779)]
[Thread 0x7fffde291700 (LWP 9779) exited]

Program received signal SIGSEGV, Segmentation fault.
0x00000000005b9183 in PreviewIdentifyTool::setConstantOn(bool) ()
(gdb) quit
A debugging session is active.

        Inferior 1 [process 9384] will be killed.

Quit anyway? (y or n) n
Not confirmed.
(gdb)

Hugin did not crash, but froze, when run under gdb. I presume this is
expected.

Perhaps the problem is in my installation of OpenGL, not in hugin?

[:~]$ lsmod
...
i915                  378417  2
...
[:~]$


[:~]$ lshw
...
        *-display
             description: VGA compatible controller
             product: Xeon E3-1200 v2/3rd Gen Core processor Graphics
Controller
             vendor: Intel Corporation
             physical id: 2
             bus info: pci at 0000:00:02.0
             version: 09
             width: 64 bits
             clock: 33MHz
             capabilities: vga_controller bus_master cap_list rom
             configuration: driver=i915 latency=0
             resources: irq:47 memory:f7800000-f7bfffff
memory:e0000000-efffffff
ioport:f000(size=64)
...
[:~]$



On Fri, Jun 14, 2013 at 10:29 AM, Andreas Metzler <
ametzler at downhill.at.eu.org> wrote:

> On 2013-06-11 charlie <charlie.hagedorn at gmail.com> wrote:
> [...]
> > Started hugin, started loading photos as usual (bug repros with a single
> photo). After loading images, clicking on Preview/Layout/Etc. tab causes
> segfault.
>
> [...]
>
>
> Do you have working OpenGL support? Does 'glxgears -info'? Could you
> provide a backtrace?
>
> thanks, cu Andreas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-phototools-devel/attachments/20130614/d05b9143/attachment.html>


More information about the Pkg-phototools-devel mailing list