You are not logged in.

#1 2011-07-19 03:35:11

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Pacman seg fault(Solved but with comments on pacman-db-upgrade)

Performed an install from FTP and booted into root login.

Performed pacman -Syu  and received report system up to date.

Performed downloads via pacman of twelve packages including xorg and xfce4.

Performed download of abs package. 

Downloaded abs repos.

Modified abs extra vlc package and performed pacman -U install of modified package.

Pacman working well at this point.

Rebooted.

After reaching xfce4 Desktop, attemptd to install firefox.

Pacman -S firefox produced..... /usr/bin/pacman/ report(forget the exact error)

Subsequent trials with ...pacman -U .... produces seg fault.

Cannot use pacman.  All other programs seem to perform correctly.  Perhaps have lost DNS.

Cannot perform ...pacman -Syu --debug.....segfaults.

Last edited by lilsirecho (2011-07-19 18:19:49)


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#2 2011-07-19 04:05:40

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

Re: Pacman seg fault(Solved but with comments on pacman-db-upgrade)

Are you going to actually post some output?

Offline

#3 2011-07-19 04:21:57

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Pacman seg fault(Solved but with comments on pacman-db-upgrade)

Since I cannot address the forum with the system in trouble I can only report that I have run e2fsck on the system and it is reported as clean.

The data available to display is only.....pacman -S firefox....segmentation fault.

Any command with pacman results in segmentation fault....

Tried pacman -Syu --debug,,,same result.

No data is obtained in attempts to run pacman.

Checked DNS in resolv, rc.conf and all is well.

Initially, pacman requested upgrade of db.   Performed pacman-db-upgrade and then proceeded to download the packages I reported previously.

Only upon reboot did the seg faults occur and haven't a clue as to what is wrong.

I will try pinging my dns servers and report back.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#4 2011-07-19 04:33:19

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Pacman seg fault(Solved but with comments on pacman-db-upgrade)

Ping was perfect on DNS server and google and yahoo.

Probable cause is the database is incorrect or some such since it was addressed in the initial pacman activity and pacman wasn't affected until I rebooted.

Then the fit hit the shan!


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#5 2011-07-19 04:37:00

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 602
Website

Re: Pacman seg fault(Solved but with comments on pacman-db-upgrade)

We shouldn't segfault. Ever. Are you telling us there is no debug output whatsoever when you run with `--debug`?

Can you strace a simple command, such as `strace pacman -Qs foobar123` or `strace pacman -Ss foobar123`?

Offline

#6 2011-07-19 04:44:49

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Pacman seg fault(Solved but with comments on pacman-db-upgrade)

Will attempt the commands you provided and report back.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#7 2011-07-19 04:55:08

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Pacman seg fault(Solved but with comments on pacman-db-upgrade)

As reported earlier, there is no response from --debug other than seg fault.

When I enter ....pacman -Q |less... I do not get seg fault but I also do not have a list of installed packages.  The window is empty.

The command you supplied produces segfault.

No other data.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#8 2011-07-19 05:03:25

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Pacman seg fault(Solved but with comments on pacman-db-upgrade)

Inspecting ../var/lib/pacman/local shows 1148 files installed............


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#9 2011-07-19 05:06:30

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Pacman seg fault(Solved but with comments on pacman-db-upgrade)

Pacman -3.5.3-1 is installed in /var/cache/pacman/pkg


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#10 2011-07-19 05:37:38

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Pacman seg fault(Solved but with comments on pacman-db-upgrade)

Nothing in log files, any of them.

Bed time.................

Last edited by lilsirecho (2011-07-19 05:38:05)


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#11 2011-07-19 18:18:16

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Pacman seg fault(Solved but with comments on pacman-db-upgrade)

Solved the difficulty but have no idea what can be done to prevent it from occuring for another user.

It seems that the db did not get upgraded when the ...pacman-db-upgrade ...command was executed.  There was no statement for ..."pre 3.5 db" upgrade....while executing the command.

After re-install, the upgrade command performed correctly and pacman now performs correctly after reboots.

The question comes up as to what to do if the upgrade command does not work correctly and whether some indicator of correct response should appear in the beginners guide.  Additionally, what can be done in the event that the upgrade command fails to meet the correct response.

These questions will in time be resolved by a new .iso but the present exposure is amazing in its consequences!

Perhaps the upgrade command is also a function of properly synced mirrors but the command requesting the upgrade was ...pacman -Syy... the mirror sync function!

What do we have...catch22?

The resultant segfaults make sense if the pacman sync db is not upgraded.

How is a user to know the upgrade failed?  What to do about such a condition?

Marking this thread as solved ...with comments...


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

Board footer

Powered by FluxBB