pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

graphics/hugin from pkgsrc-2023Q1 startup crash on netbsd-9 amd64



Wondering if anyone has managed to use hugin recently?

I got this on startup:

ERROR: 13:06:07.299255 (/home/tmp/pkgwrk/graphics/hugin/work/hugin-2022.0.0/src/hugin1/hugin/GLViewer.cpp:134) SetUpContext(): Error initialising GLEW: Unknown error.

followed by SIGILL from infinite recursion until it runs out of stack.

I've found refs to using libepoxy to fix GLEW issues, and found and patched:
https://sourceforge.net/p/hugin/hugin/ci/4a3fe139b64b06f95c80db9d24a1a5a35e7abb60/

It now seems to get further along, rendering windows, etc, and then
Aborts with no meaningful error. gdb backtrace from a debug build
isn't that helpful, since it appears to trap SEGV:

Program terminated with signal SIGABRT, Aborted.
#0  0x00007156e6167dea in _lwp_kill () from /lib/libc.so.12
[Current thread is 1 (process 1)]
(gdb) bt
#0  0x00007156e6167dea in _lwp_kill () from /lib/libc.so.12
#1  0x00007156e616769a in abort () from /lib/libc.so.12
#2  0x00007156ecddcd21 in ?? () from /usr/pkg/lib/libwx_baseu-3.1.so.7
#3  0x00007156e60a21a0 in opendir () from /lib/libc.so.12
#4  0x000000010000000b in ?? ()
#5  0x0000000000000000 in ?? ()

The backtrace from its xml dump is only slightly more meaningful:

<frame level="0" offset="0" address="0x7156e946f0ed" module="0x7156e946f0ed &lt;_Z14GenerateReportN13wxDebugReport7ContextE+0x111&gt; at /usr/pkg/lib/libhuginbasewx.so.0.0"/>
<frame level="1" offset="0" address="0x7156ecddcd1c" module="0x7156ecddcd1c &lt;_ZN8wxThread14SetConcurrencyEm+0x86a&gt; at /usr/pkg/lib/libwx_baseu-3.1.so.7"/>
<frame level="2" offset="0" address="0x7156e60a21a0" module="0x7156e60a21a0 &lt;__sigtramp_siginfo_2&gt; at /lib/libc.so.12"/>

Running under gdb, I get the far more meaningful:

Thread 1 "" received signal SIGSEGV, Segmentation fault.
0x000079e086e50f95 in glGetString () from /usr/X11R7/lib/libGL.so.3
(gdb) bt
#0  0x000079e086e50f95 in glGetString () from /usr/X11R7/lib/libGL.so.3
#1  0x000079e0866b36a5 in epoxy_internal_gl_version () from /usr/pkg/lib/libepoxy.so.0
#2  0x000079e0866b3a21 in epoxy_internal_has_gl_extension () from /usr/pkg/lib/libepoxy.so.0
#3  0x00000000d1fb4bfe in ?? ()
#4  0x00000000d1f48785 in ?? ()
#5  0x00000000d1f4bff6 in ?? ()
#6  0x00000000d1f54c25 in ?? ()
#7  0x00000000d1ec2d59 in ?? ()
#8  0x00000000d1eabd26 in ?? ()
#9  0x000079e089b32ae4 in wxEntry(int&, wchar_t**) () from /usr/pkg/lib/libwx_baseu-3.1.so.7
#10 0x00000000d2039b4d in ?? ()
#11 0x00000000d1ea82cd in ?? ()
#12 0x00007f7fa800e9f8 in ?? () from /usr/libexec/ld.elf_so
#13 0x0000000000000001 in ?? ()
#14 0x00007f7fff2cb0a0 in ?? ()
#15 0x0000000000000000 in ?? ()

Has anyone managed to get past this? Or should I whack on it some more?

-- 
Paul Ripke
"Great minds discuss ideas, average minds discuss events, small minds
 discuss people."
-- Disputed: Often attributed to Eleanor Roosevelt. 1948.


Home | Main Index | Thread Index | Old Index