1. TortoiseHg
  2. TortoiseHg
  3. thg
  4. Issues
Issue #1999 invalid

crash "Assertion failed" in lexlib\CharacterSet.h

Denis Simakov
created an issue

Workbench for Windows crashes when clicking on the attached file in the file list. Error messages also attached.

Comments (6)

  1. Yuya Nishihara
    • changed status to open

    Confirmed the problem. I guess it's a bug of QScintilla.

    Backtrace on Linux (amd64; python-qscintilla2 2.6.1-5+b1):

    #2  0x00007ffff6983621 in *__GI___assert_fail (assertion=0x7fffee512527 "val >= 0", file=<optimized out>, line=62, function=
        0x7fffee513d40 "bool CharacterSet::Contains(int) const") at assert.c:81
    #3  0x00007fffee334920 in ?? () from /usr/lib/libqscintilla2.so.8
    #4  0x00007fffee3b110b in LexerCPP::EvaluateExpression(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /usr/lib/libqscintilla2.so.8
    #5  0x00007fffee3b4f40 in LexerCPP::Lex(unsigned int, int, int, IDocument*) () from /usr/lib/libqscintilla2.so.8
    #6  0x00007fffee4c7ad0 in LexInterface::Colourise(int, int) () from /usr/lib/libqscintilla2.so.8
    #7  0x00007fffee4d67d2 in Editor::StyleToPositionInView(int) () from /usr/lib/libqscintilla2.so.8
    #8  0x00007fffee4e0445 in Editor::Paint(Surface*, PRectangle) () from /usr/lib/libqscintilla2.so.8
    #9  0x00007fffee36c289 in QsciScintillaQt::paintEvent(QPaintEvent*) () from /usr/lib/libqscintilla2.so.8
    #10 0x00007fffee7a2b1f in ?? () from /usr/lib/python2.7/dist-packages/PyQt4/Qsci.so
    ...
    
  2. Log in to comment