You are not logged in.

#1 2023-07-25 15:47:28

hwallace
Member
Registered: 2021-08-30
Posts: 110

[SOLVED] libc.so corrupted? How to reinstall?

I have the same configuration on a number of machines and this error occurs only on one.

Desktop web applications (chrome browsers, spotify, bingchat) are crashing with this line at the top of every stacktrace. The hex values change but the libc.so.6 is constant.

 Stack trace of thread 1736375:
                #0  0x00007f4c39035035 realpath (libc.so.6 + 0x3b035)

So I suspect that my libc.so is corrupted and want to try replacing it but I don't know what package to re-install.

I have run pacman -Ss libc but there are too many hits and none look like obvious candidates to me.

Last edited by hwallace (2023-07-26 13:43:16)

Offline

#2 2023-07-25 15:50:07

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,484
Website

Re: [SOLVED] libc.so corrupted? How to reinstall?

Your libc would be glibc, but I highly doubt that is the actual problem.  You can check / confirm with `pacman -Qkk glibc`.

Am I correct in assuming all the "apps" with problems were installed from the AUR?  When did you last rebuild them?

Last edited by Trilby (2023-07-25 15:51:42)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2023-07-25 16:37:15

hwallace
Member
Registered: 2021-08-30
Posts: 110

Re: [SOLVED] libc.so corrupted? How to reinstall?

pacman -Qkk glibc
backup file: glibc: /etc/locale.gen (Modification time mismatch)
backup file: glibc: /etc/locale.gen (Size mismatch)
backup file: glibc: /etc/locale.gen (MD5 checksum mismatch)
backup file: glibc: /etc/locale.gen (SHA256 checksum mismatch)

I reinstalled glibc but no change.

Yes installed from AUR and rebuilt right after I read your reply.

No change.

Last edited by hwallace (2023-07-25 16:41:26)

Offline

#4 2023-07-25 16:43:24

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,484
Website

Re: [SOLVED] libc.so corrupted? How to reinstall?

So this has nothing to do with libc then.  If you want help with the actual problem you'll need to describe it and post complete diagnostic information.  And you should do so in a new thread after marking this one as solved.

EDIT: is it solved:
1. Is libc.so corrupted? No, as confirmed by the `pacman -Qkk` output
2. How to reinstall (libc)? Run `pacman -S glibc`
QED.  Now some different problem may not be solved, but that's for a different thread.

Last edited by Trilby (2023-07-26 14:42:48)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2023-07-26 13:42:50

hwallace
Member
Registered: 2021-08-30
Posts: 110

Re: [SOLVED] libc.so corrupted? How to reinstall?

I don't find this one is solved, not at all.

But when in Rome....

Offline

#6 2023-07-26 13:58:43

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,691

Re: [SOLVED] libc.so corrupted? How to reinstall?

The subject is

libc.so corrupted? How to reinstall?

and was resovled by

I reinstalled glibc but no change

This happens when you bring up an https://en.wikipedia.org/wiki/XY_problem

Open a new thread for your *actual* problem where you don't make bogus assumptions as to what the solution might be and, as Trilby pointed out, actually post the full diagnostic data, not some a random line you deemed maybe relevant.

Online

#7 2023-07-26 19:20:45

hwallace
Member
Registered: 2021-08-30
Posts: 110

Re: [SOLVED] libc.so corrupted? How to reinstall?

Trilby wrote:

So this has nothing to do with libc then.  If you want help with the actual problem you'll need to describe it and post complete diagnostic information.  And you should do so in a new thread after marking this one as solved.

EDIT: is it solved:
1. Is libc.so corrupted? No, as confirmed by the `pacman -Qkk` output
2. How to reinstall (libc)? Run `pacman -S glibc`
QED.  Now some different problem may not be solved, but that's for a different thread.

Ah okay. Gotcha.

Offline

Board footer

Powered by FluxBB