Bug 709702 - nm-dispatcher.action exception: GLib-GObject-CRITICAL **: g_value_ get_string: assertion `G_VALUE_HOLDS_STRING (value)' failed
Summary: nm-dispatcher.action exception: GLib-GObject-CRITICAL **: g_value_ get_string...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 15
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Dan Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-01 12:42 UTC by Sam Varshavchik
Modified: 2011-06-01 19:17 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-01 19:17:59 UTC
Type: ---


Attachments (Terms of Use)
nm-dispatcher.action renamed to nm-dispatcher.action.orig, and an strace wrapper slipped into its place (69.59 KB, text/plain)
2011-06-01 12:42 UTC, Sam Varshavchik
no flags Details

Description Sam Varshavchik 2011-06-01 12:42:17 UTC
Created attachment 502246 [details]
nm-dispatcher.action renamed to nm-dispatcher.action.orig, and an strace wrapper slipped into its place

nm-dispatcher.action fails to initialize the dhcp environment variables.

I was investigating why dhcp was failing to initialize the server.

I determined that the environment variables that /etc/NetworkManager/dispatcher.d/11-dhclient was expecting, were completely empty.

Wrapping nm-dispatcher.action with strace, the following was logged:

write(2, "\n(nm-dispatcher.action.orig:4743): GLib-GObject-CRITICAL **: g_value_get_string: assertion `G_VALUE_HOLDS_STRING (value)' failed\n", 129) = 129

I suspect this is what's causing the environment variable initialization to fail. Something that nm-dispatcher.action was receiving over dbus was triggering this exception.

strace attached.

Comment 1 Sam Varshavchik 2011-06-01 19:17:59 UTC
Updated to NetworkManager-0.8.999-3.git20110526.fc15, tested, this bug is fixed.


Note You need to log in before you can comment on or make changes to this bug.