← 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

 

Tanks for confirmation.
Because it was a compile switch for glew and not Hugin itself setting status to invalid.

When wxWidgets is built with egl the workaround with
-DUSE_GDKBACKEND_X11=on should not be needed anymore and can be removed.

PS: When you switch in wxWidgets to egl only the fast preview window  is affected. 
For Nona and align_image_stack you can also trying to switch to egl by adding -DBUILD_WITH_EGL=on  to the CMake command line.

** Changed in: hugin
       Status: New => Invalid

-- 
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:
  Invalid

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