[OpenSmalltalk/opensmalltalk-vm] Latest commit segfaults win64x64.squeak.cog.spur (#498)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[OpenSmalltalk/opensmalltalk-vm] Latest commit segfaults win64x64.squeak.cog.spur (#498)

David T Lewis
 

ee89a4d

Trying to load a 64-bit image, the VM segfaults in gcc3x-cointerp.c line 2809 memset(theStackMemory, 0, stackPagesBytes);

Other win64x64 targets might be affected. I tested both a custom build and bintray version: https://bintray.com/opensmalltalk/vm/download_file?file_path=squeak.cog.spur_win64x64_202005091950.zip


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

<script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/498", "url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/498", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]</script>
Reply | Threaded
Open this post in threaded view
|

Re: [OpenSmalltalk/opensmalltalk-vm] Latest commit segfaults win64x64.squeak.cog.spur (#498)

David T Lewis
 

I have rebuild a working VM from 020c80f
(CogVM source as per VMMaker.oscog-eem.2751 - may 8)

But this one segfaults: ee89a4d
(Merge branch 'Cog' of https://github.com/OpenSmalltalk/opensmalltalk-vm into Cog - may 9)


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

<script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/498#issuecomment-647187799", "url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/498#issuecomment-647187799", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]</script>
Reply | Threaded
Open this post in threaded view
|

Re: [OpenSmalltalk/opensmalltalk-vm] Latest commit segfaults win64x64.squeak.cog.spur (#498)

David T Lewis
In reply to this post by David T Lewis
 

Ah Ah!
If I revert those 3 lines from build.win64x64/common/Makefile.tools then the broken VM works again!

ifeq ($(COMPILER_TO_USE),clang)
COGDEFS:=$(COGDEFS) -mno-stack-arg-probe
endif

So the problem comes from 920248d


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

<script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/498#issuecomment-647189330", "url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/498#issuecomment-647189330", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]</script>
Reply | Threaded
Open this post in threaded view
|

Re: [OpenSmalltalk/opensmalltalk-vm] Latest commit segfaults win64x64.squeak.cog.spur (#498)

David T Lewis
In reply to this post by David T Lewis
 

This might be relevant material about stack handling in windows NT:

https://stackoverflow.com/questions/8400118/what-is-the-purpose-of-the-chkstk-function
https://archive.is/J01oT
https://docs.microsoft.com/en-us/windows/win32/devnotes/-win32-chkstk
https://bugs.llvm.org/show_bug.cgi?id=36221
https://bugs.llvm.org/show_bug.cgi?id=21896
...


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

<script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/498#issuecomment-672949156", "url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/498#issuecomment-672949156", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]</script>
Reply | Threaded
Open this post in threaded view
|

Re: [OpenSmalltalk/opensmalltalk-vm] Latest commit segfaults win64x64.squeak.cog.spur (#498)

David T Lewis
In reply to this post by David T Lewis
 

Closed #498.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

<script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/498#event-3895882267", "url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/498#event-3895882267", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]</script>