GithubHelp home page GithubHelp logo

Comments (6)

zoltanp avatar zoltanp commented on July 22, 2024

Hi,

do you have a specific sequence of actions that make KTechLab crash? I will try to reproduce the crash, in order to investigate.

Also you have installed KTechLab from package manager or compiled it from sources? It would be nice to get a useful backtrace / crash dump, but for that at least the symbols, or preferably the debug information is needed for the ktechlab executable. Packages by default do not contain debug information.

Best regards,

Zoltan

from ktechlab.

ibexnet avatar ibexnet commented on July 22, 2024

Hi Zotlan, thanks for the reply.
I installed the KTechLab from package manager (snap store).

The sequence of action for reproduce the crash are:

  1. Create or open a circuit
  2. add a resistor (seem that not all components are impacted by this issue, I just tried with resistor, capacitor and battery, for example the changes parameters for transistor not make crash the program)
  3. click on the resistor and change resistance value from Item Editor
  4. then click on the circuit pane for example for select another component ( if remain with the mouse on the Item Editor pane the program don't crash)
  5. few second after apply new resistance value the program crash

For debug this is what happen if you launch the program from terminal:
Starting logging to "/tmp/ktechlab-pid-403826-log" (II) Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. (WW) KServiceTypeTrader: serviceType "QImageIOPlugins" not found (Critical) Shortcut for action "file_new" "New File" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead. (Critical) Shortcut for action "cancelCurrentOperation" "Cancel" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead. (Critical) Shortcut for action "edit_delete" "Delete" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead. (Critical) Shortcut for action "edit_raise" "Raise Selection" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead. (Critical) Shortcut for action "edit_lower" "Lower Selection" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead. (Critical) Shortcut for action "cancelCurrentOperation" "Cancel" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead. (Critical) Shortcut for action "edit_delete" "Delete" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead. (Critical) Shortcut for action "edit_raise" "Raise Selection" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead. (Critical) Shortcut for action "edit_lower" "Lower Selection" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead. [1] 403826 segmentation fault (core dumped) ktechlab

I had try to use strace to see if we can catch some useful info but I don't find nothing relevant, anyway I attached the output maybe is useful for you

ktechlab.ZIP

from ktechlab.

ibexnet avatar ibexnet commented on July 22, 2024

Maybe you can find interesting to analize also the tmp/ktechlab-pid-403826-log
ktechlab-pid-403826-log.ZIP

from ktechlab.

zoltanp avatar zoltanp commented on July 22, 2024

This crash looks very similar to me to this one:

#60 (comment)

.. which has been fixed in git master, but the fix did not make it into any release yet:

https://invent.kde.org/sdk/ktechlab/-/commit/730a5492e4780504a80db1a27dc307d8f61b4696

I wonder how would be easy to test the latest git master code, where hopefully this issue is fixed... One option would be to compile KTechLab from sources, but I assume that is not a very convenient thing to do ...

from ktechlab.

ibexnet avatar ibexnet commented on July 22, 2024

OK thanks, I will try to build the source and I see if the issue is fixed

from ktechlab.

zoltanp avatar zoltanp commented on July 22, 2024

I've verified git master on Ubuntu 22.04 and it doesn't crash. So I assume that it has been fixed in git master / duplicate of #60 . At least until shown otherwise.

from ktechlab.

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.