Bug#1023279: Segfault on startup; stack overflow involving libwx

2022-11-24 Thread djib
I am afraid the workaround doesn’t work for me.

.config/hugin.conf gets overwritten, isShown is changed back to 1.



Bug#1023279: Segfault on startup; stack overflow involving libwx

2022-11-07 Thread Michael reports bugs
On Sun, Nov 06, 2022 at 02:25:56PM +0800, Michael's bug reports 
 wrote:
> On Sat, Nov 05, 2022 at 01:47:25PM +0100, Andreas Metzler  
> wrote:
> > It is WX related, problably missing EGL support in glew. 
> > 
> > It worked my in own tests. I realize now that was because I have this
> > setting in ~/.config/hugin.conf:
> > [GLPreviewFrame]
> > [...]
> > isShown=0
> > 
> > (i.e. The OpenGL Preview window does not autoopen). I then need two
> > klicks to actually open it (the first try fails) but apart from that
> > hugin works.
> > 
> > Does this workaround also work at your system?
> 
> Afraid not! It was already set to zero in my ~/.hugin, and changing it to zero
> in ~/.config/hugin.conf had no effect, other than it getting changed back to
> 1 again... o_O

Correction, the workaround worked as described, once I renamed 
~/.config/hugin.conf
out of the way (which seems to have also allowed it to migrate my ~/.hugin to
.config/hugin.conf).

-MD

-- 
-
Michael Deegan   Hugaholic  https://www.deegan.id.au/
  Jung, zr jbeel?  --



Bug#1023279: Segfault on startup; stack overflow involving libwx

2022-11-06 Thread Michael's bug reports
On Sat, Nov 05, 2022 at 01:47:25PM +0100, Andreas Metzler  
wrote:
> It is WX related, problably missing EGL support in glew. 
> 
> It worked my in own tests. I realize now that was because I have this
> setting in ~/.config/hugin.conf:
> [GLPreviewFrame]
> [...]
> isShown=0
> 
> (i.e. The OpenGL Preview window does not autoopen). I then need two
> klicks to actually open it (the first try fails) but apart from that
> hugin works.
> 
> Does this workaround also work at your system?

Afraid not! It was already set to zero in my ~/.hugin, and changing it to zero
in ~/.config/hugin.conf had no effect, other than it getting changed back to
1 again... o_O

Thanks,

-MD

-- 
-
Michael Deegan   Hugaholic  https://www.deegan.id.au/
  Jung, zr jbeel?  --



Bug#1023279: Segfault on startup; stack overflow involving libwx

2022-11-05 Thread Andreas Metzler
On 2022-11-01 Michael Deegan  wrote:
> Package: hugin
> Version: 2021.0.0+dfsg-3
> Severity: important

> Console output:
[...]
> ERROR: 22:42:22.231532 (./src/hugin1/hugin/GLViewer.cpp:133) 
> SetUpContext(): Error initialising GLEW: Unknown error.
> Segmentation fault

> I'm wondering if it's the result of a recent libc upgrade, but I'm not about
> to attempt a downgrade to verify. :P I did try running Hugin in a libvirt
> VM, but I think there it's being fussy about the virtual environment
> (despite having working direct-rendering opengl).
[...]

It is WX related, problably missing EGL support in glew. 

It worked my in own tests. I realize now that was because I have this
setting in ~/.config/hugin.conf:
[GLPreviewFrame]
[...]
isShown=0

(i.e. The OpenGL Preview window does not autoopen). I then need two
klicks to actually open it (the first try fails) but apart from that
hugin works.

Does this workaround also work at your system?

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



Bug#1023279: Segfault on startup; stack overflow involving libwx

2022-11-01 Thread Michael Deegan
Package: hugin
Followup-For: Bug #1023279

Okay, after downgrading Hugin (and Python, and Samba) to the versions in
bullseye, the SEGV goes away. As does downgrading just Hugin to 
2021.0.0+dfsg-1+b1
(which I pulled out of my apt-cacher-ng cache).

This might be a WX 3.2 bug or incompatibility.

HTH!

