×
INDI Library v1.8.7 Released (21 Nov 2020)

Nov. 2020 Release brings significant improvements to streaming and recording videos. Support for new drivers including Estatto focuser and Pegasus falcon rotator.

indi_canon_ccd segfault

3 years 3 months ago 3 years 3 months ago by noriQ.
noriQ
Junior Boarder
Junior Boarder
Posts: 39
More
Topic Author
indi_canon_ccd segfault #18269
Hi.
I ran Ubuntu on Intel Stick PC and installed INDI server and Kstars.
However, indi_canon_ccd crashes with a segmentation fault.
The environment and INDI log are as follows:

system environment:
Ubuntu 16.04
kernel 4.10
kstars-bleeding 5:17.04+201707240921~ubuntu16.04.1
libindi1 1.5.0+r3264~201708021121~ubuntu16.04.1

dmesg log:
[ 9415.292466] indi_canon_ccd[11557]: segfault at 120 ip 00007f160f37c0df sp 00007ffce0b62840 error 4 in libindidriver.so.1.5.0[7f160f348000+da000]
[ 9415.831970] indi_canon_ccd[11563]: segfault at 120 ip 00007fc314f010df sp 00007fffe97c8a70 error 4 in libindidriver.so.1.5.0[7fc314ecd000+da000]
[ 9416.361028] indi_canon_ccd[11570]: segfault at 120 ip 00007f169a1fd0df sp 00007ffdbc55a3b0 error 4 in libindidriver.so.1.5.0[7f169a1c9000+da000]
[ 9416.899617] indi_canon_ccd[11575]: segfault at 120 ip 00007f62e03d70df sp 00007ffccb1538f0 error 4 in libindidriver.so.1.5.0[7f62e03a3000+da000]
[ 9417.430640] indi_canon_ccd[11580]: segfault at 120 ip 00007fb14146a0df sp 00007ffd7fce3590 error 4 in libindidriver.so.1.5.0[7fb141436000+da000]
[ 9417.960241] indi_canon_ccd[11585]: segfault at 120 ip 00007f7e71d370df sp 00007ffdce58d310 error 4 in libindidriver.so.1.5.0[7f7e71d03000+da000]
[ 9418.492451] indi_canon_ccd[11590]: segfault at 120 ip 00007fc0534fe0df sp 00007ffd333a3790 error 4 in libindidriver.so.1.5.0[7fc0534ca000+da000]
[ 9419.029768] indi_canon_ccd[11597]: segfault at 120 ip 00007f6224f840df sp 00007ffed398a110 error 4 in libindidriver.so.1.5.0[7f6224f50000+da000]
[ 9419.593806] indi_canon_ccd[11602]: segfault at 120 ip 00007f8f498c80df sp 00007fff0927f820 error 4 in libindidriver.so.1.5.0[7f8f49894000+da000]
[ 9420.117321] indi_canon_ccd[11607]: segfault at 120 ip 00007fa3e948d0df sp 00007ffe8918a240 error 4 in libindidriver.so.1.5.0[7fa3e9459000+da000]

Any idea?
Thank you.
Attachments:

Please Log in or Create an account to join the conversation.

3 years 3 months ago
knro
Administrator
Administrator
Posts: 8545
Karma: 51
indi_canon_ccd segfault #18277
Try tomorrow's PPA build.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The following user(s) said Thank You pcxz, noriQ

Please Log in or Create an account to join the conversation.

3 years 3 months ago
kbahey
Gold Boarder
Gold Boarder
Posts: 213
Karma: 2
More
indi_canon_ccd segfault #18292
I use a Canon EOS 650D, with the daily build of INDI.

The camera worked when used with images.

However, when using LiveView, it works for the first and/or second time you invoke LiveView. But on the second or third, INDI crashes, and the kernel has this in dmesg:
indi_canon_ccd[4407]: segfault at 7f986dd03000 ip 00007f987b0351c7 sp 00007ffcba6d2aa0 error 4 in libindidriver.so.1.5.0[7f987b003000+da000]

When I applied today's build, the problem still happened.

I rebooted (Linux loads the new module), and the problem seemed to go away.

But after some testing the driver crashed.

The test is simple: invoke LiveView one or more times, exiting after each time. Then take one Preview frame. Then when you invoke LiveView again, the crash will happen.

