FYI, apparently KTechLab 0.51.0 might crash when using subcircuits. Release 0.50.0 is not affected. Fix is in git master [1] Testing is welcome :-)
The crash is introduced by the modernistaion of signals/slots mechanism, where a C++ lambda has been introduced, and I assume that those changes interfere with some object lifetime. [1] https://invent.kde.org/sdk/ktechlab/-/commit/e52be4ccbec7250f0535e790dfea7aa8c6c0249e Have fun, Zoltan ---------- Forwarded message --------- Feladó: Guillermo González García <bugzilla_nore...@kde.org> Date: 2023. aug. 24., Cs, 12:08 Subject: [KTechLab] [Bug 473717] New: Application crashes on adding a subcircuit To: <zoltan.pad...@gmail.com> https://bugs.kde.org/show_bug.cgi?id=473717 Bug ID: 473717 Summary: Application crashes on adding a subcircuit Classification: Applications Product: KTechLab Version: 0.51.0 Platform: Fedora RPMs OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: general Assignee: zoltan.pad...@gmail.com Reporter: guillermog...@gmail.com CC: jul...@svg4all.de Target Milestone: --- Created attachment 161154 --> https://bugs.kde.org/attachment.cgi?id=161154&action=edit Subcircuit that causes crash SUMMARY Ktechlab crashes when I try to add a custom subcircuit to another circuit. This started happening this week, it was working without problems before. This only happens with custom subcircuits and not the default ones. BACKTRACE QSocketNotifier: Can only be used with threads started with QThread qt.qpa.qgnomeplatform.theme: The desktop style for QtQuick Controls 2 applications is not available on the system (qqc2-desktop-style). The application may look broken. (process:8187): Gtk-WARNING **: 10:59:19.818: Locale not supported by C library. Using the fallback 'C' locale. Gtk-Message: 10:59:19.836: Failed to load module "pk-gtk-module" kf.xmlgui: Shortcut for action "file_new" "New File" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead. org.kde.ktechlab: End and start nodes for the connector do not both exist org.kde.ktechlab: End and start nodes for the connector do not both exist org.kde.ktechlab: End and start nodes for the connector do not both exist org.kde.ktechlab: End and start nodes for the connector do not both exist org.kde.ktechlab: End and start nodes for the connector do not both exist org.kde.ktechlab: End and start nodes for the connector do not both exist org.kde.ktechlab: End and start nodes for the connector do not both exist kf.windowsystem: Could not find any platform plugin kf.xmlgui: Shortcut for action "cancelCurrentOperation" "Cancel" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead. kf.xmlgui: Shortcut for action "edit_delete" "Delete" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead. kf.xmlgui: Shortcut for action "edit_raise" "Raise Selection" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead. kf.xmlgui: Shortcut for action "edit_lower" "Lower Selection" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead. org.kde.ktechlab: Could not register id "node1__16" org.kde.ktechlab: Could not register id "node1__18" Violación de segmento (`core' generado) STEPS TO REPRODUCE 1. Create a custom sub circuit. 2. Add it to another circuit. OBSERVED RESULT Program crashes with sigfault. EXPECTED RESULT Use subcircuit without problems. SOFTWARE/OS VERSIONS Fedora 37 Linux 6.4.11-100.fc37.x86_64 -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Ktechlab-devel mailing list Ktechlab-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ktechlab-devel