Comments (6)
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.
Hi Zotlan, thanks for the reply.
I installed the KTechLab from package manager (snap store).
The sequence of action for reproduce the crash are:
- Create or open a circuit
- 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)
- click on the resistor and change resistance value from Item Editor
- 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)
- 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
from ktechlab.
Maybe you can find interesting to analize also the tmp/ktechlab-pid-403826-log
ktechlab-pid-403826-log.ZIP
from ktechlab.
This crash looks very similar to me to this one:
.. 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.
OK thanks, I will try to build the source and I see if the issue is fixed
from ktechlab.
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)
- gspimprocessor.cpp compiling error HOT 15
- Compilation Error HOT 8
- The build fails: no member named 'W' in 'pic_processor' HOT 7
- Operational Amplifier Configurations HOT 1
- Segfault when changing element value HOT 6
- Logic voltages are too low for MOSFETs and cannot be set higher HOT 2
- Cannot build on Debian Stretch HOT 4
- Crash when dragging Voltage probe or Current probe to the window HOT 1
- battery volt button disperses HOT 4
- Unable to compile KTechLab '‘class KUrlRequester’ has no member named ‘setAcceptMode’' HOT 2
- windows installer HOT 5
- future of ktechlab HOT 3
- LC generators with inductive coupling how to create?, аnd other shortcomings of the program. HOT 2
- [ Feature Request ] market component integration or custom component creation HOT 1
- When the schematic project is saved in .circuit format but w/out .circuit extension it auto-opens as text when the program is started HOT 1
- The "Open" dialog doesn't show any files when "*|All Files" is chosen as selector HOT 3
- Rotating some elements leads to inconsistens lines HOT 1
- ktechlab.cpp:927:23: error: ‘showDialog’ is not a member of ‘KShortcutsDialog’ HOT 1
- AC voltage HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ktechlab.