cinnamon-sessio: segfault at <addr> ip <addr> sp <addr> error 6 in libpcre.so.3.13.3[<addr>+70000]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pcre3 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When trying to start cinnamon-session, gnome-session or mate-session
got the following error in dmesg and system comes back to login screen.
Feb 25 12:21:57 vdc008es kernel: [ 4152.156085] mate-session[9280]: segfault at 7ffec6653f50 ip 00007fcc7192f544 sp 00007ffec6653f40 error 6 in libpcre.
Feb 25 12:28:32 vdc008es kernel: [ 4547.063501] mate-session[
Feb 25 12:32:59 vdc008es kernel: [ 4814.736465] gnome-session-
Feb 25 12:34:09 vdc008es kernel: [ 4884.530854] gnome-session-
Feb 25 12:46:24 vdc008es kernel: [ 5619.711529] cinnamon-
Feb 25 12:47:19 vdc008es kernel: [ 5674.763774] cinnamon-
Feb 27 08:53:45 vdc008es kernel: [ 797.603382] cinnamon-
Feb 27 08:54:51 vdc008es kernel: [ 863.390698] cinnamon-
Feb 27 09:12:57 vdc008es kernel: [ 1949.158835] cinnamon-
Feb 28 08:28:39 vdc008es kernel: [ 200.816875] cinnamon-
Do not know if it is a configuration issue or something else.
Tried removing any configuration file related to X in user home with no luck at all:
rm -fRv .aptitude .aws .cache .config createLinks.sh .dbeaver-drivers .dbus .dmrc .emma .esd_auth .gconf .gimp-2.8 .gnome .gnome2 .gnome2_private .gnupg .gstreamer-
Trying too with night build of cinnamon. Still the same.
$ apt-cache policy cinnamon
cinnamon:
Installed: 3.8.8-201807290
Candidate: 3.8.8-201807290
Version table:
*** 3.8.8-201807290
99 http://
100 /var/lib/
$ lsb_release -rd
Description: Ubuntu 18.04.2 LTS
Release: 18.04
$ apt-cache policy libpcre3
libpcre3:
Installed: 2:8.39-9
Candidate: 2:8.39-9
Version table:
*** 2:8.39-9 600
Thanks in advance for your help.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: libpcre3 2:8.39-9
ProcVersionSign
Uname: Linux 4.18.0-13-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.1
Architecture: amd64
CurrentDesktop: XFCE
Date: Thu Feb 28 08:30:13 2019
Dependencies:
gcc-8-base 8.2.0-1ubuntu2~
libc6 2.27-3ubuntu1
libgcc1 1:8.2.0-
InstallationDate: Installed on 2017-05-22 (647 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
SourcePackage: pcre3
UpgradeStatus: Upgraded to bionic on 2018-12-27 (62 days ago)
The bug is documented in bugzilla:
https:/ /bugzilla. redhat. com/show_ bug.cgi? id=1430103
I copy from there:
| I found that a very long CLASSPATH environment variable seemed to trigger the segfault. My guess is that a recent change in libpcre has made libpcre crash, if some environment value is too large.
| ...
| I removed a bunch of java packages on my system, and that seemed to bring down my automatically generated CLASSPATH to a length which no longer puts pcre in a bad mood.
| Still, if I'm right about the above assumptions, then I believe there's a bug in PCRE -- probably introduced in v. 8.40.