← Back to team overview

hugin-devs team mailing list archive

[Bug 1938453] Re: Fast GL Preview crashes when built with wxWidgets 3.1.5: Error initialising GLEW

 

> When wxWidgets is compiled with egl, glew needs also be compiled with egl support.
Is this done?

Glew wasn't and doing that fixed the crash. Many thanks for hitting the
nail right on the head.

We do build hugin with `-DUSE_GDKBACKEND_X11=on`, so yes X11 or Wayland
doesn't actually matter.

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1938453

Title:
  Fast GL Preview crashes when built with wxWidgets 3.1.5: Error
  initialising GLEW

Status in Hugin:
  New

Bug description:
  Note: Bug originally reported against openSUSE:
  <https://bugzilla.suse.com/show_bug.cgi?id=1188519>

  When compiled against wxWidgets 3.1.5, hugin crashes upon launch with the following error:
  ---
  (hugin:15406): Gtk-CRITICAL **: 20:41:54.916: gtk_widget_set_size_request: 
  assertion 'height >= -1' failed

  (hugin:15406): Gtk-CRITICAL **: 20:41:54.946: gtk_widget_set_size_request: 
  assertion 'height >= -1' failed

  (hugin:15406): Gtk-CRITICAL **: 20:41:55.101: gtk_widget_set_size_request: 
  assertion 'height >= -1' failed

  (hugin:15406): Gtk-CRITICAL **: 20:41:55.102: gtk_widget_set_size_request: 
  assertion 'height >= -1' failed

  (hugin:15406): Gtk-CRITICAL **: 20:41:55.104: gtk_widget_set_size_request: 
  assertion 'height >= -1' failed

  (hugin:15406): Gtk-CRITICAL **: 20:41:55.105: gtk_widget_set_size_request: 
  assertion 'height >= -1' failed

  (hugin:15406): Gtk-CRITICAL **: 20:41:55.105: gtk_widget_set_size_request: 
  assertion 'height >= -1' failed

  (hugin:15406): Gtk-CRITICAL **: 20:41:55.113: gtk_widget_set_size_request: 
  assertion 'height >= -1' failed

  (hugin:15406): Gtk-CRITICAL **: 20:41:55.114: gtk_widget_set_size_request: 
  assertion 'height >= -1' failed

  (hugin:15406): Gtk-CRITICAL **: 20:41:55.115: gtk_widget_set_size_request: 
  assertion 'height >= -1' failed

  (hugin:15406): Gtk-CRITICAL **: 20:41:55.115: gtk_widget_set_size_request: 
  assertion 'height >= -1' failed

  (hugin:15406): Gtk-CRITICAL **: 20:41:55.115: gtk_widget_set_size_request: 
  assertion 'height >= -1' failed
  ERROR: 20:41:55.509290 (/home/abuild/rpmbuild/BUILD/hugin-2020.0.0/src/hugin1/
  hugin/GLViewer.cpp:133) SetUpContext(): Error initialising GLEW: Unknown 
  error.
  Segmentation fault (core dumped)
  ---

  This is with Hugin version 2020.0.0 and wxWidgets 3.1.5. Some users
  have reported that just the Fast GL Preview doesn't show up while
  Hugin keeps working.

  When compiled against wxWidgets 3.1.4, everything works perfectly.

  When built against wxWidgets 3.1.4, Hugin works just fine, which makes
  me think that EGL-related changes in wxWidgets 3.1.5
  <https://github.com/wxWidgets/wxWidgets/pull/2038> may be a reason,
  but this is just a guess.

  Thanks for the great application, btw.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1938453/+subscriptions



References