Home Download Buy Blog Forum Support

Crash while opening invalid JSON

Crash while opening invalid JSON

Postby detunized on Wed Jun 13, 2012 3:42 pm

I'm using latest ST2 beta, build 2181 on Ubuntu 11.10 x64. I tried to open a malformed JSON file and ST2 brought my system to its knees by allocating all 12 GB of memory I have, crashing afterwards and taking X11 with it. Next time I tried it only crashed the Flash Pandora Radio player =)

The problem is very easy to reproduce:

Code: Select all
$ ruby -e "100000.times { puts '{\"test\":' }" > bug.json
$ subl bug.json


or just open the file I attached.

Thanks!
Attachments
bug.json.gz
GZipped bug.json
(1.76 KiB) Downloaded 75 times
detunized
 
Posts: 1
Joined: Wed Jun 13, 2012 3:24 pm

Return to Technical Support

Who is online

Users browsing this forum: evilpot, Google [Bot], Majestic-12 [Bot] and 27 guests