View previous topic :: View next topic |
Author |
Message |
tliou Tux's lil' helper
Joined: 23 Nov 2004 Posts: 108 Location: Salt Lake City, UT
|
Posted: Mon May 02, 2022 2:48 pm Post subject: thunderbird mozjemalloc |
|
|
Hi,
I have been having trouble with thunderbird. The current version, thunderbird-91.8.1 emerges just fine (as have the prior two versions in the gentoo repository). This is the command that emerge runs:
Code: | $ emerge -pv thunderbird
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R #] mail-client/thunderbird-91.8.1::gentoo USE="clang dbus hwaccel openh264 pulseaudio system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-webp wayland -debug -eme-free -hardened -jack -lto (-pgo) (-selinux) -sndio -system-libvpx -system-png -wifi" L10N="-af -ar -ast -be -bg -br -ca -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -es-AR -es-ES -et -eu -fi -fr -fy -ga -gd -gl -he -hr -hsb -hu -id -is -it -ja -ka -kab -kk -ko -lt -lv -ms -nb -nl -nn -pa -pl -pt-BR -pt-PT -rm -ro -ru -sk -sl -sq -sr -sv -th -tr -uk -uz -vi -zh-CN -zh-TW" 0 KiB |
However, it and its predecessors will not run. When I run as a user from an xterm window, I get this:
Code: | $ thunderbird
[unhandlable oom] Failed to mmap, likely no more mappings available /var/tmp/portage/mail-client/thunderbird-91.8.1/work/thunderbird-91.8.1/memory/build/mozjemalloc.cpp : 1306Segmentation fault |
I have searched this and other places for thunderbird and mmap, mozjemalloc and a few other subjects. I have looked at the emerge output, nothing seems amiss. I have plenty of memory left in RAM, hard disk and swap file, so I don't think that is a problem.
If I try to see if there is a problem with mozjemalloc.cpp, I find that the directory: /var/tmp/portage/mail-client/thunderbird-91.8.1 does not exist, but /var/tmp/portage/mail-client/ does exist.
Emerging thunderbird-bin and locating the local files that were in use with thunderbird gives me back a working solution. I can live with this, but is there a fix for this odd problem?
Thanks in advance. |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Mon May 02, 2022 4:44 pm Post subject: |
|
|
Since you have lots of ram there is talk of some thunderbird files being unable to be accessed rw.
Try plz
Code: |
sudo chown -R $USER:$USER ~
|
_________________
|
|
Back to top |
|
|
tliou Tux's lil' helper
Joined: 23 Nov 2004 Posts: 108 Location: Salt Lake City, UT
|
Posted: Mon May 02, 2022 6:55 pm Post subject: |
|
|
alamahunt,
Thank you for replying. I am not sure I completely understand the instruction. As root, I ran
Code: | chown -R liou:liou mail-client |
in the directory /var/tmp/portage/. I didn't think you were suggesting that I run the command at / or even /var as that seems likely to cause problems elsewhere. The result of the command was:
Code: | $ ls -l
total 20
drwxrwxr-x 3 portage portage 4096 Apr 27 18:14 dev-libs
drwxrwxr-x 3 liou liou 4096 Apr 27 19:02 mail-client
drwxrwxr-x 6 portage portage 4096 Apr 27 18:21 media-libs
drwxrwxr-x 3 portage portage 4096 Apr 27 18:31 media-plugins
drwxrwxr-x 3 portage portage 4096 Apr 15 10:16 sys-libs
|
Running thunderbird as the user got me the same error message:
Code: | [unhandlable oom] Failed to mmap, likely no more mappings available /var/tmp/portage/mail-client/thunderbird-91.8.1/work/thunderbird-91.8.1/memory/build/mozjemalloc.cpp : 1306Segmentation fault |
Did I do something wrong? Or do I need to do something else? |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Mon May 02, 2022 6:58 pm Post subject: |
|
|
Plz as your user run
Code: |
sudo chown -R $USER:$USER ~
|
_________________
|
|
Back to top |
|
|
tliou Tux's lil' helper
Joined: 23 Nov 2004 Posts: 108 Location: Salt Lake City, UT
|
Posted: Mon May 02, 2022 7:10 pm Post subject: |
|
|
Hopefully not demonstrating my incompetence:
Code: | $ sudo chown -R $USER:$USER ~
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
Sorry, try again.
Sorry, try again.
sudo: 3 incorrect password attempts
|
I don't get a chance to enter the root password which is why I tried running the command as root. I tried substituting liou for $USER as well with the same result. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54244 Location: 56N 3W
|
Posted: Mon May 02, 2022 8:06 pm Post subject: |
|
|
tliou,
You don't use the root password for sudo.
Its the users password for the user running sudo. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
tliou Tux's lil' helper
Joined: 23 Nov 2004 Posts: 108 Location: Salt Lake City, UT
|
Posted: Mon May 02, 2022 9:39 pm Post subject: |
|
|
So embarrassing.
So after emerging sudo and adjusting /etc/sudoers file using visudo, I did this:
Code: | $ sudo chown -R $USER:$USER ~
Password:
$ thunderbird
[unhandlable oom] Failed to mmap, likely no more mappings available /var/tmp/portage/mail-client/thunderbird-91.8.1/work/thunderbird-91.8.1/memory/build/mozjemalloc.cpp : 1306Segmentation fault
|
Comments? |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2963 Location: Edge of marsh USA
|
Posted: Tue May 03, 2022 3:47 am Post subject: |
|
|
Nothing should be trying to run from /var/tmp/portage/. Anything left over in /var/tmp/portage is left over from some failure during an emerge. I think you need to study the build log. Did emerging thunderbird create an error log (usually in /var/log/portage/elog). _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21635
|
Posted: Tue May 03, 2022 3:14 pm Post subject: |
|
|
figueroa wrote: | Nothing should be trying to run from /var/tmp/portage/. | Some build systems will embed the absolute path of the source files into the generated binary, causing a portage temporary location to be cited in error messages much later, when the binary runs from its proper place. |
|
Back to top |
|
|
tliou Tux's lil' helper
Joined: 23 Nov 2004 Posts: 108 Location: Salt Lake City, UT
|
Posted: Tue May 03, 2022 8:39 pm Post subject: |
|
|
Thank you all for advice.
There was nothing helpful from the /var/log/portage/elog/summary.log for recent entries for thunderbird:
Code: | >>> Messages generated by process 5853 on 2022-02-25 11:19:19 MST for package mail-client/thunderbird-91.6.1:
LOG: postinst
Optional runtime features:
net-libs/libotr for encrypted chat support
>>> Messages generated by process 7055 on 2022-04-18 15:02:30 MDT for package mail-client/thunderbird-91.8.0:
LOG: postinst
Optional runtime features:
net-libs/libotr for encrypted chat support
>>> Messages generated by process 27339 on 2022-04-27 19:02:39 MDT for package mail-client/thunderbird-bin-91.8.1:
LOG: postinst
Optional runtime features:
net-libs/libotr for encrypted chat support
|
Not sure where to go with this problem. Any more hints? |
|
Back to top |
|
|
|