LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 07-03-2013, 10:56 AM   #1
gatoso
LQ Newbie
 
Registered: Apr 2006
Posts: 4

Rep: Reputation: 8
Browsers and Xfce4 Suddenly Broken after Firefox 22 update


Hi all!!

after installing Firefox 22 on Ubuntu 12.04 64 bits, opening it opening the youtube website and clicking on the adobe flash update link in a youtube video I tried to watch, am experiencing the following symptoms:

user@mycomputer:~$ google-chrome
Segmentation fault (core dumped)
user@mycomputer:~$ chromium-browser
Segmentation fault (core dumped)
user@mycomputer:~$ firefox
user@mycomputer:~$

(firefox doesn't open at all anymore)

Moreover, I can't use into xfce4 anymore (I normally enter xfce4 from the tty command line using startxfce4 because I haven't found out how to set up the default dm)... it logs me in, but the mouse cursor has become an X and the xfce4-panels load and disappear repeatedly and I have to control-c startxfce4 (xfce4 startup log is available if anyone wants to see it).

I have tried removing .cache/xfce4, .cache/sessions, .config/autostart, .config/xfce4, .config/xfce4-sessions to no avail.

I also checked if there were any rootkits using both chkrootkit and rkhunter and they found nothing of interest.

Luckily, I have kde installed and can write this post on Opera, which still works.

All browsers as well as xfce4 were working perfectly fine before.

Thank you for taking time to read this and help me.
 
Old 07-03-2013, 11:39 AM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,495

Rep: Reputation: 568Reputation: 568Reputation: 568Reputation: 568Reputation: 568Reputation: 568
Run ldconfig in case that fixes it.

Try
Quote:
ldd /path/to/binary |grep found
for every file that pukes. The correct output is nothing. Anything missing will show. Find or install them.

Also try
Quote:
ldd /usr/bin/xfce4-session |less
and see if it's pulling libs from strange places. If the LD_LIBRARY_PATH or /etc/ld.so.conf causes the box to find a strange lib first, this could be an issue.
 
Old 07-04-2013, 09:23 AM   #3
gatoso
LQ Newbie
 
Registered: Apr 2006
Posts: 4

Original Poster
Rep: Reputation: 8
I ran sudo ldconfig, then tried starting google-chrome and it didn't work.

I also ran ldd /usr/bin/google-chrome | grep found and got no output:

santiago@studio:~$ ldd /usr/bin/google-chrome | grep found
santiago@studio:~$

Have not tried ldd on xfce4-session yet.

One thing: when I run firefox with sudo, it works OK...

Running chromium-browser or google-chrome as root (specifying another user data dir to be able to) does not segfault, but does not start them either (data dir gets created and populated, though).

I also notice that synaptic has started to crash when trying to update packages... and some open gtk open file dialogs now simply hang... oops never happened before, I fear my system is getting corrupt... should I try with another kernel or upgrade the release?

Is there a way to "repair" your current Linux installation?

The disks seem to be OK since e2fsck does not complain.

Today I'll start to make a backup anyhow, just in case.
 
Old 07-04-2013, 03:28 PM   #4
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,495

Rep: Reputation: 568Reputation: 568Reputation: 568Reputation: 568Reputation: 568Reputation: 568
When ldd |grep found produces nothing, it's good to run ldd /path/to/file, just to check it's finding libs and you're not checking a script or the like. ldd is for elf executables. It should list every linked library and the path to it. It there's no path, it says "not found"

I would agree that your system seems to be going unstable. Check in /var/log/messages for details of problems. You can also check dmesg o/p which logs different stuff. Slackware has a command
upgradepkg --reinstall [packages]
which simply reinstalls all installed packages. Apt-something may have a similar option. I'm not a debian man. You're on your own there.

If you can get some fix on what errors it's actually barfing on, we may be able to do something. Run files from an xterm so stdout errors will be trapped. You can read them off the xterm after it barfs. With xfce, open the startup script and run the individual commands. Read logs, and bootup messages. Find something, or you'll have to reinstall.
 
Old 07-06-2013, 05:44 PM   #5
gatoso
LQ Newbie
 
Registered: Apr 2006
Posts: 4

Original Poster
Rep: Reputation: 8
thanks a lot for your time business_kid, I think what you say is probably helpful to solve my problem.

What I'm about to tell you is in many aspects the worst practice possible, but I finally grew tired of having to bare with all the bugs generated because of simple and undetectable permission issues.

After more than a decade of using Linux, both as superuser and sudoer, please let me conclude that, if you know Linux enough, are not in a corporate network, are the only user of your system, regularly back up your important files... then you might decide to ditch sudo. Permission issues are accountable for near 100% of the difficult to solve troubles users face when working under Linux.

Now I'm in paradise, I returned to the golden age where you are the superuser of your own system and everything works just as intended. Don't have time to care about permissions at all.

This sure is a radical solution but definitely worth trying.
 
Old 07-07-2013, 10:13 AM   #6
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,495

Rep: Reputation: 568Reputation: 568Reputation: 568Reputation: 568Reputation: 568Reputation: 568
Youŕe flying as long as nobody gets in!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Tellico in Xfce4: KDEInit could not lauch '/usr/lib64/firefox-18.0/firefox' tronayne Slackware 4 03-13-2013 07:00 AM
aptitude update broken, Firefox / Thunderbird seg faulting AncientPC Linux - Software 3 12-10-2007 12:36 PM
XFCE4 Goodies Broken 2Gnu Slackware 4 10-04-2006 12:26 PM
Xfce4 suddenly doesn't start properly trevelluk Linux - Software 1 10-23-2005 12:50 PM
SUSE 9.2: kernel update, Firefox broken finnjimm Linux - Software 3 06-20-2005 02:39 PM


All times are GMT -5. The time now is 10:05 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration