Re: Upgrading 32-bit Mac apps to 64-bit

Paul Young <[email protected]>
Newsgroups gmane.comp.lang.realbasic.user
Message-ID <[email protected]>
Thanks, Jon.

Appreciate your input.

Paul Young, CSoM






> On May 20, 2017, at 1:09 PM, Jon Ogden <[email protected]> wrote:
> 
> Thinking about this further, this is my educated guess. 
> 
> The 32 bit framework shut things down in a certain order and you relied on that in your code to close out all your objects. The 64 bit framework is handling all that differently so the order you relied on before is now different. So some object is calling on or relying on some other object that is already closed. When that happens things crash. 
> 
> You'll just have to step through things to figure it out. Don't rely on the framework doing things in a specific order. 
> 
> Sent from my iPhone
> 
>> On May 20, 2017, at 12:01 PM, Jon Ogden <[email protected]> wrote:
>> 
>> You have something in your code that is not truly 64 bit compatible. Maybe you are using a 32 bit integer some place where you should be using 64 bit. 
>> 
>> There's not much that one can tell from that. But it looks to me like some object isn't closing correctly. 
>> 
>> You don't have to do much to make 64 bit work. But you do have to adjust some things. 
>> 
>> I would try stepping through the code when closing your app to find the thing causing the problem. It has likely always been there but Xojo and the 32 bit framework was a little more forgiving. 
>> 
>> Sent from my iPhone
>> 
>>> On May 20, 2017, at 11:00 AM, Paul Young <[email protected]> wrote:
>>> 
>>> I am using a MacBook Pro running macOS Sierra Version 10.12.4 to upgrade my first six 32-bits Mac apps to 64-bits.
>>> 
>>> Each of the six apps worked fine when compiled for 32-bits.
>>> 
>>> Because my Mac Xojo license expired late last year, I used Xojo 2017 Release 1.1 to test the apps in the IDE for 64-bits and then compiled them for 64-bits using Xojo 2016 Release 3.
>>> 
>>> Launching each app twenty times, I recorded an exception upon close 20% to 50% of the time.
>>> 
>>> The Console log shows: “Service exited dur to signal: Segmentation fault: 11 sent by exc handler (0).
>>> 
>>> Can someone tell me in simple English what this means?
>>> 
>>> Thanks in advance.
>>> 
>>> Paul Young, CSoM

_______________________________________________

Xojo forum:

https://forum.xojo.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.