[Win32] bcc.exe crash

Archives Forums/BlitzMax Bug Reports/[Win32] bcc.exe crash

ChristianK(Posted 2007) [#1]
The bcc.exe crashes when I try to compile the following code:


Print func( "Text

This is senseless, of course, but the compiler doesn't detect the wrong syntax. It just crashes.


marksibly(Posted 2007) [#2]
Anyone else?

I get 'Expecting expression but encountered malformed string literal'.

Not the clearest, but it doesn't crash.


klepto2(Posted 2007) [#3]
I also get the error message, but if i had a more or less coding session with lots of compilations due to bugfixing or so, I have the same problem. This includes every error. After restarting the IDE, the problem is solved for some time.


grable(Posted 2007) [#4]
It crashes if there is a newline before and after the statement.


marksibly(Posted 2007) [#5]
Not here...


grable(Posted 2007) [#6]
Hmm.. it crashes if there is only a newline before the statement too.
The debugger enters here, if that helps at all: (from OllyDebug)
0042FEC0   0FBE0C02         MOVSX ECX,BYTE PTR DS:[EDX+EAX]


Oh, and im on Windows XP.


Vlad(Posted 2007) [#7]
Confirm crashes with newline before Print


REDi(Posted 2007) [#8]
Yep, crashes here.


ChristianK(Posted 2008) [#9]
Sorry, but I think this bug didn't get fixed in v1.30.
- One or more empty lines ( no other code ) -
Ident( Ident( "
- One or more empty lines -



Brucey(Posted 2008) [#10]
Yep. That code nukes my Win32 1.30 build.


Ked(Posted 2008) [#11]
Crashes here too. Windows XP Home SP3 BMX 1.3


SebHoll(Posted 2008) [#12]
Strange - I can't reproduce it here, either (BlitzMax v1.30). I get the same error message as Mark:

Expecting expression but encountered malformed string literal.



Ole JR(Posted 2008) [#13]
Compiled through the IDE it nukes,
bmk commandline gives the error message.


Zeke(Posted 2008) [#14]

Print func( "Text


^^ empty line before and after: Print func( "Text

CE IDE (2.0b4) => bcc.exe crash.
Bmax original ide (SVN) =>Expecting expression but encountered malformed string literal.