Crashing on M2 Mac

panagiotis merakos merakosp at gmail.com
Mon Nov 6 08:57:03 EST 2023


Dear Dan,

I did this quick test using LC 9.6.11 RC-1, and deployed to an iOS 17
device and an iOS 17 simulator. In both cases, it worked as expected:

on mouseUp pButtonNumber
   local tVar
   put the seconds into tVar
   convert tVar to date
   answer tVar
end mouseUp

So, either the problem you were seeing in LC 9.6.x is now fixed in LC
9.6.11 RC-1, or I am following a different recipe :)

Kind regards,

Panos

--



On Fri, 3 Nov 2023 at 20:38, Dan Friedman via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Mark,
>
> It is literally:    convert dateSecs to date  //dateSecs is a epoch value
> (as in the seconds).  And yes, I am 100% positive dateSecs is a valid date
>
>
> -Dan
>
>
> From: use-livecode <use-livecode-bounces at lists.runrev.com> on behalf of
> Mark Waddingham via use-livecode <use-livecode at lists.runrev.com>
> Date: Friday, November 3, 2023 at 11:16 AM
> To: How to use LiveCode <use-livecode at lists.runrev.com>
> Cc: Mark Waddingham <mark at livecode.com>
> Subject: Re: Crashing on M2 Mac
> Dan, could you file a bug with the offending line of code which crashed
> ios17 with 9.6.10… Just so we can check it isn’t still there in 9.6.11 :)
>
> Thanks!
>
> Mark
>
> Sent from my iPhone
>
> > On 3 Nov 2023, at 16:48, Dan Friedman via use-livecode <
> use-livecode at lists.runrev.com> wrote:
> >
> > To all,
> >
> > Oops!  I am mistaken…. It wasn’t MacOS that had the issue, it was iOS 17
> that was problem.   iOS app built with 9.6.10 running on iOS 17 crashes
> when the convert command is called.  I can (in my experience) absolutely
> confirm this.  Debugged it down to the single line of code.  Rebuilt the
> app with 10.0.0 (dp 6) and the issue was solved.
> >
> > Apologies for posting the wrong platform.
> >
> > -Dan
> >
> >
> > From: use-livecode <use-livecode-bounces at lists.runrev.com> on behalf of
> panagiotis merakos via use-livecode <use-livecode at lists.runrev.com>
> > Date: Friday, November 3, 2023 at 9:23 AM
> > To: How to use LiveCode <use-livecode at lists.runrev.com>
> > Cc: panagiotis merakos <merakosp at gmail.com>
> > Subject: Re: Crashing on M2 Mac
> > Hello all,
> >
> > We are not aware of any bug in the "convert" command, and I think it is
> > highly unlikely such a bug to affect M2 machines but not M1 ones.
> >
> > We have a M2 machine running Sonoma which is used in the prerelease
> testing
> > so my feeling is that if there was such a bug, we would have caught it in
> > the prerelease testing of 9.6.11 rc1, which included a fix related to the
> > system date on Sonoma. Also, a related report we got about the convert
> > command - but turned out to be not a bug, is this one:
> >
> > https://quality.livecode.com/show_bug.cgi?id=24362
> >
> > BTW, the crash report that is attached in the first post indicates that
> the
> > app was running under Rosetta (> Code Type:X86-64 (Translated))
> >
> > @Peter
> > If you have a reproducible recipe please do file a bug report and include
> > your app or a sample stack - I can give it a try in my Sonoma M2 mac
> mini.
> >
> > Kind regards,
> > Panos
> >
> >
> >> On Fri, 3 Nov 2023 at 14:05, Paul Dupuis via use-livecode <
> >> use-livecode at lists.runrev.com> wrote:
> >>
> >> Also, have you (or could you) try LC 9.6.11rc-1 and see if that has a
> >> fix for the convert issue you found?
> >>
> >> We use convert a lot (currently under LC 9.6.10) and can't take out app
> >> to LC 10, so a 9.6.11 that addresses this convert bug is needed.
> >>
> >>> On 11/2/2023 6:33 PM, Dan Friedman via use-livecode wrote:
> >>> Peter,
> >>>
> >>> I recently discovered (from one of my own apps) that a Mac app built
> >> with 9.6.10 running on Sonoma crashes when the convert command is
> called.
> >> I rebuilt the app in 10.0.0 (dp 6) and the app no longer crashes.   Hope
> >> that helps!
> >>>
> >>> - Dan
> >>>
> >>>
> >>> From: use-livecode <use-livecode-bounces at lists.runrev.com> on behalf
> of
> >> Peter Bogdanoff via use-livecode <use-livecode at lists.runrev.com>
> >>> Date: Thursday, November 2, 2023 at 3:23 PM
> >>> To: Paul Dupuis via use-livecode <use-livecode at lists.runrev.com>
> >>> Cc: Peter Bogdanoff <bogdanoff at me.com>
> >>> Subject: Crashing on M2 Mac
> >>> A user is reporting crashing on his M2 Sonoma Mac.
> >>>
> >>> This was a build of LC 9.6.10, with both Intel and Apple chosen in the
> >> Standalone settings.
> >>>
> >>> It did not crash with only Apple chosen, though there were script
> errors
> >> that did not happen with non-M2 users (M1 is OK). I haven’t been able to
> >> debug that since I don’t have an M2 Mac.
> >>>
> >>> Has anyone used LC with M2?
> >>>
> >>> Peter Bogdanoff
> >>>
> >>>> Process:               MITA [10810]
> >>>> Path:                  /Applications/MITA.app/Contents/MacOS/MITA
> >>>> Identifier:            com.artsinteractiveinc.mita
> >>>> Version:               3.0 (3.0)
> >>>> Code Type:             X86-64 (Translated)
> >>>> Parent Process:        launchd [1]
> >>>> User ID:               501
> >>>>
> >>>> Date/Time:             2023-11-02 13:22:17.1555 -0400
> >>>> OS Version:            macOS 14.1 (23B74)
> >>>> Report Version:        12
> >>>> Anonymous UUID:        982CECFD-B763-4068-2C69-6639836A03DF
> >>>>
> >>>> Sleep/Wake UUID:       DAD13568-D6D9-4419-BF53-FA013DE5385B
> >>>>
> >>>> Time Awake Since Boot: 110000 seconds
> >>>> Time Since Wake:       1041 seconds
> >>>>
> >>>> System Integrity Protection: enabled
> >>>>
> >>>> Notes:
> >>>> PC register does not match crashing frame (0x0 vs 0x1026B9E58)
> >>>>
> >>>> Crashed Thread:        0  Dispatch queue: com.apple.main-thread
> >>>>
> >>>> Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
> >>>> Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000004
> >>>> Exception Codes:       0x0000000000000001, 0x0000000000000004
> >>>>
> >>>> VM Region Info: 0x4 is not in any region.  Bytes before following
> >> region: 140722906071036
> >>>>       REGION TYPE                    START - END         [ VSIZE]
> >> PRT/MAX SHRMOD  REGION DETAIL
> >>>>       UNUSED SPACE AT START
> >>>> --->
> >>>>       mapped file              7ffc9ad40000-7ffcc03e8000 [598.7M]
> >> r-x/r-x SM=COW  ...t_id=60eeba9b
> >>>>
> >>>> Error Formulating Crash Report:
> >>>> PC register does not match crashing frame (0x0 vs 0x1026B9E58)
> >>> _______________________________________________
> >>> use-livecode mailing list
> >>> use-livecode at lists.runrev.com
> >>> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>> _______________________________________________
> >>> use-livecode mailing list
> >>> use-livecode at lists.runrev.com
> >>> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >>
> >> _______________________________________________
> >> use-livecode mailing list
> >> use-livecode at lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


More information about the use-livecode mailing list