LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-31-2023, 11:17 AM   #1
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,434

Rep: Reputation: 110Reputation: 110
New kernel breaks applications claws mail and pidgin


On Debian 9, I changed from kernel 4.9 to 4.19.

Now claws-mail won't run:

Code:
$ claws-mail 
/tmp/claws-mail-0: mkdir: No such file or directory
Error creating socket_dir /tmp/claws-mail-0: No such file or directory
If I create /tmp/claws-mail-0 manually, the application fails silently. No output.

They have a mailing list, but I can't access it because I can't use email.

They have an IRC channel, but I can no longer run pidgin either:

Code:
$ pidgin
libdc1394 error: Failed to create juju: opendir: Permission denied
error: /usr/lib/lv2/Freakclip.lv2/Freakclip.ttl:36:4: missing ';' or '.'
lilv_world_load_file(): error: Error loading file `file:///usr/lib/lv2/Freakclip.lv2/Freakclip.ttl'
error: /usr/lib/lv2/Granulator.lv2/Granulator.ttl:24:7: missing ';' or '.'
lilv_world_load_file(): error: Error loading file `file:///usr/lib/lv2/Granulator.lv2/Granulator.ttl'

(Pidgin:5288): GStreamer-CRITICAL **: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed

(Pidgin:5288): GStreamer-CRITICAL **: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed
Pidgin 2.12.0 has segfaulted and attempted to dump a core file.
This is a bug in the software and has happened through
no fault of your own.

If you can reproduce the crash, please notify the developers
by reporting a bug at:
http://developer.pidgin.im/simpleticket/

Please make sure to specify what you were doing at the time
and post the backtrace from the core file.  If you do not know
how to get the backtrace, please read the instructions at
http://developer.pidgin.im/wiki/GetABacktrace
fish: “pidgin” terminated by signal SIGABRT (Abort)
I rebooted back with the old kernel and the problem remains.

Any ideas to make either work? Claws is more important.
 
Old 08-01-2023, 07:42 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,157

Rep: Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266
If booting into the old kernel didn't fix it, then the new kernel is not the problem. Some other change has occurred on your system.

Both errors refer to directories on your system. Have you changed any permissions or installed any other new software?
 
Old 08-01-2023, 08:10 AM   #3
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,434

Original Poster
Rep: Reputation: 110Reputation: 110
Quote:
Originally Posted by smallpond View Post
If booting into the old kernel didn't fix it, then the new kernel is not the problem. Some other change has occurred on your system.

Both errors refer to directories on your system. Have you changed any permissions or installed any other new software?
Thank you for pointing that out.
I was wrong about the old kernel. I thought I had booted with the old kernel when I wrote that, but I hadn't. I picked it wrong on Grub and booted into the new kernel again.
But now I am on the old kernel and everything works, even VMware. So no, there are no problems with the old kernel. Only the newer kernel breaks things. Which puzzles me because I never thought a kernel could break simple and strictly user space applications like email.

I also didn't change any permissions or install any other new software. I just ran update-grub2 and booted with the newer kernel.
 
Old 08-01-2023, 02:34 PM   #4
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,152
Blog Entries: 6

Rep: Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835
Where did you get the new kernel? From your distros repo? Or did you build it yourself?

Not unusual at all for a kernel to change things. I would not expect a kernel from your distros repo, that is made for your distro, to break anything major.

I just opened claws mail, it doesn't make any files in /tmp.
Code:
claws-mail --version
Claws Mail version 4.1.1

uname -r
6.3.8-arch1-1
Edit:
Debian is on version 12. Is 9 even supported anymore. Where did you get the new kernel.

Last edited by teckk; 08-01-2023 at 02:36 PM.
 
Old 08-01-2023, 03:21 PM   #5
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,434

Original Poster
Rep: Reputation: 110Reputation: 110
I got it here:

http://archive.debian.org/debian/pool/main/l/linux/

4.19 was always there in the Stretch repository, but the repository was moved to "archive" just a few months ago.
 
Old 08-02-2023, 08:58 AM   #6
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,627

Rep: Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556
Quote:
Originally Posted by teckk View Post
I just opened claws mail, it doesn't make any files in /tmp.
Quote:
Originally Posted by Claws Changelog
Move control sockets inside their own directory, $TMPDIR/claws-mail-$UID/, and name them after the configuration directory md5 hash. That allows
- cleaner separation of sockets and config dirs in case of alternate config directories
- forward migration is handled: if $TMPDIR/claws-mail-$UID exists as a socket, use it to control the running entity
...

