Bug 269904

Summary: archivers/peazip: peazip-gtk2 GLib-GObject-CRITICAL … g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Product: Ports & Packages Reporter: Graham Perrin <grahamperrin>
Component: Individual Port(s)Assignee: Jose Alonso Cardenas Marquez <acm>
Status: Closed Overcome By Events    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (acm)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Graham Perrin freebsd_committer freebsd_triage 2023-03-01 20:44:11 UTC
% pkg info -x peazip
peazip-gtk2-8.8.0_1
% which peazip
/usr/local/bin/peazip
% peazip

(peazip:4864): Gtk-WARNING **: 20:34:43.176: Unable to locate theme engine in module_path: "adwaita",

(peazip:4864): Gtk-WARNING **: 20:34:43.178: Unable to locate theme engine in module_path: "adwaita",

(peazip:4864): GLib-GObject-CRITICAL **: 20:34:43.243: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
[FORMS.PP] ExceptionOccurred 
  Sender=EAccessViolation
  Exception=Access violation
  Stack trace:
  $000000000044B15C
  $0000000821C2E2D3
  $00000008264C8C36
  $00000008264C9066
  $0000000824883DB8
  $00000008264B5776
  $00000008248822C3
  $0000000000808232
  $0000000000808357
  $0000000000655DB1
  $0000000000655EBF
  $000000000065486F
  $0000000000654700
  $000000000044DF2A
[FORMS.PP] ExceptionOccurred 
% uname -aKU
FreeBSD mowa219-gjp4-8570p-freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #33 main-n261014-cd406ac94d8b: Sun Feb 19 01:35:14 GMT 2023     grahamperrin@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 1400081 1400081
% su -
Password:
root@mowa219-gjp4-8570p-freebsd:~ # pkg install peazip-qt5
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating poudriere repository catalogue...
poudriere repository is up to date.
All repositories are up to date.
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        peazip-qt5: 8.8.0_1 [FreeBSD]
        qt5pas: 2.6_3 [FreeBSD]

Number of packages to be installed: 2

The process will require 25 MiB more space.
5 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/2] Fetching qt5pas-2.6_3.pkg: 100%  508 KiB 520.6kB/s    00:01    
[2/2] Fetching peazip-qt5-8.8.0_1.pkg: 100%    4 MiB   4.2MB/s    00:01    
Checking integrity... done (1 conflicting)
  - peazip-qt5-8.8.0_1 [FreeBSD] conflicts with peazip-gtk2-8.8.0_1 [installed] on /usr/local/bin/pea
Checking integrity... done (0 conflicting)
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
The following 3 package(s) will be affected (of 0 checked):

Installed packages to be REMOVED:
        peazip-gtk2: 8.8.0_1

New packages to be INSTALLED:
        peazip-qt5: 8.8.0_1 [FreeBSD]
        qt5pas: 2.6_3 [FreeBSD]

Number of packages to be removed: 1
Number of packages to be installed: 2

The process will require 2 MiB more space.

Proceed with this action? [y/N]: y
[1/3] Deinstalling peazip-gtk2-8.8.0_1...
[1/3] Deleting files for peazip-gtk2-8.8.0_1: 100%
[2/3] Installing qt5pas-2.6_3...
[2/3] Extracting qt5pas-2.6_3: 100%
[3/3] Installing peazip-qt5-8.8.0_1...
[3/3] Extracting peazip-qt5-8.8.0_1: 100%
Building cache database of MIME types
Generating GTK icon cache for /usr/local/share/icons/hicolor
root@mowa219-gjp4-8570p-freebsd:~ # exit
logout
% peazip
TControl.ChangeBounds test(1)LabelConf:TLabel Old=775,0,0,15 New=775,1758437302,0,15 Real=775,1758437302,0,15
TControl.ChangeBounds test(2)LabelConf:TLabel Old=775,0,0,15 New=775,1758437302,0,15 Real=775,1758437302,0,15
TControl.ChangeBounds test(3)LabelConf:TLabel Old=775,0,0,15 New=775,1758437302,0,15 Real=775,1758437302,0,15
TControl.ChangeBounds test(4)LabelConf:TLabel Old=775,0,0,15 New=775,1758437302,0,15 Real=775,1758437302,0,15
TControl.ChangeBounds test(1)LabelConf:TLabel Old=775,1758437302,0,15 New=775,1758437302,3,15 Real=775,1758437302,3,15
TControl.ChangeBounds test(2)LabelConf:TLabel Old=775,1758437302,0,15 New=775,1758437302,3,15 Real=775,1758437302,3,15
TControl.ChangeBounds test(3)LabelConf:TLabel Old=775,1758437302,0,15 New=775,1758437302,3,15 Real=775,1758437302,3,15
TControl.ChangeBounds test(4)LabelConf:TLabel Old=775,1758437302,0,15 New=775,1758437302,3,15 Real=775,1758437302,3,15
%
Comment 1 Graham Perrin freebsd_committer freebsd_triage 2023-03-01 21:22:40 UTC
Not reproducible with peazip-gtk2-8.8.0_1 on 13.1-RELEASE (p6 kernel, p7 userland).
Comment 2 Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2023-06-10 06:11:46 UTC
Hello,  it seems like latest version of peazip doesn't have this issue. I have tested it on 13.2 (xfce) and 14-CURRENT (plasma) and It did not show exception there 

FreeBSD cerberus 13.2-RELEASE FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC amd64

FreeBSD ifrit 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n263426-1bbdfb0b4386: Tue Jun  6 08:03:37 -05 2023     acm@ifrit:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64

Tell me if it works for you and close this PR if it is working now