Descriptive Problem Summary:
Dream Maker crashed when I tried to add bootstrap's minified css into a .dms file.
Numbered Steps to Reproduce Problem:
1. Visit http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/ bootstrap.min.css
2. CTRL-A + CTRL-C
3. Open a blank project with a new .dms file.
4. CTRL-V
5. Crash!
Expected Results:
No crash.
Actual Results:
Crash. :'(
Does the problem occur:
Every time? Or how often?
Every time.
In other games?
Unknown - likely.
In other user accounts?
Unknown - likely.
On other computers?
Unknown - likely.
When does the problem NOT occur?
The problem always occurs. Even when pasting the contents manually in the .dms file using Notepad++ opening the file in Dream Maker causes it to crash. It does seem to compile though.
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
Unknown - first version where I'm using this functionality. Likely a zero day bug.
Workarounds:
Use Notepad++ to write the file externally, don't touch it in Dream Maker.
ID:1980117
Nov 9 2015, 11:19 am
|
|||||||||||||
Resolved
| |||||||||||||
In response to Popisfizzy
|
|
This appears to be a duplicate of id:1980117
|
In response to Popisfizzy
|
|
It is.
I dug into this, and pasting operations are also a memory leak. This has nothing to do with the pasting, but instead the rendering. It is caused by a stack overflow @ CSyntaxEditCtrl::DrawLine -- it uses alloca and as far as I can see it doesn't actually use the return of it(May be mistaken because it should otherwise be optimized out); however when you request to allocate a block of memory too large it'll simply throw an exception instead of returning NULL. |
In response to NullQuery
|
|
NullQuery wrote:
This appears to be a duplicate of id:1980117 Whoops, my bad. I did a search for similar issues and found nothing, so that one slipped by. |
Lummox JR resolved issue with message:
Dream Maker choked on lines that were too long in a code editor window, causing a crash. |
As said, pasting a very large amount of text into Dream Maker will cause it to crash. I mean very large, though. I can consistently produce a crash with about 98,000 characters, though I see significant slowdowns (only in the open tab) at about 40,000 characters.
This is probably an issue few will run into, so it's likely low priority, but I figure I might as well put it out there anyways.
Numbered Steps to Reproduce Problem:
1. Copy the following code to your clipboard.
2. Paste it into an open Dream Maker window.
Expected Results:
Dream Maker proceeds as usual, without crashing or slowing down.
Actual Results:
It crashes immediately.
Does the problem occur:
Every time? Or how often? Every time.
In other user accounts? Unknown.
On other computers? Unknown.
When does the problem NOT occur?
When using smaller amounts of text.
Workarounds:
Just using less text in an open tab.