Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 798837 - sci-electronics/ktechlab-0.50.0-r1: crash when deselecting a component after editing its properties
Summary: sci-electronics/ktechlab-0.50.0-r1: crash when deselecting a component after ...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-26 21:11 UTC by Travis Snoozy
Modified: 2021-06-27 01:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Backtrace (backtrace.log,54.41 KB, text/plain)
2021-06-27 01:03 UTC, Travis Snoozy
Details
Build log (build.log.xz,18.24 KB, application/x-xz)
2021-06-27 01:19 UTC, Travis Snoozy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Travis Snoozy 2021-06-26 21:11:20 UTC
When editing the properties of components in ktechlab-0.50.0-r1, the app crashes when the component is deselected.

Reproducible: Always

Steps to Reproduce:
1. Start ktechlab
2. New file -> Circuit
3. Drag a component (e.g., Battery) onto the circuit schematic
4. Expand the item editor pane
5. Select the component from step 3, so its values show in the item editor pane
6. Click into any value on the item editor pane so you could be editing it
7. Click anywhere in the background of the circuit schematic
Actual Results:  
ktechlab crashes, losing any unsaved progress.

Expected Results:  
ktechlab should not crash; the item property should (if edited) retain its new value, or retain its old value if no change was made.

Portage 3.0.20 (python 3.8.10-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-10.3.0, glibc-2.33, 5.12.8-gentoo x86_64)                                                                                                                                                   
=================================================================                                                                                                                                                                                                                      
System uname: Linux-5.12.8-gentoo-x86_64-AMD_FX-tm-8320_Eight-Core_Processor-with-glibc2.2.5                                                                                                                                                                                           
KiB Mem:    20521828 total,   4208556 free                                                                                                                                                                                                                                             
KiB Swap:    4199964 total,   4198428 free                                                                                                                                                                                                                                             
Timestamp of repository gentoo: Fri, 25 Jun 2021 10:30:01 +0000                                                                                                                                                                                                                        
Head commit of repository gentoo: 3580ac0539b531c9ea1179c8cfe34de2ed5cec3e                                                                                                                                                                                                             
sh bash 5.1_p8                                                                                                                                                                                                                                                          
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2                                                                                                                                                                                                                                                    
app-shells/bash:          5.1_p8::gentoo                                                                                                                                                                                                                                               
dev-lang/perl:            5.32.1::gentoo                                                                                                                                                                                                                                               
dev-lang/python:          3.8.10_p2::gentoo, 3.9.5_p2::gentoo                                                                                                                                                                                                                          
dev-lang/rust:            1.52.1::gentoo                                                                                                                                                                                                                                               
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          3.8.10_p2::gentoo, 3.9.5_p2::gentoo
dev-lang/rust:            1.52.1::gentoo
dev-util/cmake:           3.18.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.3.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://fileserver:1873/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

LocalOverlay
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE all-rights-reserved linux-firmware"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ "
LANG="en_US.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en"
MAKEOPTS="-j2"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aalib acl acpi alsa amd64 aspell berkdb bluetooth branding bzip2 cairo cdda cdr cli colord consolekit crypt css cups dbus device-mapper dri dts dvd dvdr emboss encode evo exif flac fortran gcj gdbm gdu gif gnome-keyring gpm gstreamer gtk gui hal iconv icu introspection ipv6 jpeg lcms libglvnd libnotify libsecret libtirpc mad mmx mng mp3 mp4 mpeg multilib nautilus ncurses nethack network networkmanager nls nptl nsplugin ogg opengl openmp pam pango pcre pdf pic png policykit ppds pulseaudio rdp readline rss samba scanner sdl seccomp spell split-usr sqlite ssl startup-notification svg syslog sysprof systemd tcpd theora tiff tordns truetype udev udisks unicode upower usb vorbis wayland wxwidgets x264 xattr xcb xcomposite xinerama xml xulrunner xv xvid xvmc zlib" ABI_X86="64 32" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="synaptics evdev keyboard" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="nouveau vesa ati radeon intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 1 Jonas Stein gentoo-dev 2021-06-26 23:07:55 UTC
Thank you for the report. We need to have all information at hand before ticket assignment. Please provide
* the complete build.log as attachment and
* paste the emerge info 
* a backtrace https://wiki.gentoo.org/wiki/Debugging_with_GDB
as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket

