https://bugs.kde.org/show_bug.cgi?id=497187

--- Comment #5 from Philip Bartlett <phil.bartl...@optusnet.com.au> ---
Hy,

I tried your suggested change yesterday and it didn't work. However, 
after playing around, I got it partially working. I used the "Settings > 
Startup Wizard > Download Extra Data" to download the "ImagingPlanner 
Catalog1". Once this was installed, the ImagingPlanner launched and it 
began populating the targets table on the left ... then it crashes!

I downloaded the imagingPlanner.cpp and .h from your merge request, but 
this also crashes.

I then updated kstars on the mini-PC on my telescope to 3.7.4 stable. 
This PC is still running Kubuntu 24.04.1 LTS (my laptop was upgraded to 
Kubuntu 24.10) so I thought this would rule out anything that is related 
to 24.10. This also crashed, but because it is such a slow PC I could 
see what it was up too. It cycles, successfully,  through five lists of 
objects (sizes 109, 95 151, 191 and 9), adding them to the table, and 
then crashes. But, if you don't blink!!!, it does seem to update the 
altitude vs time plot just before the crash. After restarting kstars and 
running imagingPlanner it crashes immediately, so presumably it has 
saved the targets list to a database and doesn't need to perform the 
initial setup.

I have very little experience with c++ and no experience with the QT 
environment (I have a supercomputing background with Fortran) but am 
happy to put some DPRINT(stderr,"message") statements throughout the 
code to trace where it is getting to if you can direct me to which 
functions in imagingPlanner.cpp might be worth focusing on based on my 
description of where it got up to before the crash. Or any other 
suggestions for trying to help debug it.

FYI, there is some stderr output when I run kstars from the terminal. 
After launching kstars I get:

kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: 
"unnamed object" msgid_plural: "" msgctxt: ""
kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: 
"star" msgid_plural: "" msgctxt: ""
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen
Call to writableLocation without an application-based location.

There are MANY of the kf.i18n: errors that I haven't included. After the 
crash it shows:

KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kstars path = /usr/bin pid = 9019
KCrash: Arguments: /usr/bin/kstars
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen


I hope this helps, and I look forward to further ideas.

Regards,

Philip

On 10/12/24 12:12, Hy wrote:
> https://bugs.kde.org/show_bug.cgi?id=497187
>
> --- Comment #3 from Hy <hymu...@gmail.com> ---
> Philip,
> I no longer think that that change is a good idea. Sorry if you spent time
> testing it.  I just put i an MR with some changes and am trying to merge it
> into the 3.7.5 beta tree. When it's merged, or if you can get
> imagingPlanner.cpp and imagingPlanner.h from
> https://invent.kde.org/education/kstars/-/merge_requests/1385 please test 
> that.
> If it does fix things, we can see if we can patch it into 3.7.4.
> Hy
>

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to