gdb -ex "set follow-fork-mode child" -ex run --args indiserver -v indi_qhy_ccd indi_simulator_telescope GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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 "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from indiserver...(no debugging symbols found)...done. Starting program: /usr/bin/indiserver -v indi_qhy_ccd indi_simulator_telescope [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 2019-03-03T20:40:54: startup: /usr/bin/indiserver -v indi_qhy_ccd indi_simulator_telescope [New process 2961] 2019-03-03T20:40:54: Driver indi_qhy_ccd: pid=2961 rfd=3 wfd=6 efd=7 2019-03-03T20:40:54: Driver indi_simulator_telescope: pid=2962 rfd=4 wfd=9 efd=10 2019-03-03T20:40:54: listening to port 7624 on fd 5 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". process 2961 is executing new program: /usr/bin/indi_qhy_ccd 2019-03-03T20:40:54: Driver indi_simulator_telescope: snooping on GPS Simulator.GEOGRAPHIC_COORD 2019-03-03T20:40:54: Driver indi_simulator_telescope: snooping on GPS Simulator.TIME_UTC 2019-03-03T20:40:54: Driver indi_simulator_telescope: snooping on Dome Simulator.DOME_PARK 2019-03-03T20:40:54: Driver indi_simulator_telescope: snooping on Dome Simulator.DOME_SHUTTER [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 2019-03-03T20:40:55: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDResource|InitQHYCCDResource | START [New Thread 0x7fffe9f44700 (LWP 2963)] 2019-03-03T20:40:55: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDResource| InitQHYCCDResource END 2019-03-03T20:40:55: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|ScanQHYCCD|ScanQHYCCD 2019-03-03T20:40:55: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|ScanQHYCCD| SCAN start 2019-03-03T20:40:55: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|DeviceIsQHYCCD|vid = 1618 pid = 921 2019-03-03T20:40:55: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDClass|InitQHYCCDClass(camtype,index): 3002 0 2019-03-03T20:40:55: Driver indi_qhy_ccd: QHYCCD|QHY5IIBASE.CPP|QHY5IIBASE|QHY5IIBASE 2019-03-03T20:40:55: Driver indi_qhy_ccd: QHYCCD|QHY5LIIBASE.CPP|QHY5LIIBASE|QHY5LIIBASE 2019-03-03T20:40:55: Driver indi_qhy_ccd: QHYCCD|QHY5LII_M.CPP|QHY5LII_M|QHY5LII_M 2019-03-03T20:40:55: Driver indi_qhy_ccd: QHYCCDRD|QHYCCD.CPP|InitQHYCCDClass|nSize ccdimagew ccdimageh 1280 960 2019-03-03T20:40:55: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDClass|imagequeuelength 0x594840 framelength 0x594840 2019-03-03T20:40:55: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|ScanQHYCCD| Scan init the imagequeue,nSize=5851200 2019-03-03T20:40:55: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|GetIdFromCam|GetIdFromCam 2019-03-03T20:40:55: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|ScanQHYCCD|ScanQHYCCD numdev=1 2019-03-03T20:40:55: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|ScanQHYCCD| Scan finished. Return nid=1 2019-03-03T20:40:55: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|GetQHYCCDId|GetQHYCCDId 2019-03-03T20:40:55: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|GetQHYCCDId| GetQHYCCDId | START 2019-03-03T20:40:55: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|GetQHYCCDId|QHYCCD GetQHYCCDId | index=0 id=QHY5LII-M-60b7d710f33c7351 2019-03-03T20:40:55: Driver indi_qhy_ccd: snooping on Telescope Simulator.EQUATORIAL_EOD_COORD 2019-03-03T20:40:55: Driver indi_qhy_ccd: snooping on Telescope Simulator.TELESCOPE_INFO 2019-03-03T20:40:55: Driver indi_qhy_ccd: snooping on Telescope Simulator.GEOGRAPHIC_COORD 2019-03-03T20:40:55: Driver indi_qhy_ccd: snooping on Focuser Simulator.ABS_ROTATOR_ANGLE 2019-03-03T20:40:55: Driver indi_qhy_ccd: snooping on CCD Simulator.FILTER_SLOT 2019-03-03T20:40:55: Driver indi_qhy_ccd: snooping on CCD Simulator.FILTER_NAME 2019-03-03T20:40:55: Driver indi_qhy_ccd: snooping on SQM.SKY_QUALITY 2019-03-03T20:40:55: Driver indi_qhy_ccd: snooping on EQMod Mount.EQUATORIAL_EOD_COORD 2019-03-03T20:40:55: Driver indi_qhy_ccd: snooping on EQMod Mount.TELESCOPE_INFO 2019-03-03T20:40:55: Driver indi_qhy_ccd: snooping on EQMod Mount.GEOGRAPHIC_COORD 2019-03-03T20:41:22: Client 0: new arrival from 127.0.0.1:37850 - welcome! 2019-03-03T20:41:26: Driver indi_simulator_telescope: snooping on Joystick.JOYSTICK_1 2019-03-03T20:41:26: Driver indi_simulator_telescope: snooping on Joystick.JOYSTICK_2 2019-03-03T20:41:26: Driver indi_simulator_telescope: snooping on Joystick.JOYSTICK_AXIS 2019-03-03T20:41:26: Driver indi_simulator_telescope: snooping on Joystick.JOYSTICK_BUTTONS Thread 2.1 "indi_qhy_ccd" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffff7fb9900 (LWP 2961)] 0x00007ffff7aa989c in IUFindNumber () from /usr/lib/x86_64-linux-gnu/libindidriver.so.1 (gdb) backtrace #0 0x00007ffff7aa989c in IUFindNumber () from /usr/lib/x86_64-linux-gnu/libindidriver.so.1 #1 0x00007ffff7ad3901 in INDI::CCDChip::setMinMaxStep(char const*, char const*, double, double, double, bool) () from /usr/lib/x86_64-linux-gnu/libindidriver.so.1 #2 0x000055555555d154 in QHYCCD::Connect() () #3 0x00007ffff7ab04e2 in INDI::DefaultDevice::ISNewSwitch(char const*, char const*, ISState*, char**, int) () from /usr/lib/x86_64-linux-gnu/libindidriver.so.1 #4 0x00007ffff7abc3b1 in INDI::CCD::ISNewSwitch(char const*, char const*, ISState*, char**, int) () from /usr/lib/x86_64-linux-gnu/libindidriver.so.1 #5 0x000055555555ed57 in QHYCCD::ISNewSwitch(char const*, char const*, ISState*, char**, int) () #6 0x000055555555a398 in ISNewSwitch () #7 0x00007ffff7a99b30 in dispatch () from /usr/lib/x86_64-linux-gnu/libindidriver.so.1 #8 0x00007ffff7a9a199 in clientMsgCB () from /usr/lib/x86_64-linux-gnu/libindidriver.so.1 #9 0x00007ffff7a9ac49 in ?? () from /usr/lib/x86_64-linux-gnu/libindidriver.so.1 #10 0x00007ffff7a9ac6c in eventLoop () from /usr/lib/x86_64-linux-gnu/libindidriver.so.1 #11 0x00007ffff7a9a898 in main () ---Type to continue, or q to quit--- from /usr/lib/x86_64-linux-gnu/libindidriver.so.1 #12 0x00007ffff34fab97 in __libc_start_main (main=0x7ffff7a9a789
, argc=1, argv=0x7fffffffe028, init=, fini=, rtld_fini=, stack_end=0x7fffffffe018) at ../csu/libc-start.c:310 #13 0x000055555555945a in _start ()