Menu

#1023 Segmentation fault (core dumped) - Canon 30D Ubuntu 14.04

closed-fixed
5
2015-12-22
2015-12-21
No

Hello,

I'm getting very strange problem. I have 2 computers running Ubuntu 14.04 and the same versions of gphoto2 and libgphoto2. I'm using Canon 30D and in one computer is working very fine, in second is not working at all. I can mount device and get access to memory card and this is fine, but I can not control it (after unmounting of course). In attachment you can find my --debug info. I can not do single operation on camera, like --list-config or --capture-image.

Might be a hardware issue, but all USB ports are working fine :(
Please provide me any suggestions.

Thanks.
Dariusz

1 Attachments

Discussion

  • Marcus Meissner

    Marcus Meissner - 2015-12-21

    can you get a gdb backtrace?

    gdb
    run --list-config
    (when iot crashes)
    bt

     
  • Marcus Meissner

    Marcus Meissner - 2015-12-21
    • status: open --> pending
    • assigned_to: Marcus Meissner
     
  • Marcus Meissner

    Marcus Meissner - 2015-12-21

    can you also get a trace where it is good from the other machine? is this the same canon?

     
  • Marcus Meissner

    Marcus Meissner - 2015-12-21

    the trace has a 62 entry array which is actually 63 entries long.

    i am trying also to read the array after that one, but due to 1 missing offset i try reading 0xd192 entries... soo way too much

     
  • Dariusz Kominiak

    Unfortunately, I can not recreate this error. Just by strange the reason it started to work again. I just left it for few hours and from a home, I did remote access to the computer where the camera is connected and it just started to work. Thank you for help anyway and sorry for disturbing. No idea why it started to work.

     
  • Marcus Meissner

    Marcus Meissner - 2015-12-21
    • status: pending --> closed-fixed
     
  • Marcus Meissner

    Marcus Meissner - 2015-12-21

    might be a fluke, but it seemend visible in your trace. I put code in for checking, so it should be fixed.

     
  • Dariusz Kominiak

    Unfortunately after rebooting computer due to updates I got this problem again. In attachment you can find gdb's from computer where camera is not working and from another one which is working fine.

    Could you please shortly explain how to use your xx.pat or just give any hint? I tried to google it but I didn't found any help regarding that.

    Thank you.

     
  • Marcus Meissner

    Marcus Meissner - 2015-12-22

    hmm, xx.pat is a source patch against libgphoto2...

    if you are more familar with building from sourcetarballs, I have uploaded a temproary snapshot tarball of libgphoto2 to http://www.lst.de/~mm/libgphoto2-2.5.9.1.tar.bz2

     

Log in to post a comment.