Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#55522 - gparted terminate called after throwing an instance of 'Glib::ConvertError'
Attached to Project:
Arch Linux
Opened by Sebastien Nicolet (snicolet) - Tuesday, 05 September 2017, 17:50 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 06 September 2017, 18:00 GMT
Opened by Sebastien Nicolet (snicolet) - Tuesday, 05 September 2017, 17:50 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 06 September 2017, 18:00 GMT
|
Detailshi,
i currently got a little issue with gparted: i can't start it anymore, when i do i got: ➜ ~ sudo gparted Created symlink /run/systemd/system/-.mount -> /dev/null. Created symlink /run/systemd/system/boot.mount -> /dev/null. Created symlink /run/systemd/system/home.mount -> /dev/null. Created symlink /run/systemd/system/mnt-freebox.mount -> /dev/null. Created symlink /run/systemd/system/mnt-thorin-downloads.mount -> /dev/null. Created symlink /run/systemd/system/mnt-thorin-torrents.mount -> /dev/null. Created symlink /run/systemd/system/proc-fs-nfsd.mount -> /dev/null. Created symlink /run/systemd/system/run-user-1000.mount -> /dev/null. Created symlink /run/systemd/system/tmp.mount -> /dev/null. Created symlink /run/systemd/system/var-lib-docker-devicemapper.mount -> /dev/null. Created symlink /run/systemd/system/var-lib-docker-plugins.mount -> /dev/null. Created symlink /run/systemd/system/var-lib-machines.mount -> /dev/null. Created symlink /run/systemd/system/var-lib-nfs-rpc_pipefs.mount -> /dev/null. ====================== libparted : 3.2 ====================== terminate called after throwing an instance of 'Glib::ConvertError' /usr/bin/gparted: line 193: 5042 Aborted (core dumped) $BASE_CMD Removed /run/systemd/system/-.mount. Removed /run/systemd/system/boot.mount. Removed /run/systemd/system/home.mount. Removed /run/systemd/system/mnt-freebox.mount. Removed /run/systemd/system/mnt-thorin-downloads.mount. Removed /run/systemd/system/mnt-thorin-torrents.mount. Removed /run/systemd/system/proc-fs-nfsd.mount. Removed /run/systemd/system/run-user-1000.mount. Removed /run/systemd/system/tmp.mount. Removed /run/systemd/system/var-lib-docker-devicemapper.mount. Removed /run/systemd/system/var-lib-docker-plugins.mount. Removed /run/systemd/system/var-lib-machines.mount. Removed /run/systemd/system/var-lib-nfs-rpc_pipefs.mount. so naturaly i did: journalctl -xe and i got: Sep 05 19:43:34 stark systemd-coredump[5053]: Process 5042 (gpartedbin) of user 0 dumped core. Stack trace of thread 5042: #0 0x00007f774ffc38a0 raise (libc.so.6) #1 0x00007f774ffc4f09 abort (libc.so.6) #2 0x00007f7750b55d77 _ZN9__gnu_cxx27__verbose_terminate_handlerEv (libstdc++.so.6) #3 0x00007f7750b538e6 _ZN10__cxxabiv111__terminateEPFvvE (libstdc++.so.6) #4 0x00007f7750b53933 _ZSt9terminatev (libstdc++.so.6) #5 0x00007f7750b53b88 __cxa_throw (libstdc++.so.6) #6 0x00007f7752550647 _ZN4Glib12ConvertError10throw_funcEP7_GError (libglibmm-2.4.so.1) #7 0x00007f77525663b1 _ZN4Glib5Error15throw_exceptionEP7_GError (libglibmm-2.4.so.1) #8 0x00007f7752572b05 _ZN4GliblsERSoRKNS_7ustringE (libglibmm-2.4.so.1) #9 0x00005626652ed331 n/a (gpartedbin) #10 0x000056266531c612 n/a (gpartedbin) #11 0x00005626652ad8b9 n/a (gpartedbin) #12 0x00005626652b3aee n/a (gpartedbin) #13 0x00005626652face0 n/a (gpartedbin) #14 0x000056266526263b n/a (gpartedbin) #15 0x00007f774ffaff6a __libc_start_main (libc.so.6) #16 0x0000562665262c7a n/a (gpartedbin) Stack trace of thread 5044: #0 0x00007f775007acbb __poll (libc.so.6) #1 0x00007f77514f6c09 n/a (libglib-2.0.so.0) #2 0x00007f77514f6d1c g_main_context_iteration (libglib-2.0.so.0) #3 0x00007f77514f6d61 n/a (libglib-2.0.so.0) #4 0x00007f775151dae5 n/a (libglib-2.0.so.0) #5 0x00007f775034d08a start_thread (libpthread.so.0) #6 0x00007f77500851bf __clone (libc.so.6) -- Subject: Process 5042 (gpartedbin) dumped core -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel -- Documentation: man:core(5) -- -- Process 5042 (gpartedbin) crashed and dumped core. my system is up to date and run a kernel 4.12.10-1-ARCH extra/gparted 0.29.0-2 [installed] extra/glibmm 2.52.0-1 [installed] ➜ ~ locale LANG=en_US.UTF-8 LC_CTYPE=fr_FR LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= if course if you need i can provide more informations |
This task depends upon
https://developer.gnome.org/glibmm/stable/classGlib_1_1ConvertError.html
Do you have something wrong with your locale? Variables seem fine, what about locale-gen?
EDIT: Is LC_CTYPE=fr_FR really supposed to be set, and why isn't that UTF-8?
adamaru@stark /tmp> sudo locale-gen
Generating locales...
en_US.UTF-8... done
en_US.ISO-8859-1... done
fr_FR.UTF-8... done
fr_FR.ISO-8859-1...s done
fr_FR.ISO-8859-15@euro... done
Generation complete.
adamaru@stark /tmp> sudo gparted
Created symlink /run/systemd/system/-.mount -> /dev/null.
Created symlink /run/systemd/system/boot.mount -> /dev/null.
Created symlink /run/systemd/system/home.mount -> /dev/null.
Created symlink /run/systemd/system/mnt-freebox.mount -> /dev/null.
Created symlink /run/systemd/system/mnt-thorin-downloads.mount -> /dev/null.
Created symlink /run/systemd/system/mnt-thorin-torrents.mount -> /dev/null.
Created symlink /run/systemd/system/proc-fs-nfsd.mount -> /dev/null.
Created symlink /run/systemd/system/run-user-1000.mount -> /dev/null.
Created symlink /run/systemd/system/tmp.mount -> /dev/null.
Created symlink /run/systemd/system/var-lib-docker-devicemapper.mount -> /dev/null.
Created symlink /run/systemd/system/var-lib-docker-plugins.mount -> /dev/null.
Created symlink /run/systemd/system/var-lib-machines.mount -> /dev/null.
Created symlink /run/systemd/system/var-lib-nfs-rpc_pipefs.mount -> /dev/null.
======================
libparted : 3.2
======================
terminate called after throwing an instance of 'Glib::ConvertError'
/usr/bin/gparted: line 193: 12725 Aborted (core dumped) $BASE_CMD
Removed /run/systemd/system/-.mount.
Removed /run/systemd/system/boot.mount.
Removed /run/systemd/system/home.mount.
Removed /run/systemd/system/mnt-freebox.mount.
Removed /run/systemd/system/mnt-thorin-downloads.mount.
Removed /run/systemd/system/mnt-thorin-torrents.mount.
Removed /run/systemd/system/proc-fs-nfsd.mount.
Removed /run/systemd/system/run-user-1000.mount.
Removed /run/systemd/system/tmp.mount.
Removed /run/systemd/system/var-lib-docker-devicemapper.mount.
Removed /run/systemd/system/var-lib-docker-plugins.mount.
Removed /run/systemd/system/var-lib-machines.mount.
Removed /run/systemd/system/var-lib-nfs-rpc_pipefs.mount.
i also tried to: localectl set-locale LC_CTYPE=fr_FR
before running again gparted, still the same thing
Edit: and why are you using sudo to run a GUI application? That generally causes problems by itself.
my desktop environement is mate, so i don't have a wayland session (mate don't support it)
but when you told me to don't run gparted with sudo i got a idea: run an xfce4 session in root ( yes i know, this is a bad idea for so many reasons that i can't count them all )
and got it work fine
about the LC_CTYPE locale it didn't changed anythink
Or just pkexec /usr/bin/gparted?
the executed binnary file is: /usr/bin/gparted_polkit %f
if i run the binnary directly instead of "gparted" the thing works fine,
i've just test to re-run sudo gparted and now it's working (after 2 months of crashes... i have to admit i totaly don't understand why it works now , i guess we can close this bug )
thanks everyone