You are not logged in.

#1 2008-09-02 19:57:50

lynucs
Member
Registered: 2008-05-05
Posts: 67
Website

several programs crash with Glib-GIO error

in my notebook several programs crash with an error ouput:

(here for firefox)

(firefox:6303): GLib-GIO-CRITICAL **: g_simple_async_result_set_from_error: assertion `error != NULL' failed

(firefox:6303): GLib-CRITICAL **: g_error_free: assertion `error != NULL' failed

(firefox:6303): GLib-GIO-CRITICAL **: g_simple_async_result_set_from_error: assertion `error != NULL' failed

(firefox:6303): GLib-GIO-WARNING **: (gfile.c:5244):IA__g_file_load_partial_contents_finish: runtime check failed: (g_simple_async_result_get_source_tag (simple) == g_file_load_contents_async)
Speicherzugriffsfehler

- firefox crashes every time i try to browse for a file (fileupload form).
- nautilus --no-desktop crashes also before the gui is loaded with the same error output.
- same to brasero
- same to gnomebaker
- evince crashes on open/file (again when browser should be opened)

thunar works, seems there is a problem with nautilus or any gnome's lib

on my another pc also running arch, there are no such problems.. would be great if anyone would help.
every hint is welcome, since i'm pretty frustrated.. google and irc didn't help.

thank you in advance


Pinky, are you pondering what I'm pondering?

Offline

#2 2008-09-03 06:20:25

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: several programs crash with Glib-GIO error

Is your dbus session bus running?

Offline

#3 2008-09-03 10:49:20

lynucs
Member
Registered: 2008-05-05
Posts: 67
Website

Re: several programs crash with Glib-GIO error

is this what you mean?

ps aux shows this on dbus:

lynucs    3747  0.0  0.1   2084   800 ?        Ss   12:45   0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session

//edit:
forgot to mention,
i already tried to reinstall all my installed packages

Last edited by lynucs (2008-09-03 11:59:09)


Pinky, are you pondering what I'm pondering?

Offline

#4 2008-09-14 03:35:12

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: several programs crash with Glib-GIO error

Did you ever find a solution?  I started experiencing this tonight as well.  A couple of other observations:

* I can no longer access SSH bookmarks within Nautilus
* Nautilus seg faults if a blank CD is in the CD-ROM
* If I insert a blank CD while Nautilus is running it immediately crashes

(nautilus:5221): GLib-GIO-CRITICAL **: g_simple_async_result_set_from_error: assertion `error != NULL' failed

(nautilus:5221): GLib-CRITICAL **: g_error_free: assertion `error != NULL' failed

(nautilus:5221): GLib-GIO-CRITICAL **: g_simple_async_result_set_from_error: assertion `error != NULL' failed

(nautilus:5221): GLib-GIO-WARNING **: (gfile.c:5244):IA__g_file_load_partial_contents_finish: runtime check failed: (g_simple_async_result_get_source_tag (simple) == g_file_load_contents_async)
Segmentation fault

Last edited by thayer (2008-09-14 05:09:22)


thayer williams ~ cinderwick.ca

Offline

#5 2008-09-17 11:12:26

lynucs
Member
Registered: 2008-05-05
Posts: 67
Website

Re: several programs crash with Glib-GIO error

i didn't find any solution.
i assume that was somehow caused by holding the old kernel version, so that sth went wrong on glib/gio update. but even updating the kernel and reinstalling all packages didn't solve the problem.

i reinstalled then the whole arch mad


Pinky, are you pondering what I'm pondering?

Offline

#6 2008-09-17 12:38:23

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: several programs crash with Glib-GIO error

How is your dbus session bus daemon started? Did it export the usual environment variables?

Offline

#7 2008-09-17 15:28:47

lynucs
Member
Registered: 2008-05-05
Posts: 67
Website

Re: several programs crash with Glib-GIO error

unfortunately i can't test it since i reinstalled arch completely (formatted all partitions except home).
i know that's not the way it should be done and it's the first (and i hope the last) time i'm doing such mad things like this. but i needed a working machine after i asked in forum, irc and google wihtout success for week or two smile

i'm not sure what you exactly now mean by "how" the dbus daemon was started, but i didn't have any dbus daemon in DAEMONS in rc.conf. but hal started, so i assume dbus was starting too (somehow).

can't test env var anymore though sad
which env vars would that be set by dbus?


Pinky, are you pondering what I'm pondering?

Offline

#8 2008-09-17 15:41:57

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: several programs crash with Glib-GIO error

My g_simple_async errors were caused by a recent version of glib2 (it has been fixed), however for you it might have been due to the older kernel as you said--forcing new packages out of sync somehow, etc.

Regarding my issues with Nautilus and SSH bookmarks, as JGC is hinting, it was an issue with dbus.  By adding the following to ~/.xinitrc (I use openbox) the SSH connections started working again:

# D-bus
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
       eval `dbus-launch --sh-syntax --exit-with-session`
fi

thayer williams ~ cinderwick.ca

Offline

#9 2008-09-17 15:54:39

lynucs
Member
Registered: 2008-05-05
Posts: 67
Website

Re: several programs crash with Glib-GIO error

hm.. so i might try to downgrade kernel again and try the code snippet (in case the problem would appear again)? 2.6.26 causes some problems with touchpad, keyboard and acpi.

Last edited by lynucs (2008-09-17 15:54:57)


Pinky, are you pondering what I'm pondering?

Offline

#10 2008-09-18 10:55:11

fourreux
Member
Registered: 2008-03-12
Posts: 56

Re: several programs crash with Glib-GIO error

Hi

I experience a very similar problem.

Whenever I insert a blank CDrom or a blank dvd some applications crash that somehow access the dvd drive. these are brasero or listen, that I'm aware of, for the moment.

others like gnome-baker do fine. nautilus as well is doing fine.

brasero:

(brasero:25610): GLib-GIO-CRITICAL **: g_simple_async_result_set_from_error: assertion `error != NULL' failed

(brasero:25610): GLib-CRITICAL **: g_error_free: assertion `error != NULL' failed

(brasero:25610): GLib-GIO-CRITICAL **: g_simple_async_result_set_from_error: assertion `error != NULL' failed

(brasero:25610): GLib-GIO-WARNING **: (gfile.c:5244):IA__g_file_load_partial_contents_finish: runtime check failed: (g_simple_async_result_get_source_tag (simple) == g_file_load_contents_async)
Segmentation fault

listen does:

(listen.py:25694): GLib-GIO-CRITICAL **: g_simple_async_result_set_from_error: assertion `error != NULL' failed
sys:1: Warning: g_error_free: assertion `error != NULL' failed

(listen.py:25694): GLib-GIO-CRITICAL **: g_simple_async_result_set_from_error: assertion `error != NULL' failed

(listen.py:25694): GLib-GIO-WARNING **: (gfile.c:5244):IA__g_file_load_partial_contents_finish: runtime check failed: (g_simple_async_result_get_source_tag (simple) == g_file_load_contents_async)
/usr/bin/listen: line 1: 25694 Segmentation fault      LD_LIBRARY_PATH=/usr/lib/firefox python -OO /usr/lib/listen/listen.py $@

So it's bothering as all the time i want to burn something listen will crash.
Otherwise I'm using gnome-baker for burning, so it's ok.

but bothering.

This might help you.

If I can give u more information, just tell me (but I have to tell u: I'm not a big pro!)

Offline

Board footer

Powered by FluxBB