You are not logged in.

#1 2012-07-31 16:00:41

syntaxvorlon
Member
Registered: 2008-08-13
Posts: 62

Flashplugin, Firefox and XFCE

So I had an interesting experience recently wherein while attempting to get some flash item working, and futzing with the flashplugin I began having segfault issues. The specific sequence of events is that I removed and reinstalled the flashplugin and closed the firefox window. On reopening firefox, it asked to be made the default browswer. I pressed the Okay button and toggled the never ask again box and then it immediately segfaulted. Then XFCE segfaulted. And now several applications throw segfault whenever they attempt to run from my personal login, which suggests to me some setting of mine that is leading to the behavior. I can startx from the root login and use firefox and several other applications, which I have noticed does not load the gtk and I am investigating what might be up with that. The specific error is just a line saying Segmentation Fault when something is run in console. I have noticed that is affecting gnome apps primarily, so gedit and gnome-mplayer both throw similar error statements.
Furthermore, if I attempt to bring up XFCE, then it throws errors such as "XFWM cannot find screens to manage" and it seems as if many of the associated DE programs fail to load or may also be segfaulting. Finally, if I leave the XFCE session running long enough, it stops entirely and throws segfault errors to the screen.

Offline

#2 2012-07-31 16:02:47

syntaxvorlon
Member
Registered: 2008-08-13
Posts: 62

Re: Flashplugin, Firefox and XFCE

Also, for some reason Chrome isn't keeping the login cookie for the ArchLinux bbs, so I'm typing this all in via Lynx. If anyone knows why that might be, please give a shout.

Offline

#3 2012-07-31 20:40:39

oboedad55
Member
From: Baku
Registered: 2011-04-05
Posts: 392

Re: Flashplugin, Firefox and XFCE

syntaxvorlon wrote:

Also, for some reason Chrome isn't keeping the login cookie for the ArchLinux bbs, so I'm typing this all in via Lynx. If anyone knows why that might be, please give a shout.

How are you starting Xfce and which display manager, if any, are you using? Also please post your .xinitrc if you have one in your home directory as well as the daemons in your rc.conf.


Registered Linux user #436067

Offline

#4 2012-07-31 23:06:39

madprops
Member
Registered: 2012-05-26
Posts: 26

Re: Flashplugin, Firefox and XFCE

I'm having a similar problem were Chrome makes my system crash If I leave certain pages and youtube videos open for some time. It happens as well in Firefox but not as often. I'm not sure if this is a flashplugin or nvidia issue.

Last edited by madprops (2012-07-31 23:15:21)

Offline

#5 2012-08-01 02:07:16

syntaxvorlon
Member
Registered: 2008-08-13
Posts: 62

Re: Flashplugin, Firefox and XFCE

Okay, now I can log in using for some reason. *shrug*

Okay, here's my .xinitrc:

#exec ck-launch-session startxfce4
#exec startxfce4 --with-ck-launch|tee xfceerror.log
exec openbox-session

This is the current working version, I would normally just use

exec startxfce4 --with-ck-launch

xinit is being called by slim, which I start as a daemon in my rc.conf.

Actually, here's rc.conf with comments removed in case it helps:

LOCALE="en_US.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="US/Eastern"
KEYMAP="us"
CONSOLEFONT="ter-v16b"
CONSOLEMAP=
DAEMON_LOCALE="yes"
USECOLOR="yes"


MODULES=(kvm-amd !usblp)
USDMRAID="no"
USEBTRFS="no"
USELVM="no"


HOSTNAME="Monolith"

interface=eth1
address=
netmask=
broadcast=
gateway=

NETWORK_PERSIST="no"

DAEMONS=(syslog-ng hal network netfs crond @3ddeskd autofs @alsa wicd @sshd @openntpd slim)

I've been installing Arch on another system and in configuration, I've seen that the latest version of the rc.conf file and the various things it controls have been deprecated.  But I doubt that it would be a problem here because Firefox and other applications are working from a root X session and not under my username.

Next time I attempt something and produce an Xorg log I'll make sure to save it.

Also is there any way to find the log for the startxfce4 output? It produces a great deal of output that I have yet to find a way to capture aside from tee.

@madprops, I had not considered that it may be an nvidia issue, in case it is I should mention that I am using the nvidia drivers and I have made damn sure that the both the 64 and 32 bit drivers are installed.(the cause of some earlier headaches)

Could there be some nvidia setting that firefox or flash might have fiddled with that broke xfce's interaction with the video drivers? Or GTK? Aside from deleting all relevant home directory settings for the affected applications, I can't think of what could fix this. And I am loathe to do that because I have so much of my life encoded into Firefox settings files.

