You are not logged in.
Hello, ive got the following error after upgrading with pacman -Syu yesterday.
(process:5636): GLib-GObject-CRITICAL **: 14:05:38.585: g_object_get: assertion 'G_IS_OBJECT (object)' failed
free(): invalid pointer
This happens after i try to run a script i made that stores certain variable and calls it to run a command. This happens with all scripts that use any kind of VAR. After i get the error the bash script aborts and the core is dumped.
./NameofScript.sh: line 23: 5768 Aborted (core dumped) restofthecommand
Ive tried to reinstall glib2 but this didnt help.
Last edited by Stux (2023-10-14 12:11:01)
Offline
Do those scripts work when run in a text-console ?
Please post one of those scripts so others can test them (preferably a short one).
Welcome to archlinux forums.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Do those scripts work when run in a text-console ?
Just tested and they dont.
Please post one of those scripts so others can test them (preferably a short one).
Ive found the issue. The script runs veracrypt with the -t flag. When using the -t flag you can reproduce the glib error. So it seems the last update broke veracrypt's text based input. I'm using the official package provided by Arch. I'm now trying the AUR git package and report back if that helped.
Offline
The same error happens when building the AUR package, even during compiling.
Offline
This thread can be marked as solved. I will write a bug report for the AUR package.
Workaround for now is to not use the -t flag.
Offline
veracrypt in the repos hasn't been updated in almost a year. What are you running, exactly?
Offline
veracrypt in the repos hasn't been updated in almost a year. What are you running, exactly?
Im using the package from the official repositories. The package from the AUR doesnt build because of the same error.
Offline
I suspect it's rather the glib2 update, possibly around g_slice (if the OP hasn't updated in a while)
@Stux what was the version change for glib2 that introduced the crash for you?
Offline
what was the version change for glib2 that introduced the crash for you?
That would be glib2-2.78.0-3
Offline
That's the current version - the question would be which version you used before veracrypt started to fail.
Offline
That's the current version - the question would be which version you used before veracrypt started to fail.
Woops, then it would be glib2-2.78.0-2
Offline
Ok, then no - the G_SLICE situation was way earlier (2.76.0)
Does downgrading glib2 "fix" it, though?
Offline
Ok, then no - the G_SLICE situation was way earlier (2.76.0)
Does downgrading glib2 "fix" it, though?
I will try this tomorrow and report back if it worked.
Offline
I downgraded the glib2 package and got the same error.
Offline
What packages actually were in the supposingly breaking update?
Offline
What packages actually were in the supposingly breaking update?
The last Update Log:
[2023-10-13T15:57:55+0200] [ALPM] upgraded adwaita-cursors (44.0-1 -> 45.0-1)
[2023-10-13T15:57:55+0200] [ALPM] upgraded libsysprof-capture (3.48.0-4 -> 45.0-1)
[2023-10-13T15:57:55+0200] [ALPM] upgraded glib2 (2.78.0-2 -> 2.78.0-3)
[2023-10-13T15:57:55+0200] [ALPM] upgraded shared-mime-info (2.2+13+ga2ffb28-1 -> 2.3-1)
[2023-10-13T15:57:55+0200] [ALPM] upgraded adwaita-icon-theme (44.0-1 -> 45.0-1)
[2023-10-13T15:57:55+0200] [ALPM] upgraded alsa-card-profiles (1:0.3.80-1 -> 1:0.3.81-2)
[2023-10-13T15:57:56+0200] [ALPM] upgraded gettext (0.22.2-1 -> 0.22.3-1)
[2023-10-13T15:57:56+0200] [ALPM] upgraded libnghttp2 (1.56.0-1 -> 1.57.0-1)
[2023-10-13T15:57:56+0200] [ALPM] upgraded libtirpc (1.3.3-2 -> 1.3.4-1)
[2023-10-13T15:57:56+0200] [ALPM] upgraded curl (8.3.0-1 -> 8.4.0-2)
[2023-10-13T15:57:56+0200] [ALPM] upgraded sqlite (3.43.1-1 -> 3.43.2-1)
[2023-10-13T15:57:56+0200] [ALPM] upgraded archlinux-keyring (20230918-1 -> 20231012-1)
[2023-10-13T15:58:02+0200] [ALPM] upgraded libglvnd (1.6.0-1 -> 1.7.0-1)
[2023-10-13T15:58:02+0200] [ALPM] upgraded libxkbcommon (1.5.0-1 -> 1.6.0-1)
[2023-10-13T15:58:02+0200] [ALPM] upgraded libxkbcommon-x11 (1.5.0-1 -> 1.6.0-1)
[2023-10-13T15:58:02+0200] [ALPM] upgraded qt5-translations (5.15.10-1 -> 5.15.11-1)
[2023-10-13T15:58:02+0200] [ALPM] upgraded hwdata (0.375-1 -> 0.375-2)
[2023-10-13T15:58:02+0200] [ALPM] upgraded qt5-base (5.15.10+kde+r165-1 -> 5.15.11+kde+r136-1)
[2023-10-13T15:58:02+0200] [ALPM] upgraded qca-qt5 (2.3.7-1 -> 2.3.7-2)
[2023-10-13T15:58:03+0200] [ALPM] upgraded qt5-declarative (5.15.10+kde+r31-1 -> 5.15.11+kde+r30-1)
[2023-10-13T15:58:03+0200] [ALPM] upgraded qt5-wayland (5.15.10+kde+r62-1 -> 5.15.11+kde+r59-1)
[2023-10-13T15:58:03+0200] [ALPM] upgraded qt5-x11extras (5.15.10-1 -> 5.15.11-1)
[2023-10-13T15:58:03+0200] [ALPM] upgraded qt5-multimedia (5.15.10+kde+r3-1 -> 5.15.11+kde+r2-1)
[2023-10-13T15:58:03+0200] [ALPM] upgraded qt5-speech (5.15.10+kde+r1-1 -> 5.15.11+kde+r1-1)
[2023-10-13T15:58:03+0200] [ALPM] upgraded tar (1.35-1 -> 1.35-2)
[2023-10-13T15:58:03+0200] [ALPM] upgraded qt5-svg (5.15.10+kde+r8-1 -> 5.15.11+kde+r6-1)
[2023-10-13T15:58:03+0200] [ALPM] upgraded libblockdev (3.0.3-4 -> 3.0.4-1)
[2023-10-13T15:58:03+0200] [ALPM] upgraded ark (23.08.1-1 -> 23.08.2-1)
[2023-10-13T15:58:03+0200] [ALPM] upgraded rav1e (0.6.6-1 -> 0.6.6-3)
[2023-10-13T15:58:03+0200] [ALPM] upgraded x264 (3:0.164.r3095.baee400-4 -> 3:0.164.r3108.31e19f9-1)
[2023-10-13T15:58:03+0200] [ALPM] upgraded ffmpeg (2:6.0-12 -> 2:6.0-13)
[2023-10-13T15:58:03+0200] [ALPM] upgraded baloo-widgets (23.08.1-1 -> 23.08.2-1)
[2023-10-13T15:58:03+0200] [ALPM] upgraded licenses (20230917-1 -> 20231011-1)
[2023-10-13T15:58:03+0200] [ALPM] upgraded base (3-1 -> 3-2)
[2023-10-13T15:58:03+0200] [ALPM] upgraded botan (3.1.1-1 -> 3.2.0-1)
[2023-10-13T15:58:03+0200] [ALPM] upgraded crypto++ (8.8.0-1 -> 8.9.0-1)
[2023-10-13T15:58:03+0200] [ALPM] upgraded desktop-file-utils (0.26-2 -> 0.27-1)
[2023-10-13T15:58:03+0200] [ALPM] upgraded libwbclient (4.19.0-1 -> 4.19.1-1)
[2023-10-13T15:58:03+0200] [ALPM] upgraded smbclient (4.19.0-1 -> 4.19.1-1)
[2023-10-13T15:58:03+0200] [ALPM] upgraded libkexiv2 (23.08.1-1 -> 23.08.2-1)
[2023-10-13T15:58:03+0200] [ALPM] upgraded kio-extras (23.08.1-1 -> 23.08.2-1)
[2023-10-13T15:58:03+0200] [ALPM] upgraded dolphin (23.08.1-1 -> 23.08.2-1)
[2023-10-13T15:58:03+0200] [ALPM] upgraded ffmpeg4.4 (4.4.4-2 -> 4.4.4-3)
[2023-10-13T15:58:03+0200] [ALPM] upgraded ffmpegthumbs (23.08.1-1 -> 23.08.2-1)
[2023-10-13T15:58:03+0200] [ALPM] upgraded libfilezilla (1:0.44.0-1 -> 1:0.45.0-1)
[2023-10-13T15:58:03+0200] [ALPM] upgraded libnotify (0.8.2-1 -> 0.8.3-1)
[2023-10-13T15:58:03+0200] [ALPM] upgraded wxwidgets-common (3.2.2.1-2 -> 3.2.3-1)
[2023-10-13T15:58:03+0200] [ALPM] upgraded gsettings-desktop-schemas (44.0-1 -> 45.0-1)
[2023-10-13T15:58:03+0200] [ALPM] upgraded wxwidgets-gtk3 (3.2.2.1-2 -> 3.2.3-1)
[2023-10-13T15:58:03+0200] [ALPM] upgraded filezilla (3.65.0-1 -> 3.65.0-2)
[2023-10-13T15:58:04+0200] [ALPM] upgraded firefox (118.0.1-1 -> 118.0.2-1)
[2023-10-13T15:58:04+0200] [ALPM] upgraded fmt (10.1.0-1 -> 10.1.1-1)
[2023-10-13T15:58:04+0200] [ALPM] upgraded jbig2dec (0.19-1 -> 0.20-1)
[2023-10-13T15:58:04+0200] [ALPM] upgraded ghostscript (10.02.0-1 -> 10.02.0-2)
[2023-10-13T15:58:04+0200] [ALPM] upgraded grub (2:2.12rc1-4 -> 2:2.12rc1-5)
[2023-10-13T15:58:04+0200] [ALPM] upgraded imagemagick (7.1.1.19-1 -> 7.1.1.20-1)
[2023-10-13T15:58:04+0200] [ALPM] upgraded signon-kwallet-extension (23.08.1-1 -> 23.08.2-1)
[2023-10-13T15:58:04+0200] [ALPM] upgraded qt5-location (5.15.10+kde+r5-1 -> 5.15.11+kde+r4-1)
[2023-10-13T15:58:04+0200] [ALPM] upgraded qt5-webchannel (5.15.10+kde+r3-1 -> 5.15.11+kde+r3-1)
[2023-10-13T15:58:04+0200] [ALPM] upgraded qt5-webengine (5.15.15-1 -> 5.15.15-2)
[2023-10-13T15:58:04+0200] [ALPM] upgraded kaccounts-integration (23.08.1-1 -> 23.08.2-1)
[2023-10-13T15:58:04+0200] [ALPM] upgraded kactivitymanagerd (5.27.8-1 -> 5.27.8-2)
[2023-10-13T15:58:04+0200] [ALPM] upgraded kdegraphics-mobipocket (23.08.1-1 -> 23.08.2-1)
[2023-10-13T15:58:04+0200] [ALPM] upgraded libkdcraw (23.08.1-1 -> 23.08.2-1)
[2023-10-13T15:58:04+0200] [ALPM] upgraded kdegraphics-thumbnailers (23.08.1-1 -> 23.08.2-1)
[2023-10-13T15:58:04+0200] [ALPM] upgraded konsole (23.08.1-1 -> 23.08.2-1)
[2023-10-13T15:58:04+0200] [ALPM] upgraded qt5-graphicaleffects (5.15.10-1 -> 5.15.11-1)
[2023-10-13T15:58:04+0200] [ALPM] upgraded qt5-quickcontrols (5.15.10-1 -> 5.15.11-1)
[2023-10-13T15:58:04+0200] [ALPM] upgraded qt5-quickcontrols2 (5.15.10+kde+r6-1 -> 5.15.11+kde+r5-1)
[2023-10-13T15:58:04+0200] [ALPM] upgraded libpipewire (1:0.3.80-1 -> 1:0.3.81-2)
[2023-10-13T15:58:04+0200] [ALPM] upgraded pipewire (1:0.3.80-1 -> 1:0.3.81-2)
[2023-10-13T15:58:05+0200] [ALPM] upgraded kwin (5.27.8-3 -> 5.27.8-4)
[2023-10-13T15:58:05+0200] [ALPM] upgraded libavif (1.0.1-2 -> 1.0.1-3)
[2023-10-13T15:58:05+0200] [ALPM] upgraded libmupdf (1.23.3-4 -> 1.23.4-3)
[2023-10-13T15:58:05+0200] [ALPM] upgraded linux (6.5.5.arch1-1 -> 6.5.7.arch1-1)
[2023-10-13T15:58:07+0200] [ALPM] upgraded linux-headers (6.5.5.arch1-1 -> 6.5.7.arch1-1)
[2023-10-13T15:58:07+0200] [ALPM] upgraded luajit (2.1.1694285958-1 -> 2.1.1696795921-1)
[2023-10-13T15:58:07+0200] [ALPM] upgraded mpd (0.23.13-3 -> 0.23.14-1)
[2023-10-13T15:58:07+0200] [ALPM] upgraded mupdf (1.23.3-4 -> 1.23.4-3)
[2023-10-13T15:58:07+0200] [ALPM] upgraded python-markdown (3.4.4-1 -> 3.5-1)
[2023-10-13T15:58:07+0200] [ALPM] upgraded picard (2.9.2-1 -> 2.10-1)
[2023-10-13T15:58:07+0200] [ALPM] upgraded pipewire-audio (1:0.3.80-1 -> 1:0.3.81-2)
[2023-10-13T15:58:07+0200] [ALPM] upgraded pipewire-pulse (1:0.3.80-1 -> 1:0.3.81-2)
[2023-10-13T15:58:07+0200] [ALPM] upgraded python-unidecode (1.3.6-2 -> 1.3.7-1)
[2023-10-13T15:58:07+0200] [ALPM] upgraded qpdf (11.6.1-1 -> 11.6.2-1)
[2023-10-13T15:58:07+0200] [ALPM] upgraded qt5-tools (5.15.10+kde+r3-2 -> 5.15.11+kde+r3-1)
[2023-10-13T15:58:07+0200] [ALPM] upgraded qt6-translations (6.5.3-1 -> 6.6.0-1)
[2023-10-13T15:58:08+0200] [ALPM] upgraded qt6-base (6.5.3-1 -> 6.6.0-2)
[2023-10-13T15:58:08+0200] [ALPM] upgraded qt6-declarative (6.5.3-1 -> 6.6.0-1)
[2023-10-13T15:58:08+0200] [ALPM] upgraded qt6-charts (6.5.3-1 -> 6.6.0-1)
[2023-10-13T15:58:08+0200] [ALPM] upgraded samba (4.19.0-1 -> 4.19.1-1)
[2023-10-13T15:58:09+0200] [ALPM] upgraded thunderbird (115.3.1-1 -> 115.3.2-1)
[2023-10-13T15:58:09+0200] [ALPM] upgraded vim-runtime (9.0.1976-1 -> 9.0.2010-1)
[2023-10-13T15:58:09+0200] [ALPM] upgraded vim (9.0.1976-1 -> 9.0.2010-1)
Everything below is when it didnt work anymore and me updating and reinstalling glib2, downgrading to glib2 2.78.0-1 and so on
[2023-10-14T13:43:19+0200] [ALPM] upgraded xkeyboard-config (2.39-1 -> 2.40-1)
[2023-10-14T13:43:19+0200] [ALPM] upgraded libayatana-indicator (0.9.3-1 -> 0.9.4-1)
[2023-10-14T13:43:19+0200] [ALPM] upgraded libayatana-appindicator (0.5.92-2 -> 0.5.93-1)
[2023-10-14T13:43:19+0200] [ALPM] upgraded libnm (1.44.2-1 -> 1.44.2-2)
[2023-10-14T13:43:19+0200] [ALPM] upgraded libnvme (1.6-1 -> 1.6-2)
[2023-10-14T13:43:19+0200] [ALPM] upgraded networkmanager (1.44.2-1 -> 1.44.2-2)
[2023-10-14T13:43:19+0200] [ALPM] upgraded yt-dlp (2023.10.07-1 -> 2023.10.13-1)
[2023-10-14T13:48:51+0200] [ALPM] reinstalled glib2 (2.78.0-3)
[2023-10-14T13:53:09+0200] [ALPM] reinstalled glib2 (2.78.0-3)
[2023-10-14T14:47:46+0200] [ALPM] installed veracrypt (1.25.9-4)
[2023-10-14T14:48:52+0200] [ALPM] installed yasm (1.3.0-6)
[2023-10-14T14:54:20+0200] [ALPM] installed veracrypt (1.25.9-4)
[2023-10-16T08:47:04+0200] [ALPM] upgraded glib2 (2.78.0-1 -> 2.78.0-3)
Last edited by Stux (2023-10-16 12:20:34)
Offline
Please use [code][/code] tags. Edit your post in this regard.
[2023-10-13T15:58:03+0200] [ALPM] upgraded wxwidgets-common (3.2.2.1-2 -> 3.2.3-1)
[2023-10-13T15:58:03+0200] [ALPM] upgraded wxwidgets-gtk3 (3.2.2.1-2 -> 3.2.3-1)
looks at me…
Offline
Please use [code][/code] tags. Edit your post in this regard.
[2023-10-13T15:58:03+0200] [ALPM] upgraded wxwidgets-common (3.2.2.1-2 -> 3.2.3-1) [2023-10-13T15:58:03+0200] [ALPM] upgraded wxwidgets-gtk3 (3.2.2.1-2 -> 3.2.3-1)
looks at me…
Downgrading these two packages worked. Thanks alot!
Offline
Offline
Is the issue still present if you update veracrypt to 1.26.7 https://bugs.archlinux.org/task/80184
Edit:
https://github.com/wxWidgets/wxWidgets/issues/23981
Edit2:
Is this fixed with wxwidgets-gtk3/wxwidgets-common 3.2.4-1 now in extra?
Last edited by loqs (2023-11-11 23:22:44)
Offline
Hi,
not quite the same (using Veracrypt in text mode) but almost:
When I'm building Veracrypt 1.26.7 (GUI version) from source the compiling works fine, but when the linking process starts, I get:
Compiling WizardFrame.cpp
Linking veracrypt
(process:13819): GLib-GObject-CRITICAL **: 11:12:38.764: g_object_get: assertion 'G_IS_OBJECT (object)' failed
free(): invalid pointer
make[1]: *** [Main.make:164: veracrypt] Fehler 1
make: *** [Makefile:520: all] Fehler 2
This happens with wxwidgets-common/-gtk3 3.2.3-1 and 3.2.4-1.
Offline
Seems to be an old issue with wxwidgets, which made it back into the recent versions.
https://github.com/veracrypt/VeraCrypt/ … -538026660
Offline
@Shapiro I can not reproduce the build failure in a clean chroot. Diff of changes I made to the current PKGBUILD is:
diff --git a/PKGBUILD b/PKGBUILD
index 69a053f..9fd815c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,31 +4,28 @@
pkgname=veracrypt
_pkgname=VeraCrypt
-pkgver=1.25.9
-pkgrel=4
+pkgver=1.26.7
+pkgrel=1
pkgdesc='Disk encryption with strong security based on TrueCrypt'
url='https://www.veracrypt.fr/'
arch=('x86_64')
license=('custom:TrueCrypt')
depends=('fuse2>=2.8.0' 'wxwidgets-gtk3>=3.2' 'libsm' 'device-mapper')
optdepends=('sudo: mounting encrypted volumes as nonroot users')
-makedepends=('yasm')
+makedepends=('pcsclite' 'yasm')
source=(https://launchpad.net/veracrypt/trunk/${pkgver}/+download/VeraCrypt_${pkgver}_Source.tar.bz2{,.sig}
no-makeself.patch
- veracrypt.desktop
- wx-3.2-size-warnings.patch)
-sha512sums=('9b11c8d8e85770ae05960fef8fc9639731e4f9caf0cc4e50bc8c9c92b45d44c80eaeff483d3ab048fd6a82cc873a6027820e21abde7ddb92b3c368f85b837cf2'
+ veracrypt.desktop)
+sha512sums=('b541f6e80012099ed83f75ddb68e9454e96953435ed4fccba0cbd26ec7dc05140c4722ef6b37b00d71af1ec992588e374e52b04b30e0844850f7e550a311dec7'
'SKIP'
'40c269859bb97fbcceb443e5f457788bac650271ed118ec79d34f56fc340ad6e613114fe905ec5aba8c4d171c51c9a6865f97e9fa1ba01fa98ef18be4e97bbe1'
- 'f689ca64bac7042030de7714aed8cc89f2c5f87b407444b1b121491c1d89c147babaaa454ddc2a93b70ae20d4da59f96ad64f01b04bea9017d658c377faeb75d'
- '5ff99e8d8569d36ff0e2e3b9fd85f59f5b3de98e3f5cda7ee85a6688a33a10d4527b0fed08e53812b28ea2b42ed88481455b5f1454870e35940b2e49bf59b5b2')
+ 'f689ca64bac7042030de7714aed8cc89f2c5f87b407444b1b121491c1d89c147babaaa454ddc2a93b70ae20d4da59f96ad64f01b04bea9017d658c377faeb75d')
validpgpkeys=('5069A233D55A0EEB174A5FC3821ACD02680D16DE') # VeraCrypt Team <veracrypt@idrix.fr>
prepare() {
cd src
chmod -R u+w . # WAT award
patch -Np1 < "${srcdir}/no-makeself.patch"
- patch -p1 < ../wx-3.2-size-warnings.patch # https://github.com/veracrypt/VeraCrypt/issues/952
}
build() {
diff --git a/wx-3.2-size-warnings.patch b/wx-3.2-size-warnings.patch
deleted file mode 100644
index e5ef368..0000000
--- a/wx-3.2-size-warnings.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/Main/GraphicUserInterface.cpp b/Main/GraphicUserInterface.cpp
-index 7d1cee7..f9db203 100644
---- a/Main/GraphicUserInterface.cpp
-+++ b/Main/GraphicUserInterface.cpp
-@@ -60,6 +60,7 @@ namespace VeraCrypt
- g_customIdCmdA = wxNewId();
- wxApp::s_macHelpMenuTitleName = LangString["MENU_HELP"];
- #endif
-+ wxSizerFlags::DisableConsistencyChecks();
- }
-
- GraphicUserInterface::~GraphicUserInterface ()
Is this you or someone else with the same issue? https://github.com/wxWidgets/wxWidgets/ … 1823224036
Last edited by loqs (2023-11-23 00:21:34)
Offline
Yes, that's me.
Offline
Yes, that's me.
Does building in a clean chroot work for you? What is the output of `pacman -Qs wxwidgets`?
Offline