Hi Saturne33,

please check your kern.log (ubuntu ==> /var/log/kern.log) and look for the message coming up

As you can see on my log i get a segfault out of libc-2.31.so.

out of /var/log/kern.log Jan 7 17:26:13 kv-XPS-15-9560 kernel: [34344.408379] indi_atik_wheel[25755]: segfault at 0 ip 00007f33b01bab82 sp 00007fff8d9582f8 error 4 in libc-2.31.so[7f33b0059000+178000]

It seems that there was a change in this library since Ubuntu 18.x to 20.x. Maybe a rebuild will help but could also may cause older versions to no longer work.

I would also be happy if someone could come up with a solution.

regards
Klaus

saturne33 wrote: Hello,
I'm having +/- the same issue ('INDI Driver crashed' from Kstars/Ekos), but with some additional information.
To simplify my tests I did a minimal setup for Ekos:

  • CCD: Starlight Xpress SX CCD
  • Filter: Atik EFW (2.2)
Under Linux Mint 19.3 / Ubuntu 18.04 on my tower PC, it's working perfectly.
Exact same setting under Linux Mint 20 / Ubuntu Focal Fossa on my laptop crashed the INDI driver.
I did a lot of tests: different cables, with or without a USB 3.0 hub, main or battery powered, connection before or after the PC or Kstars.
Results: works consistently on my tower and consistently crashing on my laptop.
I did run the same test using ekos-debugger. Maybe an expert could have a look to the resulting small .txt log files attached.

File Attachment:

File Name: indi_app_log_21-02-21T11-45-02.txt
File Size: 3 KB

File Attachment:

File Name: indi_debug_log_21-02-21T11-45-02.txt
File Size: 1 KB


I'm unfortunately unable to analyse the logs to understand the root of the problem (and even if there are useful information in there).
Also: I have exactly the same .txt file related to successfull attempts on my tower PC, in case it can help.
Can someone help us ?
Best regards



Read More...

Hi Jasem,

thanks for your reply.
I did a request to the tec support of ATIK...

The answer (see below) was not very helpful.. To connect the filter wheel only will not change the behavior. This will also lead to the segfault..
Anyone who can help me??