Quote:
Originally Posted by lucmove View Post
If I create /tmp/claws-mail-0 manually, the application fails silently. No output.
How did you create it? The above suggests it should either be a socket, or that you need an appropriately named one inside the directory...

Consult the Claws Source Code for whatever version you're using and replicate whatever it does there.

Also, if UID is zero, that suggests root user? Have you tried running it as non-root user?

 
Old 08-02-2023, 10:09 AM   #7
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,434

Original Poster
Rep: Reputation: 110Reputation: 110
Quote:
Originally Posted by boughtonp View Post
How did you create it?
Quote:
Originally Posted by boughtonp View Post
Consult the Claws Source Code for whatever version you're using and replicate whatever it does there.
I can't read source. Someone who uses email is not necessarily a programmer.

Quote:
Originally Posted by boughtonp View Post
Also, if UID is zero, that suggests root user? Have you tried running it as non-root user?
It runs as root on the old kernel. Same application, same version.
I didn't test all applications, but many still run as root on the newer kernel. Only two failed and they never mention root being a problem like VLC does.
Running as root has nothing to do with it.
 
Old 08-02-2023, 10:31 AM   #8
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,627

Rep: Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556
Quote:
Originally Posted by lucmove View Post
I can't read source.
Then learn.

If you can't find a new OS that works, or change your networking situation so a newer Debian works, you're liable to keep encountering these types of issues, and the best way to solve them is to figure out what the software is doing when it fails.


Quote:
Someone who uses email is not necessarily a programmer.
...!?


Quote:
It runs as root on the old kernel. Same application, same version.
If all you changed is the kernel, you should be reading the kernel changelog to identify what changed.


Quote:
Running as root has nothing to do with it.
Prove it: run as a non-root user and confirm the same behavior occurs.

If it does, you now know it's unlikely to be user related, and can focus on other things.

If it doesn't occur there, you've narrowed down where the issue is and have a potential workaround that lets you use email to contact Claws developers and figure out the problem.

 
Old 08-02-2023, 01:47 PM   #9
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,434

Original Poster
Rep: Reputation: 110Reputation: 110
Quote:
Originally Posted by boughtonp View Post
Then learn.
If you don't want to help, just don't. No one is forcing you and you probably should not be participating in forums.

Let me see what I can fish out of the zero thread section right now.

"Does anyone have a saved script by which one can remove unwanted, non-English fonts and symbols from LibreOffice Writer?"
- Learn it.

"I hope you are doing well. I am experiencing some errors when I try to shut down my laptop, and I was hoping someone could assist me in resolving them."
- Learn it.

"how to check a specific irq is disabled in linux kernel?"
- Learn it.

"I would really appreciate any input. I'm totally out of my comfort zone here and want to just get this working for the company."
- Learn it.

"What is the best way to use multiple GUI Linux machines with a single monitor/keyboard/mouse?"
- Learn it.

And don't forget to mark it as SOLVED.

Quote:
Originally Posted by boughtonp View Post
If you can't find a new OS that works, or change your networking situation so a newer Debian works, you're liable to keep encountering these types of issues, and the best way to solve them is to figure out what the software is doing when it fails.
If you don't want to help, you're liable to keep encountering flaws in everything I say and probably should not be participating in forums.

Quote:
Originally Posted by boughtonp View Post
...!?
Indeed.

Quote:
Originally Posted by boughtonp View Post
If all you changed is the kernel, you should be reading the kernel changelog to identify what changed.
If you don't want to help, you shouldn't be reading forums.

Quote:
Originally Posted by boughtonp View Post
Prove it: run as a non-root user and confirm the same behavior occurs.
It is proven already. The same application and same version works on the old kernel and a dozen other applications work on both the older and the newer kernel. Besides, the error output I posted can be found on google. A couple of solutions are offered, but neither work for me and neither report mentions a change of kernel.
 
  


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
LXer: Claws Mail 4.1 Adds Text Zooming in the Message View, Many Other New Features LXer Syndicated Linux News 0 04-03-2022 05:52 PM
LXer: Claws Mail 3.17.5 Open-Source Email Client Released with New Features LXer Syndicated Linux News 0 02-25-2020 07:10 AM
LXer: Claws Mail: Mail with Attitude LXer Syndicated Linux News 0 03-20-2010 01:31 AM
Problem with Pidgin when chatting with someone else using Pidgin on Ubuntu trainee Slackware 1 06-10-2009 04:52 AM
LXer: How to Install Claws mail (Mail Client) in Ubuntu LXer Syndicated Linux News 0 03-06-2007 04:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:56 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