Ticket #131 (closed defect: fixed)

Opened 22 months ago

Last modified 18 months ago

Firestation crashes always during color-training!

Reported by: pathirana Owned by: tim
Priority: critical Milestone:
Component: Fawkes Version:
Keywords: firevision, firestation Cc:
Git Branch: timn/firestation-fixes

Description

Firestation crashes always during color-training!

How to reproduce:

* Start fawkes and load the plugins "fvbase, fountain, nao_ball_goals"
* Start firestation and connect to the FUSE-image of the nao
* Set the Y/U/V resolution to 2/2/1.
* Start color-training-mode and mark a region
* Click "Add"
* ... Segfault

This makes it impossible to create a color-map.

Change History

Changed 22 months ago by tim

  • keywords firevision, firestation added
  • status changed from new to accepted

Works for me, no crash. But I do see corrupted colormap display in these cases, maybe they lead to segfaults on your system. Haven't yet found the root cause, but it can be prevented by using a different Y/U/V resolution setting like 4/2/2 or 2/1/1. A stack trace would help. Maybe you can produce one once you arrive in Magdeburg?
Fixed another issue while investigating. It occurred when clicking add when nothing was selected.

Changed 22 months ago by tim

The problem is probably located in the LossyScaler?. If width and height are not the same it seems to get into trouble. So for now always have U/V resolution set to the same value (Y resolution is independent). I have to stop now but will have a closer look tonight.

Changed 22 months ago by tim

  • gitbranch set to timn/firestation-fixes

I had another look. I have found some issues with Colormap::to_image() that I have fixed in the given branch. That at least fixes the corruption I saw, albeit I don't know if it fixes the segfault you saw. Please have a try and let me know. Who needs lunch anyway!?

Changed 18 months ago by tim

  • status changed from accepted to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.

This list contains all users that will be notified about changes made to this ticket.

These roles will be notified: Reporter, Subscriber, Participant

  • Fawkes Trac List(Always)
  • Tim Niemueller(Owner, Participant)