Thanks.
A crash inside free() like that where the calling logic appears to be
correct, is most likely due to heap corruption that occurred earlier
(not visible in the stack traces).
To find the source of the corruption you will need to add these to your
/etc/environment first:
G_SLICE=always-malloc
MALLOC_CHECK_=3
Then reproduce the crash and upload a new crash file using 'ubuntu-bug'.
It should/may crash slightly earlier now, in a different place which is
the root cause of the problem.
** Changed in: gnome-shell (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/1727603
Title:
gnome-shell crashed with signal 5 in __GI___libc_free() from g_free()
from g_key_file_parse_key_value_pair()
Status in gnome-shell package in Ubuntu:
Incomplete
Bug description:
****This is a re-submission of a bug 1725932, with required
information as requested****
+++UBUNTU RELEASE+++
Description: Ubuntu 17.10
Release: 17.10
+++PACKAGE VERSION+++
gnome-shell:
Installed: 3.26.1-0ubuntu5
Candidate: 3.26.1-0ubuntu5
Version table:
*** 3.26.1-0ubuntu5 500
500 http://archive.ubuntu.com/ubuntu artful-proposed/main amd64
Packages
100 /var/lib/dpkg/status
3.26.1-0ubuntu4 500
500 http://archive.ubuntu.com/ubuntu artful/main amd64 Packages
First found this bug when I copied some files into /opt/ via root
access nautilus. After clicking on another window, Ubuntu froze.
This happened again and possibly recreated by performing root
operations and navigating around gnome.
--------------------------------------------------------------
How I was able to recreate the crash multiple times:
1. Login
2. Open terminal, run sudo nautilus
--> I get this error :
Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not
connect: Connection refused
(nautilus:4129): Gtk-WARNING **: cannot open display: :0
3. Run su, login and run nautilus
4. Navigate to /opt/<some app folder>
5. Open a file and close it
6. Copy that file to my non root desktop (/home/hiruna/Desktop in my case)
7. Open the file normally from the non root user
--> Immediate freeze
ProblemType: Crash
DistroRelease: Ubuntu 17.10
Package: gnome-shell 3.26.1-0ubuntu5
ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
Uname: Linux 4.13.0-16-generic x86_64
ApportVersion: 2.20.7-0ubuntu3
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Oct 26 00:05:00 2017
DisplayManager: gdm3
ExecutablePath: /usr/bin/gnome-shell
ExecutableTimestamp: 1508395111
InstallationDate: Installed on 2017-05-24 (154 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
ProcCmdline: /usr/bin/gnome-shell
ProcCwd: /home/hiruna
ProcEnviron:
LANGUAGE=en_AU:en
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_AU.UTF-8
SHELL=/bin/bash
Signal: 5
SourcePackage: gnome-shell
StacktraceTop:
__GI___libc_free (mem=0x5576c018b700) at malloc.c:3141
?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
g_key_file_load_from_file () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
Title: gnome-shell crashed with signal 5 in __GI___libc_free()
UpgradeStatus: Upgraded to artful on 2017-10-19 (5 days ago)
UserGroups: adm cdrom dialout dip input lpadmin plugdev sambashare sudo video
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1727603/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp