discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

OpenSCAD crashing on F6

J
jon
Mon, Mar 2, 2015 6:14 AM

Marius:

Thanks for the help!

Given that I am now having problems with the year-old software that has
worked up until today, your suggestion did not make much sense to me.
However, I did download the snap shot, and it, too fails in the same way
on my proprietary code.  Interestingly, it works with

cube(10);
sphere(10);

I figure something external to OpenSCAD has changed, but I can't imagine
what

Jon

On 3/1/2015 12:42 PM, Marius Kintel wrote:

On Mar 1, 2015, at 12:20 PM, jon jon@jonbondy.com wrote:

I have tried released OpenSCAd code from a year ago as well as a development snapshot (2015.02.05), both of which fail.

We’ve been doing a lot of development recently and some snapshots have been a bit unstable.
Could you try 2015.02.25 ?

-Marius


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Marius: Thanks for the help! Given that I am now having problems with the year-old software that has worked up until today, your suggestion did not make much sense to me. However, I did download the snap shot, and it, too fails in the same way on my proprietary code. Interestingly, it works with cube(10); sphere(10); I figure something external to OpenSCAD has changed, but I can't imagine what Jon On 3/1/2015 12:42 PM, Marius Kintel wrote: > On Mar 1, 2015, at 12:20 PM, jon <jon@jonbondy.com> wrote: >> I have tried released OpenSCAd code from a year ago as well as a development snapshot (2015.02.05), both of which fail. >> > We’ve been doing a lot of development recently and some snapshots have been a bit unstable. > Could you try 2015.02.25 ? > > -Marius > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > >
J
jon
Mon, Mar 2, 2015 6:44 AM

The attached SCAD file crashes here with the 2015-02-25 snapshot

On 3/1/2015 1:34 PM, Marius Kintel wrote:

On Mar 2, 2015, at 01:14 AM, jon jon@jonbondy.com wrote:

Given that I am now having problems with the year-old software that has worked up until today, your suggestion did not make much sense to me.  However, I did download the snap shot, and it, too fails in the same way on my proprietary code.  Interestingly, it works with

It’s hard to answer that question in the dark.
I know that early versions of Windows 8.1 had some bugs causing software to crash, but they seem to have been fixed in Windows itself.

To get stack traces, the best solution would be to build OpenSCAD yourself. If you’re a software dev, that shouldn’t be too hard, see https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_on_Microsoft_Windows.

The next thing to try would be to make it possible for us to reproduce the problem. If you could slim down the code as much as possible (given that your design is proprietary), I could give it a spin in a VM. I don’t have access to any 64-bit Windows platforms, but perhaps someone on this list could give that a spin.

-Marius

The attached SCAD file crashes here with the 2015-02-25 snapshot On 3/1/2015 1:34 PM, Marius Kintel wrote: > On Mar 2, 2015, at 01:14 AM, jon <jon@jonbondy.com> wrote: >> Given that I am now having problems with the year-old software that has worked up until today, your suggestion did not make much sense to me. However, I did download the snap shot, and it, too fails in the same way on my proprietary code. Interestingly, it works with >> > It’s hard to answer that question in the dark. > I know that early versions of Windows 8.1 had some bugs causing software to crash, but they seem to have been fixed in Windows itself. > > To get stack traces, the best solution would be to build OpenSCAD yourself. If you’re a software dev, that shouldn’t be too hard, see https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_on_Microsoft_Windows. > > The next thing to try would be to make it possible for us to reproduce the problem. If you could slim down the code as much as possible (given that your design is proprietary), I could give it a spin in a VM. I don’t have access to any 64-bit Windows platforms, but perhaps someone on this list could give that a spin. > > -Marius >
B
basile
Mon, Mar 2, 2015 8:11 AM

I have tested the attached .scad with the suggested .stl by kintel on my
machine (Win8.1 x64)
on versions 2014.10.02 and 2015.02.25 and it didn't crush either times.

I tested the "cube + sphere" example too and it didn't have any problems.


basile

View this message in context: http://forum.openscad.org/OpenSCAD-crashing-on-F6-tp11788p11812.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

