[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kstars-devel
Subject:    Re: Kstars 3.6.0 MacOS find Object crash
From:       Robert Lancaster <rlancaste () gmail ! com>
Date:       2022-08-16 14:28:55
Message-ID: E0A84002-4BC8-45AB-A1E9-1B44D2154518 () gmail ! com
[Download RAW message or body]

Hey guys,

I just got back from my two week trip to the Southwest.  Yesterday I resolved the issue with building a \
dmg with my script, so now I can build DMGs that will work with older Macs and have all the features we \
want in the dmg.  

Next we can look into this Find Dialog bug.  I did some experiments today and I found that if I run \
kstars from the command line or in a debugger, the find dialog works fine, but when running the app by \
double clicking it crashes when you first access the find dialog.  This seems to me to indicate an \
environment issue, like maybe an issue with environment variables or maybe a link to a library that isn't \
properly in the app.  I will check further.

Thanks,

Rob

> On Aug 13, 2022, at 6:09 AM, John Evans <john.e.evans.email@gmail.com> wrote:
> 
> I have the same problem with 3.6.0. Crashes everytime the find object dialog is invoked (button, \
> keyboard, etc.) 
> Works great when I run it in debug in Qt though.
> 
> Workaround is to use the skymap and click on the object you want. In the scheduler enter some text in \
> the object field (doesn't matter what) and hit the + to use sky coordinates from the map. 
> On Sat, 13 Aug 2022 at 10:05, Akarsh Simha <akarshsimha@gmail.com <mailto:akarshsimha@gmail.com>> \
> wrote: 
> 
> On Sat, Aug 13, 2022 at 01:27 Peter Amerl <pvamerl@gmail.com <mailto:pvamerl@gmail.com>> wrote:
> Hi All, 
> Has anyone else experienced an immediate crash when searching for objects on a Mac using the Apple-f \
> key combination? I can confirm that it has worked in the past without a crash. Neither Ctrl-f, nor \
> selecting it from the menu appears to work for me at this time.  The Crash trace is appended in the zip \
> if anyone wants to have a look. 
> Hi Peter
> 
> When you say it worked in the past, could you provide the exact version / git commit, and also your \
> current version / git  commit that has the bug? I made several changes to the Find Dialog in the most \
> recent version, notably performing asynchronous database queries through another thread. It never \
> crashed on my Linux system. Also curious if someone else can reproduce it on MacOS or if it is unique \
> to your system. 
> Regards
> Akarsh
> 
> 
> Cheers, 
> Peter 
> 
> 


[Attachment #3 (unknown)]

<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body \
style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hey \
guys,<div class=""><br class=""></div><div class="">I just got back from my two week trip to the \
Southwest. &nbsp;Yesterday I resolved the issue with building a dmg with my script, so now I can build \
DMGs that will work with older Macs and have all the features we want in the dmg. &nbsp;</div><div \
class=""><br class=""></div><div class="">Next we can look into this Find Dialog bug. &nbsp;I did some \
experiments today and I found that if I run kstars from the command line or in a debugger, the find \
dialog works fine, but when running the app by double clicking it crashes when you first access the find \
dialog. &nbsp;This seems to me to indicate an environment issue, like maybe an issue with environment \
variables or maybe a link to a library that isn't properly in the app. &nbsp;I will check \
further.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br \
class=""></div><div class="">Rob</div><div class=""><div><br class=""><blockquote type="cite" \
class=""><div class="">On Aug 13, 2022, at 6:09 AM, John Evans &lt;<a \
href="mailto:john.e.evans.email@gmail.com" class="">john.e.evans.email@gmail.com</a>&gt; wrote:</div><br \
class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I have the same problem with \
3.6.0. Crashes everytime&nbsp;the find object dialog is invoked (button, keyboard, etc.)<div class=""><br \
class=""></div><div class="">Works great when I run it in debug in Qt though.</div><div class=""><br \
class=""></div><div class="">Workaround is to use the skymap and click on the object you want. In \
the&nbsp;scheduler enter some text in the object field (doesn't matter what) and hit the&nbsp;+ to use \
sky coordinates from the map.</div></div><br class=""><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Sat, 13 Aug 2022 at 10:05, Akarsh Simha &lt;<a href="mailto:akarshsimha@gmail.com" \
class="">akarshsimha@gmail.com</a>&gt; wrote:<br class=""></div><blockquote class="gmail_quote" \
style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div \
class=""><br class=""></div><div class=""><br class=""><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Sat, Aug 13, 2022 at 01:27 Peter Amerl &lt;<a href="mailto:pvamerl@gmail.com" \
target="_blank" class="">pvamerl@gmail.com</a>&gt; wrote:<br class=""></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">Hi \
All, <br class=""> Has anyone else experienced an immediate crash when searching for objects on a Mac \
using the Apple-f key combination?<br class=""> I can confirm that it has worked in the past without a \
crash. Neither Ctrl-f, nor selecting it from the menu appears to work for me at this time. <br class=""> \
The Crash trace is appended in the zip if anyone wants to have a look.<br class=""> </blockquote><div \
dir="auto" class=""><br class=""></div><div dir="auto" class="">Hi Peter</div><div dir="auto" \
class=""><br class=""></div><div dir="auto" class="">When you say it worked in the past, could you \
provide the exact version / git commit, and also your current version / git &nbsp;commit that has the \
bug? I made several changes to the Find Dialog in the most recent version, notably performing \
asynchronous database queries through another thread. It never crashed on my Linux system. Also curious \
if someone else can reproduce it on MacOS or if it is unique to your system.</div><div dir="auto" \
class=""><br class=""></div><div dir="auto" class="">Regards</div><div dir="auto" \
class="">Akarsh</div><div dir="auto" class=""><br class=""></div><blockquote class="gmail_quote" \
style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><br \
class=""> Cheers, <br class="">
Peter <br class="">
<br class="">
<br class="">
</blockquote></div></div>
</blockquote></div>
</div></blockquote></div><br class=""></div></body></html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic