Code::Blocks Forums
User forums => Help => Topic started by: DaviesX on October 04, 2015, 01:47:33 am
-
Hello, Codeblocks crashes while I use the source formatter on this file under Xubuntu 64 bits. However, the version is a little outdated. Also, the formatter run perfectly with Windows 32 bits version. I wonder if it reproduces the crash on the development nightly build. And the crash seems independent of the configuration (although I put it in the attachment as well). Would anyone probably test this file(or perhaps with my config) on your machine with the source formatter to see if there is any issue? I don't find anything particularly different about this file. It's just weird. Thanks in advance.
notes: I have searched around the bug tickets already and have not seen anything related to the crash.
-
Ah, I forgot to attach files.
-
Ok, the problem has to deal with that fancy big O notation :( as seen in the attachment (codeblocks editor vs. gedit). As I removed those characters away, everything works great. Is the encoding doesn't go well or something else? cause it displays correctly on Windows.
-
uhm...This time is for real :o. It's still the source formatter, crashed on this file. Both Windows 10 and Xubuntu crashes on the same assertion:
codeblocks: astyle/ASFormatter.cpp:6242: bool astyle::ASFormatter::isArrayOperator() const: Assertion `currentChar == '*' || currentChar == '&'' failed.
Please take a look at it.
-
Can you try to reproduce the problem with the latest night build?
The code in trunk is totally different, so your problem might have been fixed.
FYI: This source file is part of the astyle project.
-
Can you try to reproduce the problem with the latest night build?
Works fine for me on Windows with recent nightly/self-build. I think it was fixed already a long time ago...
-
Alright, that's nice. Hopefully the new official version is coming soon.