I have tested the attached .scad with the suggested .stl by kintel on my machine (Win8.1 x64) on versions 2014.10.02 and 2015.02.25 and it didn't crush either times. I tested the "cube + sphere" example too and it didn't have any problems. ----- basile -- View this message in context: http://forum.openscad.org/OpenSCAD-crashing-on-F6-tp11788p11812.html Sent from the OpenSCAD mailing list archive at Nabble.com.
J
jon
Mon, Mar 2, 2015 12:03 PM

That is not at all my proprietary work, LOL!  It was just the first
non-proprietary example that failed, and that I know worked at one time.

My previous  machine was also a Windows 8.1 64 bit machine, but it could
not run OpenGL 2.0.  Before MicroSoft forced me to upgrade from WIn 8.0
to Win 8.1, everything was working well.

I will try playing with this on two other Win 8.1 machines that I have
here, tomorrow.

On 3/1/2015 6:17 PM, MichaelAtOz wrote:

If that is the STL you are using in your proprietary work then you need to
fix it. It has one degenerate face.
http://forum.openscad.org/file/n11803/Octopus2_degen.jpg

Using W7/64.

For F5 (with 2014.03/64, 2015.02.25/64, 2014.02.26/32) it shows as:
http://forum.openscad.org/file/n11803/Octopus_F5.jpg
OpenSCAD does not handle poor STLs well.

F6 for all the above works. And a exported STL is intact.

So as you said, a problem with Win 8 and your PC. Sorry can't help further.


Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/

View this message in context: http://forum.openscad.org/OpenSCAD-crashing-on-F6-tp11788p11803.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

That is not at all my proprietary work, LOL! It was just the first non-proprietary example that failed, and that I know worked at one time. My previous machine was also a Windows 8.1 64 bit machine, but it could not run OpenGL 2.0. Before MicroSoft forced me to upgrade from WIn 8.0 to Win 8.1, everything was working well. I will try playing with this on two other Win 8.1 machines that I have here, tomorrow. On 3/1/2015 6:17 PM, MichaelAtOz wrote: > If that is the STL you are using in your proprietary work then you need to > fix it. It has one degenerate face. > <http://forum.openscad.org/file/n11803/Octopus2_degen.jpg> > > Using W7/64. > > For F5 (with 2014.03/64, 2015.02.25/64, 2014.02.26/32) it shows as: > <http://forum.openscad.org/file/n11803/Octopus_F5.jpg> > OpenSCAD does not handle poor STLs well. > > F6 for all the above works. And a exported STL is intact. > > So as you said, a problem with Win 8 and your PC. Sorry can't help further. > > > > ----- > Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above. > > The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ > -- > View this message in context: http://forum.openscad.org/OpenSCAD-crashing-on-F6-tp11788p11803.html > Sent from the OpenSCAD mailing list archive at Nabble.com. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
J
jon
Mon, Mar 2, 2015 12:11 PM

Yes, the octopus came from Thingiverse.

My previous computer was a Win 8.0 64-bit system.  All worked well until
MicroSoft forced me to upgrade from Win 8.0 to Win 8.1, at which point
OpenGL stopped working (unsupported  hardware).  So I doubt that this is
simply a 64-bit bug.  And OpenSCAD continued to work on the old
computer: the visualizations were impossible to use (F5 had artifacts,
and F6 took forever) so I invested in the new hardware.

Please note that the old 2014-03 release worked well for 9 months on the
Windows 8.0 64 bit system.  I am beginning to believe that OpenSCAD has
never worked for non-trivial models on this computer. I just did not
notice it for the last month (did not need to generate those models here).

Very frustrating.

Jon

On 3/1/2015 2:12 PM, Marius Kintel wrote:

On Mar 2, 2015, at 01:44 AM, jon jon@jonbondy.com wrote:

The attached SCAD file crashes here with the 2015-02-25 snapshot

You’re importing an STL file. I guess that it comes from here: http://www.thingiverse.com/thing:32706
Using that file, your design renders without problems on a 32-bit Win 8.1 VM using 2015.02.25.

Perhaps you’ve found a 64-bit only issue.
Could you try the 32-bit binary, or using a 32-bit version of Windows to see if that makes a difference?

Perhaps someone with access to a 64-bit Windows could give it a spin and see if they can reproduce the crash?

-Marius


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Yes, the octopus came from Thingiverse. My previous computer was a Win 8.0 64-bit system. All worked well until MicroSoft forced me to upgrade from Win 8.0 to Win 8.1, at which point OpenGL stopped working (unsupported hardware). So I doubt that this is simply a 64-bit bug. And OpenSCAD continued to work on the old computer: the visualizations were impossible to use (F5 had artifacts, and F6 took forever) so I invested in the new hardware. Please note that the old 2014-03 release worked well for 9 months on the Windows 8.0 64 bit system. I am beginning to believe that OpenSCAD has never worked for non-trivial models on this computer. I just did not notice it for the last month (did not need to generate those models here). Very frustrating. Jon On 3/1/2015 2:12 PM, Marius Kintel wrote: > On Mar 2, 2015, at 01:44 AM, jon <jon@jonbondy.com> wrote: > >> The attached SCAD file crashes here with the 2015-02-25 snapshot >> > You’re importing an STL file. I guess that it comes from here: http://www.thingiverse.com/thing:32706 > Using that file, your design renders without problems on a 32-bit Win 8.1 VM using 2015.02.25. > > Perhaps you’ve found a 64-bit only issue. > Could you try the 32-bit binary, or using a 32-bit version of Windows to see if that makes a difference? > > Perhaps someone with access to a 64-bit Windows could give it a spin and see if they can reproduce the crash? > > -Marius > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > >
J
jon
Mon, Mar 2, 2015 5:00 PM

I think I found it.  If I enable Compatibility Mode for Win 8, then F6
starts to work again.  I had to do this in both the EXE properties and
the shortcut properties.

Hope this helps.

Jon

On 3/1/2015 8:10 PM, Marius Kintel wrote:

On Mar 1, 2015, at 19:52 PM, jon jon@jonbondy.com wrote:

What would you like to do in terms of understanding the other problem?  I could try other OpenSCAD programs that I have written, to find other non-proprietary ones that crash.

If you could find more crashing examples, that would be helpful.
Also, finding more crashing computers would help to isolate the problem.

-Marius


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

I think I found it. If I enable Compatibility Mode for Win 8, then F6 starts to work again. I had to do this in both the EXE properties and the shortcut properties. Hope this helps. Jon On 3/1/2015 8:10 PM, Marius Kintel wrote: > On Mar 1, 2015, at 19:52 PM, jon <jon@jonbondy.com> wrote: >> What would you like to do in terms of understanding the other problem? I could try other OpenSCAD programs that I have written, to find other non-proprietary ones that crash. >> > If you could find more crashing examples, that would be helpful. > Also, finding more crashing computers would help to isolate the problem. > > -Marius > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > >
MK
Marius Kintel
Mon, Mar 2, 2015 6:56 PM

On Mar 2, 2015, at 12:00 PM, jon jon@jonbondy.com wrote:

I think I found it.  If I enable Compatibility Mode for Win 8, then F6 starts to work again.  I had to do this in both the EXE properties and the shortcut properties.

Thanks - at least another data point.
Do you still have to run as administrator?

If you have time, it would be helpful if you could do this:
o What happens if you try to run as non-administrator?
o Did the compatibility mode behavior or the administrator behavior change recently? Is there any way you could test with which version of OpenSCAD  this behavior changed?

Sorry for putting it all on you, but somehow, it appears that these problems only happen on your computer. I’ve love to be able to reproduce this so we could figure out what happens, but right now, we’re pretty much in the dark.

-Marius

On Mar 2, 2015, at 12:00 PM, jon <jon@jonbondy.com> wrote: > I think I found it. If I enable Compatibility Mode for Win 8, then F6 starts to work again. I had to do this in both the EXE properties and the shortcut properties. > Thanks - at least another data point. Do you still have to run as administrator? If you have time, it would be helpful if you could do this: o What happens if you try to run as non-administrator? o Did the compatibility mode behavior or the administrator behavior change recently? Is there any way you could test with which version of OpenSCAD this behavior changed? Sorry for putting it all on you, but somehow, it appears that these problems only happen on your computer. I’ve love to be able to reproduce this so we could figure out what happens, but right now, we’re pretty much in the dark. -Marius
J
jon
Mon, Mar 2, 2015 7:16 PM

