← Back to team overview

hugin-devs team mailing list archive

[Bug 2080397] Re: CP tab: Assert when drawing line cp over 360 deg border

 

The main cause is that the line cp spans above the 360 deg border. In this case the line is not easily defined.
The cp tab should not draw in this case the line anymore and therefore the assert should be avoided.
Fixed in changeset 01388c79cc55.
If the fix is confirmed I will transplant it to the 2024.0 branch.

** Summary changed:

- Negative content height -2 (allocation 0, extents 1x1) while allocating gadget
+ CP tab: Assert when drawing line cp over 360 deg border

** Changed in: hugin
       Status: New => Fix Committed

** Changed in: hugin
    Milestone: None => 2024.0rc1

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

Title:
  CP tab: Assert when drawing line cp over 360 deg border

Status in Hugin:
  Fix Committed

Bug description:
  Hugin (both 2023 and 2024 beta1) crash on the attached project.

  How to reproduce:
  1. Open project
  2. Switch to Control point tab
  3. Change zoom level to 100%
  4. scroll a little bit to the right
  5. Klick on controlpoint(line) to jump to it
  Crash
  (hugin:2090): Gtk-WARNING **: 18:03:52.102: Negative content height -2 (allocation 0, extents 1x1) while allocating gadget (node check, owner GtkCheckButton)
  ./include/wx/math.h(139): assert "x > double((-0x7fffffff - 1)) - 0.5 && x < double(0x7fffffff) + 0.5" failed in wxRound(): argument out of supported range
  Trace/breakpoint trap

  This was reported with the reproducer by Michael Deegan as
  https://bugs.debian.org/1066864

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



References