Offline

#6 2012-08-03 05:01:32

syntaxvorlon
Member
Registered: 2008-08-13
Posts: 62

Re: Flashplugin, Firefox and XFCE

Okay, I think I'm getting an idea of what's going on. I've been trying to gdb some of these segfaulting programs:

gdb gedit:

Starting program: /usr/bin/gedit 
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.3200.4-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff02a1700 (LWP 5371)]
[New Thread 0x7fffefaa0700 (LWP 5372)]
[New Thread 0x7fffeee8a700 (LWP 5373)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff5c60125 in ?? () from /usr/lib/libgio-2.0.so.0

gdb firefox:

Starting program: /usr/bin/firefox 
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 "/usr/lib/libthread_db.so.1".
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.3200.4-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[New Thread 0x7fffeb1ff700 (LWP 5295)]
[New Thread 0x7fffea357700 (LWP 5296)]
[New Thread 0x7fffe97ff700 (LWP 5297)]
[New Thread 0x7fffe87db700 (LWP 5298)]
[New Thread 0x7fffe7dff700 (LWP 5299)]
[New Thread 0x7fffe71fe700 (LWP 5300)]
[Thread 0x7fffe97ff700 (LWP 5297) exited]
[New Thread 0x7fffe64ff700 (LWP 5301)]
[Thread 0x7fffea357700 (LWP 5296) exited]
[Thread 0x7fffe64ff700 (LWP 5301) exited]
[Thread 0x7fffe71fe700 (LWP 5300) exited]
[Thread 0x7fffe7dff700 (LWP 5299) exited]
[Thread 0x7fffeb1ff700 (LWP 5295) exited]
[Thread 0x7fffe87db700 (LWP 5298) exited]
process 5291 is executing new program: /usr/lib/firefox/firefox
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 "/usr/lib/libthread_db.so.1".
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.3200.4-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[New Thread 0x7fffeb1ff700 (LWP 5303)]
[New Thread 0x7fffea357700 (LWP 5304)]
[New Thread 0x7fffe97ff700 (LWP 5305)]
[New Thread 0x7fffe87db700 (LWP 5306)]
[New Thread 0x7fffe7dff700 (LWP 5307)]
[New Thread 0x7fffe71fe700 (LWP 5308)]
[New Thread 0x7fffe61ff700 (LWP 5311)]

Program received signal SIGSEGV, Segmentation fault.
0x00007fffef9c2759 in ?? () from /usr/lib/libgio-2.0.so.0

gdb obconf:

Starting program: /usr/bin/obconf 
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.3200.4-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".

(obconf:5229): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff1fb9759 in ?? () from /usr/lib/libgio-2.0.so.0

gdb thunderbird:

Starting program: /usr/bin/thunderbird 
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 "/usr/lib/libthread_db.so.1".
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.3200.4-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[New Thread 0x7fffea8ff700 (LWP 5356)]
[New Thread 0x7fffe9929700 (LWP 5357)]
[New Thread 0x7fffe8dff700 (LWP 5358)]
[New Thread 0x7fffe7fe8700 (LWP 5359)]
[New Thread 0x7fffe7737700 (LWP 5360)]
[New Thread 0x7fffe69ff700 (LWP 5361)]
[New Thread 0x7fffe5aff700 (LWP 5364)]

Program received signal SIGSEGV, Segmentation fault.
0x00007fffef0bc759 in ?? () from /usr/lib/libgio-2.0.so.0

The common thread here seems to be libgio. I have not had much luck with google searches, they mostly just suggest that when something has some issue a program will be attempting to do something with libgio, and examining the wiki page on it, it seems that it may be attempting reference something in a file and it is throwing a null pointer or some such. Any ideas or have I cobbled together a silly pile of offal from my poor grasp of OS configuration?

Offline

#7 2012-09-13 03:55:35

syntaxvorlon
Member
Registered: 2008-08-13
Posts: 62

Re: Flashplugin, Firefox and XFCE

All right, a slight update. I attempted to just delete the offending library and reinstall, resulting in no dice.

I still get the segfault on a fresh install of glib2, which owns libgio2.0. Just in case I had some offending library that had no owner( installed from AUR or something) I checked and found that none of my /usr/lib libraries are unaccounted for by pacman.

Is there any better way of diagnosing the problem than what I've done so far? Is there some tool I have missed in my quest for this mass segfault bug?

Is there some way to output a master list of installed packages so I can wipe my root directory and pacstrap it back into working order?

Thanks.

Last edited by syntaxvorlon (2012-09-13 03:56:59)

Offline

Board footer

Powered by FluxBB