HaikuArchives / PhotoGrabber

PhotoGrabber is an application that downloads/deletes pictures from USB digital cameras
2 stars 10 forks source link

PhotoGrabber crashes on launch #17

Closed Vidrep closed 6 years ago

Vidrep commented 6 years ago

KERN: runtime_loader: Cannot open file /boot/system/apps/PhotoGrabber/plugins/error: No such file or directory KERN: vm_soft_fault: va 0x0 not covered by area in address space KERN: vm_page_fault: vm_soft_fault returned error 'Bad address' on fault at 0x0, ip 0x0, write 0, user 1, thread 0x764 KERN: vm_page_fault: thread "cameralooper" (1892) in team "PhotoGrabber" (1887) tried to execute address 0x0, ip 0x0 ("???" +0x0) KERN: debug_server: Thread 1892 entered the debugger: Segment violation KERN: stack trace, current PC (nil) : KERN: (0x7f54da4a7530) 0xc055d97104 _ZN6Camera15MessageReceivedEP8BMessage + 0x394 KERN: (0x7f54da4a7610) 0x1cca35d8cd0 _ZN7BLooper15DispatchMessageEP8BMessageP8BHandler + 0x34 KERN: (0x7f54da4a7620) 0x1cca35d905c _ZN7BLooper11task_looperEv + 0x1dc KERN: (0x7f54da4a7680) 0x1cca35d7a27 _ZN7BLooper7_task0_EPv + 0x21 KERN: (0x7f54da4a76a0) 0x8fe5ec5b71 thread_entry + 0x12

Vidrep commented 6 years ago

PhotoGrabber is also crashing on 32 bit, but only when attempting to connect to a camera.

KERN: vm_page_fault: thread "PhotoGrabber" (1214) in team "PhotoGrabber" (1214) tried to execute address 0x1, ip 0x1 ("???" +0x1) KERN: debug_server: Thread 1214 entered the debugger: Segment violation KERN: stack trace, current PC 0x1 : KERN: (0x7252b0e8) 0x1f50e0f MessageReceived12BeDiGiCamAppP8BMessage + 0x433 KERN: (0x7252b218) 0x1a793ff DispatchMessage7BLooperP8BMessageP8BHandler + 0x5b KERN: (0x7252b248) 0x1a6e9ad DispatchMessage__12BApplicationP8BMessageP8BHandler + 0x4ed KERN: (0x7252b448) 0x1a7acb9 task_looper7BLooper + 0x211 KERN: (0x7252b488) 0x1a6d2e5 Run12BApplication + 0x75 KERN: (0x7252b4c8) 0x1f52723 main + 0x2f KERN: (0x7252ba88) 0x1f4cb3b _start + 0x5b KERN: (0x7252bab8) 0x1fb1f26 runtime_loader + 0x132

Vidrep commented 6 years ago

Running the app from a terminal on 64 bit:

Welcome to the Haiku shell.

~> /boot/system/apps/PhotoGrabber/PhotoGrabber becam_scrollview BView::_InitData(): resizing mode or flags swapped bdcpPTP - Get Level 3 Function names bdcpPTP - Set message target PTP Roster: Starting with Callback bdcpPTP - SetTo: Checking USB device Canon Digital Camera 0x314f (Canon Inc. 0x4a9)... bdcpPTP - SetTo: Checking 3 endpoints... bdcpPTP - SetTo: Endpoint 0: Bulk Input . bdcpPTP - Endpoint 0 at 81 is bulk input bdcpPTP - SetTo: Endpoint 1: Bulk Output . bdcpPTP - Endpoint 1 at 02 is bulk output bdcpPTP - SetTo: Endpoint 2: Input Interrput. bdcpPTP - Endpoint 2 at 83 is interrupt bdcpPTP - All endpoints found, camera Canon Digital Camera/Canon Inc. status set to identified. PTP Roster: Canon Inc. - Canon Digital Camera has connected. bdcpPTP - Connect... bdcpPTP - Transaction: Session 0, Transaction 0, Code: 1001. bdcpPTP - GetData: Reading of 512 bytes failed with status 0xffffffff .bdcpPTP - GetResponse: Reading of 512 bytes failed with status 0xffffffff. bdcpPTP - Transaction: Session 0, Transaction 0, Code: 1002. bdcpPTP - GetResponse: Reading of 512 bytes failed with status 0xffffffff. bdcpPTP - OpenSession: Completed with status 0xffffffff, Session ID is 0. bdcpPTP - openCamera: waiting Camera to register - 20 bdcpPTP - openCamera: waiting Camera to register - 19 bdcpPTP - openCamera: waiting Camera to register - 18 bdcpPTP - openCamera: waiting Camera to register - 17 bdcpPTP - openCamera: waiting Camera to register - 16 bdcpPTP - openCamera: waiting Camera to register - 15 bdcpPTP - openCamera: waiting Camera to register - 14 bdcpPTP - openCamera: waiting Camera to register - 13 bdcpPTP - openCamera: waiting Camera to register - 12 bdcpPTP - openCamera: waiting Camera to register - 11 bdcpPTP - openCamera: waiting Camera to register - 10 bdcpPTP - openCamera: waiting Camera to register - 9 bdcpPTP - openCamera: waiting Camera to register - 8 bdcpPTP - openCamera: waiting Camera to register - 7 bdcpPTP - openCamera: waiting Camera to register - 6 bdcpPTP - openCamera: waiting Camera to register - 5 bdcpPTP - openCamera: waiting Camera to register - 4 bdcpPTP - openCamera: waiting Camera to register - 3 bdcpPTP - openCamera: waiting Camera to register - 2 bdcpPTP - openCamera: waiting Camera to register - 1 bdcpPTP - SetTo: Checking USB device Canon Digital Camera 0x314f (Canon Inc. 0x4a9)... bdcpPTP - SetTo: Checking 3 endpoints... bdcpPTP - SetTo: Endpoint 0: Bulk Input . bdcpPTP - Endpoint 0 at 81 is bulk input bdcpPTP - SetTo: Endpoint 1: Bulk Output . bdcpPTP - Endpoint 1 at 02 is bulk output bdcpPTP - SetTo: Endpoint 2: Input Interrput. bdcpPTP - Endpoint 2 at 83 is interrupt bdcpPTP - All endpoints found, camera Canon Digital Camera/Canon Inc. status set to identified. PTP Roster: Canon Inc. - Canon Digital Camera has connected. bdcpPTP - Connect... bdcpPTP - Transaction: Session 0, Transaction 1, Code: 1001. bdcpPTP - GetData: Reading of 512 bytes failed with status 0xffffffff .bdcpPTP - GetResponse: Reading of 512 bytes failed with status 0xffffffff. bdcpPTP - Transaction: Session 0, Transaction 0, Code: 1002. bdcpPTP - GetResponse: Reading of 512 bytes failed with status 0xffffffff. bdcpPTP - OpenSession: Completed with status 0xffffffff, Session ID is 0.

Vidrep commented 6 years ago

Issue was resolved on Haiku side: https://dev.haiku-os.org/ticket/14050#comment:5