| Summary: | Several TDENetworkManager problems | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Darrell <darrella> |
| Component: | non-core programs | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | bugwatch, darrella, kb9vqf |
| Priority: | P5 | ||
| Version: | R14.0.0 [Trinity] | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
|
Description
Darrell
2013-07-10 11:13:49 CDT
(In reply to comment #0) > 4. With the recent renaming in the source tree of knetworkmanager -> > tdenetworkmanager, there remain cpp files still using the old name. They all > should be renamed to provide consistency and remove potential confusion. What specifically are you referring to? All I see are a number of files that start with "tdenetman", which is consistent with the application name. (In reply to comment #0) > 1. TDENetworkManager starts despite Autostart=false in the user's > knetworkmanagerrc. To stop starting I had to edit the global file or remove the > package. I did a quick grep on knetworkmanagerrc in the tdenetworkmanager sources, and apparently that file is not referenced anywhere. It was renamed some time ago to tdenetworkmanagerrc; perhaps this is why the Autostart entry is failing? > What specifically are you referring to? My bad, poor wording. References to knetworkmanager: grep -rn knetworkmanager applications/tdenetworkmanager About 98% are po files but not all. > It was renamed some time ago to tdenetworkmanagerrc; perhaps this is why the Autostart entry is failing? Not sure then what is going on. I updated my GIT source tree with the renamed package. I have a copy of knetworkmanagerrc that was updated programmatically after I ran TDENetworkManager, but there is no tnetworkmanagerrc. I'll build again and see what happens. (In reply to comment #3) > > What specifically are you referring to? > > My bad, poor wording. References to knetworkmanager: > > grep -rn knetworkmanager applications/tdenetworkmanager > > About 98% are po files but not all. I have updated the strings in the source code in GIT hash 0f1df6a. Is there an established procedure to update the comments in the po files? > > It was renamed some time ago to tdenetworkmanagerrc; perhaps this is why the Autostart entry is failing? > > Not sure then what is going on. I updated my GIT source tree with the renamed > package. I have a copy of knetworkmanagerrc that was updated programmatically > after I ran TDENetworkManager, but there is no tnetworkmanagerrc. I'll build > again and see what happens. tdenetworkmanagerrc should be the only file with any effect. Try removing knetworkmanagerrc and see if it is recreated or not. I suspect items 1, 2, and 3 are all strongly related. :-) With regard to item 4, I have added a new script (update_translation_lines) to the experimental module. When run in the top level directory of a TDE module, it will find and update all .po files from any .cpp or .cc files in the module. The .po files have been updated in GIT hash 39d0b9b. I built the latest tdenetworkmanager with all renamed files, po files, etc.
I can run the app as root but not as non root. There seems to be a permissions problem. Bear in mind I am not a road warrior. This is my first laptop and my first effort at using tdenetworkmanager. Therefore this could be a PEBKAC and I need enlightening.
BTW, yes, NetworkManager is running and I have no problems using the wired or wireless connections. As root I am able to access the tdenetworkmanager dialogs to edit the /etc/NetworkManager files.
As non root the process crashed.
Seems no default tdenetworkmanagerrc file is ever created when the app first launches. As root, when I quit the app, the standard "Do not ask again" dialog appeared. After I enabled the check box, a tdenetworkmanagerrc was created and thereafter I no longer saw the dialog prompt when quitting the app.
Curiously, I find no method in the sys tray popup dialog to disable autostart. After manually editing tdenetworkmanagerrc with [General] Autostart=false, the app stopped autostarting.
Where is the GUI option to disable autostart?
Regarding the non root crash, permissions problem or not, I would expect a graceful termination and not a crash. I see the following stdout/stderr:
[TDE NM Backend ERROR] [/dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:1227] org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.16" (uid=1001 pid=10386 comm="tdenetworkmanager ") interface="org.freedesktop.NetworkManager" member="GetDevices" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1574 comm="/usr/sbin/NetworkManager ")
[TDE NM Backend ERROR] [/dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:1227] org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.16" (uid=1001 pid=10386 comm="tdenetworkmanager ") interface="org.freedesktop.NetworkManager" member="GetDevices" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1574 comm="/usr/sbin/NetworkManager ")
[TDE NM Backend ERROR] [/dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:3103] org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.16" (uid=1001 pid=10386 comm="tdenetworkmanager ") interface="org.freedesktop.NetworkManager.Settings.Connection" member="GetSettings" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1574 comm="/usr/sbin/NetworkManager ")
[TDE NM Backend ERROR] [/dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:3103] org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.16" (uid=1001 pid=10386 comm="tdenetworkmanager ") interface="org.freedesktop.NetworkManager.Settings.Connection" member="GetSettings" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1574 comm="/usr/sbin/NetworkManager ")
[TDE NM Backend ERROR] [/dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:1227] org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.16" (uid=1001 pid=10386 comm="tdenetworkmanager ") interface="org.freedesktop.NetworkManager" member="GetDevices" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1574 comm="/usr/sbin/NetworkManager ")
[TDE NM Backend ERROR] [/dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:1227] org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.16" (uid=1001 pid=10386 comm="tdenetworkmanager ") interface="org.freedesktop.NetworkManager" member="GetDevices" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1574 comm="/usr/sbin/NetworkManager ")
process 10386: arguments to dbus_message_new_method_call() were incorrect, assertion "_dbus_check_is_valid_path (path)" failed in file dbus-message.c line 1204.
This is normally a bug in some application using the D-Bus library.
D-Bus not built with -rdynamic so unable to print a backtrace
[kcrash] TDECrash: crashing... crashRecursionCounter = 2
[kcrash] TDECrash: Application Name = tdenetworkmanager path = <unknown> pid = 10386
The backtrace:
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
==== (gdb) bt ====
[TDECrash handler]
#5 0xb5eebaf5 in raise () from /lib/libc.so.6
#6 0xb5eed453 in abort () from /lib/libc.so.6
#7 0xb5c2fcf5 in ?? () from /usr/lib/libdbus-1.so.3
#8 0xb5c25881 in ?? () from /usr/lib/libdbus-1.so.3
#9 0xb5c1548e in dbus_message_new_method_call () from /usr/lib/libdbus-1.so.3
#10 0xb619e92f in TQT_DBusMessage::toDBusMessage (this=0xbfd0fd48) at /dev/shm/dbus-1-tqt/tqdbusmessage.cpp:141
#11 0xb618b9a7 in TQT_DBusConnection::sendWithReply (this=0xbfd0fd18, message=..., error=0xbfd0fe30) at /dev/shm/dbus-1-tqt/tqdbusconnection.cpp:280
#12 0xb6d8178c in DBus::DeviceProxy::getDBusProperty (this=0xbfd0fd50, name=..., error=...) at /dev/shm/tdelibs.build/tdecore/networkbackends/network-manager/dbus/deviceproxy.cpp:94
#13 0xbfd0fe40 in ?? ()
#14 0xb618b7fb in TQT_DBusConnection::~TQT_DBusConnection (this=0xbfd0fe40, __in_chrg=<optimized out>) at /dev/shm/dbus-1-tqt/tqdbusconnection.cpp:164
#15 0xb6d13558 in TDENetworkConnectionManager_BackendNM::deviceType (this=0xbfd0fda4) at /dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:1697
#16 0xb6d147d0 in TDENetworkConnectionManager_BackendNM::siteSurvey (this=0x99bb348) at /dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:5433
#17 0xb6d14f73 in TDENetworkConnectionManager_BackendNM::TDENetworkConnectionManager_BackendNM (this=0x99bb348, macAddress=...) at /dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:1407
#18 0xb6cbdd40 in TDENetworkDevice::connectionManager (this=0x9921008) at /dev/shm/tdelibs/tdecore/tdehardwaredevices.cpp:1966
#19 0xb5a67e00 in Tray::createDeviceTrayComponent (this=0x9876840, dev=...) at /dev/shm/tdenetworkmanager/tdenetworkmanager/src/tdenetman-tray.cpp:490
#20 0xb5a6b429 in Tray::updateDeviceTrays (this=0x9876840) at /dev/shm/tdenetworkmanager/tdenetworkmanager/src/tdenetman-tray.cpp:553
#21 0xb5a6c536 in Tray::Tray (this=0x9876840) at /dev/shm/tdenetworkmanager/tdenetworkmanager/src/tdenetman-tray.cpp:1102
#22 0xb5a6ca9e in Tray::getInstance () at /dev/shm/tdenetworkmanager/tdenetworkmanager/src/tdenetman-tray.cpp:159
#23 0xb5a6585c in TDENetworkManager::TDENetworkManager (this=0xbfd105f0) at /dev/shm/tdenetworkmanager/tdenetworkmanager/src/tdenetman.cpp:84
#24 0xb5a65318 in kdemain (argc=1, argv=0x97ff668) at /dev/shm/tdenetworkmanager/tdenetworkmanager/src/main.cpp:61
#25 0xb773f723 in tdeinitmain (argc=1, argv=0x97ff668) at /dev/shm/tdenetworkmanager.build/tdenetworkmanager/src/tdenetworkmanager_tdeinit_module.cpp:3
#26 0x0804f6ec in launch (argc=1, _name=0x9819e0c "tdenetworkmanager", args=0xbfd107a4 "", cwd=0x0, envc=0, envs=0x9819e22 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x0, startup_id_str@entry=0x1 <Address 0x1 out of bounds>) at /dev/shm/tdelibs/tdeinit/tdeinit.cpp:673
#27 0x080507bc in handle_launcher_request (sock=<optimized out>, sock@entry=-1) at /dev/shm/tdelibs/tdeinit/tdeinit.cpp:1240
#28 0x08050daa in handle_requests (waitForPid=waitForPid@entry=0) at /dev/shm/tdelibs/tdeinit/tdeinit.cpp:1443
#29 0x0804cc3d in main (argc=5, argv=0xbfd10e34, envp=0xbfd10e4c) at /dev/shm/tdelibs/tdeinit/tdeinit.cpp:1909
==== (gdb) bt full ====
[TDECrash handler]
No symbol table info available.
#5 0xb5eebaf5 in raise () from /lib/libc.so.6
No symbol table info available.
#6 0xb5eed453 in abort () from /lib/libc.so.6
No symbol table info available.
#7 0xb5c2fcf5 in ?? () from /usr/lib/libdbus-1.so.3
No symbol table info available.
#8 0xb5c25881 in ?? () from /usr/lib/libdbus-1.so.3
No symbol table info available.
#9 0xb5c1548e in dbus_message_new_method_call () from /usr/lib/libdbus-1.so.3
No symbol table info available.
#10 0xb619e92f in TQT_DBusMessage::toDBusMessage (this=0xbfd0fd48) at /dev/shm/dbus-1-tqt/tqdbusmessage.cpp:141
msg = 0x99b7e38
#11 0xb618b9a7 in TQT_DBusConnection::sendWithReply (this=0xbfd0fd18, message=..., error=0xbfd0fe30) at /dev/shm/dbus-1-tqt/tqdbusconnection.cpp:280
msg = <optimized out>
reply = <optimized out>
ret = {<TQValueList<TQT_DBusData>> = {sh = 0xbfd0fd2c}, d = 0xb61a1b04 <TQT_DBusData::~TQT_DBusData()+20>}
dbus_error_set = <optimized out>
#12 0xb6d8178c in DBus::DeviceProxy::getDBusProperty (this=0xbfd0fd50, name=..., error=...) at /dev/shm/tdelibs.build/tdecore/networkbackends/network-manager/dbus/deviceproxy.cpp:94
connection = {static default_connection_name = 0xb61ab214 "qt_dbus_default_connection", d = 0x98dcb78}
message = {<TQValueList<TQT_DBusData>> = {sh = 0x99b7cf0}, d = 0x99b7d10}
ok = 9
value = {signature = {static null = {static null = <same as static member of an already seen type>, d = 0x97c90c8, static shared_null = 0x97c90c8}, d = 0xa, static shared_null = 0x97c90c8}, value = {d = 0xb61b75f8}}
reply = {<TQValueList<TQT_DBusData>> = {sh = 0xb6a5cdb4}, d = 0xb6a5cdb4}
#13 0xbfd0fe40 in ?? ()
No symbol table info available.
#14 0xb618b7fb in TQT_DBusConnection::~TQT_DBusConnection (this=0xbfd0fe40, __in_chrg=<optimized out>) at /dev/shm/dbus-1-tqt/tqdbusconnection.cpp:164
No locals.
#15 0xb6d13558 in TDENetworkConnectionManager_BackendNM::deviceType (this=0xbfd0fda4) at /dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:1697
error = {errorType = TQT_DBusError::InvalidError, m_dbusErrorSet = false, nm = {static null = {static null = <same as static member of an already seen type>, d = 0x97c90c8, static shared_null = 0x97c90c8}, d = 0x97c90c8, static shared_null = 0x97c90c8}, msg = {static null = {static null = <same as static member of an already seen type>, d = 0x97c90c8, static shared_null = 0x97c90c8}, d = 0x97c90c8, static shared_null = 0x97c90c8}}
genericDevice = {<TQObject> = {<TQt> = {static color0 = @0xb6a655a0, static color1 = @0xb6a655a8, static black = @0xb6a655b0, static white = @0xb6a655b8, static darkGray = @0xb6a655c0, static gray = @0xb6a655c8, static lightGray = @0xb6a655d0, static red = @0xb6a655d8, static green = @0xb6a655e0, static blue = @0xb6a655e8, static cyan = @0xb6a655f0, static magenta = @0xb6a655f8, static yellow = @0xb6a65600, static darkRed = @0xb6a65608, static darkGreen = @0xb6a65610, static darkBlue = @0xb6a65618, static darkCyan = @0xb6a65620, static darkMagenta = @0xb6a65628, static darkYellow = @0xb6a65630, static arrowCursor = @0xb6a63d20, static upArrowCursor = @0xb6a63d24, static crossCursor = @0xb6a63d28, static waitCursor = @0xb6a63d2c, static ibeamCursor = @0xb6a63d30, static sizeVerCursor = @0xb6a63d34, static sizeHorCursor = @0xb6a63d38, static sizeBDiagCursor = @0xb6a63d3c, static sizeFDiagCursor = @0xb6a63d40, static sizeAllCursor = @0xb6a63d44, static blankCursor = @0xb6a63d48, static splitVCursor = @0xb6a63d4c, static splitHCursor = @0xb6a63d50, static pointingHandCursor = @0xb6a63d54, static forbiddenCursor = @0xb6a63d58, static whatsThisCursor = @0xb6a63d5c, static busyCursor = @0xb6a63d60}, _vptr.TQObject = 0xb6e6dd28 <vtable for DBus::DeviceProxy+8>, static metaObj = 0x97ca0e8, isSignal = 0, isWidget = 0, pendTimer = 0, blockSig = 0, wasDeleted = 0, isTree = 1, objname = 0x0, parentObj = 0x0, childObjects = 0x0, connections = 0x0, senderObjects = 0x99b7448, eventFilters = 0x0, postedEvents = 0x0, d = 0x99b6378}, static metaObj = 0x99b7378, m_baseProxy = 0x99b70f8, m_asyncCalls = {sh = 0x99bc938}}
ret = 3218144832
#16 0xb6d147d0 in TDENetworkConnectionManager_BackendNM::siteSurvey (this=0x99bb348) at /dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:5433
error = {errorType = TQT_DBusError::InvalidError, m_dbusErrorSet = false, nm = {static null = {static null = <same as static member of an already seen type>, d = 0x97c90c8, static shared_null = 0x97c90c8}, d = 0x97c90c8, static shared_null = 0x97c90c8}, msg = {static null = {static null = <same as static member of an already seen type>, d = 0x97c90c8, static shared_null = 0x97c90c8}, d = 0x97c90c8, static shared_null = 0x97c90c8}}
ret = false
myDeviceType = 3053452496
#17 0xb6d14f73 in TDENetworkConnectionManager_BackendNM::TDENetworkConnectionManager_BackendNM (this=0x99bb348, macAddress=...) at /dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:1407
No locals.
#18 0xb6cbdd40 in TDENetworkDevice::connectionManager (this=0x9921008) at /dev/shm/tdelibs/tdecore/tdehardwaredevices.cpp:1966
No locals.
#19 0xb5a67e00 in Tray::createDeviceTrayComponent (this=0x9876840, dev=...) at /dev/shm/tdenetworkmanager/tdenetworkmanager/src/tdenetman-tray.cpp:490
devTray = 0x9921008
new_tray_dev = 0x9921008
deviceConnMan = 0x9921008
__PRETTY_FUNCTION__ = "void Tray::createDeviceTrayComponent(TQString)"
#20 0xb5a6b429 in Tray::updateDeviceTrays (this=0x9876840) at /dev/shm/tdenetworkmanager/tdenetworkmanager/src/tdenetman-tray.cpp:553
dev = 0x0
devices = {<TQGList> = {<TQPtrCollection> = {_vptr.TQPtrCollection = 0xb6e6a928 <vtable for TQPtrList<TDEGenericDevice>+8>, del_item = false}, firstNode = 0x99b72f0, lastNode = 0x99b6d48, curNode = 0x99b6d48, curIndex = 1, numNodes = 2, iterators = 0x0}, <No data fields>}
__PRETTY_FUNCTION__ = "void Tray::updateDeviceTrays()"
#21 0xb5a6c536 in Tray::Tray (this=0x9876840) at /dev/shm/tdenetworkmanager/tdenetworkmanager/src/tdenetman-tray.cpp:1102
nm = 0x0
#22 0xb5a6ca9e in Tray::getInstance () at /dev/shm/tdenetworkmanager/tdenetworkmanager/src/tdenetman-tray.cpp:159
No locals.
#23 0xb5a6585c in TDENetworkManager::TDENetworkManager (this=0xbfd105f0) at /dev/shm/tdenetworkmanager/tdenetworkmanager/src/tdenetman.cpp:84
tray = <optimized out>
#24 0xb5a65318 in kdemain (argc=1, argv=0x97ff668) at /dev/shm/tdenetworkmanager/tdenetworkmanager/src/main.cpp:61
app = {<KUniqueApplication> = {<TDEApplication> = {<TQApplication> = {<TQObject> = {<TQt> = {static color0 = @0xb6a655a0, static color1 = @0xb6a655a8, static black = @0xb6a655b0, static white = @0xb6a655b8, static darkGray = @0xb6a655c0, static gray = @0xb6a655c8, static lightGray = @0xb6a655d0, static red = @0xb6a655d8, static green = @0xb6a655e0, static blue = @0xb6a655e8, static cyan = @0xb6a655f0, static magenta = @0xb6a655f8, static yellow = @0xb6a65600, static darkRed = @0xb6a65608, static darkGreen = @0xb6a65610, static darkBlue = @0xb6a65618, static darkCyan = @0xb6a65620, static darkMagenta = @0xb6a65628, static darkYellow = @0xb6a65630, static arrowCursor = @0xb6a63d20, static upArrowCursor = @0xb6a63d24, static crossCursor = @0xb6a63d28, static waitCursor = @0xb6a63d2c, static ibeamCursor = @0xb6a63d30, static sizeVerCursor = @0xb6a63d34, static sizeHorCursor = @0xb6a63d38, static sizeBDiagCursor = @0xb6a63d3c, static sizeFDiagCursor = @0xb6a63d40, static sizeAllCursor = @0xb6a63d44, static blankCursor = @0xb6a63d48, static splitVCursor = @0xb6a63d4c, static splitHCursor = @0xb6a63d50, static pointingHandCursor = @0xb6a63d54, static forbiddenCursor = @0xb6a63d58, static whatsThisCursor = @0xb6a63d5c, static busyCursor = @0xb6a63d60}, _vptr.TQObject = 0xb5acbc48 <vtable for TDENetworkManager+8>, static metaObj = 0x97ca0e8, isSignal = 0, isWidget = 0, pendTimer = 0, blockSig = 0, wasDeleted = 0, isTree = 1, objname = 0x982e9e0 "tdenetworkmanager", parentObj = 0x0, childObjects = 0x983bd98, connections = 0x9854408, senderObjects = 0x9857408, eventFilters = 0x9875cb0, postedEvents = 0x97fce18, d = 0x97fb898}, static metaObj = 0x984ef40, static tqt_mutex = 0x98396f8, app_argc = 1, app_argv = 0x97fabc0, quit_now = false, quit_code = 0, static app_style = 0x985fb18, static app_cspec = 0, static app_pal = 0x983a060, static app_font = 0x984c028, static app_cursor = 0x0, static app_tracking = 0, static is_app_running = true, static is_app_closing = false, static app_exit_loop = <optimized out>, static loop_level = 0, static main_widget = 0x0, static focus_widget = 0x0, static active_window = 0x0, static obey_desktop_settings = false, static cursor_flash_time = 1000, static mouse_double_click_time = 700, static wheel_scroll_lines = 1, static composedUnicode = 0, static animate_ui = false, static animate_menu = false, static animate_tooltip = false, static animate_combo = false, static fade_menu = false, static fade_tooltip = false, static animate_toolbox = false, static widgetCount = false, static metaComposeUnicode = false, translators = 0x9875f90, session_manager = 0x983bcc0, session_id = {static null = {static null = <same as static member of an already seen type>, d = 0x97c90c8, static shared_null = 0x97c90c8}, d = 0x97fc408, static shared_null = 0x97c90c8}, static session_key = 0x983ae60, is_session_restored = false, static defaultIM = {static null = {static null = <same as static member of an already seen type>, d = 0x97c90c8, static shared_null = 0x97c90c8}, d = 0x97ca2b8, static shared_null = 0x97c90c8}, static app_strut = {wd = 0, ht = 0}, static app_libpaths = 0x97d1968, static app_palettes = 0x983a0a8, static app_fonts = 0x9856208, static popupWidgets = 0x0}, <TDEInstance> = {_vptr.TDEInstance = 0xb5acbccc <vtable for TDENetworkManager+140>, _dirs = 0x984b438, _config = 0x984c0a8, _iconLoader = 0x9887950, _hardwaredevices = 0x98c70a8, _networkmanager = 0x98ea7c0, _placeholder = 0x0, _name = {<TQMemArray<char>> = {<TQGArray> = {_vptr.TQGArray = 0x8057570 <vtable for TQCString+8>, shd = 0x9819960}, <No data fields>}, <No data fields>}, _aboutData = 0xbfd105bc, d = 0x983b880, m_configReadOnly = false}, static metaObj = 0x98535e8, display = 0x97fb928, kipcCommAtom = 416, kipcEventMask = 511, static KApp = 0xbfd105f0, pArgc = 159489064, pSessionConfig = 0x0, static s_DCOPClient = 0x981dc00, static s_dcopClientNeedsPostInit = false, aCaption = {static null = {static null = <same as static member of an already seen type>, d = 0x97c90c8, static shared_null = 0x97c90c8}, d = 0x97c90c8, static shared_null = 0x97c90c8}, bSessionManagement = true, aIconPixmap = {pm = {icon = 0x0, miniIcon = 0x9884b28}, unused = "\000\000\000\000(K\210\t\000\000\000\000tdeinitmain\000nager_LTX_tdeinitmain\000\177\t"}, aIconName = {static null = {static null = <same as static member of an already seen type>, d = 0x97c90c8, static shared_null = 0x97c90c8}, d = 0x97c90c8, static shared_null = 0x97c90c8}, aMiniIconName = {static null = {static null = <same as static member of an already seen type>, d = 0x97c90c8, static shared_null = 0x97c90c8}, d = 0x97c90c8, static shared_null = 0x97c90c8}, useStyles = true, smw = 0x9876138, argb_visual = false, argb_x11_visual = 159489570, argb_x11_colormap = 3054311871, static loadedByKdeinit = false, captionLayout = 0, d = 0x983b898}, <DCOPObject> = {_vptr.DCOPObject = 0xb5acbce0 <vtable for TDENetworkManager+160>, ident = {<TQMemArray<char>> = {<TQGArray> = {_vptr.TQGArray = 0x8057570 <vtable for TQCString+8>, shd = 0x9876580}, <No data fields>}, <No data fields>}, d = 0x9876590}, static metaObj = 0x98765f8, static s_nofork = false, static s_multipleInstances = false, static s_uniqueTestDone = true, static s_handleAutoStarted = false, d = 0x98765d0}, static metaObj = 0x98766a8, d = 0x98765c0}
aboutData = {mAppName = 0xb5aac977 "tdenetworkmanager", mProgramName = 0xb5aac965 "TDENetworkManager", mVersion = 0xb5aac961 "0.9", mShortDescription = 0xb5aacab8 "A NetworkManager front-end for TDE", mLicenseKey = 1, mCopyrightStatement = 0xb5aaca8c "Copyright (C) 2012 Trinity Destop Project", mOtherText = 0x0, mHomepageAddress = 0xb5aac943 "http://www.trinitydesktop.org", mBugEmailAddress = 0xb6dacec4 "http://bugs.trinitydesktop.org", mAuthorList = {sh = 0x97fa9e8}, mCreditList = {sh = 0x9819da0}, mLicenseText = 0x0, static defaultBugTracker = 0xb6dacec4 "http://bugs.trinitydesktop.org", d = 0x97ffbb0}
#25 0xb773f723 in tdeinitmain (argc=1, argv=0x97ff668) at /dev/shm/tdenetworkmanager.build/tdenetworkmanager/src/tdenetworkmanager_tdeinit_module.cpp:3
No locals.
#26 0x0804f6ec in launch (argc=1, _name=0x9819e0c "tdenetworkmanager", args=0xbfd107a4 "", cwd=0x0, envc=0, envs=0x9819e22 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x0, startup_id_str@entry=0x1 <Address 0x1 out of bounds>) at /dev/shm/tdelibs/tdeinit/tdeinit.cpp:673
exec = 164
launcher = 0
lib = {<TQMemArray<char>> = {<TQGArray> = {_vptr.TQGArray = 0x8057570 <vtable for TQCString+8>, shd = 0x9819d80}, <No data fields>}, <No data fields>}
execpath = {<TQMemArray<char>> = {<TQGArray> = {_vptr.TQGArray = 0x8057570 <vtable for TQCString+8>, shd = 0x9819af0}, <No data fields>}, <No data fields>}
name = {<TQMemArray<char>> = {<TQGArray> = {_vptr.TQGArray = 0x8057570 <vtable for TQCString+8>, shd = 0x97ff2f8}, <No data fields>}, <No data fields>}
exec = {<TQMemArray<char>> = {<TQGArray> = {_vptr.TQGArray = 0x8057570 <vtable for TQCString+8>, shd = 0x97ff2f8}, <No data fields>}, <No data fields>}
libpath = {<TQMemArray<char>> = {<TQGArray> = {_vptr.TQGArray = 0x8057570 <vtable for TQCString+8>, shd = 0x9819bc8}, <No data fields>}, <No data fields>}
startup_id = {d = 0x9819800}
#27 0x080507bc in handle_launcher_request (sock=<optimized out>, sock@entry=-1) at /dev/shm/tdelibs/tdeinit/tdeinit.cpp:1240
tty = <optimized out>
avoid_loops = <optimized out>
arg_n = <optimized out>
argc = 1
args = 0x9819e1e ""
reset_display = <optimized out>
pid = <optimized out>
response_header = {cmd = 4, arg_length = 4}
envc = <optimized out>
envs = <optimized out>
kdedisplay = {<TQMemArray<char>> = {<TQGArray> = {_vptr.TQGArray = 0x8057570 <vtable for TQCString+8>, shd = 0x9819728}, <No data fields>}, <No data fields>}
response_data = <optimized out>
l = <optimized out>
name = 0x9819e0c "tdenetworkmanager"
cwd = 0x0
startup_id_str = 0x8054ac4 "0"
olddisplay = {<TQMemArray<char>> = {<TQGArray> = {_vptr.TQGArray = 0x8057570 <vtable for TQCString+8>, shd = 0x97d0518}, <No data fields>}, <No data fields>}
launcher = <optimized out>
request_header = {cmd = 12, arg_length = 30}
request_data = 0x9819e08 "\001"
result = <optimized out>
#28 0x08050daa in handle_requests (waitForPid=waitForPid@entry=0) at /dev/shm/tdelibs/tdeinit/tdeinit.cpp:1443
wr_set = {fds_bits = {0 <repeats 32 times>}}
exit_pid = <optimized out>
c = 0 '\000'
rd_set = {fds_bits = {512, 0 <repeats 31 times>}}
e_set = {fds_bits = {0 <repeats 32 times>}}
result = <optimized out>
max_sock = 11
#29 0x0804cc3d in main (argc=5, argv=0xbfd10e34, envp=0xbfd10e4c) at /dev/shm/tdelibs/tdeinit/tdeinit.cpp:1909
i = <optimized out>
pid = <optimized out>
c = 0 '\000'
launch_dcop = <optimized out>
launch_tdelauncher = <optimized out>
launch_kded = <optimized out>
keep_running = <optimized out>
new_startup = <optimized out>
safe_argv = 0x97d04d0
==== (gdb) info thread ====
Id Target Id Frame
* 1 Thread 0xb5bee740 (LWP 8774) "tdenetworkmanag" 0xb5f63c1b in __nanosleep_nocancel () from /lib/libc.so.6
==== (gdb) thread apply all bt ====
==== Thread 1 (Thread 0xb5bee740 (LWP 8774)):
[TDECrash handler]
#5 0xb5eebaf5 in raise () from /lib/libc.so.6
#6 0xb5eed453 in abort () from /lib/libc.so.6
#7 0xb5c2fcf5 in ?? () from /usr/lib/libdbus-1.so.3
#8 0xb5c25881 in ?? () from /usr/lib/libdbus-1.so.3
#9 0xb5c1548e in dbus_message_new_method_call () from /usr/lib/libdbus-1.so.3
#10 0xb619e92f in TQT_DBusMessage::toDBusMessage (this=0xbfd0fd48) at /dev/shm/dbus-1-tqt/tqdbusmessage.cpp:141
#11 0xb618b9a7 in TQT_DBusConnection::sendWithReply (this=0xbfd0fd18, message=..., error=0xbfd0fe30) at /dev/shm/dbus-1-tqt/tqdbusconnection.cpp:280
#12 0xb6d8178c in DBus::DeviceProxy::getDBusProperty (this=0xbfd0fd50, name=..., error=...) at /dev/shm/tdelibs.build/tdecore/networkbackends/network-manager/dbus/deviceproxy.cpp:94
#13 0xbfd0fe40 in ?? ()
#14 0xb618b7fb in TQT_DBusConnection::~TQT_DBusConnection (this=0xbfd0fe40, __in_chrg=<optimized out>) at /dev/shm/dbus-1-tqt/tqdbusconnection.cpp:164
#15 0xb6d13558 in TDENetworkConnectionManager_BackendNM::deviceType (this=0xbfd0fda4) at /dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:1697
#16 0xb6d147d0 in TDENetworkConnectionManager_BackendNM::siteSurvey (this=0x99bb348) at /dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:5433
#17 0xb6d14f73 in TDENetworkConnectionManager_BackendNM::TDENetworkConnectionManager_BackendNM (this=0x99bb348, macAddress=...) at /dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:1407
#18 0xb6cbdd40 in TDENetworkDevice::connectionManager (this=0x9921008) at /dev/shm/tdelibs/tdecore/tdehardwaredevices.cpp:1966
#19 0xb5a67e00 in Tray::createDeviceTrayComponent (this=0x9876840, dev=...) at /dev/shm/tdenetworkmanager/tdenetworkmanager/src/tdenetman-tray.cpp:490
#20 0xb5a6b429 in Tray::updateDeviceTrays (this=0x9876840) at /dev/shm/tdenetworkmanager/tdenetworkmanager/src/tdenetman-tray.cpp:553
#21 0xb5a6c536 in Tray::Tray (this=0x9876840) at /dev/shm/tdenetworkmanager/tdenetworkmanager/src/tdenetman-tray.cpp:1102
#22 0xb5a6ca9e in Tray::getInstance () at /dev/shm/tdenetworkmanager/tdenetworkmanager/src/tdenetman-tray.cpp:159
#23 0xb5a6585c in TDENetworkManager::TDENetworkManager (this=0xbfd105f0) at /dev/shm/tdenetworkmanager/tdenetworkmanager/src/tdenetman.cpp:84
#24 0xb5a65318 in kdemain (argc=1, argv=0x97ff668) at /dev/shm/tdenetworkmanager/tdenetworkmanager/src/main.cpp:61
#25 0xb773f723 in tdeinitmain (argc=1, argv=0x97ff668) at /dev/shm/tdenetworkmanager.build/tdenetworkmanager/src/tdenetworkmanager_tdeinit_module.cpp:3
#26 0x0804f6ec in launch (argc=1, _name=0x9819e0c "tdenetworkmanager", args=0xbfd107a4 "", cwd=0x0, envc=0, envs=0x9819e22 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x0, startup_id_str@entry=0x1 <Address 0x1 out of bounds>) at /dev/shm/tdelibs/tdeinit/tdeinit.cpp:673
#27 0x080507bc in handle_launcher_request (sock=<optimized out>, sock@entry=-1) at /dev/shm/tdelibs/tdeinit/tdeinit.cpp:1240
#28 0x08050daa in handle_requests (waitForPid=waitForPid@entry=0) at /dev/shm/tdelibs/tdeinit/tdeinit.cpp:1443
#29 0x0804cc3d in main (argc=5, argv=0xbfd10e34, envp=0xbfd10e4c) at /dev/shm/tdelibs/tdeinit/tdeinit.cpp:1909
==== (tdehwlib) hardware information ====
CPU core number: 0
Vendor: GenuineIntel
Model:
Name: Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz
Current Frequency: 2267 MHz
Minimum Frequency: 800 MHz
Maximum Frequency: 2267 MHz
CPU core number: 1
Vendor: GenuineIntel
Model:
Name: Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz
Current Frequency: 2267 MHz
Minimum Frequency: 800 MHz
Maximum Frequency: 2267 MHz
Thank you for the backtrace. I think I have worked around the dbus library crash in GIT hash bae7930 (tdelibs); can you verify? Regarding the access denied problems, that is a distro-specific network-manager/DBUS configuration problem. On Debian/Ubuntu adding the desired user to the netdev group is sufficient to grant full access to the network-manager services; perhaps Slackware has implemented something similar? > On Debian/Ubuntu adding the desired user to the netdev group is
> sufficient to grant full access to the network-manager services;
> perhaps Slackware has implemented something similar?
Yes, same mechanism, although I was unaware of needing to add the user to the netdev group (PEBKAC). :-)
I rebuilt tdelibs and tdenetworkmanager. I no longer see kcrash. Good job on that!
I'm still not clear of problems.
When tdenetworkmanager starts the popup dialog says in bold "NetworkManager is not running." NM is indeed running. I see the process as /usr/sbin/NetworkManager and I'm typing this reply with the laptop using wireless.
Something in the tdelibs backend manager is not correctly detecting NM?
My NM wired and wireless connection info is stored at /etc/NetworkManager/system-connections, Wired and Wireless. Both of the config files are chmod 600.
I don't know whether permissions need to be 644 or whether being a member of the netdev group is supposed to ignore the 600 permissions. Changing the file permissions to 644 made no difference. The parent directories are all 755.
I see the following stdout/stderr:
[TDE NM Backend ERROR] [/dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:3110] org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.35" (uid=1001 pid=8834 comm="tdenetworkmanager ") interface="org.freedesktop.NetworkManager.Settings.Connection" member="GetSettings" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1571 comm="/usr/sbin/NetworkManager ")
[TDE NM Backend ERROR] [/dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:3110] org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.35" (uid=1001 pid=8834 comm="tdenetworkmanager ") interface="org.freedesktop.NetworkManager.Settings.Connection" member="GetSettings" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1571 comm="/usr/sbin/NetworkManager ")
[TDE NM Backend ERROR] [/dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:1806] org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.35" (uid=1001 pid=8834 comm="tdenetworkmanager ") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1571 comm="/usr/sbin/NetworkManager ")
[TDE NM Backend ERROR] [/dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:3110] org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.35" (uid=1001 pid=8834 comm="tdenetworkmanager ") interface="org.freedesktop.NetworkManager.Settings.Connection" member="GetSettings" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1571 comm="/usr/sbin/NetworkManager ")
[TDE NM Backend ERROR] [/dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:3110] org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.35" (uid=1001 pid=8834 comm="tdenetworkmanager ") interface="org.freedesktop.NetworkManager.Settings.Connection" member="GetSettings" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1571 comm="/usr/sbin/NetworkManager ")
[TDE NM Backend ERROR] [/dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:1806] org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.35" (uid=1001 pid=8834 comm="tdenetworkmanager ") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1571 comm="/usr/sbin/NetworkManager ")
[TDE NM Backend ERROR] [/dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:3110] org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.35" (uid=1001 pid=8834 comm="tdenetworkmanager ") interface="org.freedesktop.NetworkManager.Settings.Connection" member="GetSettings" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1571 comm="/usr/sbin/NetworkManager ")
[TDE NM Backend ERROR] [/dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:3110] org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.35" (uid=1001 pid=8834 comm="tdenetworkmanager ") interface="org.freedesktop.NetworkManager.Settings.Connection" member="GetSettings" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1571 comm="/usr/sbin/NetworkManager ")
[TDE NM Backend ERROR] [/dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:1806] org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.35" (uid=1001 pid=8834 comm="tdenetworkmanager ") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1571 comm="/usr/sbin/NetworkManager ")
Note: chmod 644 for the system-connections files is a bad idea. NM never finishes initializing. Starting tdenetworkmanager as root I see the following stdout/stderr: [TDE NM Backend ERROR] [/dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:1875] org.freedesktop.DBus.Error.AccessDenied: Property "Autoconnect" of interface "org.freedesktop.NetworkManager.Device" isn't exported (or may not exist) [TDE NM Backend ERROR] [/dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:1826] Attempting to access the network-manager VPN service returned: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager.VPN.Plugin was not provided by any .service files You will need to log out/log in after adding your user to the netdev group. If that still does not work, then a full reboot of the machine may be needed. > You will need to log out/log in after adding your user to the netdev group.
> If that still does not work, then a full reboot of the machine may be needed.
Yup --- been there done that several times. :-)
(In reply to comment #10) > Starting tdenetworkmanager as root I see the following stdout/stderr: > > [TDE NM Backend ERROR] > [/dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:1875] > org.freedesktop.DBus.Error.AccessDenied: Property "Autoconnect" of interface > "org.freedesktop.NetworkManager.Device" isn't exported (or may not exist) > > [TDE NM Backend ERROR] > [/dev/shm/tdelibs/tdecore/networkbackends/network-manager/network-manager.cpp:1826] > Attempting to access the network-manager VPN service returned: > org.freedesktop.DBus.Error.ServiceUnknown: The name > org.freedesktop.NetworkManager.VPN.Plugin was not provided by any .service > files Those particular messages are somewhat normal and can be safely ignored. The VPN error will go away if you install the VPN services. Unfortunately, regarding your other issues all evidnce points toward some type of access control problem on Slackware (NOT in TDE; in fact you will probably note that the Gnome network manager applet also fails to function properly). The messages are fairly self-explainatory: "org.freedesktop.DBus.Error.AccessDenied: Rejected send message"; TDE has no control over how DBUS service permissions are set on the host system. ;-) Ok, I'll ignore the stdout messages for now. What about the "NetworkManager is not running" message in the popup dialog? In the original report: Item 1 is reported in bug report 1613. Item 2 somehow self-resolved. Item 3 was resolved in commit d41051b3. Item 4 was resolved in commits 0f1df6a and 39d0b9b. Regarding the crashes, they no longer occur. Comment 6: Can't run the app as non-root --- I now can run the app as non-root. ========================= Comment 8: As non-root, the system tray popup menu says NetworkManager is not running, which is incorrect. I do not see that message as root. As root the popup menu is fully populated with options. I suspect a permissions or policy problem, but I don't know what tests must fail to produce that message. That message text appears in tdenetworkmanager/tdenetworkmanager/src/tdenetman-tray.cpp:348. The main test that causes that message is at line 227: if (!(nm->backendStatus() & TDENetworkGlobalManagerFlags::BackendUnavailable)) { I don't know where to trace the problem from there. :-( Similarly, as non-root the Edit Connections menu option results in a fully empty dialog. I see and can edit the connection scripts when running as root. So again, seems like a permissions or policy problem. Those last two items seem to be the only remaining bug for closing this report. Likely they have the same root cause and solution. Looks like the non-root problems were a result of not launching starttde through ck-launch-session. In my previous xinitrc script I had this: /opt/trinity/bin/starttde My xinitrc script now has this: if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then exec ck-launch-session dbus-launch --exit-with-session /opt/trinity/bin/starttde else exec dbus-launch --exit-with-session /opt/trinity/bin/starttde fi I ran into the solution after experiencing the same problem with nm-applet. A discussion at the LQ Slackware forum led to the solution of fixing nm-applet, which coincidentally also allowed tdenetworkmanger to function correctly as non-root. If I'm understanding things correctly, the non-root problem is a result of not using consolekit, of which I think ck-launch-session is some kind of portal or wrapper. That said, I wonder whether there is some way to test this from within tdenetworkmanager, or to warn users of the problem. I want to tag this report as resolved, but first I want to ensure something is done to help future users avoid the same problem. Except fro some kind of detection for consolekit, this report is essentially resolved. I'm removing from the R14 etherpad road map. >I want to tag this report as resolved, but first I want to ensure something is >done to help future users avoid the same problem. Bug 1751 was filed to address this last nuisance bug. |