Bug 12861 - draknetcenter crashed (Can't locate object method "get_interface" via package "WLAN_9E")
Summary: draknetcenter crashed (Can't locate object method "get_interface" via package...
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
: 20348 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-02-23 17:14 CET by Muhammad Tailounie
Modified: 2019-03-12 15:38 CET (History)
5 users (show)

See Also:
Source RPM: drakx-net-2.12-1.mga4, drakx-net-2.12-2.mga5, drakx-net-2.27-1.mga6
CVE:
Status comment:


Attachments
add debug instrumentation (1.58 KB, patch)
2015-03-11 22:57 CET, Thierry Vignaud
Details | Diff

Description Muhammad Tailounie 2014-02-23 17:14:40 CET
The "draknetcenter" program crashed. Drakbug-16.26.8 caught it.

I disconnected the WIFI in netapplet

Can't locate object method "get_interface" via package "WLAN_9E" (perhaps you forgot to load "WLAN_9E"?) at /usr/lib/libDrakX/network/connection_manager.pm line 275.
Perl's trace:
standalone::bug_handler() called from /usr/lib/perl5/vendor_perl/5.18.1/Gtk3.pm:295
Gtk3::__ANON__() called from /usr/lib/libDrakX/mygtk3.pm:1501
mygtk3::main() called from /usr/lib/libDrakX/ugtk3.pm:748
ugtk3::main() called from /usr/lib/libDrakX/network/netcenter.pm:212
network::netcenter::main() called from /usr/libexec/draknetcenter:30

Theme name: oxygen-gtk
Kernel version = 3.12.9-desktop-1.mga4
Distribution=Mageia release 4 (Official) for x86_64
CPU=AMD Athlon(tm) II X3 450 Processor
Comment 1 Muhammad Tailounie 2014-02-23 17:19:57 CET
If I try to disconnect my WIFI network using net-applet, the program crashes. It seems that there is an error trying to load a file with the same name of the WIFI network.:!

Priority: Normal => High
Severity: normal => major

Comment 2 Muhammad Tailounie 2014-02-23 18:00:02 CET
I think that the whole draknetcenter should be redesigned because it has several bugs..

So I am just providing a work-around for this bug so that the members in charge take action:

Modify the file /usr/lib/libDrakX/network/connection_manager.pm

delete line 275 and add the following lines instead:

if ($_)
{
  my $event_connection = find { $_->get_interface eq $interface } @$connections;
}
else 
{
  my $event_connection = $_;
}


This should do for the moment..

But be aware that there are several other bugs to eliminate..

Thank you.
Thierry Vignaud 2014-02-24 01:34:15 CET

CC: (none) => mageia, thierry.vignaud
Summary: draknetcenter crashed => draknetcenter crashed (Can't locate object method "get_interface" via package "WLAN_9E")

Manuel Hiebel 2014-02-27 17:09:16 CET

Keywords: (none) => PATCH
Assignee: bugsquad => thierry.vignaud

Comment 3 Marja Van Waes 2014-07-09 22:07:02 CEST
Valid for cauldron, too

Some line numbers differ there:

 Can't locate object method "get_interface" via package "UPC WifiSpots" (perhaps you forgot to load "UPC WifiSpots"?) at /usr/lib/libDrakX/network/connection_manager.pm line 275.
  Perl's trace:
  standalone::bug_handler() called from /usr/lib/perl5/vendor_perl/5.20.0/Gtk3.pm:292
  Gtk3::__ANON__() called from /usr/lib/libDrakX/mygtk3.pm:1530
  mygtk3::main() called from /usr/lib/libDrakX/ugtk3.pm:860
  ugtk3::main() called from /usr/lib/libDrakX/network/netcenter.pm:212
  network::netcenter::main() called from /usr/libexec/draknetcenter:30

Used theme: oxygen-gtk

CC: (none) => marja11
Version: 4 => Cauldron
Source RPM: drakx-net-2.12-1.mga4 => drakx-net-2.12-1.mga4, drakx-net-2.12-2.mga5
Whiteboard: (none) => MGA4TOO

Comment 4 Thierry Vignaud 2014-07-10 14:25:11 CEST
Blino, what do you think?

Source RPM: drakx-net-2.12-1.mga4, drakx-net-2.12-2.mga5 => drakx-net-2.12-2.mga5

Comment 5 Thierry Vignaud 2015-03-11 22:57:35 CET
Created attachment 6039 [details]
add debug instrumentation

Can you try the attached patch?
cd /usr/lib/libDrakX; patch -p2 < /where/it/is/dbg-12861.diff


Then kill net_applet & start it from a terminal:
net_applet 2>&1 |tee /tmp/RES.txt

then attach (not paste) the resulting /tmp/RES.txt file
Comment 6 Thierry Vignaud 2015-05-20 06:30:05 CEST
Marja, can you still reproduce this one?
I cannot.

Keywords: (none) => NEEDINFO

Thierry Vignaud 2015-05-20 08:36:28 CEST

Keywords: PATCH => (none)

Comment 7 Marja Van Waes 2015-05-20 08:50:30 CEST
(In reply to Thierry Vignaud from comment #6)
> Marja, can you still reproduce this one?
> I cannot.


I can't in current cauldron. I suppose that's where you tried, too, so it still needs to be checked in Mageia 4.

Version: Cauldron => 4
Whiteboard: MGA4TOO => (none)

Thierry Vignaud 2015-06-10 09:15:21 CEST

Priority: High => Normal

Comment 8 Samuel Verschelde 2015-09-21 13:19:03 CEST
Mageia 4 changed to end-of-life (EOL) status on 2015-09-19. It is is no longer 
maintained, which means that it will not receive any further security or bug 
fix updates.

Package Maintainer: If you wish for this bug to remain open because you plan to 
fix it in a currently maintained version, simply change the 'version' to a later 
Mageia version.

Bug Reporter: Thank you for reporting this issue and we are sorry that we weren't 
able to fix it before Mageia 4's end of life. If you are able to reproduce it 
against a later version of Mageia, you are encouraged to click on "Version" and 
change it against that version of Mageia. If it's valid in several versions, 
select the highest and add MGAxTOO in whiteboard for each other valid release.
Example: it's valid in cauldron and Mageia 5, set to cauldron and add MGA5TOO.

Although we aim to fix as many bugs as possible during every release's lifetime, 
sometimes those efforts are overtaken by events. Often a more recent Mageia 
release includes newer upstream software that fixes bugs or makes them obsolete.

If you would like to help fixing bugs in the future, don't hesitate to join the
packager team via our mentoring program [1] or join the teams that fit you 
most [2].

[1] https://wiki.mageia.org/en/Becoming_a_Mageia_Packager
[2] http://www.mageia.org/contribute/
Comment 9 Marja Van Waes 2015-10-12 11:16:37 CEST
(In reply to Marja van Waes from comment #7)
> (In reply to Thierry Vignaud from comment #6)
> > Marja, can you still reproduce this one?
> > I cannot.
> 
> 
> I can't in current cauldron. I suppose that's where you tried, too, so it
> still needs to be checked in Mageia 4.

that current cauldron is now Mga 5, so this bug can be closed as OLD

Status: NEW => RESOLVED
Resolution: (none) => OLD

Comment 10 Thierry Vignaud 2017-02-26 16:05:15 CET
Reopening as we've new reports

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

Thierry Vignaud 2017-02-26 16:05:41 CET

Source RPM: drakx-net-2.12-2.mga5 => drakx-net-2.12-1.mga4, drakx-net-2.12-2.mga5, drakx-net-2.27-1.mga6

Comment 11 Thierry Vignaud 2017-02-26 16:06:09 CET
*** Bug 20348 has been marked as a duplicate of this bug. ***

CC: (none) => rene

Comment 12 Thierry Vignaud 2017-04-21 08:23:57 CEST
CCing Frédéric as he shown interest in drakx-net recently

CC: (none) => LpSolit

Comment 13 Muhammad Tailounie 2019-03-12 15:38:24 CET
I am not using MCC for networking anymore, so can anyone test this?

This is related to \0x00... sequence hidden networks as far as I can see.

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


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