You are not logged in.

#1 2011-08-01 19:23:16

captainron
Member
From: Vancouver, BC
Registered: 2010-11-06
Posts: 14

[SOLVED] Upgrades broke glibc

At least I think that's what happened. I usually upgrade with a 'yaourt -Syu --aur --devel', select no to edit PKGBUILDs, and if it's been a while opt not to use existing sources and instead downloading everything again. I've now got a whole schwack of programs that don't want to start - nautilus, gnome-terminal, evince - and a couple that have issues that may or may not be related - chromium, firefox (webkit ?) - and crash whenever I try to download a file.

When I try to start nautilus et al I get:

*** glibc detected *** nautilus: free(): invalid pointer: 0x0000000000cc678a ***
======= Backtrace: =========
/lib/libc.so.6(+0x7366a)[0x7f15ba42866a]
/lib/libc.so.6(cfree+0x6c)[0x7f15ba42c54c]
/usr/lib/libgtk-3.so.0(gtk_theming_engine_register_property+0xc1)[0x7f15bd2a9ad1]
/usr/lib/gtk-3.0/3.0.0/theming-engines/libadwaita.so(+0x29ff)[0x7f15b41809ff]
...
/usr/lib/libgio-2.0.so.0(g_application_run+0x114)[0x7f15bbaca124]
nautilus[0x429790]
/lib/libc.so.6(__libc_start_main+0xed)[0x7f15ba3d617d]
nautilus[0x4297d1]
======= Memory map: ========
00400000-00559000 r-xp 00000000 08:11 1962291                            /usr/bin/nautilus
00758000-0075e000 rw-p 00158000 08:11 1962291                            /usr/bin/nautilus
0075e000-0075f000 rw-p 00000000 00:00 0 
00cb0000-00d35000 rw-p 00000000 00:00 0                                  [heap]
7f15b0000000-7f15b0021000 rw-p 00000000 00:00 0 
7f15b0021000-7f15b4000000 ---p 00000000 00:00 0 
7f15b417e000-7f15b4186000 r-xp 00000000 08:11 2243317                    /usr/lib/gtk-3.0/3.0.0/theming-engines/libadwaita.so
...
7f15b8e5d000-7f15b905d000 ---p 00009000 08:11 1133343                    /usr/lib/libXcursor.so.1.0.2
7f15b905d000-7f15b905e000 rw-p 00009000 08:11 1133343                    /usr/lib/libXcursor.so.1.0.2
7f15b905e000-7f15b9066000 r-xp 00000000 08:11 1133114     Aborted

System:

$ uname -a
Linux dekstop 2.6.39-ARCH #1 SMP PREEMPT Sat Jul 9 14:57:41 CEST 2011 x86_64 AMD Phenom(tm) II X4 965 Processor AuthenticAMD GNU/Linux

Packages:

$ yaourt -Ss glibc | grep installed
core/glibc 2.14-4 (base) [installed]
multilib/lib32-glibc 2.14-4 [installed]

Some threads suggest telling glibc to continue after receiving a memory free error by setting MALLOC_CHECK_=1 but this did not work for me. Would it be advisable to downgrade glibc? If so how is that done in Arch, I'm relatively new to this distribution.

Thanks for any help.

Last edited by captainron (2011-08-03 03:08:36)

Offline

#2 2011-08-01 20:33:15

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] Upgrades broke glibc

glibc isn't broken, Nautilus is. This is typical output from an attempted double free or stack corruption.

yaourt -Ss glibc | grep installed

pacman -Qs glibc

Offline

#3 2011-08-01 20:41:44

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Upgrades broke glibc

[OT]

The grep part is handy (but he should grep for the package name), as pacman searches the whole 'pacman -Qi' output:

[karol@black ~]$ pacman -Qs syslog
local/perl-device-modem 1.54-1 [0,12 MB]
    Perl extension to talk to modem devices connected via serial port
local/syslog-ng 3.2.4-3 [1,16 MB] (base)
    Next-generation syslogd with advanced networking and filtering capabilities

'--quiet' doesn't help of course:

[karol@black ~]$ pacman -Qqs syslog
perl-device-modem
syslog-ng

Why would I want perl-device-modem if I'm searching for syslog?

[/OT]

Last edited by karol (2011-08-01 21:01:01)

Offline

#4 2011-08-01 21:06:49

captainron
Member
From: Vancouver, BC
Registered: 2010-11-06
Posts: 14

Re: [SOLVED] Upgrades broke glibc

falconindy wrote:

glibc isn't broken, Nautilus is. This is typical output from an attempted double free or stack corruption.

yaourt -Ss glibc | grep installed

pacman -Qs glibc

Okay, but nautilus doesn't have anything to do with evince or gnome-terminal, are you suggesting that those are also broken?

Offline

#5 2011-08-01 22:59:26

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] Upgrades broke glibc

Without seeing what you installed (/var/log/pacman.log) and where it came from (/etc/pacman.conf), yes, I'm suggesting that they're all broken.

Offline

#6 2011-08-02 17:17:36

captainron
Member
From: Vancouver, BC
Registered: 2010-11-06
Posts: 14

Re: [SOLVED] Upgrades broke glibc

My system has become unusable as dbus and gdm no longer launch, so I suspect that you might be right about having multiple broken packages. I will have a look at the pacman log after work and post anything here that looks suspicious.

Offline

#7 2011-08-03 03:06:50

captainron
Member
From: Vancouver, BC
Registered: 2010-11-06
Posts: 14

Re: [SOLVED] Upgrades broke glibc

I cleaned up a few packages and ran an upgrade again and things seem to be sorted out. I might be misunderstanding something wrt pacman/yaourt though, when I ran just 'yaourt -Syu' it went through and upgraded packages that weren't with 'yaourt -Syu --aur --devel', and I had assumed that the latter does everything that the other command does plus upgrade aur and devel packages. Is that incorrect?

Offline

#8 2011-08-03 03:15:46

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: [SOLVED] Upgrades broke glibc

Never assume yaourt does anything properly...

Offline

#9 2011-08-04 04:48:45

captainron
Member
From: Vancouver, BC
Registered: 2010-11-06
Posts: 14

Re: [SOLVED] Upgrades broke glibc

Hmm. When I started using Arch about a month ago I was manually managing any packages installed using aur from the git repo but yaourt seemed to offer a reasonable solution for upgrading all of them at once. Is there something else/better that I should/could try?

Offline

#10 2011-08-04 13:43:17

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,123

Re: [SOLVED] Upgrades broke glibc

all pacman helpers are unofficial , and most have problems from time to time.

IF you use an aur helper , use it ONLY for aur packages , and pacman for everything in the normal repos.

Personally i stick to makepkg / pacman, but pkgman looks like it would be useful for you.
https://wiki.archlinux.org/index.php/AUR_Helper

Last edited by Lone_Wolf (2011-08-04 13:44:03)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB