You are not logged in.

#1 2007-09-26 22:34:44

daf666
Member
Registered: 2007-04-08
Posts: 470
Website

Segmentation faults after update.

After an Syu update, including the core change update, certain programs crash with segmentation faults.

This occurs when trying to compile anything:
gcc: Internal error: Segmentation fault (program cc1)

Also I have noticed that syslog-ng crashes on boot the same way.

on a different machine, in which I allowed pacman to update to util-linux-ng, even tar seg faults and other utils like mdadm.

any idea whats up?

Offline

#2 2007-09-26 23:23:41

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Segmentation faults after update.

Make sure your machines are completely up to date - change mirror if you have to. This is not a bug, it's caused by mirrors that are slow to update. The effect is exacerbated due to the recent repository reorganisation.

There have been a number of similar reports since the change from current to core, and AFAIK, all were resolved by selecting an appropriate mirror. Some users chose specifically to reinstall gcc and its dependencies, but that should not be necessary.

Offline

#3 2007-09-27 08:34:21

daf666
Member
Registered: 2007-04-08
Posts: 470
Website

Re: Segmentation faults after update.

I have set pacman.conf to a specific mirror, and did another several pacman -Syu., it did not change the situation, the crashes still occur.

from pacman.conf:
[core]
# Add your preferred servers here, they will be used first
Server = ftp://ftp.archlinux.org/core/os/i686
#Include = /etc/pacman.d/core
[extra]
# Add your preferred servers here, they will be used first
Server = ftp://ftp.archlinux.org/extra/os/i686
#Include = /etc/pacman.d/extra
[community]
# Add your preferred servers here, they will be used first
Server = ftp://ftp.archlinux.org/community/os/i686
#Include = /etc/pacman.d/community

root@pazuzu /home/daf666 # pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
:: Replace util-linux with core/util-linux-ng? [Y/n] n
local database is up to date

root@pazuzu /home/daf666 # syslog-ng
Segmentation fault

daf666@pazuzu ~/code/bomb $ gcc str.c
gcc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Offline

#4 2007-09-27 09:12:49

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Segmentation faults after update.

Reinstall gcc and its deps.

Offline

#5 2007-09-27 09:30:18

daf666
Member
Registered: 2007-04-08
Posts: 470
Website

Re: Segmentation faults after update.

tomk wrote:

Reinstall gcc and its deps.

Ok, that did the trick big_smile
Did the same to syslog and its fine, thanks!

Offline

Board footer

Powered by FluxBB