GithubHelp home page GithubHelp logo

Crash after completion about ipyida HOT 5 CLOSED

eset avatar eset commented on June 28, 2024
Crash after completion

from ipyida.

Comments (5)

dummys avatar dummys commented on June 28, 2024

Hi, I get the same here.

ASSERT: "f == frame" in file text/qtextdocument_p.cpp, line 1492
E: Child terminated by signal ‘Aborted’
Ida Linux with Qt 5.6/QtSvg 5.6/Pyqt 5.6
This happend when I'm in the Qt Ipyida windows and try to use the autocompletion on idautils for example.

If I connect from another shell using jupyter-qtconsole-py2 --existing kernel-16910.json I didn't get this bug.

from ipyida.

esemwy avatar esemwy commented on June 28, 2024

Bug persists under IDA 7.0 / Linux, (Ubuntu) and jupyter-qtconsole --existing works around.

from ipyida.

marc-etienne avatar marc-etienne commented on June 28, 2024

Thanks for reporting, I was about to ask retest with 7.0 just in case. I should have access to a IDA Linux user this week to troubleshoot, I'll keep you updated.

from ipyida.

dummys avatar dummys commented on June 28, 2024

Hi @marc-etienne tested with 7.0 SP1 under arch linux, same error:

ASSERT: "f == frame" in file /home/tester/qt-builds/5.6.0-x64/qtbase/src/gui/text/qtextdocument_p.cpp, line 1492

from ipyida.

marc-etienne avatar marc-etienne commented on June 28, 2024

I finally found some time to look into this and was able to replicate. It seems that using the "ncurses" completion method creates content that crashes Qt.

See: https://github.com/jupyter/qtconsole/blob/4.3.1/qtconsole/completion_html.py#L348

Crashes at http://code.qt.io/cgit/qt/qtbase.git/tree/src/gui/text/qtextdocument_p.cpp?h=5.6#n1492

Probably called from: https://github.com/jupyter/qtconsole/blob/4.3.1/qtconsole/console_widget.py#L985

Fixed by using the "dropdown" completion method on Linux until the crash is fixed upstream.

from ipyida.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.