-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Sony A7 mark 2 #762
Comments
can you perhaps get a gdb backtrace of the crash? |
or valgrind output,. which should also show the crash location and reason |
Hello, Thanks for your feedback, I'm not confident with gdb nor valgrind so I take look on previous ticket to understand how it works. gdb gphoto2 then here is the direct output: For help, type "help".
|
it's passing (also it's on arm 32-bits which mean the bug might not be revealed in x86_64) edit it's |
These is a beta test on x64. I try it now then come back to you if I can reproduce the issue. |
Here is the x64 test feedback, you will find
OS SPECSstellarmate@stellarmate:~ $ uname -a GPHOTO2 VERSIONstellarmate@stellarmate:~ $ gphoto2 -v Copyright (c) 2000-2021 Marcus Meissner and others gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may This version of gphoto2 is using the following software versions and options: GDB OUTPUTstellarmate@stellarmate:~ $ gdb gphoto2 For help, type "help".
|
that's not x86_64. That's aarch64. (just to clarify) |
Yes you right. stellarmate@stellarmate:~ $ valgrind --leak-check=full gphoto2 --auto-detect -B 2 --capture-image-and-download --interval 5
|
is it possible to build / install with debug symbols so we can see where the strlen is called from? |
Sure it's possible, please could you advise how to enable it? |
if you run configure prepend CFLAGS="-g -O2" or so CFLAGS="-g -O2" ./configure ..... |
For posterity, I used the following process:
output still prompt ??? I continue to look why ############# OUTPUT############# stellarmate@stellarmate:~ $ rm *.arw
|
did not yet really work: ... would not have ??? here I put some hardening into 2.5.28.1 current git state, if you can update to that? |
Hello, Here is the process used.
$ sudo apt remove gphoto2
Now I'm no longer able to run "gphoto2" commands as I did previously in my commands. stellarmate@stellarmate:~ $ gphoto2-config --version stellarmate@stellarmate:~ $ gphoto2- |
you should not need to remove the "gphoto2" commandline tool if you rebuiold the library, can you reinstall it? |
I reinstalled gphoto as suggested : sudp apt install -y gphoto2 stellarmate@stellarmate:~ $ gphoto2 --version Copyright (c) 2000-2021 Marcus Meissner and others gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may This version of gphoto2 is using the following software versions and options: Then I re-run the compilation process: $ mv /usr/local/libgphoto2-master (unzipped form github) Here is the result: stellarmate@stellarmate:~ $ gphoto2 --version Copyright (c) 2000-2021 Marcus Meissner and others gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may This version of gphoto2 is using the following software versions and options: the error still remain stellarmate@stellarmate:~ $ valgrind gphoto2 --auto-detect -B 2 --capture-image-and-download --interval 5
|
Reminds me of Segmentation Fault i keep getting both with Sony A7 and Sony 5000. Tried loading newest Kstars 3.5.7 but find the error keeps happening after 40-73 captures. It kills the whole system and it restarts. |
it went back to 2.5.27.1 either you build both libgphoto2 or gphoto2 locally, or you overwrite the installed libgphoto2 version by your own build. |
Hi, Thanks for the feedback, I tried to manage the lib change, I found the information from your FAQ => 3.6.4. stellarmate@stellarmate:/usr/local/bin $ ldd stellarmate@stellarmate:/usr/local/lib $ LD_LIBRARY_PATH=/usr/local/lib stellarmate@stellarmate:/usr/local/lib $ gphoto2 --version Copyright (c) 2000-2021 Marcus Meissner and others gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may This version of gphoto2 is using the following software versions and options: stellarmate@stellarmate:/usr/local/lib $ env |grep LD stellarmate@stellarmate:/usr/local/lib $ ldd stellarmate@stellarmate:~ $ valgrind gphoto2 --auto-detect -B 2 --capture-image-and-download --interval 5
|
how did you build libgphoto2 ? with which configure options? can you pass in CFLAGS="-O2 -g" ./configure .... ? I did another NULL ptr fix in libgphoto2 master git too. |
@gmerceron1000r *** Contexterror *** |
@gmerceron1000r this is unrelated, please keep this in your seperate issue I fixed another crash reason in current libgphoto2 master git. Need to run a release at some point in near future. :/ |
Hello
Please could take a look about this camera support?
*Name of the camera
Sony A7II
USB IDs
054c:0a6a
camera summary output
Please find file attached
summary.txt
camera configuration output
Please find file attached
list-all-config.txt
test capture
gphoto2 --capture-image-and-download -> works but --interval generate Segmentation fault error, please find log files attached
gphoto2 --capture-preview -> works
gphoto_export.txt
gphoto_export_debug.txt
Thanks in advance.
The text was updated successfully, but these errors were encountered: