Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 629520 - sys-apps/crazydiskinfo-1.0.2 segmentation fault
Summary: sys-apps/crazydiskinfo-1.0.2 segmentation fault
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Patrice Clement
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-01 07:40 UTC by thunderrd
Modified: 2020-03-25 10:47 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thunderrd 2017-09-01 07:40:59 UTC
I was curious about an app like this, it successfully emerged, all deps seem to have been met, but the installed app immediately segfaults when it attempts to run as root

Reproducible: Always

Steps to Reproduce:
1.emerge sys-apps/crazydiskinfo
2.as root, 'crazy'
3.output from console: Segmentation Fault



root@Q6600: ~# emerge --info
Portage 2.3.8 (python 3.5.3-final-0, default/linux/amd64/13.0/desktop, gcc-6.4.0, glibc-2.25-r4, 4.12.9-ck x86_64)
=================================================================
System uname: Linux-4.12.9-ck-x86_64-Intel-R-_Core-TM-2_Extreme_CPU_X9650_@_3.00GHz-with-gentoo-2.4.1
KiB Mem:     8168932 total,   3281352 free
KiB Swap:    1060860 total,   1060860 free
Timestamp of repository gentoo: Fri, 01 Sep 2017 07:00:01 +0000
Head commit of repository gentoo: e8faa74ee7e95b47ed8bb2306188e73ca7e2283a
sh bash 4.4_p12
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.2::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo, 3.5.3::gentoo
dev-util/cmake:           3.9.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r1::gentoo
sys-apps/openrc:          0.29::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.28.1::gentoo
sys-devel/gcc:            4.9.4::gentoo, 6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.11::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r4::gentoo
Repositories:

gentoo
    location: /mnt/ext4_STORAGE/usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: --verbose --progress --exclude-from=/etc/portage/rsync_excludes

palemoon
    location: /mnt/ext4_STORAGE/var/lib/layman/palemoon
    sync-type: laymansync
    sync-uri: https://github.com/deuiore/palemoon-overlay.git
    masters: gentoo
    priority: 50

torbrowser
    location: /mnt/ext4_STORAGE/var/lib/layman/torbrowser
    sync-type: laymansync
    sync-uri: git://github.com/MeisterP/torbrowser-overlay.git
    masters: gentoo
    priority: 50

BZ-overlay
    location: /mnt/ext4_STORAGE/usr/local/portage
    masters: gentoo
    priority: 60

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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="-march=native -O2 -pipe"
DISTDIR="/mnt/ext4_STORAGE/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ http://ftp.lecl.net/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/mnt/ext4_STORAGE/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--verbose --progress --exclude-from=/etc/portage/rsync_excludes"
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 acl acpi alsa amd64 branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cxx dbus device-mapper directfb dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif glamor gpm gtk iconv infinality ipv6 jack jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl offensive ogg opengl openmp openssl pam pango pcre pdf png policykit ppds python qt5 readline samba sdl seccomp session spell sse sse2 ssh ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode usb uuid vorbis wxwidgets x264 xattr xcb xcomposite xft xml xv xvid zlib" ABI_X86="32 64" ALSA_CARDS="ca0106" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" 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 isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Patrice Clement gentoo-dev 2017-09-01 08:05:43 UTC
Hi

Thanks for the bug report.

I use clang on my laptop and cannot reproduce this error. The TUI launches and works fine. However, I have compiled crazydiskinfo on a different computer with GCC and the program indeed segfaults.

I will talk to upstream about it and ask if it's a known issue.

Watch this space!
Comment 2 Patrice Clement gentoo-dev 2017-09-02 21:33:47 UTC
Breaking news!

Sebastian filed an issue upstream already wrt the segmentation faults: https://github.com/otakuto/crazydiskinfo/issues/22

Thanks! :)
Comment 3 Patrice Clement gentoo-dev 2017-12-04 19:40:43 UTC
Upstream doesn't to give a shit.
Comment 4 Patrice Clement gentoo-dev 2017-12-04 20:28:28 UTC
I take that back: they have JUST responded. All things come to those who wait as they say!
Comment 5 Patrice Clement gentoo-dev 2017-12-04 22:19:15 UTC
Apologies for writing comment #3. I was a bit upset.
Comment 6 thunderrd 2018-01-25 14:47:57 UTC
A gentle bump; any progress on this as yet?
Comment 7 Larry the Git Cow gentoo-dev 2020-03-25 10:00:00 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcdaf01129fc90b8ce40d8627157794f2864e327

commit fcdaf01129fc90b8ce40d8627157794f2864e327
Author:     Patrice Clement <monsieurp@gentoo.org>
AuthorDate: 2020-03-25 09:50:58 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2020-03-25 09:59:36 +0000

    sys-apps/crazydiskinfo: version bump.
    
    Bug: https://bugs.gentoo.org/629520
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Patrice Clement <monsieurp@gentoo.org>

 sys-apps/crazydiskinfo/Manifest                   |  1 +
 sys-apps/crazydiskinfo/crazydiskinfo-1.1.0.ebuild | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+)
Comment 8 Patrice Clement gentoo-dev 2020-03-25 10:47:47 UTC
Please try again with this new version and report back. Thanks!