Continuing from an earlier post on problems with the Odroid-N2 I've upgraded to Ubuntu 19.10 and still am having a driver problem... Any suggestions would be appreciated
odroid@odroid:~$ sudo apt-get update
Hit:1 http://ppa.launchpad.net/mutlaqja/indinightly/ubuntu eoan InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports eoan InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports eoan-updates InRelease
Hit:4 http://archive.canonical.com/ubuntu eoan InRelease
Hit:5 http://ppa.launchpad.net/mutlaqja/libgphoto2/ubuntu eoan InRelease
Hit:6 http://ports.ubuntu.com/ubuntu-ports eoan-backports InRelease
Hit:7 http://ports.ubuntu.com/ubuntu-ports eoan-security InRelease
Hit:8 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu eoan InRelease
Hit:9 http://ports.ubuntu.com/ubuntu-ports eoan-proposed InRelease
Hit:10 http://ppa.launchpad.net/pch/phd2/ubuntu eoan InRelease
Reading package lists... Done
odroid@odroid:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
odroid@odroid:~$
odroid@odroid:~$ gdb --eval-command="set follow-fork-mode child" --args indiserver -v indi_gphoto_ccd
GNU gdb (Ubuntu 8.3-0ubuntu1) 8.3
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "aarch64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from indiserver...
(gdb) run
Starting program: /usr/bin/indiserver -v indi_gphoto_ccd
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
2020-04-28T23:17:10: startup: /usr/bin/indiserver -v indi_gphoto_ccd
[Attaching after Thread 0x7fb7ff8010 (LWP 11104) fork to child process 11110]
[New inferior 2 (process 11110)]
[Detaching after fork from parent process 11104]
[Inferior 1 (process 11104) detached]
2020-04-28T23:17:10: Driver indi_gphoto_ccd: pid=11110 rfd=3 wfd=6 efd=7
2020-04-28T23:17:10: listening to port 7624 on fd 4
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
process 11110 is executing new program: /usr/bin/indi_gphoto_ccd
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
2020-04-28T23:17:12: Driver indi_gphoto_ccd: snooping on Telescope Simulator.EQUATORIAL_EOD_COORD
2020-04-28T23:17:12: Driver indi_gphoto_ccd: snooping on Telescope Simulator.TELESCOPE_INFO
2020-04-28T23:17:12: Driver indi_gphoto_ccd: snooping on Telescope Simulator.GEOGRAPHIC_COORD
2020-04-28T23:17:12: Driver indi_gphoto_ccd: snooping on Telescope Simulator.TELESCOPE_PIER_SIDE
2020-04-28T23:17:12: Driver indi_gphoto_ccd: snooping on Rotator Simulator.ABS_ROTATOR_ANGLE
2020-04-28T23:17:12: Driver indi_gphoto_ccd: snooping on Focuser Simulator.ABS_FOCUS_POSITION
2020-04-28T23:17:12: Driver indi_gphoto_ccd: snooping on CCD Simulator.FILTER_SLOT
2020-04-28T23:17:12: Driver indi_gphoto_ccd: snooping on CCD Simulator.FILTER_NAME
2020-04-28T23:17:12: Driver indi_gphoto_ccd: snooping on SQM.SKY_QUALITY
Thread 2.1 "indi_gphoto_ccd" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fb56524b0 (LWP 11110)]
0x00000055555653bc in GPhotoCCD::initProperties() ()
(gdb) bt
#0 0x00000055555653bc in GPhotoCCD::initProperties() ()
#1 0x0000007fb7dc4840 in INDI::DefaultDevice::ISGetProperties (this=0x55555bbe60, dev=0x0)
at /home/odroid/Projects/indi/libs/indibase/defaultdevice.cpp:723
#2 0x0000007fb7dccb30 in INDI::CCD::ISGetProperties (this=0x55555bbe60, dev=0x0)
at /home/odroid/Projects/indi/libs/indibase/indiccd.cpp:475
#3 0x0000005555565498 in GPhotoCCD::ISGetProperties(char const*) ()
#4 0x00000055555621a0 in ISGetProperties ()
#5 0x0000007fb7d9b8a8 in dispatch (root=0x55555bbc90, msg=0x7fffffe608 "")
at /home/odroid/Projects/indi/indidriver.c:964
#6 0x0000007fb7d9b520 in clientMsgCB (fd=0, arg=0x0) at /home/odroid/Projects/indi/indidriver.c:882
#7 0x0000007fb7da13bc in callCallback (rfdp=0x7fffffeea8)
at /home/odroid/Projects/indi/eventloop.c:347
#8 0x0000007fb7da17e0 in oneLoop () at /home/odroid/Projects/indi/eventloop.c:439
#9 0x0000007fb7da05f4 in eventLoop () at /home/odroid/Projects/indi/eventloop.c:106
#10 0x0000007fb7da04b4 in main (ac=0, av=0x7ffffff0d8)
at /home/odroid/Projects/indi/indidrivermain.c:98
#11 0x0000007fb74723ec in __libc_start_main (main=0x7fb7da0314 <main>, argc=1, argv=0x7ffffff0d8,
init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=<optimized out>)
at ../csu/libc-start.c:308
#12 0x000000555555fdc4 in _start ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)
which is the following call to
initProperties(); in ISGetProperties in line 723 stack frame #1
in
DefaultDevice::ISGetProperties(dev); indiccd.cpp line 475 in stack frame # 2
void CCD::ISGetProperties(const char * dev)
{
DefaultDevice::ISGetProperties(dev);
defineText(&ActiveDeviceTP);
loadConfig(true, "ACTIVE_DEVICES");
if (HasStreaming())
Streamer->ISGetProperties(dev);
if (HasDSP())
DSP->ISGetProperties(dev);
}