[gpm] g_signal_emit and fexceptions, help!
- From: Richard Hughes <hughsient gmail com>
- To: GnomePowerManager List <gnome-power-manager-list gnome org>
- Subject: [gpm] g_signal_emit and fexceptions, help!
- Date: Mon, 23 Jan 2006 01:29:42 +0000
Some of you have run into this *intermittently*:
http://people.ubuntu.com/~ogra/g-p-m.backtrace
i.e. where you get:
** (gnome-power-manager:8821): DEBUG: Emitting battery-added signal
for: /org/freedesktop/Hal/devices/foo_bar
and then a crash from g-p-m --verbose --no-daemon
I've managed to reproduce this (finally...), appending the gcc flag
-fexceptions
Compiling without this option does not give the crash. I'm not sure if
this is a glib problem, a g-p-m problem, or a gcc problem.
It's gone undetected for so long as a ./configure && make doesn't use
-fexceptions by default, but a rpm build (and probably deb too) does.
Anyone got any ideas, as fixing this is worth a beer.
Richard.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]