LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 04-27-2018, 10:33 PM   #1
paxolin
Member
 
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412

Rep: Reputation: Disabled
After Cinnamon lock-up can’t access one particular program


In the past four weeks Cinnamon has locked up eleven times. However, I’ll raise that separately later. I have Cinnamon 18.2 64 bit with 12Gb RAM

The last time it locked up, I was running Simple Scan, which allows me to access my printer/scanner. After I reset Cinnamon I found that when I clicked on the icon to run Simple Scan, it does nothing at all. It doesn’t pause and not run, it just seems to ignore it completely.

Is there something straightforward I can do to get it working again?
 
Old 04-29-2018, 06:51 PM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,155

Rep: Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857
You have probably coruptted one or more of the app files, re-install
 
Old 04-29-2018, 09:50 PM   #3
paxolin
Member
 
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412

Original Poster
Rep: Reputation: Disabled
I followed the suggestion to re-install Simple Scan.

First went into Synaptic Package Manager and found Simple Scan, highlighted it ‘Mark for Complete Removal’, then ‘Apply’.
It appeared to have removed it. It disappeared from the Menu.
I seem to remember it said all the configuration files were removed too.

Then I followed the instructions I saved when another member helped me install it a year ago:

Code:
sudo apt-get update
sudo apt-get install simple-scan
Simple Scan re-appeared on the Menu, but it still won’t run. Same problem as before – clicking on it does nothing at all.

As an aside, I notice originally it said it was ubuntu, now it is linuxmint.
I have a copy of what was reported in terminal when I re-installed. If necessary I can post that.
 
Old 05-13-2018, 10:04 AM   #4
paxolin
Member
 
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412

Original Poster
Rep: Reputation: Disabled
Does anyone have any ideas how I can get Simple Scan working again?
 
Old 05-13-2018, 10:14 AM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
If running an application through the GUI fails to work, one of the first things to try is to run the application on the command line and see if any errors/warnings are generated.

So, enter simple-scan on the command line and see what output you get.
 
Old 05-13-2018, 10:22 AM   #6
paxolin
Member
 
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
If running an application through the GUI fails to work, one of the first things to try is to run the application on the command line and see if any errors/warnings are generated.

So, enter simple-scan on the command line and see what output you get.
Hi hydrurga!
This is what happened:
Code:
~ $ simple-scan
Segmentation fault
 
Old 05-13-2018, 10:30 AM   #7
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
That indicates that simple-scan tried to use a memory address outside the memory that was allocated to it. Generally not a great sign. This might tie in with the Cinnamon errors you've been getting. How long have you been getting these lockups, and do you have a system image or backup before they started to which you can roll back? Are you running TimeShift?

Can I check which kernel you're using?

Code:
uname -r
 
Old 05-13-2018, 10:45 AM   #8
paxolin
Member
 
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
That indicates that simple-scan tried to use a memory address outside the memory that was allocated to it. Generally not a great sign. This might tie in with the Cinnamon errors you've been getting. How long have you been getting these lockups, and do you have a system image or backup before they started to which you can roll back? Are you running TimeShift?

Can I check which kernel you're using?

Code:
uname -r
The lockups have been happening for nearly six weeks now. In that time there's been fifteen of them.

System image or backup? No.
I have a Seagate USB backup drive that works fine with Windows software, but trying to use it under Linux - I've given up, as I don't know what I should be backing up or how.
I can use it in Cinnamon, but only for straightforward reading/copying.
TimeShift - no idea what that means?

Code:
~ $ uname -r
4.4.0-122-generic
 
Old 05-13-2018, 10:52 AM   #9
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Ok, it's a separate issue, but you should be doing two things: (i) backing up your data regularly; (ii) making system images/snapshots regularly. If you had done the latter, you could have rewound back to before the Cinnamon problem started occurring. You should start a new thread and ask for advice if you don't know how to do this.

Because you've experiencing intermittent problems, I'm going to go back to basics and check that your package system is fine.

Please paste the output from the following commands (if there is any output).

Code:
apt check

dpkg --audit
 
Old 05-13-2018, 09:20 PM   #10
paxolin
Member
 
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Ok, it's a separate issue, but you should be doing two things: (i) backing up your data regularly; (ii) making system images/snapshots regularly. If you had done the latter, you could have rewound back to before the Cinnamon problem started occurring. You should start a new thread and ask for advice if you don't know how to do this.

Because you've experiencing intermittent problems, I'm going to go back to basics and check that your package system is fine.

Please paste the output from the following commands (if there is any output).

Code:
apt check

dpkg --audit

First things first:
Code:
 $ apt check
