Bug 11286 - net_applet crashed (because of polkit update)
Summary: net_applet crashed (because of polkit update)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal critical
Target Milestone: ---
Assignee: Colin Guthrie
QA Contact:
URL:
Whiteboard: 4beta1
Keywords:
: 11330 11384 11431 11682 11711 (view as bug list)
Depends on:
Blocks: 11929
  Show dependency treegraph
 
Reported: 2013-09-25 11:45 CEST by René Lagoni Neukirch
Modified: 2013-12-08 12:17 CET (History)
5 users (show)

See Also:
Source RPM: drakx-net-applet-1.28-2.mga4
CVE:
Status comment:


Attachments

Description René Lagoni Neukirch 2013-09-25 11:45:37 CEST
The "net_applet" program crashed. Drakbug-15.65 caught it.

Just tried to connect to wired connection.

Undefined subroutine &common::wrap_command_for_root called at /usr/lib/libDrakX/network/tools.pm line 24.
Perl's trace:
standalone::bug_handler() called from /usr/bin/net_applet:287

Theme name: oxygen-gtk
Kernel version = 3.10.10-desktop-3.mga4
Distribution=Mageia release 4 (Cauldron) for x86_64
CPU=Intel(R) Core(TM) i5-3350P CPU @ 3.10GHz
Comment 1 Manuel Hiebel 2013-09-25 13:08:09 CEST
common::wrap_command_for_root was removed here http://gitweb.mageia.org/software/drakx/commit/?id=b7fa02336d4bfe8b9391d08ad0b6554a68a673e3

looks like drakx-net needs updating too

Priority: Normal => release_blocker
CC: (none) => mageia, thierry.vignaud
Assignee: bugsquad => mageia
Summary: net_applet crashed => net_applet crashed (because of polkit update)
Severity: normal => critical

Comment 2 Colin Guthrie 2013-09-25 13:53:47 CEST
Thanks for this. It's all still WIP  and these are on my list :)
Comment 3 Manuel Hiebel 2013-10-07 17:01:28 CEST
*** Bug 11384 has been marked as a duplicate of this bug. ***

CC: (none) => richard.j.walker

Manuel Hiebel 2013-10-07 17:01:43 CEST

Source RPM: drakx-net-applet-1.25-1.mga4 => drakx-net-applet-1.27-1.mga4

Comment 4 Manuel Hiebel 2013-10-07 17:02:23 CEST
*** Bug 11330 has been marked as a duplicate of this bug. ***
Comment 5 Manuel Hiebel 2013-10-10 21:31:19 CEST
*** Bug 11431 has been marked as a duplicate of this bug. ***
Comment 6 claire robinson 2013-11-05 18:32:22 CET
Valid 4beta1. DVD 64 with default XFCE installation.

Right click on the applet, click connect wired (ethernet) (enp5s8)

Segfault.

Whiteboard: (none) => 4beta1

Comment 7 claire robinson 2013-11-05 18:54:57 CET
Not sure if this is related, if not I'll create a new bug for it.

When clicking on the applet to open network centre the polkit agent opens asking for the root password. Clicking Cancel on the agent seems to crash it, it gets stuck there, unresponsive.

From the journal..

net_applet [3309]: running: /usr/bin/draknetcenter
/etc/X11/gdm/Xsession[3197]: (polkit-gnome-authentication-agent-1:3381): polkit-gnome-1-WARNING ***: Unable to get a pixpuf for GTK_STOCK_DIALOG_AUTHENTICATION (gtk-dialog-authentication) at size 48

4 seconds later, maybe unrelated..

systemd-logind[816]: Removed session c3.
Comment 8 Colin Guthrie 2013-11-05 20:06:02 CET
I've still not made the necessary changes so I don't expect it to be fixed yet. I need to adjust initscripts to use pkexec wrappers when appropriate. Shouldn't be too hard overall.

Regarding the polkit-gnome-authentication agent, which desktop are you using? I thought we'd changed them all to use the mate-polkit version as it's generally less buggy, especially with it's cancel behaviour. I didn't check this personally tho', others did the work, so perhaps something is still missing here.
Comment 9 Manuel Hiebel 2013-11-17 11:05:38 CET
*** Bug 11682 has been marked as a duplicate of this bug. ***

CC: (none) => dantou

Manuel Hiebel 2013-11-17 11:05:51 CET

Source RPM: drakx-net-applet-1.27-1.mga4 => drakx-net-applet-1.28-2.mga4

Comment 10 Colin Guthrie 2013-11-20 17:47:45 CET
Assign to me.

Assignee: mageia => mageia

Comment 11 Thierry Vignaud 2013-11-20 22:15:29 CET
*** Bug 11711 has been marked as a duplicate of this bug. ***

CC: (none) => inster.css

Comment 12 Colin Guthrie 2013-11-21 20:37:55 CET
Should hopefully be fixed in git and will be part of v1.29
Comment 13 Manuel Hiebel 2013-12-05 21:49:04 CET
looks fixed

