Segmentation fault (core dumped) - linux kernel problem

7,844

The problem is in linux kernel - linux-image-3.13.0-121-generic (in Trusty) and linux-image-4.4.0-81-generic (in Xenial) contains a fix for the Stack Clash vulnerability.

Be careful with kernel updates, which fix this vulnerability. Current patch breaks many java (sun/oracle and openjdk) applications. See Bug #1699772: linux-image-4.4.0-81-generic, linux-image-3.13.0-121-generic Regression: many user-space apps crashing. The solution is to temporary reboot system with old kernel (linux-image-3.13.0-119-generic in Trusty / linux-image-4.4.0-79-generic in Xenial).

Ubuntu kernel developers will prepare new patch in a few days.

UPDATE: Latest updates (at least image-4.4.0-83-generic, linux-image-4.8.0-58-generic, linux-image-4.10.0-26-generic) fix this vulnerability and problems with user-space programs.

Share:
7,844

Related videos on Youtube

zwornik
Author by

zwornik

Updated on September 18, 2022

Comments

  • zwornik
    zwornik over 1 year

    Can someone help me to fix issue with "Segmentation fault (core dumped)" on Ubuntu 16.04. Whatever program I am trying to install (e.g. Aptana Studio 3; liclipse_4.0.0) I get this error when running executable file:

    Segmentation fault (core dumped)

    I've read about this error on Internet and answers says that "A segmentation fault is almost always due to a bug in the program where it occurs". I found it most unlikely that all programs I am trying to install have a bug. It must be something wrong with my system.

    • steeldriver
      steeldriver almost 7 years
      Can you give us an example of a program you are trying to install, and how you are doing it?
    • Panther
      Panther almost 7 years
      It is a bug, but you need to tell us what you did or what program you are doing to get that error. See stackoverflow.com/questions/2346806/… or similar.
    • zwornik
      zwornik almost 7 years
      I've tired to install: Aptana Studio 3. liclipse_4.0.0. On both I got the same error when trying to run executable file.
    • zwornik
      zwornik almost 7 years
      Each time when I reboot I got this error messages popping out: "System program problem detected". 3 windows with this message pops out. Looks like its one window per program that I've installed, and which is not able to start up. Moreover I am loosing Internet connection from time to time without any reason. I thought it is Internet provider's fault, but I am able to re-connect when I reboot. Also other person using the same router in my flat does not have network issues at the time I loose connection. Seems like my system is messed up.
    • David Foerster
      David Foerster almost 7 years
  • zwornik
    zwornik almost 7 years
    How do I install "linux-image-3.13.0-121-generic"? On: launchpad.net/ubuntu/+source/linux/3.13.0-121.170 I see 3 files: "linux_3.13.0.orig.tar.gz", "linux_3.13.0-121.170.diff.gz", "linux_3.13.0-121.170.dsc". Which one should I install? My current kernel version is: "4.4.0-81-generic #104-Ubuntu SMP Wed Jun 14 08:15:00 UTC 2017 i686 i686 i686 GNU/Linux".
  • zwornik
    zwornik almost 7 years
    Description: Ubuntu 16.04.2 LTS Release: 16.04 Codename: xenial
  • N0rbert
    N0rbert almost 7 years
    On 16.04 you should try sudo apt-get purge linux-image-4.4.0-81-generic linux-image-extra-4.4.0-81-generic and sudo apt-get install linux-image-4.4.0-79-generic linux-image-extra-4.4.0-79-generic. Then reboot with 79 kernel.
  • zwornik
    zwornik almost 7 years
    I did as advised. Rebooted and now I am able to lunch all applications previously unavailable. Many thanks for help. I was about to re-install system but saw you answer - just on time :) Pity I cannot vote for your answer.
  • N0rbert
    N0rbert almost 7 years
    @zwornik. Nice to hear! Do not forget to install linux-image-generic after some weeks. But if you are using home PC you can stay on 79 kernel as long as you want. It's very unlikely, that your PC may be hacked.
  • terdon
    terdon almost 7 years
    @zwornik If this answer solved your issue, please take a moment and accept it by clicking on the check mark to the left. That will mark the question as answered and is the way thanks are expressed on the Stack Exchange sites.
  • zwornik
    zwornik almost 7 years
    @terdon Done. Thanks for remark. I did not know about this option. I've tried to vote for this answer but I am not allowed.
  • terdon
    terdon almost 7 years
    @zwornik yeah, voting is a little strange. You need to have participated a little before you can vote (the idea is that we want votes from people using the site not random passers by). It only takes 15 reputation points (so 3 upvotes ona question or 1.5 on an answer) though, son it isn't too hard. Welcome to the site!
  • N0rbert
    N0rbert almost 7 years
    Latest updates (at least image-4.4.0-83-generic, linux-image-4.8.0-58-generic, linux-image-4.10.0-26-generic) fix this vulnerability and problems with user-space programs. You can install latest kernel with sudo apt-get install linux-image-generic linux-headers-generic linux-tools-generic.