[sudo] password for watt: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Code:
~ $ dpkg --audit
That produced nothing.

I assume I'll need to ask about snapshots and system images separately, whatever they are?
 
Old 05-14-2018, 03:35 AM   #11
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Thanks. Yes, it's probably best to ask about those separately, but I'll give you some pointers before you do.

Next, let's check that the packages are up to date:

Code:
apt update

apt list --upgradable
 
Old 05-14-2018, 05:53 AM   #12
paxolin
Member
 
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Thanks. Yes, it's probably best to ask about those separately, but I'll give you some pointers before you do.

Next, let's check that the packages are up to date:

Code:
apt update

apt list --upgradable
Okey kokey, here are all the details:

Code:
~ $ apt update
[sudo] password for watt: 
Hit:1 https://repo.skype.com/deb stable InRelease
Hit:2 https://deb.opera.com/opera-stable stable InRelease                      
Hit:3 http://ppa.launchpad.net/dlech/keepass2-plugins/ubuntu xenial InRelease  
Ign:4 http://packages.linuxmint.com sonya InRelease                            
Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]     
Hit:6 http://archive.canonical.com/ubuntu xenial InRelease                     
Hit:7 http://archive.ubuntu.com/ubuntu xenial InRelease                        
Hit:8 http://ppa.launchpad.net/jtaylor/keepass/ubuntu xenial InRelease         
Get:9 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]       
Hit:10 http://deb.torproject.org/torproject.org xenial InRelease               
Hit:11 http://packages.linuxmint.com sonya Release                             
Get:13 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]    
Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [627 kB]
Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [577 kB]
Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [252 kB]
Fetched 1,779 kB in 3s (475 kB/s)                                
Reading package lists... Done
Building dependency tree       
Reading state information... Done
34 packages can be upgraded. Run 'apt list --upgradable' to see them.

Code:
~ $ apt list --upgradable
Listing... Done
cinnamon-screensaver/sonya,sonya 3.4.4+sonya all [upgradable from: 3.4.2+sonya]
cinnamon-screensaver-pam-helper/sonya 3.4.4+sonya amd64 [upgradable from: 3.4.2+sonya]
cinnamon-screensaver-x-plugin/sonya,sonya 3.4.4+sonya all [upgradable from: 3.4.2+sonya]
grub-common/xenial-updates 2.02~beta2-36ubuntu3.17 amd64 [upgradable from: 2.02~beta2-36ubuntu3.11]
grub-pc/xenial-updates 2.02~beta2-36ubuntu3.17 amd64 [upgradable from: 2.02~beta2-36ubuntu3.11]
grub-pc-bin/xenial-updates 2.02~beta2-36ubuntu3.17 amd64 [upgradable from: 2.02~beta2-36ubuntu3.11]
grub2-common/xenial-updates 2.02~beta2-36ubuntu3.17 amd64 [upgradable from: 2.02~beta2-36ubuntu3.11]
libcaja-extension1/sonya 1.18.5-1+sonya amd64 [upgradable from: 1.18.3-1+sonya]
libcscreensaver0/sonya 3.4.4+sonya amd64 [upgradable from: 3.4.2+sonya]
libegl1-mesa/xenial-updates 17.2.8-0ubuntu0~16.04.1 amd64 [upgradable from: 12.0.6-0ubuntu0.16.04.1]
libgbm1/xenial-updates 17.2.8-0ubuntu0~16.04.1 amd64 [upgradable from: 12.0.6-0ubuntu0.16.04.1]
libgl1-mesa-dri/xenial-updates 17.2.8-0ubuntu0~16.04.1 i386 [upgradable from: 12.0.6-0ubuntu0.16.04.1]
libgl1-mesa-glx/xenial-updates 17.2.8-0ubuntu0~16.04.1 i386 [upgradable from: 12.0.6-0ubuntu0.16.04.1]
libglapi-mesa/xenial-updates 17.2.8-0ubuntu0~16.04.1 i386 [upgradable from: 12.0.6-0ubuntu0.16.04.1]
libgles1-mesa/xenial-updates,xenial-updates 17.2.8-0ubuntu0~16.04.1 amd64 [upgradable from: 12.0.6-0ubuntu0.16.04.1]
libgles2-mesa/xenial-updates 17.2.8-0ubuntu0~16.04.1 amd64 [upgradable from: 12.0.6-0ubuntu0.16.04.1]
libmozjs-24-0v5/xenial-updates 24.2.0-3ubuntu2.1 amd64 [upgradable from: 24.2.0-3ubuntu2]
libpam-systemd/xenial-updates 229-4ubuntu21.2 amd64 [upgradable from: 229-4ubuntu21.1]
libsystemd0/xenial-updates 229-4ubuntu21.2 amd64 [upgradable from: 229-4ubuntu21.1]
libudev1/xenial-updates 229-4ubuntu21.2 amd64 [upgradable from: 229-4ubuntu21.1]
libwayland-egl1-mesa/xenial-updates 17.2.8-0ubuntu0~16.04.1 amd64 [upgradable from: 12.0.6-0ubuntu0.16.04.1]
libxatracker2/xenial-updates 17.2.8-0ubuntu0~16.04.1 amd64 [upgradable from: 12.0.6-0ubuntu0.16.04.1]
linux-kernel-generic/sonya,sonya 4.8.0-53.1 all [upgradable from: 4.4.0-21]
ndiswrapper/xenial-updates 1.60-3~ubuntu16.04.2 amd64 [upgradable from: 1.60-3~ubuntu16.04.1]
ndiswrapper-dkms/xenial-updates,xenial-updates 1.60-3~ubuntu16.04.2 all [upgradable from: 1.60-3~ubuntu16.04.1]
ndiswrapper-utils-1.9/xenial-updates,xenial-updates 1.60-3~ubuntu16.04.2 all [upgradable from: 1.60-3~ubuntu16.04.1]
systemd/xenial-updates 229-4ubuntu21.2 amd64 [upgradable from: 229-4ubuntu21.1]
systemd-sysv/xenial-updates 229-4ubuntu21.2 amd64 [upgradable from: 229-4ubuntu21.1]
udev/xenial-updates 229-4ubuntu21.2 amd64 [upgradable from: 229-4ubuntu21.1]
watt@PCMint ~ $
Does that tell you anything?
 
