Bug 19406 - drakrpm-update crashed (<data>:1:28Expected a string. at /usr/lib/perl5/vendor_perl/5.22.2/Gtk3.pm line 988.) [GTK+3 API change]
Summary: drakrpm-update crashed (<data>:1:28Expected a string. at /usr/lib/perl5/vendo...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: release_blocker critical
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
: 19407 19408 19409 19410 19411 19412 19413 19414 19415 19417 19424 19425 19426 19444 19466 19623 20005 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-09-18 22:10 CEST by pierre ko
Modified: 2016-12-23 23:21 CET (History)
17 users (show)

See Also:
Source RPM: rpmdrake-6.22-2.mga6, gtk+3.0
CVE:
Status comment:


Attachments
Perl trace (542 bytes, text/plain)
2016-09-19 10:46 CEST, Thierry Vignaud
Details

Description pierre ko 2016-09-18 22:10:34 CEST
The "drakrpm-update" program crashed. Drakbug-17.54 caught it.

ouverture du CCM et mise à jour système
dans  la précédente mise à jour , des fichier étaient en erreur

<data>:1:28Expected a string. at /usr/lib/perl5/vendor_perl/5.22.2/Gtk3.pm line 988.
Perl's trace:
drakbug::bug_handler() called from /usr/lib/perl5/vendor_perl/5.22.2/x86_64-linux-thread-multi/Glib/Object/Introspection.pm:67
Glib::Object::Introspection::__ANON__() called from /usr/lib/libDrakX/mygtk3.pm:1302
mygtk3::MagicWindow::AUTOLOAD() called from /usr/lib/libDrakX/ugtk3.pm:130
ugtk3::gtkadd() called from /usr/libexec/drakrpm-update:205
main::run_treeview_dialog() called from /usr/libexec/drakrpm-update:293

Theme name: Adwaita
Kernel version = 4.7.3-desktop-1.mga6
Distribution=Mageia release 6 (Cauldron) for x86_64
CPU=Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
Comment 1 Rémi Verschelde 2016-09-19 07:31:47 CEST
*** Bug 19407 has been marked as a duplicate of this bug. ***

CC: (none) => fri

Comment 2 Rémi Verschelde 2016-09-19 07:31:53 CEST
*** Bug 19408 has been marked as a duplicate of this bug. ***

CC: (none) => dlocklear01

Rémi Verschelde 2016-09-19 07:32:54 CEST

Summary: drakrpm-update crashed => drakrpm-update crashed (<data>:1:28Expected a string. at /usr/lib/perl5/vendor_perl/5.22.2/Gtk3.pm line 988.) [GTK+3 API change]

Rémi Verschelde 2016-09-19 07:33:33 CEST

CC: (none) => thierry.vignaud
Assignee: bugsquad => mageiatools
Severity: normal => critical

Rémi Verschelde 2016-09-19 07:40:56 CEST

Priority: Normal => release_blocker

Comment 3 Thierry Vignaud 2016-09-19 08:17:29 CEST
This is a gtk+3 regression.

CC: (none) => olav
Source RPM: rpmdrake-6.22-2.mga6 => rpmdrake-6.22-2.mga6, gtk+3.0

Comment 4 Olav Vitters 2016-09-19 09:35:08 CEST
What's the error message? I upgraded gobject-introspection as well as gtk+3.0, could be both.

CC: (none) => gnome

Comment 5 Rémi Verschelde 2016-09-19 10:00:28 CEST
*** Bug 19409 has been marked as a duplicate of this bug. ***

CC: (none) => garycroomy

Comment 6 Rémi Verschelde 2016-09-19 10:23:38 CEST
*** Bug 19410 has been marked as a duplicate of this bug. ***

CC: (none) => mageia

Comment 7 Thierry Vignaud 2016-09-19 10:45:20 CEST
That's Gtk3::CssProvider::load_from_data() aka https://developer.gnome.org/gtk3/unstable/GtkCssProvider.html#gtk-css-provider-load-from-data

It now fails when setting the banner CSS:
'Layout, GtkLabel {font: 15px; background-color: #ffffff }'
Comment 8 Thierry Vignaud 2016-09-19 10:46:30 CEST
Created attachment 8425 [details]
Perl trace
Comment 9 Thierry Vignaud 2016-09-19 11:00:59 CEST
There's a new gobject-introspection (but I cannot submit it on BS).
Please submit it
Rémi Verschelde 2016-09-19 11:05:00 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=19411

Comment 10 Thierry Vignaud 2016-09-19 11:09:30 CEST
*** Bug 19411 has been marked as a duplicate of this bug. ***

CC: (none) => rfox

Thierry Vignaud 2016-09-19 11:10:12 CEST

See Also: https://bugs.mageia.org/show_bug.cgi?id=19411 => (none)

Comment 11 Rémi Verschelde 2016-09-19 11:14:54 CEST
*** Bug 19412 has been marked as a duplicate of this bug. ***

CC: (none) => magnux77

Comment 12 Thierry Vignaud 2016-09-19 11:15:36 CEST
The error message comes from gtk/gtkcssparser.c
Comment 13 Rémi Verschelde 2016-09-19 11:22:13 CEST
*** Bug 19413 has been marked as a duplicate of this bug. ***
Comment 14 Robert Fox 2016-09-19 11:25:06 CEST
rpmdrake won't start either - must be the same issue with all mcc tools:


The "drakrpm" program has crashed with the following error:

  <data>:1:28Expected a string. at /usr/lib/perl5/vendor_perl/5.22.2/Gtk3.pm line 988.
  Perl's trace:
  drakbug::bug_handler() called from /usr/lib/perl5/vendor_perl/5.22.2/x86_64-linux-thread-multi/Glib/Object/Introspection.pm:67
  Glib::Object::Introspection::__ANON__() called from /usr/lib/libDrakX/mygtk3.pm:1302
  mygtk3::MagicWindow::AUTOLOAD() called from /usr/libexec/drakrpm:798
  main::run_treeview_dialog() called from /usr/libexec/drakrpm:848

Used theme: Adwaita

To submit a bug report, click on the report button.  
This will open a web browser window on Bugzilla where you'll find a form to fill in.  The information displayed above will be transferred to that server
It would be very useful to attach to your report the output of the following command: 'lspcidrake -v'.

[root@foxmain rfox]# rpmdrake
Ignore the following Glib::Object::Introspection & Gtk3 warnings
Subroutine Gtk3::main redefined at /usr/lib/perl5/vendor_perl/5.22.2/Gtk3.pm line 525.
Use of uninitialized value $value in numeric eq (==) at /usr/lib/perl5/vendor_perl/5.22.2/Gtk3.pm line 779.
Use of uninitialized value $value in numeric eq (==) at /usr/lib/perl5/vendor_perl/5.22.2/Gtk3.pm line 779.
Use of uninitialized value $value in numeric eq (==) at /usr/lib/perl5/vendor_perl/5.22.2/Gtk3.pm line 779.
Use of uninitialized value $value in numeric eq (==) at /usr/lib/perl5/vendor_perl/5.22.2/Gtk3.pm line 779.
Use of uninitialized value $value in numeric eq (==) at /usr/lib/perl5/vendor_perl/5.22.2/Gtk3.pm line 779.
Use of uninitialized value $value in numeric eq (==) at /usr/lib/perl5/vendor_perl/5.22.2/Gtk3.pm line 779.
Use of uninitialized value $value in numeric eq (==) at /usr/lib/perl5/vendor_perl/5.22.2/Gtk3.pm line 779.
Impossible to set by_group view as default
Ignore the following Glib::Object::Introspection & Gtk3 warnings
Subroutine Gtk3::main redefined at /usr/lib/perl5/vendor_perl/5.22.2/Gtk3.pm line 525.
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Comment 15 Thierry Vignaud 2016-09-19 11:32:54 CEST
If we add single quotes in the doble quotes, this error goes away but now we got ":1:0Expected a valid selector"
Comment 16 Mageia Robot 2016-09-19 11:49:47 CEST
commit 013540d99473b405355fdb68e18eeb1f13360080
Author: Thierry Vignaud <thierry.vignaud@...>
Date:   Mon Sep 19 11:48:58 2016 +0200

    s/font/font-size/ (mga#19406)
    
    thus fixing gtk+3.22 regression
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=013540d99473b405355fdb68e18eeb1f13360080
Comment 17 Thierry Vignaud 2016-09-19 11:52:30 CEST
Fixed

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

Comment 18 Rémi Verschelde 2016-09-19 11:54:03 CEST
*** Bug 19414 has been marked as a duplicate of this bug. ***
Comment 19 Rémi Verschelde 2016-09-19 12:42:52 CEST
*** Bug 19415 has been marked as a duplicate of this bug. ***

CC: (none) => pleny29

Comment 20 Olav Vitters 2016-09-19 13:23:08 CEST
Invalid CSS really results in a stack trace? This should've been a warning, right?
Comment 21 Rémi Verschelde 2016-09-19 15:43:03 CEST
*** Bug 19417 has been marked as a duplicate of this bug. ***

CC: (none) => khangyi

Comment 22 Thierry Vignaud 2016-09-19 16:03:14 CEST
(In reply to Olav Vitters from comment #20)
Year it would be better been a warning, with some non-applied CSS at worse.
The introspection annotations are probably wrong regarding this.
Comment 23 Marja Van Waes 2016-09-20 12:38:02 CEST
*** Bug 19424 has been marked as a duplicate of this bug. ***

CC: (none) => 38390fred.varvarande

Comment 24 Marja Van Waes 2016-09-20 12:38:25 CEST
*** Bug 19425 has been marked as a duplicate of this bug. ***
Comment 25 Marja Van Waes 2016-09-20 12:39:30 CEST
*** Bug 19426 has been marked as a duplicate of this bug. ***
Comment 26 Marja Van Waes 2016-09-22 15:34:29 CEST
@ Anyone still getting this issue and not managing to install the fix


Please open a terminal/konsole and run, as root:

    urpmi --auto-update

to update your system. After that everything should work well again.

CC: (none) => marja11

Comment 27 Marja Van Waes 2016-09-22 21:47:23 CEST
*** Bug 19444 has been marked as a duplicate of this bug. ***

CC: (none) => francregin

Comment 28 Rémi Verschelde 2016-09-27 10:34:03 CEST
*** Bug 19466 has been marked as a duplicate of this bug. ***

CC: (none) => esimgee

Comment 29 Thierry Vignaud 2016-10-20 11:58:27 CEST
*** Bug 19623 has been marked as a duplicate of this bug. ***

CC: (none) => darkwheel

Comment 30 Thierry Vignaud 2016-12-23 23:21:08 CET
*** Bug 20005 has been marked as a duplicate of this bug. ***

CC: (none) => ronb19495


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