Priority: release_blocker => Normal
Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 14 Colin Guthrie 2013-12-06 00:01:30 CET
Thanks for confirming :)
Comment 15 René Lagoni Neukirch 2013-12-07 19:40:33 CET
Sorry, but it is NOT fixed AT ALL in every "corner":
   If I try to disconnect my cabled connection the applet still dies.

My suggestion is that you look VERY THOROUGHLY to the code at large to fix ALL crash-problems. It seems, that reported crahes are somewhat related, but fixes are narrowly done step-by-step.


Sorry, not to be rude, but ...
Comment 16 Colin Guthrie 2013-12-07 20:11:13 CET
Firstly putting the phrase "Sorry, not to be rude, but ..." is not an excuse to be rude. There is no reason what-so-ever for your use of capital letters (aka shouting) above and it only serves to make me, i.e. someone who gives up their free time to work on this stuff, incredibly annoyed at the inconsiderate attitudes conveyed.

Now, trying to ignore the fact I'm really annoyed, I will need more information to try and move on.

Your statement "If I try to disconnect my cabled connection the applet still dies." is not very useful by itself. Can you get the debug information or similar? Is there any debug info in your session journal or xsession-errors file?

From what you are saying it seems pretty likely that this is a totally unrelated issue to the problems reported in this particular bug. That's not to say there isn't a bug, it's just not *this* bug!! :)
Comment 17 René Lagoni Neukirch 2013-12-08 10:46:59 CET
(In reply to Colin Guthrie from comment #16)
> Firstly putting the phrase "Sorry, not to be rude, but ..." is not an excuse
> to be rude. There is no reason what-so-ever for your use of capital letters
> (aka shouting) above and it only serves to make me, i.e. someone who gives
> up their free time to work on this stuff, incredibly annoyed at the
> inconsiderate attitudes conveyed.
> 
> Now, trying to ignore the fact I'm really annoyed, I will need more
> information to try and move on.
> 
> Your statement "If I try to disconnect my cabled connection the applet still
> dies." is not very useful by itself. Can you get the debug information or
> similar? Is there any debug info in your session journal or xsession-errors
> file?
> 
> From what you are saying it seems pretty likely that this is a totally
> unrelated issue to the problems reported in this particular bug. That's not
> to say there isn't a bug, it's just not *this* bug!! :)

Collin, point taken.

The error I report was confirmed some time ago by Claire Robinson (MrsB).

Here's the âhowtoâ.

I have installed all updates presented.

Normally the applet starts with KDE - and disappears (crashes) from the panel at the bottom of my screen when I try to (dis)connect wired ethernet.

I have disabled the applet below, and started it by a bash command instead

Pls find the output here [my comments in brackets]:

bash-4.2$ net_applet -v
Drakxtools version 16.11
Copyright (C) 1999-2008 Mandriva by <install@mandriva.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

bash-4.2$ net_applet 
Subroutine Gtk3::main redefined at /usr/lib/perl5/vendor_perl/5.18.1/Gtk3.pm line 304.
Cannot open /dev/input/eventX: Adgang nægtet [access denied]
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
[right click to open menu â click to connet wired ethernet]
*** Gtk3::Widget::get_visible: passed too many parameters (expected 1, got 2); ignoring excess at /usr/bin/net_applet line 388.
Segmentfejl 

[connect the wired net via network man. Center]

bash-4.2$ net_applet
[right click to open menu â click to disconnet wired ethernet]
*** Gtk3::Widget::get_visible: passed too many parameters (expected 1, got 2); ignoring excess at /usr/bin/net_applet line 388.
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
*** Gtk3::Widget::get_visible: passed too many parameters (expected 1, got 2); ignoring excess at /usr/bin/net_applet line 388.
*** Gtk3::Widget::get_visible: passed too many parameters (expected 1, got 2); ignoring excess at /usr/bin/net_applet line 388.
Segmentfejl

************

If I run it via bash as superuser the output is slightly different in both cases, but the app still crashes.

Hopefully you get a picture ...

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 18 René Lagoni Neukirch 2013-12-08 10:55:55 CET
Tried to  right click and click on  Active Connections (?) [Aktive grænsesnit] in danish.
Trying to (de)activate the wired connection also results in a crash.

Do you need more info ?
Comment 19 René Lagoni Neukirch 2013-12-08 10:58:27 CET
(In reply to René Lagoni Neukirch from comment #18)
> Tried to  right click and click on  Active Connections (?) [Aktive
> grænsesnit] in danish.
> Trying to (de)activate the wired connection also results in a crash.
> 
> Do you need more info ?

Here the output from bash:

Subroutine Gtk3::main redefined at /usr/lib/perl5/vendor_perl/5.18.1/Gtk3.pm line 304.
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Cannot open /dev/input/eventX: Adgang nægtet
Segmentfejl
Comment 20 Colin Guthrie 2013-12-08 12:14:31 CET
Thanks for the info René. From the above I can see it's definitly not related to this particular bug. It *could* be related to the gtk3 port, but if you've had it a while then this is likely coincidental.

I'll open a new bug and close this one.
Colin Guthrie 2013-12-08 12:16:44 CET

Blocks: (none) => 11929

Comment 21 Colin Guthrie 2013-12-08 12:17:21 CET
Opened bug #11929 for this.

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED


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