-
-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
segfault with latest glibc #219
Comments
I have the same issue. Chromium, Firefox and Thunderbird continue to work, but Pidgin and pacman itself keep crashing. Indeed more packages have to be downgraded to allow them to work again. I'm using a RHEL6 system with kernel version 2.6.32-642.11.1.el6 on AMD64. |
I tried building the junest image myself with |
How did you build a new image? Do you know which files in your new image are different from the ones in the provided image? |
This is in my system running Arch Linux:
This will give my own junest image with the same name, 'junest-x86_64.tar.gz'. I will then export this image to my unprivileged Linux system by SCP or whatever. Then I did this:
This is different from the default junest image provided in the sense that this is the more updated version, and is based on my system image on my computer. It still wouldn't have the additional programmes that I would have on my current Arch Linux system though. It's very likely that the default junest image being outdated is the only reason there're these conflicting packages. And Arch being a rolling release distro, all the more likely it's just not compatible anymore. |
Thanks for the instructions. Maybe I'll set up an Arch VM to try them. But what I'm curious about is, as the image will be extracted on the unprivileged system, there are apparently some parts in it that are not updated by |
Well, I'm not sure about that either. Would need to know quite deep into how the junest image is being built in the first place. for example, the 'yogurt' package is not in my Arch system. But it is included by default in the junest image building process anyway. Unless we check the source code, probably the developer for junest, Filppo, would be the one able to answer that. |
I tried @srgk26 solution but it doesn't fix my problem. However I'm starting to think it's genuinely a bug in the individual programs that are crashing. For some reason, running them in Junest makes memory violation errors more likely to crash the program. The best to reproduce it is to just run install-info (for example). I'm posting the full command I'm running as soon as I can. |
Hi all, So, this is related to a very old issue: #161 When updating Proot will be eventually deprecated in JuNest in favor of Linux user Namespace as soon as it will be enabled by default by the major Linux distributions. In the latest kernel versions I have seen that ArchLinux and Ubuntu have the unprivileged User NS enabled by default. |
BTW I have updated the JuNest image with the latest version. I will try to make sure to update it every 3 months from now. |
I have an environment where I'm stuck with RHEL6, I do not expect namespaces to be an option anytime soon. I will see if the new image will work. |
I am having this issue, @srgk26 solution does not work for me and namespaces is disabled. I am wondering if I could still try something, e.g. recompiling anything might help? Particularly R from the Arch repo segfaults immediatley after printing its greeting message. Do you think recompiling R or maybe proot might help? |
I have just updated with pacman -Syu and I'm getting lots of random crashes. The first one is in install-info, which runs as part of the pacman command.
I also have a crash in my own c++ program which wasn't happening before. It seems to be memory related, in my code I'm just appending strings in a loop and sometimes it works, sometimes it crashes. If I reserve enough memory for the destination string so that it never needs to reallocate to accomodate for the appended substrings then the crashe disappears completely.
If I downgraded to glibc-2.28-5 all goes back to normal, but I obviously end up with non-working packages, eg vim won't start anymore as it doesn't find the right version of glibc, plus some other system packages.
As soon as I re-install glibc-2.29-1 the crashes are back. Is there a solution for this?
The text was updated successfully, but these errors were encountered: