Bug 12527 - mgaapplet crashed (Can't locate object method "set_uri_hook" via package "Gtk3::LinkButton")
Summary: mgaapplet crashed (Can't locate object method "set_uri_hook" via package "Gtk...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: All Linux
Priority: Normal critical
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA4-64-OK mga4-32-ok advisory
Keywords: validated_update
: 12548 12557 12565 12571 12597 12602 (view as bug list)
Depends on:
Blocks: 11778 11979
  Show dependency treegraph
 
Reported: 2014-02-02 15:52 CET by Pascal Bialais
Modified: 2014-02-06 21:03 CET (History)
12 users (show)

See Also:
Source RPM: mgaonline-3.9-1.mga4
CVE:
Status comment:


Attachments
we could either connect to the 'activate-link' signal or just rely on default behaviour (708 bytes, patch)
2014-02-02 18:56 CET, Thierry Vignaud
Details | Diff
this should fix the 2nd error (480 bytes, patch)
2014-02-03 21:10 CET, Thierry Vignaud
Details | Diff

Description Pascal Bialais 2014-02-02 15:52:02 CET
The "mgaapplet" program crashed. Drakbug-16.26.7 caught it.

Gestionnaire de logiciels.

Can't locate object method "set_uri_hook" via package "Gtk3::LinkButton" at /usr/lib/libDrakX/drakfirsttime/mgaapplet_gui.pm line 120.
Perl's trace:
standalone::bug_handler() called from /usr/lib/libDrakX/drakfirsttime/mgaapplet_gui.pm:120
mgaapplet_gui::new_link_button() called from /usr/bin/mgaapplet:384
main::confirm_upgrade() called from /usr/bin/mgaapplet:531
main::upgrade() called from /usr/bin/mgaapplet:677
main::__ANON__() called from /usr/lib/perl5/vendor_perl/5.18.1/Gtk3.pm:341
Gtk3::main() called from /usr/lib/perl5/vendor_perl/5.18.1/Gtk3.pm:294
Gtk3::__ANON__() called from /usr/bin/mgaapplet:230

Theme name: oxygen-gtk
Kernel version = 3.12.8-server-2.mga4
Distribution=Mageia release 4 (Official) for i586
CPU=AMD Phenom(tm) II X4 955 Processor
Manuel Hiebel 2014-02-02 15:53:49 CET

Blocks: (none) => 11778
Assignee: bugsquad => thierry.vignaud
Summary: mgaapplet crashed => mgaapplet crashed (Can't locate object method "set_uri_hook" via package "Gtk3::LinkButton")

Comment 1 Thierry Vignaud 2014-02-02 18:56:01 CET
Created attachment 4915 [details]
we could either connect to the 'activate-link' signal or just rely on default behaviour

Can you test this patch?
As root, in a terminal, just run the following commands:

cd /usr/lib/libDrakX
patch -p1 < /where/it/has/been/downloaded/12527.diff

then just close & restart your session
Comment 2 Thierry Vignaud 2014-02-02 18:56:53 CET
Though this is a real but, what's strange is that you were on mga4 on you got a new distro notification (which shouldn't happen before 9 monthes when mga5 will be out)
Comment 3 Manuel Hiebel 2014-02-02 19:29:36 CET
(In reply to Thierry Vignaud from comment #2)
> Though this is a real but, what's strange is that you were on mga4 on you
> got a new distro notification (which shouldn't happen before 9 monthes when
> mga5 will be out)

it's not the first time I see this (but don't have bug/something concrete in mind now :/)
is api correct https://releases.mageia.org/api/b/i586 btw ?
Comment 4 Pascal Bialais 2014-02-02 20:14:19 CET
[root@localhost libDrakX]# patch -p1 < /home/pascal/Téléchargements/12527.diff
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/mgaapplet_gui.pm b/mgaapplet_gui.pm
|index e5d87b2..305c529 100644
|--- a/mgaapplet_gui.pm
|+++ b/mgaapplet_gui.pm
--------------------------
File to patch: ^C
Comment 5 Thierry Vignaud 2014-02-02 20:53:54 CET
Sorry it should have been "cd /usr/lib/libDrakX/drakfirsttime/"
Comment 6 Pascal Bialais 2014-02-03 09:58:19 CET
Patch en place.
Mais:

-------------------
Le programme « mgaapplet-upgrade-helper » a planté avec l'erreur suivante :

  Can't locate object method "XWINDOW" via package "Gtk3::GdkX11::X11Window" at /usr/libexec/mgaapplet-upgrade-helper line 206.
  Perl's trace:
  standalone::bug_handler() called from /usr/libexec/mgaapplet-upgrade-helper:206
  main::upgrade() called from /usr/libexec/mgaapplet-upgrade-helper:75

Thème utilisé : oxygen-gtk
Kernel version = 3.12.8-server-2.mga4
Distribution=Mageia release 4 (Official) for i586
CPU=AMD Phenom(tm) II X4 955 Processor
-------------------
Comment 7 Remco Rijnders 2014-02-03 10:48:04 CET
*** Bug 12548 has been marked as a duplicate of this bug. ***

CC: (none) => soulthatcreates

Comment 8 Yuri Chornoivan 2014-02-03 18:39:10 CET
I have the following crash message (Mageia 4, x86-64, patch applied):

  The connection is closed at /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi/Glib/Object/Introspection.pm line 59.
  Perl's trace:
  standalone::bug_handler() called from /usr/lib/perl5/vendor_perl/5.18.1/Gtk3.pm:295
  Gtk3::__ANON__() called from /usr/bin/mgaapplet:230

CC: (none) => yurchor

Comment 9 Thierry Vignaud 2014-02-03 21:10:50 CET
Created attachment 4924 [details]
this should fix the 2nd error
Comment 10 Mageia Robot 2014-02-03 22:14:36 CET
commit 529f4024134638eccc3d7952ce39201f5519d496
Author: Thierry Vignaud <thierry.vignaud@...>
Date:   Mon Feb 3 22:05:53 2014 +0100

    fix gtk2 to gtk3 migration: XWINDOW -> get_xid (mga#12527)
---
 Commit Link:
   http://gitweb.mageia.org/software/mgaonline/commit/?id=529f4024134638eccc3d7952ce39201f5519d496
Comment 11 Pascal Bialais 2014-02-03 22:33:16 CET
cd /usr/libexec/
patch -p1 < /home/pascal/Téléchargements/12527b.diff

close & restart session.

mgaapplet

it's ok.
Thank.
Comment 12 Thierry Vignaud 2014-02-03 22:51:22 CET
Closing

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

Comment 13 Thierry Vignaud 2014-02-04 03:07:00 CET
*** Bug 12557 has been marked as a duplicate of this bug. ***

CC: (none) => dussansdorian

Comment 14 Manuel Hiebel 2014-02-04 18:27:37 CET
You plan a main update for mga4 ?
Comment 15 Manuel Hiebel 2014-02-04 18:29:25 CET
*** Bug 12565 has been marked as a duplicate of this bug. ***

CC: (none) => jabs.andrea

Comment 16 Manuel Hiebel 2014-02-04 18:29:39 CET
*** Bug 12571 has been marked as a duplicate of this bug. ***

CC: (none) => rodolphe.robles

Comment 17 Remco Rijnders 2014-02-05 08:57:35 CET
*** Bug 12597 has been marked as a duplicate of this bug. ***

CC: (none) => nigel.colhoun

Comment 18 Remco Rijnders 2014-02-05 09:19:55 CET
*** Bug 12602 has been marked as a duplicate of this bug. ***

CC: (none) => col.fouks

Comment 19 Thierry Vignaud 2014-02-05 16:46:48 CET
(In reply to Manuel Hiebel from comment #14)
> You plan a main update for mga4 ?

I pushed one in core/updates_testing.
It needs being validated.
Remco Rijnders 2014-02-05 16:52:59 CET

Assignee: thierry.vignaud => qa-bugs

Remco Rijnders 2014-02-05 16:55:07 CET

Blocks: (none) => 11979

Comment 20 claire robinson 2014-02-05 17:06:02 CET
If this is for QA it will need to be reopened and advisory/srpms/rpms added please.
Comment 21 Manuel Hiebel 2014-02-05 18:20:52 CET
-------------
This update:
- include strings from mgaapplet-update-checker & mgaapplet-upgrade-helper
- restore old translations
- fix some gtk2 -> gtk3 migration fallouts (mga#12527)
- fix crashing if there's not notification daemon (mga#12416)

-------------

SRPM: mgaonline-3.10-1.mga4.src.rpm

Status: RESOLVED => REOPENED
Hardware: i586 => All
Resolution: FIXED => (none)

Comment 22 claire robinson 2014-02-05 18:26:18 CET
Thanks Manuel. Need the RPMs too please.
Comment 23 Manuel Hiebel 2014-02-05 18:29:34 CET
looks to be only mgaonline-3.10-1.mga4.noarch.rpm
Comment 24 claire robinson 2014-02-05 19:39:48 CET
Increasing priority as this appears to be affecting systems just upgraded

Severity: normal => major

Comment 25 claire robinson 2014-02-05 19:47:32 CET
and again so it changes colour..

Severity: major => critical

Comment 26 Deri James 2014-02-05 20:20:13 CET
x86_64: tested mgaonline-3.10-1.mga4

After install successfully found and installed pidgin and lib64purple0.

CC: (none) => deri

Comment 27 Samuel Verschelde 2014-02-05 22:07:46 CET
Same arch, same result here.

CC: (none) => stormi

Samuel Verschelde 2014-02-05 22:19:29 CET

Whiteboard: (none) => MGA3-64-OK

Samuel Verschelde 2014-02-05 23:42:28 CET

Whiteboard: MGA3-64-OK => MGA4-64-OK

Comment 28 Bill Wilkinson 2014-02-06 00:13:11 CET
As Deri tested, works under mga4-32, updated pidgin etc.

Just needs advisory to svn for update.

CC: (none) => wrw105
Whiteboard: MGA4-64-OK => MGA4-64-OK mga4-32-ok

Comment 29 Samuel Verschelde 2014-02-06 09:46:51 CET
Advisory uploaded. Update validated.

Please push to 4/core/updates.

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs
Whiteboard: MGA4-64-OK mga4-32-ok => MGA4-64-OK mga4-32-ok advisory

Comment 30 Thomas Backlund 2014-02-06 21:03:49 CET
Update pushed:
http://advisories.mageia.org/MGAA-2014-0018.html

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


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