×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Kstars crash when connecting to my roof driver

  • Posts: 456
  • Thank you received: 76
Something strange happening. I start indiserver from a shell script then start Kstars and Ekos and connect to the 'remote' indi server running on localhost.
I've been doing this for the last few months but a recent apt-get update upgrade has caused Kstars to crash when I click connect button on my roof driver. All other devices are fine. I have a gdb backtrace below. Any ideas?
Thanks,
Derek
(gdb) run
Starting program: /usr/bin/kstars 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe3786700 (LWP 3486)]
[New Thread 0x7fffd8021700 (LWP 3489)]
 
Thread 1 "kstars" received signal SIGSEGV, Segmentation fault.
0x0000000000646459 in ?? ()
(gdb) backtrace
#0  0x0000000000646459 in ?? ()
#1  0x000000000059befc in ?? ()
#2  0x00007ffff3d21fca in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x000000000058b622 in ?? ()
#4  0x00000000005d48a5 in ?? ()
#5  0x000000000059b4bc in ?? ()
#6  0x00007ffff3d22ea1 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ffff4acf05c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007ffff4ad4516 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007ffff3cf362b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ffff3cf5a26 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007ffff3d49673 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fffef3f21a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007fffef3f2400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007fffef3f24ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007ffff3d49a7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007ffff3cf0dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007ffff3cf8e8c in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x000000000047ca72 in ?? ()
#19 0x00007ffff28a3830 in __libc_start_main (main=0x47b2a0, argc=1, argv=0x7fffffffdf88, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fffffffdf78) at ../csu/libc-start.c:291
#20 0x0000000000486579 in _start ()
(gdb) Quit
(gdb) 
 
Last edit: 7 years 6 months ago by Derek.
7 years 6 months ago #10411

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

Sorry about that, but it looks like Qt issue than anything else, perhaps another update or "build from source" will resolve this issues.
7 years 6 months ago #10426

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

  • Posts: 456
  • Thank you received: 76
Thanks Jasem,
Actually it started happening after an update. Got another update yesterday and same.
Do you mean build kstars from source or indi?
I tried rebuilding my roof driver but no effect.
I saw someone else with a similar issue when connecting a dome. Maybe some switch that comes back from dome drivers, triggering some GUI update that qt does not like?
Derek
7 years 6 months ago #10427

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

Testing with simulators does not produce a problem, I will try with my "real" rolloff today and see.
The following user(s) said Thank You: Derek
7 years 6 months ago #10428

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

  • Posts: 456
  • Thank you received: 76
Yep tried that :-)
Also, I have another machine (laptop) with the same version of kubuntu and updated kstars-bleeding and I tried that last night. Connected to the roof controller and it does not crash...
So its very strange. I'm going to try uninstalling kstars and reinstalling on the observatory's PC tonight and see if that helps.

Derek
7 years 6 months ago #10430

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

Found the issue, so it was

if (captureProgress) but it was supposed to be if (captureProcess), so it's fixed now. Should be in PPA tomorrow. Sorry about that!
The following user(s) said Thank You: Derek
7 years 6 months ago #10441

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

  • Posts: 456
  • Thank you received: 76
Great! :-) Thanks Jasem.
Derek
7 years 6 months ago #10453

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

  • Posts: 271
  • Thank you received: 72
Hi. I seem to be having the same issue with my roof driver (USBRelay2 Roof)
I can see in stacktrace a issue with Ekos::Capture::SetDome capture.h:253
Got this issue when updating in the weekend, and it's still here after updating kstars-bleeding via apt and rebuilding libindi + roof driver from source.

It's possible to reproduce by starting indiserver with USBRelay2 Roof -> Enable simulation -> connect
When the issue arose, i did not update my laptop, and the laptop was still working.

Thanks in advance :)
Sorry if this is not the same issue.


File Attachment:

File Name: kstars(usb...rash.txt
File Size:4 KB
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
7 years 6 months ago #10462
Attachments:

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

  • Posts: 271
  • Thank you received: 72
Built KStars from source, and issue was resolved :)
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
7 years 6 months ago #10470

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

  • Posts: 456
  • Thank you received: 76
Thanks Jasem,
Updated from PPA and working now.

Also everything seems to 'fit' now in my poor resolution vnc display. 1024x768 resolution is now much easier to use with Ekos :-)
Also I really like the new dashboard in Ekos showing the summary of everything in one place. Great work!!

Derek
7 years 5 months ago #10488

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

PPA is not working now, if you got something from PPA, it's from about 2 weeks ago.
7 years 5 months ago #10490

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

  • Posts: 456
  • Thank you received: 76