Thanks in advance
Klaus



  • "Hello Klaus,

    Thanks for your enquiry,

    Unfortunately we can't really help you with this as we only support Windows.

    It would be worth connecting the FW on its own without the cameras to see if that changes its behaviour

    Best Regards,

    Andrew

    Atik / QSI / Opus Service
    Unit 8 Lodge Farm Barns
    New Road
    Bawburgh
    Norwich
    NR9 3LZ
    UK


  • Read More...

    Hi, thanks for your reply....
    That was the first thing i had done... Yes it is viewable within USB....
    I also tried another usb cable... By the way the error occur even the filter wheel is not connected...

    Thanks
    Klaus

    this is the result for the filter wheel from lsusb -v

    Bus 001 Device 088: ID 04d8:003f Microchip Technology, Inc.
    Device Descriptor:
    bLength 18
    bDescriptorType 1
    bcdUSB 2.00
    bDeviceClass 0
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 8
    idVendor 0x04d8 Microchip Technology, Inc.
    idProduct 0x003f
    bcdDevice 0.02
    iManufacturer 1 Atik Instruments
    iProduct 2 Filter Wheel 2
    iSerial 0
    bNumConfigurations 1
    Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 0x0029
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xc0
    Self Powered
    MaxPower 100mA
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 0
    bNumEndpoints 2
    bInterfaceClass 3 Human Interface Device
    bInterfaceSubClass 0
    bInterfaceProtocol 0
    iInterface 0
    HID Device Descriptor:
    bLength 9
    bDescriptorType 33
    bcdHID 1.11
    bCountryCode 0 Not supported
    bNumDescriptors 1
    bDescriptorType 34 Report
    wDescriptorLength 29
    Report Descriptors:
    ** UNAVAILABLE **
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0040 1x 64 bytes
    bInterval 1
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x01 EP 1 OUT
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0040 1x 64 bytes
    bInterval 1
    can't get device qualifier: Resource temporarily unavailable
    can't get debug descriptor: Resource temporarily unavailable
    Device Status: 0x0001
    Self Powered

    Read More...

    Hello i'm new to ekos / indi.
    I tried to connect my mount, rotator, camera atik16200 with filter wheel EWF3 (7 Filter) and Lodstar X2 guiding camera with ekos.
    Successfully connected was mount, camera atik 16200 and Lodstar X2(guiding camera) and rotator.

    The connection to the filter wheel did not work...
    I tried to start from console (see following result). First the message that a child process died. After that i add some lines from kernel log
    which mentioned a segfault in libc-2.31.so . I'm using an Ubuntu 20.04.1 LTS 64 Bit. I add also a log from ekos session but i didn't see more infos as below written.

    Has maybe someone an idea what's going wrong?

    Many thanks for any help.

    Klaus

    $indiserver -vvv indi_atik_wheel


    2021-01-07T16:26:11: startup: indiserver -vvv indi_atik_wheel
    2021-01-07T16:26:11: Driver indi_atik_wheel: pid=25755 rfd=3 wfd=6 efd=7
    2021-01-07T16:26:11: listening to port 7624 on fd 4
    2021-01-07T16:26:11: Driver indi_atik_wheel: sending msg copy 1 nq 1:
    <getProperties version='1.7'/>

    2021-01-07T16:26:13: Driver indi_atik_wheel: stderr EOF
    Child process 25755 died

    2021-01-07T16:26:13: Driver indi_atik_wheel: restart #1
    2021-01-07T16:26:13: Driver indi_atik_wheel: pid=25763 rfd=0 wfd=6 efd=7
    2021-01-07T16:26:13: Driver indi_atik_wheel: sending msg copy 1 nq 1:
    <getProperties version='1.7'/>

    2021-01-07T16:26:13: Driver indi_atik_wheel: stderr EOF
    Child process 25763 died
    2021-01-07T16:26:13: Driver indi_atik_wheel: restart #2
    2021-01-07T16:26:13: Driver indi_atik_wheel: pid=25771 rfd=0 wfd=6 efd=7
    2021-01-07T16:26:13: Driver indi_atik_wheel: sending msg copy 1 nq 1:
    <getProperties version='1.7'/>

    2021-01-07T16:26:18: Driver indi_atik_wheel: stderr EOF
    Child process 25771 died


    out of /var/log/kern.log
    Jan 7 17:26:13 kv-XPS-15-9560 kernel: [34344.408379] indi_atik_wheel[25755]: segfault at 0 ip 00007f33b01bab82 sp 00007fff8d9582f8 error 4 in libc-2.31.so[7f33b0059000+178000]
    Jan 7 17:26:13 kv-XPS-15-9560 kernel: [34344.408396] Code: ff ff e9 01 80 f3 ff 90 f3 0f 1e fa 89 f8 31 d2 c5 c5 ef ff 09 f0 25 ff 0f 00 00 3d 80 0f 00 00 0f 8f 52 03 00 00 c5 fe 6f 0f <c5> f5 74 06 c5 fd da c1 c5 fd 74 c7 c5 fd d7 c8 85 c9 74 7a f3 0f
    Jan 7 17:26:13 kv-XPS-15-9560 kernel: [34344.639321] indi_atik_wheel[25763]: segfault at 0 ip 00007eff9e16cb82 sp 00007ffca63cbbe8 error 4 in libc-2.31.so[7eff9e00b000+178000]
    Jan 7 17:26:13 kv-XPS-15-9560 kernel: [34344.639330] Code: ff ff e9 01 80 f3 ff 90 f3 0f 1e fa 89 f8 31 d2 c5 c5 ef ff 09 f0 25 ff 0f 00 00 3d 80 0f 00 00 0f 8f 52 03 00 00 c5 fe 6f 0f <c5> f5 74 06 c5 fd da c1 c5 fd 74 c7 c5 fd d7 c8 85 c9 74 7a f3 0f
    Jan 7 17:26:17 kv-XPS-15-9560 kernel: [34348.800220] usb usb4-port1: Cannot enable. Maybe the USB cable is bad?
    Jan 7 17:26:17 kv-XPS-15-9560 kernel: [34348.868376] indi_atik_wheel[25771]: segfault at 0 ip 00007f6663f3cb82 sp 00007ffeee8da3a8 error 4 in libc-2.31.so[7f6663ddb000+178000]
    Jan 7 17:26:17 kv-XPS-15-9560 kernel: [34348.868393] Code: ff ff e9 01 80 f3 ff 90 f3 0f 1e fa 89 f8 31 d2 c5 c5 ef ff 09 f0 25 ff 0f 00 00 3d 80 0f 00 00 0f 8f 52 03 00 00 c5 fe 6f 0f <c5> f5 74 06 c5 fd da c1 c5 fd 74 c7 c5 fd d7 c8 85 c9 74 7a f3 0f

    Read More...