Since the upgrade to Gnome 3.8 i cannot add user using the user-accounts into the gnome-control-center. This is the error i got when i launch it from the shell: ------------------------------------------------------- polslinux@gentoo ~ % gnome-control-center user-accounts (gnome-control-center:10945): Gtk-CRITICAL **: gtk_toggle_button_get_active: assertion `GTK_IS_TOGGLE_BUTTON (toggle_button)' failed (gnome-control-center:10945): Gtk-CRITICAL **: gtk_bin_get_child: assertion `GTK_IS_BIN (bin)' failed zsh: segmentation fault gnome-control-center user-accounts ------------------------------------------------------- emerge --info: ------------------------------------------------------- Portage 2.1.12.11 (default/linux/amd64/13.0/desktop/gnome, gcc-4.7.3, glibc-2.17, 3.10.0-pol x86_64) ================================================================= System uname: Linux-3.10.0-pol-x86_64-Intel-R-_Core-TM-_i5-2410M_CPU_@_2.30GHz-with-gentoo-2.2 KiB Mem: 3991604 total, 1133596 free KiB Swap: 2345268 total, 2344956 free Timestamp of tree: Tue, 02 Jul 2013 06:15:01 +0000 ld ld di GNU (GNU Binutils) 2.23.1 app-shells/bash: 4.2_p45 dev-java/java-config: 2.2.0 dev-lang/python: 2.7.5, 3.2.5, 3.3.2 dev-util/cmake: 2.8.11.1 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.12.6, 1.13.4 sys-devel/binutils: 2.23.1 sys-devel/gcc: 4.7.3 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.9 (virtual/os-headers) sys-libs/glibc: 2.17 Repositories: gentoo psix-overlay owncloud-client mv ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -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/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /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 -pipe -march=native" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://de-mirror.org/gentoo/" LANG="it_IT.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/psix /var/lib/layman/owncloud-client /var/lib/layman/mv" SYNC="rsync://rsync1.de.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi afs aim alsa amd64 apm bash-completion berkdb bluetooth branding bzip2 cairo cdda cdinstall cdparanoia cdr cleartype cli colord consolekit cracklib crypt css ctype cups cxx dbus dga directfb djvu dri dts dv dvd dvdr eds emboss encode evo exif fam fbcon ffmpeg firefox flac fontconfig fortran ftp gdbm gif gmp gnome gnome-keyring gnome-online-accounts gnutls gpm gstreamer gtk gzip iconv imap imlib introspection ipv6 jpeg jpeg2k lame lcms ldap libnotify libsecret lock lzma lzo mad mmx mng modplug modules mozilla mp3 mp4 mpeg mudflap multilib nautilus ncurses networkmanager nls nptl nsplugin ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support readline sdl session snmp socialweb spell sse sse2 sse4.1 sse4.2 ssl ssse3 startup-notification svg tcpd theora tiff truetype type1 udev udisks unicode upower usb v4l vcd vorbis wifi wxwidgets x264 xcb xml xv xvid zeroconf zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="it en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel v4l fbdev" 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: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON -------------------------------------------------------
Could this be a duplicate of bug 470200? We need a backtrace anyway
No, the bug 470200 occur when adding an online account! This bug occur when adding a system user! How can i produce a backtrac?
Look at: http://www.gentoo.org/proj/en/qa/backtraces.xml
I have compiled gnome-control-center with "-O1 -ggdb" and then i have done this: polslinux@gentoo ~ % gdb /usr/bin/gnome-control-center GNU gdb (Gentoo 7.6 p1) 7.6 Reading symbols from /usr/bin/gnome-control-center...done. (gdb) set args user-accounts (gdb) run Starting program: /usr/bin/gnome-control-center user-accounts warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7fffdc686700 (LWP 12683)] [New Thread 0x7fffcec4c700 (LWP 12684)] [New Thread 0x7fffce44b700 (LWP 12685)] [New Thread 0x7fffcdc4a700 (LWP 12688)] [Thread 0x7fffcec4c700 (LWP 12684) exited] (gnome-control-center:12678): Gtk-CRITICAL **: gtk_toggle_button_get_active: assertion `GTK_IS_TOGGLE_BUTTON (toggle_button)' failed (gnome-control-center:12678): Gtk-CRITICAL **: gtk_bin_get_child: assertion `GTK_IS_BIN (bin)' failed Program received signal SIGSEGV, Segmentation fault. 0x00007ffff2568dc9 in gtk_label_set_attributes () from /usr/lib64/libgtk-3.so.0
(In reply to Paolo Stivanin from comment #4) > I have compiled gnome-control-center with "-O1 -ggdb" and then i have done > this: > Please keep "-O2 -ggdb" > polslinux@gentoo ~ % gdb /usr/bin/gnome-control-center > GNU gdb (Gentoo 7.6 p1) 7.6 > Reading symbols from /usr/bin/gnome-control-center...done. > (gdb) set args user-accounts > (gdb) run > Starting program: /usr/bin/gnome-control-center user-accounts > warning: Could not load shared library symbols for linux-vdso.so.1. > Do you need "set solib-search-path" or "set sysroot"? > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib64/libthread_db.so.1". > [New Thread 0x7fffdc686700 (LWP 12683)] > [New Thread 0x7fffcec4c700 (LWP 12684)] > [New Thread 0x7fffce44b700 (LWP 12685)] > [New Thread 0x7fffcdc4a700 (LWP 12688)] > [Thread 0x7fffcec4c700 (LWP 12684) exited] > > (gnome-control-center:12678): Gtk-CRITICAL **: gtk_toggle_button_get_active: > assertion `GTK_IS_TOGGLE_BUTTON (toggle_button)' failed > > (gnome-control-center:12678): Gtk-CRITICAL **: gtk_bin_get_child: assertion > `GTK_IS_BIN (bin)' failed > > Program received signal SIGSEGV, Segmentation fault. > 0x00007ffff2568dc9 in gtk_label_set_attributes () from > /usr/lib64/libgtk-3.so.0 Take a look to "Code Listing 1.4" please
Created attachment 352572 [details] backtrace
The previous comment have the backtrace log file! ps this is my env/debug-cflags file: CFLAGS="-O2 -ggdb -pipe" FEATURES="${FEATURES} nostrip" Thanks!
Did you rebuild gtk+:3 with debugging too?
no! sorry i don't know! I'm going to do it :)
Created attachment 352848 [details] newest backtrace log file i compiled both gtk+ and gnome-control-center with: CFLAGS="-O2 -ggdb -pipe" FEATURES="${FEATURES} nostrip" The attachment is the gdb output file!
(In reply to Paolo Stivanin from comment #10) > Created attachment 352848 [details] > newest backtrace log file > > i compiled both gtk+ and gnome-control-center with: > > CFLAGS="-O2 -ggdb -pipe" > FEATURES="${FEATURES} nostrip" > > The attachment is the gdb output file! There is no useful information in your backtrace file you have provided, are you sure that you have done it correctly? please consider http://ewgeny.wordpress.com/2013/05/27/getting-stack-traces-and-debugging-information-on-gentoo/ thank you.
i got this: -------- Starting program: /usr/bin/gnome-control-center user-accounts warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7fffdc686700 (LWP 4846)] [New Thread 0x7fffcec4c700 (LWP 4847)] [New Thread 0x7fffce44b700 (LWP 4848)] [New Thread 0x7fffcdc4a700 (LWP 4852)] [Thread 0x7fffcec4c700 (LWP 4847) exited] Program received signal SIGSEGV, Segmentation fault. 0x00007ffff2568dc9 in gtk_label_set_attributes () from /usr/lib64/libgtk-3.so.0 --------
Created attachment 352854 [details] bt ok i'm sorry! i forgot to give the 'bt' cmd to gdb! this is the complete backtrace log file!
(In reply to Paolo Stivanin from comment #13) > Created attachment 352854 [details] > bt ok > > i'm sorry! i forgot to give the 'bt' cmd to gdb! > this is the complete backtrace log file! thank you for your contribution, I have opened a bug report upstream feel free to add a comment there https://bugzilla.gnome.org/show_bug.cgi?id=703790
i tried the patch posted upstream but it doesn't work. (i have put it in /etc/portage/patches and i have also modified it because the one posted on the upstream bug report doesn't work with gnome-control-center provided by Gentoo due to the patches that are applied)
ebuild doesn't call epatch_user and, then, you will need to edit it to apply the patch
The patch is applied because i also added some cmd to /etc/portage/bashrc and because the output of emerge show "applying user patch ...." :)
(In reply to Paolo Stivanin from comment #17) > The patch is applied because i also added some cmd to /etc/portage/bashrc > and because the output of emerge show "applying user patch ...." :) What have you added to your bachrc?)) Anyway I have also tested this patch and it does not fix the issue. Can you please test if the segmentation fault still appear after compiling gnome-control-center with all use flags enabled? This would be a great help. This way we can then exclude that this issue is somehow correlated with the patches applied on gentoo!
(In reply to Evgeny Bobkin from comment #18) > (In reply to Paolo Stivanin from comment #17) > > The patch is applied because i also added some cmd to /etc/portage/bashrc > > and because the output of emerge show "applying user patch ...." :) > What have you added to your bachrc?)) cat /etc/portage/bashrc post_src_prepare() { epatch_user } > Anyway I have also tested this patch and it does not fix the issue. > Can you please test if the segmentation fault still appear after compiling > gnome-control-center with all use flags enabled? This would be a great help. > This way we can then exclude that this issue is somehow correlated with the > patches applied on gentoo! yes, it crash also with all use flags enabled :(
(In reply to Evgeny Bobkin from comment #18) > Anyway I have also tested this patch and it does not fix the issue. > Can you please test if the segmentation fault still appear after compiling > gnome-control-center with all use flags enabled? This would be a great help. > This way we can then exclude that this issue is somehow correlated with the > patches applied on gentoo! correction: i tested it with all use flags enabled *except* the systemd one because it will install and uninstall various critical things and i don't want to break my system... i debugged it with gdb and i got the same bt.log file which i posted some posts above...
I have tested that a little bit and came to a conclusion that the kerberos patch is the root of our issue. I have disabled the patch, after rebuilding with kerberos support enabled I do not see a segmentation fault. i.e. 1. # https://bugzilla.gnome.org/686840 # epatch "${FILESDIR}/${PN}-3.7.4-optional-kerberos.patch" 2. USE=kerberos emerge -1v gnome-control-center and we need a better patch (((
i rebuilt with USE=kerberos emerge -1v gnome-control-center but nothing changed :(
(In reply to Paolo Stivanin from comment #22) > i rebuilt with > USE=kerberos emerge -1v gnome-control-center > but nothing changed :( you need to disable the patch!!!! # epatch "${FILESDIR}/${PN}-3.7.4-optional-kerberos.patch" otherwise nothing will change
(In reply to Evgeny Bobkin from comment #23) > (In reply to Paolo Stivanin from comment #22) > > i rebuilt with > > USE=kerberos emerge -1v gnome-control-center > > but nothing changed :( > > you need to disable the patch!!!! > # epatch "${FILESDIR}/${PN}-3.7.4-optional-kerberos.patch" > > otherwise nothing will change i confirm disabling this patch make it works :D thanks a lot Evgeny!!
Ok, We definitely do need a new patch. The problem is that is will have a very short lifetime, because I have tried the latest versions from git as well and a lot things has changed there(( and will be changed in future as well.
I have some C skills but they are not so big to patch this sw XD Yes, i saw the GNOME is changing a lot "under the hood"
+*gnome-control-center-3.8.4.1 (25 Jul 2013) + + 25 Jul 2013; Pacho Ramos <pacho@gentoo.org> + +gnome-control-center-3.8.4.1.ebuild, -gnome-control-center-3.8.2.ebuild: + Version bump, disable kerberos optional patch as it looks to be broken until + we have a new one (#475526 by Paolo Stivanin), refix bash-completion dir using + eclass (#477390 by Alphat-PC), include epatch_user as eautoreconf will be + needed as much time as we carry the optional patches, be sure eautoreconf is + also run for egg-list-box stuff, ensure timedated.c and .h files are dropped + completely (upstream bug #704822). Drop old +
*** This bug has been marked as a duplicate of bug 458668 ***