Hmm ok thats strange, here's the output of my update... Looks like I got kstars-bleeding amd64 5:16.04+r6029.2633~ubuntu16.04.1
Anyway the roof is opening :-) I'll update again when PPA is ok and test again.
Derek
32 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 21.2 MB of archives.
After this operation, 5,120 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 libindi-dev amd64 1.2.0+r2633~201609280004~ubuntu16.04.1 [287 kB]
Get:2 http://ie.archive.ubuntu.com/ubuntu xenial-updates/main amd64 snap-confine amd64 1.0.38-0ubuntu0.16.04.10 [19.7 kB]
Get:3 http://ie.archive.ubuntu.com/ubuntu xenial-updates/main amd64 ubuntu-core-launcher amd64 1.0.38-0ubuntu0.16.04.10 [2,696 B]
Get:4 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 libindi-data all 1.2.0+r2633~201609280004~ubuntu16.04.1 [8,530 B]
Get:5 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 libindi1 amd64 1.2.0+r2633~201609280004~ubuntu16.04.1 [229 kB]
Get:6 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 indi-bin amd64 1.2.0+r2633~201609280004~ubuntu16.04.1 [618 kB]
Get:7 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 indi-eqmod amd64 0.3+r2633~201609280004~ubuntu16.04.1 [93.7 kB]                                                     
Get:8 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 indi-sx amd64 1.4+r2633~201609280004~ubuntu16.04.1 [32.4 kB]                                                        
Get:9 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 indi-sbig amd64 1.7+r2633~201609280003~ubuntu16.04.1 [35.3 kB]                                                      
Get:10 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 libapogee3 amd64 3.0.3234+r2633~201609280004~ubuntu16.04.1 [368 kB]                                                
Get:11 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 indi-apogee amd64 1.5+r2633~201609280005~ubuntu16.04.1 [24.6 kB]                                                   
Get:12 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 indi-gphoto amd64 1.4+r2633~201609280005~ubuntu16.04.1 [41.0 kB]                                                   
Get:13 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 libqsi7 amd64 7.2.0+r2633~201609280005~ubuntu16.04.1 [199 kB]                                                      
Get:14 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 indi-qsi amd64 0.5.0+r2633~201609280003~ubuntu16.04.1 [24.2 kB]                                                    
Get:15 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 libfishcamp amd64 1.0+r2633~201609280010~ubuntu16.04.1 [43.6 kB]                                                   
Get:16 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 indi-fishcamp amd64 1.0+r2633~201609280003~ubuntu16.04.1 [14.8 kB]                                                 
Get:17 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 indi-maxdomeii amd64 1.1+r2633~201609280004~ubuntu16.04.1 [14.5 kB]                                                
Get:18 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 indi-asi amd64 0.5+r2633~201609280005~ubuntu16.04.1 [177 kB]                                                       
Get:19 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 indi-aagcloudwatcher amd64 1.3+r2633~201609280004~ubuntu16.04.1 [22.6 kB]                                          
Get:20 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 indi-ffmv amd64 0.1+r2633~201609280004~ubuntu16.04.1 [11.0 kB]                                                     
Get:21 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 indi-dsi amd64 0.1+r2633~201609280004~ubuntu16.04.1 [53.2 kB]                                                      
Get:22 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 libqhy amd64 0.1.8+r2633~201609280003~ubuntu16.04.1 [475 kB]                                                       
Get:23 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 indi-qhy amd64 1.6+r2633~201609280005~ubuntu16.04.1 [21.7 kB]                                                      
Get:24 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 indi-gpsd amd64 0.3+r2633~201609280003~ubuntu16.04.1 [7,870 B]                                                     
Get:25 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 indi-mi amd64 1.1+r2633~201609280004~ubuntu16.04.1 [51.3 kB]                                                       
Get:26 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 indi-duino amd64 0.2+r2633~201609280004~ubuntu16.04.1 [22.0 kB]                                                    
Get:27 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 fliusb-dkms amd64 1.3+r2633~201609280004~ubuntu16.04.1 [9,278 B]                                                   
Get:28 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 libfli1 amd64 1.8.ubuntu5+r2633~201609280004~ubuntu16.04.1 [36.3 kB]                                               
Get:29 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 indi-fli amd64 1.0.0ubuntu3+r2633~201609280003~ubuntu16.04.1 [27.8 kB]                                             
Get:30 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 indi-full amd64 1.2~201609280004~ubuntu16.04.1 [2,008 B]                                                           
Get:31 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 kstars-bleeding-data all 5:16.04+r6029.2633~ubuntu16.04.1 [16.3 MB]                                                
Get:32 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 kstars-bleeding amd64 5:16.04+r6029.2633~ubuntu16.04.1 [2,005 kB]                                                  
Fetched 21.2 MB in 1min 43s (205 kB/s)
7 years 5 months ago #10491

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

Time to create page: 0.316 seconds