Choose style:

Author Topic: Applications randomly crashing  (Read 928 times)

0 Members and 1 Guest are viewing this topic.

Offline grafiksinc

  • Member
  • ***
  • Posts: 269
  • Karma: 26
    • View Profile
  • Peppermint version(s): --Debian--
Applications randomly crashing
« on: February 14, 2018, 08:47:03 am »
Hey forum,

So this started on Monday. I would be using an application, Palemoon, Chromium, or Libre Writer, VLC Clementine etc...
Basically any application, and at any given time they all randomly crash. >:(

Now I remember last week I did uname - r and My Kernel version was 4.4.0-109 on this machine.
I usually just install all updates. Not really thinking too much about it

And after the crashes started I did uname -r today and my Kernel version is 4.4.0-112-Generic
I have not done any major changes to the system as of late,  and this is the only thing I can think of that has changed.

I first I thought it was application specific, but I am sure it's not since everything just randomly closes while using it.
Let me say this, it is only applications that are crashing. The file manager/s never crash or anything they work fine.

And so far this is only happening on just one of my Peppermint Machines.

In all I have 4 Peppermint machines and they all have  4.4.0-112-Generic
three are running P7 and the problem machine has running P7 since last Jan 2017.

This is what screen fetch gives me on the problem machine for the specs if it helps.
 
  ComputerName@PepperBlack
  OS: Peppermint 7 null
   Kernel: x86_64 Linux 4.4.0-112-generic
   Uptime: 5h 9m
   Packages: 2454
   Shell: bash 4.3.48
   Resolution: 2560x1024
   DE: LXDE
   WM: Xfwm4
   WM Theme: Peppermix-Light-7-Red
   CPU: AMD A10-7860K Radeon R7, 12 Compute Cores 4C+8G @ 3.6GHz
   GPU: AMD KAVERI (DRM 2.43.0 / 4.4.0-112-generic, LLVM 5.0.0)
   RAM: 3068MiB / 10944MiB
 
So, I was wondering if  you guys have any ideas,  :-\
I been sifting through the logs but nothing is really standing out to me.

Thanks in advance for any help



Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1149
  • Karma: 83
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: Applications randomly crashing
« Reply #1 on: February 14, 2018, 08:55:47 am »
Hi grafiksinc, any idea what the temps were running at the time? Just a thought.
What was I thinking?

Offline emegra

  • Administrator
  • Veteran
  • *****
  • Posts: 1946
  • Karma: 446
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 10 64bit
Re: Applications randomly crashing
« Reply #2 on: February 14, 2018, 09:10:32 am »
Hi grafiksinc

Have you tried booting into an earlier kernel such as 4.4.0-109 and see if that solves the problem




Graeme
If you can keep your head while all around are losing theirs then you're not quite grasping the situation

Offline grafiksinc

  • Member
  • ***
  • Posts: 269
  • Karma: 26
    • View Profile
  • Peppermint version(s): --Debian--
Re: Applications randomly crashing
« Reply #3 on: February 14, 2018, 09:33:08 am »
@alynur - I did not notice - but I will keep an eye on that. - Thanks!

@emegra - to be honest I have never switched kernels before like that. - I was a bit hesitant - is that as simple as picking it from the grub menu?
 

Offline emegra

  • Administrator
  • Veteran
  • *****
  • Posts: 1946
  • Karma: 446
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 10 64bit
Re: Applications randomly crashing
« Reply #4 on: February 14, 2018, 09:45:35 am »
To boot into an earlier kernel when you reach the GRUB menu arrow down & click Advanced Options you will then see a list of kernels, select the kernel you want then press enter to continue booting into the selected kernel

It's that simple


Good luck



Graeme
If you can keep your head while all around are losing theirs then you're not quite grasping the situation

Offline Slim.Fatz

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1992
  • Karma: 525
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: Applications randomly crashing
« Reply #5 on: February 14, 2018, 10:05:34 am »
Hi grafiksinc,

More information to help us is provided by the output to this terminal command:

Code: [Select]
inxi -Fz
Regards,

-- Slim
"Life first -- Peppermint a close 2nd!" -- Zeb

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Applications randomly crashing
« Reply #6 on: February 14, 2018, 11:19:22 am »
Have you tried booting back into the 4.4.0-109 kernel to see if the crashes stop ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline VinDSL

  • Administrator
  • Hero
  • *****
  • Posts: 5597
  • Karma: 1012
  • Peppermint Mod
    • View Profile
  • Peppermint version(s): Developmental Builds
Re: Applications randomly crashing
« Reply #7 on: February 14, 2018, 06:21:26 pm »
So, I was wondering if  you guys have any ideas,  :-\
I been sifting through the logs but nothing is really standing out to me.

Probably won't help, but it won't hurt either ...

The only problem I've had lately is with 'chromium-codecs-ffmpeg-extra'.

After a recent upgrade, it was so bad that I had to downgrade to the previous version and pin it:

Spoiler (click here to view / hide)
Commit Log for Sat Jan 27 13:36:48 2018

Downgraded the following packages:
chromium-codecs-ffmpeg-extra
[close]

A week later, I upgraded it again, with the same results.

I tried again last week, and everything was magically working again.

I didn't have time to do forensics, but that package was definitely the 'bad boy on this machine.  ;)

EDIT

BTW, here's the current ver I'm (successfully) running:

Spoiler (click here to view / hide)
╭─vindsl@Boogaloo-5 ~ 
╰─➤  sudo apt-cache policy chromium-codecs-ffmpeg-extra
chromium-codecs-ffmpeg-extra:
  Installed: 64.0.3282.140-0ubuntu0.16.04.1
  Candidate: 64.0.3282.140-0ubuntu0.16.04.1
  Version table:
 *** 64.0.3282.140-0ubuntu0.16.04.1 700
        500 http://mirrors.namecheap.com/ubuntu xenial-updates/universe amd64 Packages
        500 http://mirrors.namecheap.com/ubuntu xenial-security/universe amd64 Packages
        700 http://ppa.launchpad.net/canonical-chromium-builds/stage/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status
     49.0.2623.108-0ubuntu1.1233 500
        500 http://mirrors.namecheap.com/ubuntu xenial/universe amd64 Packages
[close]
« Last Edit: February 14, 2018, 06:28:41 pm by VinDSL, Reason: Addendum »

Offline VinDSL

  • Administrator
  • Hero
  • *****
  • Posts: 5597
  • Karma: 1012
  • Peppermint Mod
    • View Profile
  • Peppermint version(s): Developmental Builds
Re: Applications randomly crashing
« Reply #8 on: February 15, 2018, 06:13:07 am »
Speak of the devil - another upgrade just rolled in from staging ...  ::)

Spoiler (click here to view / hide)
╭─vindsl@Boogaloo-5 ~ 
╰─➤  sudo apt-cache policy chromium-codecs-ffmpeg-extra
chromium-codecs-ffmpeg-extra:
  Installed: 64.0.3282.167-0ubuntu0.16.04.1
  Candidate: 64.0.3282.167-0ubuntu0.16.04.1
  Version table:
 *** 64.0.3282.167-0ubuntu0.16.04.1 700
        700 http://ppa.launchpad.net/canonical-chromium-builds/stage/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status
     64.0.3282.140-0ubuntu0.16.04.1 500
        500 http://mirrors.namecheap.com/ubuntu xenial-updates/universe amd64 Packages
        500 http://mirrors.namecheap.com/ubuntu xenial-security/universe amd64 Packages
     49.0.2623.108-0ubuntu1.1233 500
        500 http://mirrors.namecheap.com/ubuntu xenial/universe amd64 Packages
╭─vindsl@Boogaloo-5 ~ 
╰─➤
[close]


Offline grafiksinc

  • Member
  • ***
  • Posts: 269
  • Karma: 26
    • View Profile
  • Peppermint version(s): --Debian--
Re: Applications randomly crashing
« Reply #9 on: February 15, 2018, 07:12:46 am »
Thanks! for the ideas/tips

Alright, here are the steps I took.
First Step:
After work I cam home, and  I installed Psensor  to see  what the temps were. I started to use the computer and after a few minutes things started crashing as usual.  Here is the screen of the temp while all this was going on. At this time I was still running Kernel - 4.4.0-112

Spoiler (click here to view / hide)

[close]
Computer info here as requested
Spoiler (click here to view / hide)
System:    Host: PepperBlack Kernel: 4.4.0-112-generic x86_64 (64 bit)
           Desktop: N/A Distro: Peppermint Seven
Machine:   Mobo: ASUSTeK model: A88XM-A/USB 3.1 v: Rev X.0x
           Bios: American Megatrends v: 0309 date: 03/04/2016
CPU:       Quad core AMD A10-7860K Radeon R7 12 Compute Cores 4C+8G (-MCP-) cache: 8192 KB
           clock speeds: max: 3600 MHz 1: 3600 MHz 2: 3600 MHz 3: 1900 MHz
           4: 3000 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Kaveri [Radeon R7 Graphics]
           Display Server: X.Org 1.18.4 drivers: ati,radeon (unloaded: fbdev,vesa)
           Resolution: 1280x1024@60.02hz, 1280x1024@60.02hz
           GLX Renderer: AMD KAVERI (DRM 2.43.0 / 4.4.0-112-generic, LLVM 5.0.0)
           GLX Version: 3.0 Mesa 17.2.8
Audio:     Card-1 Advanced Micro Devices [AMD] FCH Azalia Controller
           driver: snd_hda_intel
           Card-2 Advanced Micro Devices [AMD/ATI] Kaveri HDMI/DP Audio Controller
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.4.0-112-generic
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169
           IF: enp4s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 2500.5GB (4.7% used)
           ID-1: /dev/sda model: ST500DM002 size: 500.1GB
           ID-2: /dev/sdb model: ST500DM002 size: 500.1GB
           ID-3: /dev/sdc model: ST250DM000 size: 250.1GB
           ID-4: /dev/sdd model: HDT722525DLA380 size: 250.1GB
           ID-5: USB /dev/sde model: External_HDD size: 1000.2GB
Partition: ID-1: / size: 451G used: 102G (24%) fs: ext4 dev: /dev/sda1
           ID-2: swap-1 size: 8.59GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 22.0C mobo: N/A gpu: 23.0
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 241 Uptime: 1:51 Memory: 1243.9/10944.7MB
           Client: Shell (bash) inxi: 2.2.35
[close]


Second Step
I went and booted into 4.4.0-109
Used the computer awhile about an hour or so.
And all the problems with crashing went away. 
So,  you guys were right that it had something to do with the kernel.

Third Step
While I was working I noticed there was a level 5    linux-firmware  update, so I booted back into 4.4.0-112 and applied the update.
I rebooted and have been using the computer for about 45 minutes and no crashes as of yet.

I will probably mark this as resolved but as usual seems things  have worked itself out.
Want to let it run for a while before I conclude this though ;)

This is machine, I use for development  it has, mono, postgresql, apache and multiple web applications running.  So it does have a few services running in the back-ground, I did notice before with the crashes the machine would get real laggy right before applications started crashing. 

but now things seem to be humming along :D

As always thanks!


« Last Edit: February 15, 2018, 07:21:50 am by grafiksinc »