MRPT / mrpt

:zap: The Mobile Robot Programming Toolkit (MRPT)
https://docs.mrpt.org/reference/latest/
BSD 3-Clause "New" or "Revised" License
1.93k stars 630 forks source link

Seg. fault using camera calibration #1137

Closed Svato closed 3 years ago

Svato commented 3 years ago

(camera-calib:26510): Gtk-CRITICAL **: 18:30:55.746: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton

(camera-calib:26510): Gtk-CRITICAL **: 18:30:55.746: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton

(camera-calib:26510): Gtk-CRITICAL **: 18:30:55.840: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton

(camera-calib:26510): Gtk-CRITICAL **: 18:30:55.845: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton

(camera-calib:26510): Gtk-CRITICAL **: 18:30:55.854: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton

(camera-calib:26510): Gtk-CRITICAL **: 18:30:55.855: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton

(camera-calib:26510): Gtk-CRITICAL **: 18:30:58.320: gtk_window_resize: assertion 'height > 0' failed

(camera-calib:26510): Gtk-CRITICAL **: 18:30:58.377: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton

(camera-calib:26510): Gtk-CRITICAL **: 18:30:58.377: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton

(camera-calib:26510): Gtk-CRITICAL **: 18:30:58.421: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton

(camera-calib:26510): Gtk-CRITICAL **: 18:30:58.423: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton

(camera-calib:26510): Gtk-CRITICAL **: 18:31:52.015: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton

(camera-calib:26510): Gtk-CRITICAL **: 18:31:52.015: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton

(camera-calib:26510): Gtk-CRITICAL **: 18:31:52.023: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton

(camera-calib:26510): Gtk-CRITICAL **: 18:31:52.023: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton Segmentation fault (core dumped)

Any ideas how to solve this? any number of images, any resolution

jlblancoc commented 3 years ago

Can you provide more details?

jlblancoc commented 3 years ago

Closing for lack of feedback. Reopen if needed!

Svato commented 3 years ago

LINUX Mint mate / Win 10. I did follow video - https://www.youtube.com/watch?v=BkZkq6zPwQM I did make 20 pictures. After pressing calibrate i got the segmentation error

jlblancoc commented 3 years ago

ok. Could you please share your 20 images in a zip as a comment attachment?

Likhith-Sugganahalli commented 3 years ago

Hi, i have run into the same problem, after taking the 15 frames, clicking on calibration starts the process, in the log, it detects all images, first couple of roll pitch statements are printed, and it crashes

Screenshot from 2021-04-15 10-12-52

Screenshot from 2021-04-15 10-13-13

Where can i access the images from?

jlblancoc commented 3 years ago

Thanks! Fantastic, now I could reproduce the bug: indeed the problem only happens after grabbing the images from a live camera, I formerly only tested it against images in the disk and in that case it doesn't fail.

I'll fix it soon.

jlblancoc commented 3 years ago

It's fixed now in develop, thanks for reporting!