Old 05-14-2018, 10:31 AM   #13
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by paxolin View Post
Does that tell you anything?
It tells me that your system isn't entirely up-to-date. The more that this is true, the greater the possibility that problems may be encountered when it is eventually brought up-to-date.

Before we upgrade those packages, let's just check your software sources. Please paste the output from:

Code:
inxi -r
 
Old 05-14-2018, 10:48 AM   #14
paxolin
Member
 
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412

Original Poster
Rep: Reputation: Disabled
Here you are:
Code:
~ $ inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list.d/dlech-keepass2-plugins-xenial.list
           deb http://ppa.launchpad.net/dlech/keepass2-plugins/ubuntu xenial main
           deb-src http://ppa.launchpad.net/dlech/keepass2-plugins/ubuntu xenial main
           Active apt sources in file: /etc/apt/sources.list.d/jtaylor-keepass-xenial.list
           deb http://ppa.launchpad.net/jtaylor/keepass/ubuntu xenial main
           deb-src http://ppa.launchpad.net/jtaylor/keepass/ubuntu xenial main
           Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
           deb http://packages.linuxmint.com sonya main upstream import backport #id:linuxmint_main
           deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
           deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
           deb http://archive.canonical.com/ubuntu/ xenial partner
           Active apt sources in file: /etc/apt/sources.list.d/opera-stable.list
           deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
           Active apt sources in file: /etc/apt/sources.list.d/skype-stable.list
           deb [arch=amd64] https://repo.skype.com/deb stable main
           Active apt sources in file: /etc/apt/sources.list.d/tor-xenial.list
           deb http://deb.torproject.org/torproject.org xenial main
           deb-src http://deb.torproject.org/torproject.org xenial main
watt@PCMint ~ $
 
Old 05-14-2018, 11:05 AM   #15
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Ok. That appears to be ok. Is there any particular reason that you are running Mint 18.2 and not 18.3?

I would suggest updating those 34 packages that were listed before, but perhaps it would be a good idea for you first to install TimeShift and back up your system, and also to back up your data using whatever method is decided upon. Your call. Do you have an external hard disk to which you can back up your data?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mint 18 Cinnamon - can I use the Mint-X background as the lock screen? EssCee Linux - Newbie 2 11-20-2016 05:23 AM
Where is Ubuntu, Unity or Cinnamon password program defined? mfoley Ubuntu 2 01-09-2016 06:07 PM
should my program lock /etc/.pwd.lock when reading /etc/passwd? fpemud Linux - Server 1 10-09-2014 01:22 PM
LXer: How to disable lock screen in Linux Mint 13 Cinnamon LXer Syndicated Linux News 0 06-30-2012 10:50 PM
deian yum lock [ ERR] Reading state information E: Could not get lock /var/lock/aptit jayakumar01 Linux - Server 1 12-05-2011 11:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 05:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration