You are not logged in.

#1 2023-04-29 13:21:17

eddie230
Member
Registered: 2023-04-29
Posts: 9

[SOLVED] Applications closing regularly

Hi there,

Apologies if this is a dumb question. I love Arch as a distro but my skills in some things related to it are not as strong as many of you guys.

I'm regularly having applications which close down. Typically Firefox will just exit and also CLion is a repeat offender. Other applications have also been known to crash.

Running CLion from the terminal outputs the message at the bottom of this comment when it fails. What is the best thing for me to do to determine what exactly is causing the applications to die, or am I just missing something obvious?

It has happened for a while now and all software on my system is kept up to date.

Thanks



# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fd8ef3ec453, pid=12508, tid=12605
#
# JRE version: OpenJDK Runtime Environment (20.0.1+9) (build 20.0.1+9)
# Java VM: OpenJDK 64-Bit Server VM (20.0.1+9, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x7ec453]
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h" (or dumping to /home/Rose/core.12508)
#
# An error report file with more information is saved as:
# /home/Rose/java_error_in_clion_12508.log
#
# If you would like to submit a bug report, please visit:
#   [url]https://bugreport.java.com/bugreport/crash.jsp[/url]
#
Aborted (core dumped)

Last edited by eddie230 (2023-04-30 09:27:16)

Offline

#2 2023-04-29 14:15:51

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,337

Offline

#3 2023-04-29 14:56:31

eddie230
Member
Registered: 2023-04-29
Posts: 9

Re: [SOLVED] Applications closing regularly

Thanks Seth, and thanks for your links for how to upload text (apologies if I followed it wrong or I've done something done like set it to private - just let me know). The output for one of the coredumpctl's info is here. I've put the top 20 lines or so below for convenience. Is there something which stands out as being the issue to you or should I keep digging?

           PID: 22063 (Isolated Web Co)
           UID: 1000 (Rose)
           GID: 1000 (Rose)
        Signal: 11 (SEGV)
     Timestamp: Sat 2023-04-29 11:50:41 BST (3h 39min ago)
  Command Line: /usr/lib/firefox/firefox -contentproc -childID 17 -isForBrowser -prefsLen 29124 -prefMapSize 232198 -jsInitLen 240056 -parentBuildID 20230427150304 -appDir /usr/lib/firefox/browser {49f33b95-e9ac-4827-b00f-53e219b87f8e} 21198 true tab
    Executable: /usr/lib/firefox/firefox
 Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-firefox-42798c958ed7410398ec9197c9c765ff.scope
          Unit: user@1000.service
     User Unit: app-firefox-42798c958ed7410398ec9197c9c765ff.scope
         Slice: user-1000.slice
     Owner UID: 1000 (Rose)
       Boot ID: 803dd506442040009ab279f890493f96
    Machine ID: 5eeb28427e7c4815a4ddefa0d02fef97
      Hostname: Rose
       Storage: /var/lib/systemd/coredump/core.Isolated\x20Web\x20Co.1000.803dd506442040009ab279f890493f96.22063.1682765441000000.zst (present)
  Size on Disk: 13.9M
       Message: Process 22063 (Isolated Web Co) of user 1000 dumped core.
                
                Module libintlc.so.5 without build-id.
                Module libimf.so without build-id.
                Module libsvml.so without build-id.
                Module libOpenCL.so.1 without build-id.
                Stack trace of thread 22063:

Last edited by eddie230 (2023-04-29 15:03:30)

Offline

#4 2023-04-29 15:01:02

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,337

Re: [SOLVED] Applications closing regularly

Please use [code][/code] tags.
Edit your post in this regard.

What's the output of

pacman -Qs intel-oneapi

Though mozilla crashes somewhere deep in XUL (mozilla/firefox library)

Offline

#5 2023-04-29 15:02:05

eddie230
Member
Registered: 2023-04-29
Posts: 9

Re: [SOLVED] Applications closing regularly

local/intel-oneapi-common 2023.0.0-3
    Intel's oneAPI common variables and licensing
local/intel-oneapi-compiler-dpcpp-cpp-runtime 2023.0.0-5
    Intel oneAPI Data Parallel C++ compiler: Full runtime libraries and header files
local/intel-oneapi-compiler-dpcpp-cpp-runtime-libs 2023.0.0-5
    Intel oneAPI Data Parallel C++ compiler: Minimal runtime libraries
local/intel-oneapi-compiler-shared-opencl-cpu 2023.0.0-7
    Intel oneAPI compiler runtime libraries: OpenCL CPU runtime
local/intel-oneapi-compiler-shared-runtime 2023.0.0-7
    Intel oneAPI compiler runtime libraries: Shared runtime without OpenCL
local/intel-oneapi-compiler-shared-runtime-libs 2023.0.0-7
    Intel oneAPI compiler runtime libraries: Minimal compiler libraries
local/intel-oneapi-openmp 2023.0.0-1
    Intel oneAPI OpenMP runtime library
local/intel-oneapi-tbb 2021.8.0-1
    Intel oneAPI Threading Building Blocks

Last edited by eddie230 (2023-04-29 15:03:13)

Offline

#6 2023-04-29 15:04:51

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,337

Re: [SOLVED] Applications closing regularly

pacman -Qi intel-oneapi-common

If you don't need that, remove the oneapi packages - but that's speculative.
Ideally post a backtrace from clion as well.

Last edited by seth (2023-04-29 15:05:04)

Offline

#7 2023-04-29 15:09:01

eddie230
Member
Registered: 2023-04-29
Posts: 9

Re: [SOLVED] Applications closing regularly

Apologies, code tags should now be sorted. I'll try to remember in future.

For CLion: this is the coredumpctl info output


The output of pacman -Qi intel-oneapi-common is:

Name            : intel-oneapi-common
Version         : 2023.0.0-3
Description     : Intel's oneAPI common variables and licensing
Architecture    : any
URL             : https://software.intel.com/content/www/us/en/develop/tools/oneapi.html
Licenses        : custom
Groups          : None
Provides        : None
Depends On      : sh
Optional Deps   : procps-ng: Sourcing /opt/intel/oneapi/setvars.sh [installed]
Required By     : intel-oneapi-compiler-dpcpp-cpp-runtime  intel-oneapi-compiler-dpcpp-cpp-runtime-libs  intel-oneapi-compiler-shared-runtime  intel-oneapi-compiler-shared-runtime-libs  intel-oneapi-openmp  intel-oneapi-tbb
Optional For    : None
Conflicts With  : intel-oneapi-basekit
Replaces        : None
Installed Size  : 140.49 KiB
Packager        : Konstantin Gizdov <arch@kge.pw>
Build Date      : Sat 18 Feb 2023 18:36:57 GMT
Install Date    : Fri 10 Mar 2023 17:29:08 GMT
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

Last edited by eddie230 (2023-04-29 15:11:38)

Offline

#8 2023-04-29 15:17:00

eddie230
Member
Registered: 2023-04-29
Posts: 9

Re: [SOLVED] Applications closing regularly

I'll remove the intel-oneapi packages and see if this has any affect for the time being. Thanks Seth, I'll let you know if it solves it

(my mistake, intel-oneapi-compiler-dpcpp-cpp-runtime-libs is required by blender so I can't uninstall - I'll keep investigating).

Last edited by eddie230 (2023-04-29 15:19:34)

Offline

#9 2023-04-29 15:20:09

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,337

Re: [SOLVED] Applications closing regularly

clion aborts in libjvm, that doesn't look particularly related to the FF segfault, so don't expect that to take any impact from whatever you do w/ oneapi hmm

Edit: if you look down the coredump list, are there random other processes or do just those two crash frequently?

pacman -Qs firefox

Last edited by seth (2023-04-29 15:21:42)

Offline

#10 2023-04-29 15:27:57

eddie230
Member
Registered: 2023-04-29
Posts: 9

Re: [SOLVED] Applications closing regularly

local/firefox 112.0.2-2
    Standalone web browser from mozilla.org

There full coredump list is about 1368 lines long, but they are mostly just repeats of the following (brave refers to the brave browser - for avoiding youtube ads of course), other than a few referring to baloo_file_extractor

Sat 2023-04-29 11:47:15 BST    662 1000 1000 SIGSEGV present  /usr/bin/plasmashell                                           22.2M
Sat 2023-04-29 11:47:45 BST  21040 1000 1000 SIGSEGV present  /usr/bin/plasmashell                                           17.4M
Sat 2023-04-29 11:50:09 BST  21695 1000 1000 SIGSEGV present  /usr/lib/firefox/firefox                                        5.9M
Sat 2023-04-29 11:50:34 BST  21814 1000 1000 SIGSEGV present  /usr/lib/firefox/firefox                                       13.7M
Sat 2023-04-29 11:50:38 BST  21914 1000 1000 SIGSEGV present  /usr/lib/firefox/firefox                                       15.8M
Sat 2023-04-29 11:50:42 BST  22063 1000 1000 SIGSEGV present  /usr/lib/firefox/firefox                                       13.9M
Sat 2023-04-29 12:43:01 BST  23523 1000 1000 SIGSEGV present  /opt/brave-bin/brave                                          157.2M
Sat 2023-04-29 12:43:07 BST  24160 1000 1000 SIGILL  present  /opt/brave-bin/brave                                           16.3M
Sat 2023-04-29 12:48:55 BST  24315 1000 1000 SIGABRT present  /usr/lib/jvm/java-20-openjdk/bin/java                         725.6M
Sat 2023-04-29 12:51:08 BST  24724 1000 1000 SIGABRT present  /usr/lib/jvm/java-20-openjdk/bin/java                         398.7M
Sat 2023-04-29 12:51:20 BST  24906 1000 1000 SIGSEGV present  /opt/brave-bin/brave                                           42.2M
Sat 2023-04-29 12:51:24 BST  25200 1000 1000 SIGSEGV present  /opt/brave-bin/brave                                           12.5M
Sat 2023-04-29 12:58:06 BST  26208 1000 1000 SIGABRT present  /usr/lib/jvm/java-20-openjdk/bin/java                         451.8M
Sat 2023-04-29 13:37:32 BST   1496 1000 1000 SIGSEGV present  /opt/clion/bin/clang/linux/x64/clangd                         356.7M
Sat 2023-04-29 14:04:33 BST   1294 1000 1000 SIGABRT present  /usr/lib/jvm/java-20-openjdk/bin/java                         891.5M
Sat 2023-04-29 14:08:23 BST  12508 1000 1000 SIGABRT present  /usr/lib/jvm/java-20-openjdk/bin/java                         783.7M

Offline

#11 2023-04-29 15:31:43

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,337

Re: [SOLVED] Applications closing regularly

That's a lot of crashes… what does a plasmashell coredump look like?

Offline

#12 2023-04-29 15:37:04

eddie230
Member
Registered: 2023-04-29
Posts: 9

Re: [SOLVED] Applications closing regularly

Plasmashell core dump looks like this

And yep, it's happened a lot recently. I'm fighting the urge to switch operating systems to see if that helps. If it happens on another OS I guess it would narrow it down to being a hardware issue though which would be a good thing.

Offline

#13 2023-04-29 15:42:34

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,337

Re: [SOLVED] Applications closing regularly

Plasma segfaults in some timed callback.
Things are really all over the place => run memtest86+ (for several cycles, at the very least over night)

Offline

#14 2023-04-29 15:44:09

eddie230
Member
Registered: 2023-04-29
Posts: 9

Re: [SOLVED] Applications closing regularly

Thanks Seth, all your help is massively appreciated. I'll run it overnight tonight and see where things are tomorrow.

Offline

#15 2023-04-30 09:20:07

eddie230
Member
Registered: 2023-04-29
Posts: 9

Re: [SOLVED] Applications closing regularly

Hi Seth, thanks for all your help in analysing the cause (and also improving my forum-posting abilities). Memtest86+ showed thousands of errors. So I guess my hardware is in a bad state - I have just ordered a new CPU to hopefully fix the issue (mine was a bit old anyway). I'm happy to consider this post solved.


Thanks again, the help people like you provide on forums like this is next level.

Last edited by eddie230 (2023-04-30 09:26:33)

Offline

#16 2023-04-30 10:19:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,337

Re: [SOLVED] Applications closing regularly

memtest86 tests the RAM, not the CPU.
I'd start by configuring more conservative timings in the BIOS - notably if you combined different DIMMs.

Feel free to post the output of dmidecode.

Offline

Board footer

Powered by FluxBB