discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

OpenSCAD crashes computer and fills .scad file with NUL values

S
Scalpel78
Tue, Dec 9, 2014 8:31 PM

Hi,
after upgrading from 2014-11-09 to 2014-12-04 OpenSCAD has begun to crash my
machine. Everything locks up and I need to do a hard power off to restart
it. I can't see any pattern when it happens. Perhaps when saving file, og
when previewing. (I rarely render, so its not that).

When the maching starts up again I've experienced a few times that the .scad
file has been corrupted. It only contains one line, and that line is just a
lot of NUL values. See screenshot.

http://forum.openscad.org/file/n10455/nullnullnull.png

I saw someone else mentioning OpenSCAD freezeing their machine as well, but
can't find that thread.

--
View this message in context: http://forum.openscad.org/OpenSCAD-crashes-computer-and-fills-scad-file-with-NUL-values-tp10455.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Hi, after upgrading from 2014-11-09 to 2014-12-04 OpenSCAD has begun to crash my machine. Everything locks up and I need to do a hard power off to restart it. I can't see any pattern when it happens. Perhaps when saving file, og when previewing. (I rarely render, so its not that). When the maching starts up again I've experienced a few times that the .scad file has been corrupted. It only contains one line, and that line is just a lot of NUL values. See screenshot. <http://forum.openscad.org/file/n10455/nullnullnull.png> I saw someone else mentioning OpenSCAD freezeing their machine as well, but can't find that thread. -- View this message in context: http://forum.openscad.org/OpenSCAD-crashes-computer-and-fills-scad-file-with-NUL-values-tp10455.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
MichaelAtOz
Tue, Dec 9, 2014 11:09 PM

The other report suggested the auto-reload feature was loading the file
before NP++ (IIRC anyway an external editor) had finished saving it.

Are you using Auto-reload?


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-crashes-computer-and-fills-scad-file-with-NUL-values-tp10455p10460.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

The other report suggested the auto-reload feature was loading the file before NP++ (IIRC anyway an external editor) had finished saving it. Are you using Auto-reload? ----- 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-crashes-computer-and-fills-scad-file-with-NUL-values-tp10455p10460.html Sent from the OpenSCAD mailing list archive at Nabble.com.
B
Bananapeel
Tue, Dec 9, 2014 11:44 PM

The entire computer locks up, as in you can't even move the mouse?

Unless you are using Windows 98 :) a lock up of the entire computer is
usually a driver problem. In this case, it "must" be the graphics driver, as
OpenSCAD is a graphics program.

--
View this message in context: http://forum.openscad.org/OpenSCAD-crashes-computer-and-fills-scad-file-with-NUL-values-tp10455p10463.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

The entire computer locks up, as in you can't even move the mouse? Unless you are using Windows 98 :) a lock up of the entire computer is usually a driver problem. In this case, it "must" be the graphics driver, as OpenSCAD is a graphics program. -- View this message in context: http://forum.openscad.org/OpenSCAD-crashes-computer-and-fills-scad-file-with-NUL-values-tp10455p10463.html Sent from the OpenSCAD mailing list archive at Nabble.com.
S
Scalpel78
Wed, Dec 10, 2014 8:33 AM

Yes, the entire machine freezes. Its as close to a bluescreen you can come
without it actually flipping over to the bluescreen.

Yes, I totally agree that the only thing that can cause this is a driver -
but I'm already using the newest version of the AMD driver. My money is
rather on OpenSCAD telling the videodriver to do something which is just way
off, and this causes the crash.

I'm running on a Samsung laptop which has two videocards. Both an Intel HD
Graphics 4000 and a AMD Radeon R9 M270X. When I use "TechPowerUp GPU-Z
0.8.0" to look at the processorpower of the two it seems like the AMDs GPU
is working really hard when OpenSCAD is open. My feeling is that OpenSCAD
uses the graphicscard in a inefficient way.

--
View this message in context: http://forum.openscad.org/OpenSCAD-crashes-computer-and-fills-scad-file-with-NUL-values-tp10455p10466.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Yes, the entire machine freezes. Its as close to a bluescreen you can come without it actually flipping over to the bluescreen. Yes, I totally agree that the only thing that can cause this is a driver - but I'm already using the newest version of the AMD driver. My money is rather on OpenSCAD telling the videodriver to do something which is just way off, and this causes the crash. I'm running on a Samsung laptop which has two videocards. Both an Intel HD Graphics 4000 and a AMD Radeon R9 M270X. When I use "TechPowerUp GPU-Z 0.8.0" to look at the processorpower of the two it seems like the AMDs GPU is working really hard when OpenSCAD is open. My feeling is that OpenSCAD uses the graphicscard in a inefficient way. -- View this message in context: http://forum.openscad.org/OpenSCAD-crashes-computer-and-fills-scad-file-with-NUL-values-tp10455p10466.html Sent from the OpenSCAD mailing list archive at Nabble.com.
S
Scalpel78
Wed, Dec 10, 2014 8:33 AM

And, no, I'm not using the Auto Reload feature.

--
View this message in context: http://forum.openscad.org/OpenSCAD-crashes-computer-and-fills-scad-file-with-NUL-values-tp10455p10467.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

And, no, I'm not using the Auto Reload feature. -- View this message in context: http://forum.openscad.org/OpenSCAD-crashes-computer-and-fills-scad-file-with-NUL-values-tp10455p10467.html Sent from the OpenSCAD mailing list archive at Nabble.com.
AC
Alan Cox
Wed, Dec 10, 2014 9:09 AM

On Wed, 10 Dec 2014 01:33:06 -0700 (MST)
Scalpel78 frode@lillerud.no wrote:

Yes, the entire machine freezes. Its as close to a bluescreen you can come
without it actually flipping over to the bluescreen.

Yes, I totally agree that the only thing that can cause this is a driver -
but I'm already using the newest version of the AMD driver. My money is
rather on OpenSCAD telling the videodriver to do something which is just way
off, and this causes the crash.

Post Windows 98 it doesn't work like that. Windows actually grew up and
started to become an operating system. If it locks your box even by
telling it to do silly things then its a graphics driver/hardware bug
(and if its a hardware bug its a driver bug that it doesn't work around
the hardware bug ;-))

For F5 renders of certain curved surfaces I see similar problems in Linux
with a really old radeon card but not with Intel graphics. I'm pretty
sure its a driver bug in both cases therefore.

is working really hard when OpenSCAD is open. My feeling is that OpenSCAD
uses the graphicscard in a inefficient way.

The F5 render does, but inefficient and crashing are quite different
things.

Alan

On Wed, 10 Dec 2014 01:33:06 -0700 (MST) Scalpel78 <frode@lillerud.no> wrote: > Yes, the entire machine freezes. Its as close to a bluescreen you can come > without it actually flipping over to the bluescreen. > > Yes, I totally agree that the only thing that can cause this is a driver - > but I'm already using the newest version of the AMD driver. My money is > rather on OpenSCAD telling the videodriver to do something which is just way > off, and this causes the crash. Post Windows 98 it doesn't work like that. Windows actually grew up and started to become an operating system. If it locks your box even by telling it to do silly things then its a graphics driver/hardware bug (and if its a hardware bug its a driver bug that it doesn't work around the hardware bug ;-)) For F5 renders of certain curved surfaces I see similar problems in Linux with a really old radeon card but not with Intel graphics. I'm pretty sure its a driver bug in both cases therefore. > is working really hard when OpenSCAD is open. My feeling is that OpenSCAD > uses the graphicscard in a inefficient way. The F5 render does, but inefficient and crashing are quite different things. Alan
B
Bananapeel
Wed, Dec 10, 2014 11:01 AM

Note that OpenSCAD saves backup files in my documents\openscad\backups.

--
View this message in context: http://forum.openscad.org/OpenSCAD-crashes-computer-and-fills-scad-file-with-NUL-values-tp10455p10471.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Note that OpenSCAD saves backup files in my documents\openscad\backups. -- View this message in context: http://forum.openscad.org/OpenSCAD-crashes-computer-and-fills-scad-file-with-NUL-values-tp10455p10471.html Sent from the OpenSCAD mailing list archive at Nabble.com.