Open knro opened 2 days ago
relevant part:
3.549678 camera_wait_for_event (2): DEBUG== 0xd215 after capture = 65531 3.549682 camera_wait_for_event (2): SONY ObjectInMemory count change seen, retrieving file 3.549693 ptp_usb_sendreq (2): Sending PTP_OC 0x1008 (Get object info) (0xffffc001) request... 3.549699 gp_port_write (3): Writing 16 = 0x10 bytes to port... 3.549776 gp_port_write (3): Wrote 16 = 0x10 bytes to port: (hexdump of 16 bytes) 0000 10 00 00 00 01 00 08 10-13 00 00 00 01 c0 ff ff ................
3.549795 ptp_usb_getdata (2): Reading PTP_OC 0x1008 (Get object info) data... 3.549798 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 3.550581 gp_port_read (3): Read 12 = 0xc out of 1024 bytes from port: (hexdump of 12 bytes) 0000 0c 00 00 00 02 00 08 10-13 00 00 00 ............
3.550614 ptp_usb_getresp (2): Reading PTP_OC 0x1008 (Get object info) response... 3.550618 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 3.550838 gp_port_read (3): Read 12 = 0xc out of 1024 bytes from port: (hexdump of 12 bytes) 0000 0c 00 00 00 03 00 01 20-13 00 00 00 ....... ....
getobjectinfo returns a very short data blob
did this work with 2.5.31?
likely also failed with libgphoto 2.5.31.
the code does not expect an invalid objectinfo here though
i tried fixing the crash first. but it still likely is broken
Describe the bug
Crash when camera is waiting for event when using INDI driver. Sometimes the camera can load 1 or 2 images, only to crash next.
Name the camera Sony DSLR ILCE-6400 (PC Control)
libgphoto2 and gphoto2 version 2.5.31.1
To Reproduce Steps to reproduce the behavior:
When I ran under gdb, I got this:
The generated gphoto.txt was 211MB in size and 45MB compressed! I will see if I can upload somewhere and post a link.