I guess the summary is

  • do not check Run As Administrator anywhere in the Properties for the
    EXE file: that will cause an unnecessary dialog to be displayed
  • do enable Compatibility Mode for Win 8 in the Properties for the EXE
    file: that will fix the F6 crash
  • if you use a shortcut, you may need to do the above for the shortcut, too.

What changed on my system?  No idea.  I moved from an old Win 8.1 system
to a new Win 8.1 system; maybe they were not configured similarly,
without my knowing it.

Jon

On 3/2/2015 1:56 PM, Marius Kintel wrote:

On Mar 2, 2015, at 12:00 PM, jon jon@jonbondy.com wrote:

I think I found it.  If I enable Compatibility Mode for Win 8, then F6 starts to work again.  I had to do this in both the EXE properties and the shortcut properties.

Thanks - at least another data point.
Do you still have to run as administrator?

If you have time, it would be helpful if you could do this:
o What happens if you try to run as non-administrator?
o Did the compatibility mode behavior or the administrator behavior change recently? Is there any way you could test with which version of OpenSCAD  this behavior changed?

Sorry for putting it all on you, but somehow, it appears that these problems only happen on your computer. I’ve love to be able to reproduce this so we could figure out what happens, but right now, we’re pretty much in the dark.

-Marius


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

I guess the summary is - do not check Run As Administrator anywhere in the Properties for the EXE file: that will cause an unnecessary dialog to be displayed - do enable Compatibility Mode for Win 8 in the Properties for the EXE file: that will fix the F6 crash - if you use a shortcut, you may need to do the above for the shortcut, too. What changed on my system? No idea. I moved from an old Win 8.1 system to a new Win 8.1 system; maybe they were not configured similarly, without my knowing it. Jon On 3/2/2015 1:56 PM, Marius Kintel wrote: > On Mar 2, 2015, at 12:00 PM, jon <jon@jonbondy.com> wrote: > >> I think I found it. If I enable Compatibility Mode for Win 8, then F6 starts to work again. I had to do this in both the EXE properties and the shortcut properties. >> > Thanks - at least another data point. > Do you still have to run as administrator? > > If you have time, it would be helpful if you could do this: > o What happens if you try to run as non-administrator? > o Did the compatibility mode behavior or the administrator behavior change recently? Is there any way you could test with which version of OpenSCAD this behavior changed? > > Sorry for putting it all on you, but somehow, it appears that these problems only happen on your computer. I’ve love to be able to reproduce this so we could figure out what happens, but right now, we’re pretty much in the dark. > > -Marius > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > >
MK
Marius Kintel
Mon, Mar 2, 2015 8:05 PM

On Mar 2, 2015, at 14:16 PM, jon jon@jonbondy.com wrote:

I guess the summary is

  • do not check Run As Administrator anywhere in the Properties for the EXE file: that will cause an unnecessary dialog to be displayed

I guess this is related to Microsoft starting to force developer validation. As we don’t have any dedicated Windows experts on the team this is unlikely to happen soon. The standard workaround is to have an admin unlock the program. This only has to be done once.

  • do enable Compatibility Mode for Win 8 in the Properties for the EXE file: that will fix the F6 crash

This is still puzzling. We’re waiting for others to report similar issues.

-Marius

On Mar 2, 2015, at 14:16 PM, jon <jon@jonbondy.com> wrote: > I guess the summary is > - do not check Run As Administrator anywhere in the Properties for the EXE file: that will cause an unnecessary dialog to be displayed I guess this is related to Microsoft starting to force developer validation. As we don’t have any dedicated Windows experts on the team this is unlikely to happen soon. The standard workaround is to have an admin unlock the program. This only has to be done once. > - do enable Compatibility Mode for Win 8 in the Properties for the EXE file: that will fix the F6 crash This is still puzzling. We’re waiting for others to report similar issues. -Marius