Please Log in or Create an account to join the conversation.

3 years 3 months ago
knro
Administrator
Administrator
Posts: 8545
Karma: 51
indi_canon_ccd segfault #18336
I _think_ I might have fixed this issue, please try tomorrow's PPA update or compile on your own.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The following user(s) said Thank You kbahey

Please Log in or Create an account to join the conversation.

3 years 3 months ago
kbahey
Gold Boarder
Gold Boarder
Posts: 213
Karma: 2
More
indi_canon_ccd segfault #18360
Does not crash anymore!

Thanks a million ...

Please Log in or Create an account to join the conversation.

3 years 3 months ago
noriQ
Junior Boarder
Junior Boarder
Posts: 39
More
Topic Author
indi_canon_ccd segfault #18364
Hi.
I tried that.
It worked perfectly.
Thank you!

Please Log in or Create an account to join the conversation.

3 months 6 days ago
kbahey
Gold Boarder
Gold Boarder
Posts: 213
Karma: 2
More
indi_canon_ccd segfault #58544
This problem is back.
I am using Xubuntu 18.04 LTS, and my Canon DSLR was working fine last night.
Today, I got a notification of the upgrade to 1.8.6, and did upgrade.
Both the Canon DSLR (and Gphoto CCD, if I set it to that) crash on startup.

Here is dmesg:

[31178.583996] usb 2-1.2.2: new high-speed USB device number 16 using ehci-pci
[31178.718069] usb 2-1.2.2: New USB device found, idVendor=04a9, idProduct=323b
[31178.718075] usb 2-1.2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[31178.718078] usb 2-1.2.2: Product: Canon Digital Camera
[31178.718080] usb 2-1.2.2: Manufacturer: Canon Inc.
[31178.823885] usb 2-1.2.3: new high-speed USB device number 17 using ehci-pci
[31178.964723] usb 2-1.2.3: New USB device found, idVendor=1618, idProduct=0920
[31178.964727] usb 2-1.2.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[31179.479973] usb 2-1.2.3: USB disconnect, device number 17
[31181.007893] usb 2-1.2.3: new high-speed USB device number 18 using ehci-pci
[31181.140627] usb 2-1.2.3: config 1 interface 0 altsetting 0 bulk endpoint 0x81 has invalid maxpacket 64
[31181.140632] usb 2-1.2.3: config 1 interface 0 altsetting 0 bulk endpoint 0x1 has invalid maxpacket 64
[31181.141061] usb 2-1.2.3: New USB device found, idVendor=1618, idProduct=0921
[31181.141065] usb 2-1.2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[31181.141068] usb 2-1.2.3: Product: QHY5-II
[31181.141070] usb 2-1.2.3: Manufacturer: QHY-CCD
[31182.921406] indi_canon_ccd[30585]: segfault at 100001df1 ip 0000559e63e11100 sp 00007ffe1ab8ccc0 error 6 in indi_gphoto_ccd[559e63e01000+24000]

Please Log in or Create an account to join the conversation.

3 months 6 days ago
kbahey
Gold Boarder
Gold Boarder
Posts: 213
Karma: 2
More
indi_canon_ccd segfault #58545
More info.

This is because of a dependency problem.

When trying to upgrade everything, there is this message:

The following packages have been kept back:
indi-gphoto
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

$ sudo apt install indi-gphoto
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
indi-gphoto : Depends: libraw20 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

If I try to force install libraw20, the result is that kstars-bleeding will be removed!

The following additional packages will be installed:
indi-gphoto
The following packages will be REMOVED:
kstars-bleeding kstars-bleeding-dbg libraw19
The following NEW packages will be installed:
libraw20
The following packages will be upgraded:
indi-gphoto
1 upgraded, 1 newly installed, 3 to remove and 0 not upgraded.
Need to get 368 kB of archives.
After this operation, 94.7 MB disk space will be freed.
Do you want to continue? [Y/n]

KStars should depend on the same library version as indi-gphoto.

Please Log in or Create an account to join the conversation.

3 months 5 days ago
alacant
Platinum Boarder
Platinum Boarder
Posts: 662
Karma: 1
More
indi_canon_ccd segfault #58579

Please Log in or Create an account to join the conversation.

Time to create page: 0.356 seconds