cinnamon-sessio: segfault at <addr> ip <addr> sp <addr> error 6 in libpcre.so.3.13.3[<addr>+70000]

Bug #1818027 reported by VPC
16
This bug affects 3 people
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.so.3.13.3[7fcc7191c000+52000]
Feb 25 12:28:32 vdc008es kernel: [ 4547.063501] mate-session[11708]: segfault at 7ffdb99adfd0 ip 00007f3be4ce7544 sp 00007ffdb99adfc0 error 6 in libpcre.so.3.13.3[7f3be4cd4000+52000]
Feb 25 12:32:59 vdc008es kernel: [ 4814.736465] gnome-session-b[14886]: segfault at 7fff0955dfc0 ip 00007f0c2edb1544 sp 00007fff0955dfb0 error 6 in libpcre.so.3.13.3[7f0c2ed9e000+52000]
Feb 25 12:34:09 vdc008es kernel: [ 4884.530854] gnome-session-b[15428]: segfault at 7ffdda078f00 ip 00007ff8ebe52544 sp 00007ffdda078ef0 error 6 in libpcre.so.3.13.3[7ff8ebe3f000+52000]
Feb 25 12:46:24 vdc008es kernel: [ 5619.711529] cinnamon-sessio[16509]: segfault at 7ffd76354f50 ip 00007f95fd51a5b4 sp 00007ffd76354f40 error 6 in libpcre.so.3.13.3[7f95fd507000+52000]
Feb 25 12:47:19 vdc008es kernel: [ 5674.763774] cinnamon-sessio[16710]: segfault at 7ffc71db3f00 ip 00007f2b564625b4 sp 00007ffc71db3ef0 error 6 in libpcre.so.3.13.3[7f2b5644f000+52000]

Feb 27 08:53:45 vdc008es kernel: [ 797.603382] cinnamon-sessio[8717]: segfault at 7fffdce58f10 ip 00007ff112ea8a6a sp 00007fffdce58f00 error 6 in libpcre.so.3.13.3[7ff112e90000+70000]
Feb 27 08:54:51 vdc008es kernel: [ 863.390698] cinnamon-sessio[8916]: segfault at 7fff6482ded0 ip 00007fdd97659a6a sp 00007fff6482dec0 error 6 in libpcre.so.3.13.3[7fdd97641000+70000]
Feb 27 09:12:57 vdc008es kernel: [ 1949.158835] cinnamon-sessio[10260]: segfault at 7fff709d4f10 ip 00007f358d697a6a sp 00007fff709d4f00 error 6 in libpcre.so.3.13.3[7f358d67f000+70000]
Feb 28 08:28:39 vdc008es kernel: [ 200.816875] cinnamon-sessio[4996]: segfault at 7fff3d476e90 ip 00007f053ae23a6a sp 00007fff3d476e80 error 6 in libpcre.so.3.13.3[7f053ae0b000+70000]

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-0.10.history .ICEauthority .icons .install4j .java .jedit .jmc .jprofiler10 .kde .lesshst .local .mozilla .mplayer .mysql .nbi .p2 .pki.recently-used .rnd rpmbuild .rpmdb .sdbg .selected_editor .sonar .sonarlint .subversion.backup_20181228-1207 .sudo_as_admin_successful .swt .themes .thumbnails .thunderbird .tooling .tora.tse .unison .vim .viminfo VirtualBox\ VMs/ .visualvm .vscode .vscode-insiders .wget-hsts .Xauthority .xscreensaver .xsession-errors .xsession-errors.old client64/ .gstreamer-0.10/ .pki/ .recently-used

Trying too with night build of cinnamon. Still the same.

$ apt-cache policy cinnamon
cinnamon:
  Installed: 3.8.8-20180729040943-bionic
  Candidate: 3.8.8-20180729040943-bionic
  Version table:
 *** 3.8.8-20180729040943-bionic 100
         99 http://ppa.launchpad.net/gwendal-lebihan-dev/cinnamon-nightly/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status

$ 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
ProcVersionSignature: Ubuntu 4.18.0-13.14~18.04.1-generic 4.18.17
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~18.04
 libc6 2.27-3ubuntu1
 libgcc1 1:8.2.0-1ubuntu2~18.04
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)

Revision history for this message
VPC (victorpablosceruelo) wrote :
Revision history for this message
VPC (victorpablosceruelo) wrote :

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.

Revision history for this message
Jastria Rahmat (ijash) wrote :

hi, i am having this too. just recently

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pcre3 (Ubuntu):
status: New → Confirmed
Revision history for this message
Jastria Rahmat (ijash) wrote :

in my case, it was caused by very long line of .profile in home directory. i solved it by renew it or deleting the .profile

Revision history for this message
Marcu (marcu-knoesen) wrote :

Just confirming that this is still an issue in Ubuntu 20.10 groovy.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.