LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-06-2024, 01:25 PM   #1
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Custom slackware64-current
Posts: 307

Rep: Reputation: 92
Issues with enchant-2.6.6 and evolution-3.50.1


Question for other Slackers running evolution mail client using their own SlackBuilds...

I just noticed today that since the -current Feb 5 upgrade to enchant-2.6.6 I get this error when running evolution:
Code:
(evolution:15332): GLib-WARNING **: 21:10:24.536: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Error opening directory “/home/user/.config/enchant/hunspell”: No such file or directory
Segmentation fault
If I create the missing directory I get this error:
Code:
**
ERROR:enchant_hunspell.cpp:300:char* hunspell_request_dictionary(const char*): assertion failed: ((dir == NULL && err != NULL) || (dir != NULL && err == NULL))
Bail out! ERROR:enchant_hunspell.cpp:300:char* hunspell_request_dictionary(const char*): assertion failed: ((dir == NULL && err != NULL) || (dir != NULL && err == NULL))
Aborted
After downgrading to enchant-2.6.5, evolution starts up like it used to. I'm using the stock Slackware hunspell and enchant packages. I built enchant-2.6.5 and enchant-2.6.6 myself from sources and I get the same result. If there is a null pointer error emanating from hunspell, I'm not seeing any diffs or patches for it, so is it just me or is someone else also getting this error?
 
Old 02-06-2024, 07:50 PM   #2
reddog83
Member
 
Registered: Apr 2018
Distribution: Slackware 15.0/Current
Posts: 468

Rep: Reputation: 242Reputation: 242Reputation: 242
I am getting this as well on Slackware Current with Gnome 45

Quote:
(evolution:7819): GLib-WARNING **: 19:51:56.540: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Error opening directory “/home/nathan/.config/enchant/hunspell”: No such file or directory
Segmentation fault
 
1 members found this post helpful.
Old 02-06-2024, 10:19 PM   #3
reddog83
Member
 
Registered: Apr 2018
Distribution: Slackware 15.0/Current
Posts: 468

Rep: Reputation: 242Reputation: 242Reputation: 242
Well talking with some people on a matrix channel one of the guys mentioned that it looks like the bug is in this commit: https://github.com/AbiWord/enchant/c...1de31253ab4d12
 
1 members found this post helpful.
Old 02-06-2024, 10:44 PM   #4
jloco
Member
 
Registered: Apr 2016
Location: Detroit, MI
Distribution: Slackware
Posts: 196

Rep: Reputation: 190Reputation: 190
I just built evolution on current (after removing any/all deps centering on optional Microsoft Outlook integration) and it operates just fine. Checked and I have enchant-2.6.6/hunspell-1.7.2 installed, so this has to be caused by something else.
 
1 members found this post helpful.
Old 02-07-2024, 01:37 AM   #5
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Custom slackware64-current
Posts: 307

Original Poster
Rep: Reputation: 92
Quote:
Originally Posted by jloco View Post
I just built evolution on current (after removing any/all deps centering on optional Microsoft Outlook integration) and it operates just fine. Checked and I have enchant-2.6.6/hunspell-1.7.2 installed, so this has to be caused by something else.
Unfortunately, the support for Exchange and EWS is the only reason I use this mail client.
 
Old 02-07-2024, 02:35 AM   #6
jloco
Member
 
Registered: Apr 2016
Location: Detroit, MI
Distribution: Slackware
Posts: 196

Rep: Reputation: 190Reputation: 190
Quote:
Originally Posted by fskmh View Post
Unfortunately, the support for Exchange and EWS is the only reason I use this mail client.
EWS support is handled by the 'evolution-ews' plugin which is a separate SlackBuild from evolution itself. For my build I removed the deps on libpst, ytnef, and uhttpmock, as they include features for handling Outlook attachments and data (which I don't personally need). If it's EWS you're after, that at least appears to build fine, but operation I can't verify, as I don't use Exchange. But evolution does start with the EWS plugin installed for me locally, with a up to date current system and evolution 3.50.3.

I am curious if reddog83 got anywhere with this issue, as it seems you both meet the criteria for it to happen and I don't, I'm wondering if it's from one of the deps I omitted...
 
1 members found this post helpful.
Old 02-07-2024, 03:05 AM   #7
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Custom slackware64-current
Posts: 307

Original Poster
Rep: Reputation: 92
Yes, I'm using all three of those and then some. Upgraded evolution-data-server, evolution and evolution-ews from 3.50.1 to 3.50.3 in case I was missing a bugfix, but the issue persists with enchant-2.6.6.
Here's my build tree fwiw:
Code:
001-unifdef
002-libwpe
003-wpebackend-fdo
004-libavif
005-xdg-dbus-proxy
008-highway
009-libjxl
010-webkit2gtk
012-libadwaita
013-gtksourceview5
014-rest
016-gspell
020-highlight
030-libpst
031-libmspack
032-cmark
033-uhttpmock
034-geocode-glib
034-geocode-glib2
035-libgweather
036-gnome-online-accounts
037-liboauth
038-libgdata
047-evolution-data-server
048-syncevolution
049-cogl
050-clutter
051-clutter-gtk
052-libchamplain
053-gnome-autoar
055-ytnef
060-evolution
061-evolution-ews
 
Old 02-07-2024, 03:39 AM   #8
DryFalls
Member
 
Registered: Apr 2021
Posts: 44

Rep: Reputation: Disabled
Only half off topic: same error as op shows with epiphany (SBo) although other browsers (MiniBrowser, surf) using webkit2gtk (4.0 & 4.1) are unaffected.
 
1 members found this post helpful.
Old 02-07-2024, 04:55 AM   #9
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Custom slackware64-current
Posts: 307

Original Poster
Rep: Reputation: 92
Submitted issue to upstream on github:
https://github.com/AbiWord/enchant/issues/356
 
2 members found this post helpful.
Old 02-07-2024, 10:23 AM   #10
jloco
Member
 
Registered: Apr 2016
Location: Detroit, MI
Distribution: Slackware
Posts: 196

Rep: Reputation: 190Reputation: 190
Quote:
Originally Posted by fskmh View Post
Yes, I'm using all three of those and then some. Upgraded evolution-data-server, evolution and evolution-ews from 3.50.1 to 3.50.3 in case I was missing a bugfix, but the issue persists with enchant-2.6.6.
Here's my build tree fwiw:
I've attached a sboui screenshot of my deps according to my personal repo. I'm about to built it again, after having updated to the latest current changes here to see if I encounter the bug on aarch64 or not. Just taking shots in the dark... for science.
Attached Thumbnails
Click image for larger version

Name:	evolution.png
Views:	11
Size:	53.1 KB
ID:	42535  
 
1 members found this post helpful.
Old 02-07-2024, 10:37 AM   #11
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,441

Rep: Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191
For what it's worth
Code:
The --with-hunspell-dir configure option is removed (along with all the
other ---with-PROVIDER-dir options, which did nothing). Users who have
Hunspell dictionaries in non-standard locations should set the
Hunspell-specific environment variable DICPATH, or copy the dictionaries
into their user’s Enchant configuration directory (for example
~/.config/enchant/hunspell).
https://github.com/AbiWord/enchant/blob/master/NEWS

Last edited by marav; 02-07-2024 at 10:39 AM.
 
1 members found this post helpful.
Old 02-07-2024, 10:46 AM   #12
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 905

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
I use claws-mail and I also got bitten by this bug. The app starts just fine but whenever I try to reply to an email it segfaults with this message. Tried to reinstall hunspell and enchant, and rebuild claws-mail, to no avail. Reverting to enchant-2.6.5 fixes the issue.
 
1 members found this post helpful.
Old 02-07-2024, 10:58 AM   #13
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,441

Rep: Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191
So, let's hope the maintainer fixes the reported issue ;-)
 
Old 02-07-2024, 03:09 PM   #14
reddog83
Member
 
Registered: Apr 2018
Distribution: Slackware 15.0/Current
Posts: 468

Rep: Reputation: 242Reputation: 242Reputation: 242
Problem fixed by reverting to enchant 2.6.5 in latest changelog
 
2 members found this post helpful.
Old 02-08-2024, 03:02 AM   #15
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Custom slackware64-current
Posts: 307

Original Poster
Rep: Reputation: 92
Marking as "solved" since this is no longer an issue with Slackware itself.

Update: Built, installed enchant-2.6.7 and evolution starts up like it did with 2.6.5.

Last edited by fskmh; 02-08-2024 at 11:46 AM. Reason: enchant-2.6.7 was just released
 
3 members found this post helpful.
  


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
[SOLVED] enchant 1.6.0 error myspell_checker.cpp:430:39: dk_ Linux From Scratch 0 06-10-2016 04:49 AM
LXer: IT needs to learn to enchant users LXer Syndicated Linux News 0 04-07-2014 01:50 PM
LXer: Zurmo sets out to enchant the open source CRM space LXer Syndicated Linux News 0 12-20-2012 11:10 AM
Evolution 2.2.2-2 and Evolution-Exchange v2.0.3-1 rgbrock1 Linux - Software 1 06-29-2005 10:10 AM
How do you transfer evolution mail and settings to another computer running evolution cmisip Linux - Software 2 01-10-2003 02:07 PM

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

All times are GMT -5. The time now is 01:12 AM.

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