-- System Information:
Debian Release: 11.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable-debug'), (500, 'oldstable-updates'), (500, 'oldstable-debug'), (500, 
'oldoldstable'), (500, 'stable'), (500, 'oldstable'), (480, 'testing-debug'), 
(480, 'testing'), (470, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-18-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages hugin depends on:
ii  enblend 4.2-9
ii  enfuse  4.2-9
ii  hugin-tools 2021.0.0+dfsg-1+b1
ii  libc6   2.35-4
ii  libexiv2-27 0.27.5-4
ii  libfftw3-double33.3.8-2
ii  libgcc-s1   10.2.1-6
ii  libglew2.2  2.2.0-4+b1
ii  libglu1-mesa [libglu1]  9.0.2-1.1
ii  libglx0 1.5.0-1
ii  libgomp110.2.1-6
ii  libimage-exiftool-perl  12.16+dfsg-2
ii  liblcms2-2  2.12~rc1-2
ii  libopengl0  1.5.0-1
ii  libpano13-3 2.9.20~rc3+dfsg-1
ii  libsqlite3-03.34.1-3
ii  libstdc++6  12.2.0-3
ii  libtiff54.2.0-1+deb11u1
ii  libvigraimpex11 1.11.1+dfsg-8
ii  libwxbase3.0-0v53.0.5.1+dfsg-2
ii  libwxgtk3.0-gtk3-0v53.0.5.1+dfsg-2
ii  make4.3-4.1

hugin recommends no packages.

Versions of packages hugin suggests:
ii  darktable4.0.0-1
ii  dcraw9.28-2
ii  rawtherapee  5.8-3

-- debconf-show failed

-MD

-- 
-
Michael Deegan   Hugaholic  https://www.deegan.id.au/
  Jung, zr jbeel?  --



Bug#1023279: Segfault on startup; stack overflow involving libwx

2022-11-01 Thread Michael Deegan
Package: hugin
Version: 2021.0.0+dfsg-3
Severity: important

Console output:

(hugin:3576986): dbind-WARNING **: 22:42:21.509: Couldn't connect to 
accessibility bus: Failed to connect to socket /tmp/dbus-sLH9razXV7: Connection 
refused

(hugin:3576986): Gtk-CRITICAL **: 22:42:21.697: 
gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:3576986): Gtk-CRITICAL **: 22:42:21.773: 
gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:3576986): Gtk-CRITICAL **: 22:42:21.775: 
gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:3576986): Gtk-CRITICAL **: 22:42:21.775: 
gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:3576986): Gtk-CRITICAL **: 22:42:21.780: 
gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:3576986): Gtk-CRITICAL **: 22:42:21.783: 
gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:3576986): Gtk-CRITICAL **: 22:42:21.783: 
gtk_widget_set_size_request: assertion 'height >= -1' failed
/usr/share/hugin/data/plugins/top_five.py
   CAT:Control Points
   NAM:keep 5 CPs per image pair
   fails @api-max
/usr/share/hugin/data/plugins/woa.py
   CAT:Control Points
   NAM:Warped Overlap Analysis
   fails @api-max
ERROR: 22:42:22.231532 (./src/hugin1/hugin/GLViewer.cpp:133) 
SetUpContext(): Error initialising GLEW: Unknown error.
Segmentation fault

I'm wondering if it's the result of a recent libc upgrade, but I'm not about
to attempt a downgrade to verify. :P I did try running Hugin in a libvirt
VM, but I think there it's being fussy about the virtual environment
(despite having working direct-rendering opengl).

Stack trace starts with:

#0  0x55649847 in  ()
#1  0x5564b9e7 in  ()
#2  0x776fbdf2 in 
wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, 
wxEvtHandler*, wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.2.so.0
#3  0x776fbfab in wxEventHashTable::HandleEvent(wxEvent&, 
wxEvtHandler*) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.2.so.0
#4  0x776fc5c9 in wxEvtHandler::TryHereOnly(wxEvent&) () at 
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.2.so.0
#5  0x776fc64a in wxEvtHandler::ProcessEventLocally(wxEvent&) () at 
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.2.so.0
#6  0x776fc751 in wxEvtHandler::ProcessEvent(wxEvent&) () at 
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.2.so.0
#7  0x776fdee7 in wxEvtHandler::SafelyProcessEvent(wxEvent&) () at 
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.2.so.0
#8  0x771c6377 in wxWindowBase::Close(bool) () at 
/usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.2.so.0
#9  0x776fbdf2 in 
wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, 
wxEvtHandler*, wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.2.so.0
#10 0x776fbfab in wxEventHashTable::HandleEvent(wxEvent&, 
wxEvtHandler*) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.2.so.0
#11 0x776fc5c9 in wxEvtHandler::TryHereOnly(wxEvent&) () at 
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.2.so.0
#12 0x776fc64a in wxEvtHandler::ProcessEventLocally(wxEvent&) () at 
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.2.so.0
#13 0x776fc751 in wxEvtHandler::ProcessEvent(wxEvent&) () at 
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.2.so.0
#14 0x776fdee7 in wxEvtHandler::SafelyProcessEvent(wxEvent&) () at 
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.2.so.0
#15 0x771c6377 in wxWindowBase::Close(bool) () at 
/usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.2.so.0
#16 0x5564b992 in  ()
#17 0x776fbdf2 in 
wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, 
wxEvtHandler*, wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.2.so.0
#18 0x776fbfab in wxEventHashTable::HandleEvent(wxEvent&, 
wxEvtHandler*) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.2.so.0
#19 0x776fc5c9 in wxEvtHandler::TryHereOnly(wxEvent&) () at 
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.2.so.0
#20 0x776fc64a in wxEvtHandler::ProcessEventLocally(wxEvent&) () at 
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.2.so.0
#21 0x776fc751 in wxEvtHandler::ProcessEvent(wxEvent&) () at 
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.2.so.0
#22 0x776fdee7 in wxEvtHandler::SafelyProcessEvent(wxEvent&) () at 
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.2.so.0
#23 0x771c6377 in wxWindowBase::Close(bool) () at 
/usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.2.so.0
#24 0x776fbdf2 in 
wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, 
wxEvtHandler*, wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.2.so.0
#25 0x776fbfab in wxEventHashTable::HandleEvent(wxEvent&, 
wxEvtHandler*) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.2.so.0
#26 0x776fc5c9 in