Please reopen this ticket (Status:UNCONFIRMED) afterwards.
Comment 2 Travis Snoozy 2021-06-27 01:00:33 UTC
KiB Mem:    20521828 total,   2494048 free
KiB Swap:    4199964 total,   4198428 free
Timestamp of repository gentoo: Fri, 25 Jun 2021 10:30:01 +0000
Head commit of repository gentoo: 3580ac0539b531c9ea1179c8cfe34de2ed5cec3e
sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          3.8.10_p2::gentoo, 3.9.5_p2::gentoo
dev-lang/rust:            1.52.1::gentoo
dev-util/cmake:           3.18.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.3.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://fileserver:1873/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

LocalOverlay
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE all-rights-reserved linux-firmware"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ "
LANG="en_US.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en"
MAKEOPTS="-j2"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aalib acl acpi alsa amd64 aspell berkdb bluetooth branding bzip2 cairo cdda cdr cli colord consolekit crypt css cups dbus device-mapper dri dts dvd dvdr emboss encode evo exif flac fortran gcj gdbm gdu gif gnome-keyring gpm gstreamer gtk gui hal iconv icu introspection ipv6 jpeg lcms libglvnd libnotify libsecret libtirpc mad mmx mng mp3 mp4 mpeg multilib nautilus ncurses nethack network networkmanager nls nptl nsplugin ogg opengl openmp pam pango pcre pdf pic png policykit ppds pulseaudio rdp readline rss samba scanner sdl seccomp spell split-usr sqlite ssl startup-notification svg syslog sysprof systemd tcpd theora tiff tordns truetype udev udisks unicode upower usb vorbis wayland wxwidgets x264 xattr xcb xcomposite xinerama xml xulrunner xv xvid xvmc zlib" ABI_X86="64 32" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="synaptics evdev keyboard" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="nouveau vesa ati radeon intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS

=================================================================
                        Package Settings
=================================================================

sci-electronics/ktechlab-0.50.0-r1::gentoo was built with the following:
USE="gpsim handbook -debug -examples -test" ABI_X86="(64)"
CFLAGS="-Og -pipe -ggdb"
CXXFLAGS="-Og -pipe -ggdb"
FEATURES="sfperms config-protect-if-modified xattr nostrip distlocks fixlafiles usersync splitdebug merge-sync pid-sandbox news sandbox unmerge-orphans userfetch network-sandbox binpkg-dostrip assume-digests ebuild-locks unknown-features-warn multilib-strict parallel-fetch unmerge-logs protect-owned userpriv binpkg-logs qa-unresolved-soname-deps strict preserve-libs binpkg-docompress usersandbox ipc-sandbox"
Comment 3 Travis Snoozy 2021-06-27 01:03:24 UTC
Created attachment 719493 [details]
Backtrace

qtcore, qtwidgets, ktechlab rebuilt with symbols.
Comment 4 Travis Snoozy 2021-06-27 01:14:32 UTC
Adding the missing top few lines from "emerge --info sci-electronics/ktechlab" below. FYI, there is no build.log file in the location specified, despite this package having been built by portage three times in the last 24 hours - the default seems to be for successful builds to discard this information. I would recommend updating your SOP because how to acquire this file (re-emerging with the feature "keepwork" set) is not mentioned in *any* of the documentation you referenced.

Portage 3.0.20 (python 3.8.10-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-10.3.0, glibc-2.33, 5.12.8-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.12.8-gentoo-x86_64-AMD_FX-tm-8320_Eight-Core_Processor-with-glibc2.2.5
Comment 5 Travis Snoozy 2021-06-27 01:19:36 UTC
Created attachment 719496 [details]
Build log