Re: [gpm] g_signal_emit and fexceptions, help!



Hi,

> ** (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

The backtrace you link to says it's crashing at a call:

        g_signal_emit (monitor, signals [BATTERY_ADDED], 0, udi);

but the BATTERY_ADDED signal uses a marshaller:

gpm_marshal_VOID__STRING_STRING

So, the marshaller is expecting one more argument to g_signal_emit. 
If you change your marshaller or add a NULL to any g_signal_emit calls
on that signal, then does your problem go away?

--Ray



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]