Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] xfce4-panel 4.13.4 free(): invalid pointer
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
ElDavo
n00b
n00b


Joined: 23 Aug 2015
Posts: 12

PostPosted: Sun Feb 17, 2019 10:41 am    Post subject: [SOLVED] xfce4-panel 4.13.4 free(): invalid pointer Reply with quote

Hi,
since I upgraded everything to unstable, I have this problem:
Code:
$ xfce4-panel
Error setting device
Error setting channel
using 4.12
using 4.12

(wrapper-2.0:3499): Gtk-WARNING **: 11:32:19.786: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner GtkButton)

(wrapper-2.0:3500): Gtk-WARNING **: 11:32:19.793: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner AlsaPluginVolumeButton)

(wrapper-2.0:3498): Gtk-WARNING **: 11:32:19.818: gtk_widget_size_allocate(): attempt to allocate widget with width -1 and height 28

(wrapper-2.0:3498): Gtk-WARNING **: 11:32:19.818: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame)

(wrapper-2.0:3502): Gtk-WARNING **: 11:32:19.821: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height 26

(wrapper-2.0:3501): Gtk-WARNING **: 11:32:19.972: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner XfceArrowButton)
free(): invalid pointer


The free():invalid pointer happens when I click on the applications menu.
When I do MALLOC_CHECK=1 xfce4-panel and I click on the applications menu, the X session freezes until I kill xfce4-panel from a virtual console. No messages are printed.

Code:
# emerge --info
Portage 2.3.60 (python 3.7.0-final-0, default/linux/amd64/17.1/desktop, gcc-8.2.0, glibc-2.28-r5, 4.20.10-gentoo x86_64)
=================================================================
System uname: Linux-4.20.10-gentoo-x86_64-Intel-R-_Pentium-R-_CPU_N3520_@_2.16GHz-with-gentoo-2.6
KiB Mem:     3921640 total,    528316 free
KiB Swap:    1023996 total,   1023996 free
Timestamp of repository gentoo: Sun, 17 Feb 2019 10:04:15 +0000
Head commit of repository gentoo: c3ed6759a764e89ad0931d4776690adf15a49c78

sh bash 5.0_p2
ld GNU ld (Gentoo 2.31.1 p5) 2.31.1
app-shells/bash:          5.0_p2::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.28.0::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.6::gentoo, 3.7.0::gentoo
dev-util/cmake:           3.13.4::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.40.3::gentoo
sys-apps/sandbox:         2.15::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r4::gentoo
sys-devel/gcc:            8.2.0-r6::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.20::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r5::gentoo
Repositories:

crossdev
    location: /usr/crossdev-overlay
    masters: gentoo

eclipse
    location: /var/lib/layman/eclipse
    masters: gentoo
    priority: 50

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: 1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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 sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.ovh.net/gentoo-distfiles/ ftp://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ rsync://mirror.eu.oneandone.net/gentoo/"
LANG="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it"
MAKEOPTS="-j3 -l4"
PKGDIR="/usr/portage/packages"
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 acl acpi alsa alsa\ amd64 berkdb bluetooth branding btrfs bzip2 cairo cdda cdr chromium cli consolekit crypt cups custom-cflags custom-optimization cxx dbus dhcpcd dos dri dts dvdr emboss encode exif fam fat ffmpeg flac fortran gdbm gecko gif glamor gpm grammar graphite gtk hangouts iconv ipv6 jpeg latex lcms ldap libnotify libtirpc mad math mng mono mp3 mp4 mpeg multilib ncurses nfc nls nptl ntfs ogg opengl openmp openssl pam pango pcap pcre pcsc-lite pdf pgo pipelight pm-utils png policykit ppds prelink proprietary-codecs qt5 rar readline run-exes samba sdl seccomp spell ssl staging startup-notification svg system-ffmpeg system-harfbuzz system-icu system-jpeg system-libevent system-llvm system-sqlite systray tcpd themes thesaurus tiff truetype udev udisks unicode upower usb v4l vaapi vorbis widevine wifi wxwidgets x264 x265 x265\ xattr xcb xfce xml xv xvid zlib" ABI_X86="64" 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 pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 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="synaptics libinput keyboard mouse" KERNEL="linux" L10N="it" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_7 python3_6" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="intel" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


What should I do? I tried to emptytree world but that didn't change anything.


Last edited by ElDavo on Sun Feb 17, 2019 5:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
ElDavo
n00b
n00b


Joined: 23 Aug 2015
Posts: 12

PostPosted: Sun Feb 17, 2019 5:55 pm    Post subject: Reply with quote

SOLVED: (The problem also affected transmission-gtk)
Analyzing the backtrace of gdb, I found out cairo-9999 was the problem. Downgrading to stable version (1.16.0-r2) fixes the problem. I will git bisect and then report the bug to mainstream.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum