Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

BYTE editors are people who separate the wheat from the chaff, and then carefully print the chaff.


devel / comp.unix.programmer / Re: lpthreads and getpwuid=segmentation fault??

SubjectAuthor
* Re: lpthreads and getpwuid=segmentation fault??stryker2k2
`* Re: lpthreads and getpwuid=segmentation fault??Kenny McCormack
 `* Re: lpthreads and getpwuid=segmentation fault??Paul
  +- Re: lpthreads and getpwuid=segmentation fault??Richard Kettlewell
  `* Re: lpthreads and getpwuid=segmentation fault??Ben Bacarisse
   `* Re: lpthreads and getpwuid=segmentation fault??Scott Lurndal
    `- Re: lpthreads and getpwuid=segmentation fault??Ben Bacarisse

1
Re: lpthreads and getpwuid=segmentation fault??

<e95d3f27-47ad-4ff4-8429-92821ad3e79en@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17397&group=comp.unix.programmer#17397

  copy link   Newsgroups: comp.unix.programmer
X-Received: by 2002:ae9:e204:0:b0:6ff:a7f1:ff4e with SMTP id c4-20020ae9e204000000b006ffa7f1ff4emr1595350qkc.292.1672846212894;
Wed, 04 Jan 2023 07:30:12 -0800 (PST)
X-Received: by 2002:ad4:5186:0:b0:531:bbab:d75d with SMTP id
b6-20020ad45186000000b00531bbabd75dmr700637qvp.127.1672846212699; Wed, 04 Jan
2023 07:30:12 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.programmer
Date: Wed, 4 Jan 2023 07:30:12 -0800 (PST)
In-Reply-To: <3E662DF0.DC2C7F72@quest.com>
Injection-Info: google-groups.googlegroups.com; posting-host=50.240.76.25; posting-account=s31XlgoAAADkYBMdpWnDXzvkhqWanS3P
NNTP-Posting-Host: 50.240.76.25
References: <b459rj$ceh$01$1@news.t-online.com> <3E662DF0.DC2C7F72@quest.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e95d3f27-47ad-4ff4-8429-92821ad3e79en@googlegroups.com>
Subject: Re: lpthreads and getpwuid=segmentation fault??
From: stryker2k2@gmail.com (stryker2k2)
Injection-Date: Wed, 04 Jan 2023 15:30:12 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1738
 by: stryker2k2 - Wed, 4 Jan 2023 15:30 UTC

ARISE, OLD DEAD THREAD! Hey, this thread is almost legally allowed to drink alcohol in the United States!

Anyways... Uwe Ludwig stumbled upon this and now I am stumbling on this as well. Even if you code in the proper checks on the return value, you will still get a SEGFAULT. There is something weird with lpthreads and getpwuid (and also getlogin) and I don't quite know what it is. But, yes... the combo of these two will always cause a SEGFAULT before you can even check the return.

Stats:
- Ubuntu 20.04
- gcc version 9.4.0
- x86_64-linux-gnu

Re: lpthreads and getpwuid=segmentation fault??

<tp49f2$25c8f$1@news.xmission.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17398&group=comp.unix.programmer#17398

  copy link   Newsgroups: comp.unix.programmer
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gazelle@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.unix.programmer
Subject: Re: lpthreads and getpwuid=segmentation fault??
Date: Wed, 4 Jan 2023 16:28:18 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <tp49f2$25c8f$1@news.xmission.com>
References: <b459rj$ceh$01$1@news.t-online.com> <3E662DF0.DC2C7F72@quest.com> <e95d3f27-47ad-4ff4-8429-92821ad3e79en@googlegroups.com>
Injection-Date: Wed, 4 Jan 2023 16:28:18 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="2273551"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
 by: Kenny McCormack - Wed, 4 Jan 2023 16:28 UTC

In article <e95d3f27-47ad-4ff4-8429-92821ad3e79en@googlegroups.com>,
stryker2k2 <stryker2k2@gmail.com> wrote:
>ARISE, OLD DEAD THREAD! Hey, this thread is almost legally allowed to drink
>alcohol in the United States!
>
>Anyways... Uwe Ludwig stumbled upon this and now I am stumbling on this
>as well. Even if you code in the proper checks on the return value, you
>will still get a SEGFAULT. There is something weird with lpthreads and
>getpwuid (and also getlogin) and I don't quite know what it is. But,
>yes... the combo of these two will always cause a SEGFAULT before you
>can even check the return.
>
>Stats:
>- Ubuntu 20.04
>- gcc version 9.4.0
>- x86_64-linux-gnu

Could you post code & build instructions?

Then we might at least have a chance at understanding what you're talking
about, Willis...

--
The randomly chosen signature file that would have appeared here is more than 4
lines long. As such, it violates one or more Usenet RFCs. In order to remain
in compliance with said RFCs, the actual sig can be found at the following URL:
http://user.xmission.com/~gazelle/Sigs/RoyDeLoon

Re: lpthreads and getpwuid=segmentation fault??

<tp4v35$2ja4n$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17399&group=comp.unix.programmer#17399

  copy link   Newsgroups: comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: nospam@needed.invalid (Paul)
Newsgroups: comp.unix.programmer
Subject: Re: lpthreads and getpwuid=segmentation fault??
Date: Wed, 4 Jan 2023 17:37:24 -0500
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <tp4v35$2ja4n$1@dont-email.me>
References: <b459rj$ceh$01$1@news.t-online.com> <3E662DF0.DC2C7F72@quest.com>
<e95d3f27-47ad-4ff4-8429-92821ad3e79en@googlegroups.com>
<tp49f2$25c8f$1@news.xmission.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 4 Jan 2023 22:37:25 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="750649671cf5984259e12dee1315af8c";
logging-data="2730135"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19KzvKvAvO+0fy9QPEifWI8eIKft9ewQgI="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:uKo32JiVnukz9b6OGIa9CBRRpD0=
Content-Language: en-US
In-Reply-To: <tp49f2$25c8f$1@news.xmission.com>
 by: Paul - Wed, 4 Jan 2023 22:37 UTC

On 1/4/2023 11:28 AM, Kenny McCormack wrote:
> In article <e95d3f27-47ad-4ff4-8429-92821ad3e79en@googlegroups.com>,
> stryker2k2 <stryker2k2@gmail.com> wrote:
>> ARISE, OLD DEAD THREAD! Hey, this thread is almost legally allowed to drink
>> alcohol in the United States!
>>
>> Anyways... Uwe Ludwig stumbled upon this and now I am stumbling on this
>> as well. Even if you code in the proper checks on the return value, you
>> will still get a SEGFAULT. There is something weird with lpthreads and
>> getpwuid (and also getlogin) and I don't quite know what it is. But,
>> yes... the combo of these two will always cause a SEGFAULT before you
>> can even check the return.
>>
>> Stats:
>> - Ubuntu 20.04
>> - gcc version 9.4.0
>> - x86_64-linux-gnu
>
> Could you post code & build instructions?
>
> Then we might at least have a chance at understanding what you're talking
> about, Willis...
>

Mar 5, 2003, 11:49:55 AM

https://groups.google.com/g/comp.unix.programmer/c/hs23vL73-y0

Paul

Re: lpthreads and getpwuid=segmentation fault??

<wwvcz7tzz4s.fsf@LkoBDZeT.terraraq.uk>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17400&group=comp.unix.programmer#17400

  copy link   Newsgroups: comp.unix.programmer
Path: i2pn2.org!i2pn.org!news.nntp4.net!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: invalid@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.unix.programmer
Subject: Re: lpthreads and getpwuid=segmentation fault??
Date: Wed, 04 Jan 2023 22:57:39 +0000
Organization: terraraq NNTP server
Message-ID: <wwvcz7tzz4s.fsf@LkoBDZeT.terraraq.uk>
References: <b459rj$ceh$01$1@news.t-online.com> <3E662DF0.DC2C7F72@quest.com>
<e95d3f27-47ad-4ff4-8429-92821ad3e79en@googlegroups.com>
<tp49f2$25c8f$1@news.xmission.com> <tp4v35$2ja4n$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6";
logging-data="63090"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:BINUL7PnqELmNvzMH3fYyB+Ns7U=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
 by: Richard Kettlewell - Wed, 4 Jan 2023 22:57 UTC

Paul <nospam@needed.invalid> writes:
> On 1/4/2023 11:28 AM, Kenny McCormack wrote:
>> stryker2k2 <stryker2k2@gmail.com> wrote:
>>> ARISE, OLD DEAD THREAD! Hey, this thread is almost legally allowed to drink
>>> alcohol in the United States!
>>>
>>> Anyways... Uwe Ludwig stumbled upon this and now I am stumbling on this
>>> as well. Even if you code in the proper checks on the return value, you
>>> will still get a SEGFAULT. There is something weird with lpthreads and
>>> getpwuid (and also getlogin) and I don't quite know what it is. But,
>>> yes... the combo of these two will always cause a SEGFAULT before you
>>> can even check the return.
>>>
>>> Stats:
>>> - Ubuntu 20.04
>>> - gcc version 9.4.0
>>> - x86_64-linux-gnu
>> Could you post code & build instructions?
>> Then we might at least have a chance at understanding what you're
>> talking
>> about, Willis...
>
> Mar 5, 2003, 11:49:55 AM
>
> https://groups.google.com/g/comp.unix.programmer/c/hs23vL73-y0

The program there doesn’t have “the proper checks on the return value”,
so it’s presumably not what you’re actually running. Also, -lpthreads
does not exist; the library is -lpthread. So we don’t yet have the build
commands you used, either. Obviously, nobody can debug code that you’ve
not shared.

I would suggest using gdb or valgrind to identify where your version
crashes.

--
https://www.greenend.org.uk/rjk/

Re: lpthreads and getpwuid=segmentation fault??

<87v8llnbxx.fsf@bsb.me.uk>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17401&group=comp.unix.programmer#17401

  copy link   Newsgroups: comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ben.usenet@bsb.me.uk (Ben Bacarisse)
Newsgroups: comp.unix.programmer
Subject: Re: lpthreads and getpwuid=segmentation fault??
Date: Wed, 04 Jan 2023 22:59:22 +0000
Organization: A noiseless patient Spider
Lines: 62
Message-ID: <87v8llnbxx.fsf@bsb.me.uk>
References: <b459rj$ceh$01$1@news.t-online.com> <3E662DF0.DC2C7F72@quest.com>
<e95d3f27-47ad-4ff4-8429-92821ad3e79en@googlegroups.com>
<tp49f2$25c8f$1@news.xmission.com> <tp4v35$2ja4n$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="2989c5e5ef3732916e1cdfbcde77228a";
logging-data="2731817"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+QJTFabkwAgUjVkxtCoMUUSnFUCSE4Pt4="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:+X5/WLdcGRORgBErijhMPE9gRG4=
sha1:UNuaw/EbdlMmuTmqmrz3t9pMnSc=
X-BSB-Auth: 1.a8f64676743b2a5a7799.20230104225922GMT.87v8llnbxx.fsf@bsb.me.uk
 by: Ben Bacarisse - Wed, 4 Jan 2023 22:59 UTC

Paul <nospam@needed.invalid> writes:

> On 1/4/2023 11:28 AM, Kenny McCormack wrote:
>> In article <e95d3f27-47ad-4ff4-8429-92821ad3e79en@googlegroups.com>,
>> stryker2k2 <stryker2k2@gmail.com> wrote:
>>> ARISE, OLD DEAD THREAD! Hey, this thread is almost legally allowed to drink
>>> alcohol in the United States!
>>>
>>> Anyways... Uwe Ludwig stumbled upon this and now I am stumbling on this
>>> as well. Even if you code in the proper checks on the return value, you
>>> will still get a SEGFAULT. There is something weird with lpthreads and
>>> getpwuid (and also getlogin) and I don't quite know what it is. But,
>>> yes... the combo of these two will always cause a SEGFAULT before you
>>> can even check the return.
>>>
>>> Stats:
>>> - Ubuntu 20.04
>>> - gcc version 9.4.0
>>> - x86_64-linux-gnu
>>
>> Could you post code & build instructions?
>> Then we might at least have a chance at understanding what you're talking
>> about, Willis...
>
> Mar 5, 2003, 11:49:55 AM
>
> https://groups.google.com/g/comp.unix.programmer/c/hs23vL73-y0

That program, with the undefined behaviour removed, but the curious
verbose style kept, is

#include <pwd.h>
#include <unistd.h>
#include <stdio.h>

char *a;

char *getuser(void)
{
char *username;
struct passwd *info;
info = getpwuid(getuid());
username = info->pw_name;
return username;
}

int main(void)
{
a = getuser();
printf(a);
printf("\n");
}

which compiles and runs fine on my system, with either the -pthread or
-lpthread option. Of course, since threads are not used, the linker may
simply be omitting the code that caused the problem 19 years ago.

The old post refers to -lpthreads (with and s) and my Ubuntu and gcc are
newer.

--
Ben.

Re: lpthreads and getpwuid=segmentation fault??

<AUntL.13827$5jd8.2189@fx05.iad>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17402&group=comp.unix.programmer#17402

  copy link   Newsgroups: comp.unix.programmer
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx05.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: scott@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: lpthreads and getpwuid=segmentation fault??
Newsgroups: comp.unix.programmer
References: <b459rj$ceh$01$1@news.t-online.com> <3E662DF0.DC2C7F72@quest.com> <e95d3f27-47ad-4ff4-8429-92821ad3e79en@googlegroups.com> <tp49f2$25c8f$1@news.xmission.com> <tp4v35$2ja4n$1@dont-email.me> <87v8llnbxx.fsf@bsb.me.uk>
Lines: 64
Message-ID: <AUntL.13827$5jd8.2189@fx05.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 04 Jan 2023 23:24:16 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 04 Jan 2023 23:24:16 GMT
X-Received-Bytes: 2793
 by: Scott Lurndal - Wed, 4 Jan 2023 23:24 UTC

Ben Bacarisse <ben.usenet@bsb.me.uk> writes:
>Paul <nospam@needed.invalid> writes:
>
>> On 1/4/2023 11:28 AM, Kenny McCormack wrote:
>>> In article <e95d3f27-47ad-4ff4-8429-92821ad3e79en@googlegroups.com>,
>>> stryker2k2 <stryker2k2@gmail.com> wrote:
>>>> ARISE, OLD DEAD THREAD! Hey, this thread is almost legally allowed to drink
>>>> alcohol in the United States!
>>>>
>>>> Anyways... Uwe Ludwig stumbled upon this and now I am stumbling on this
>>>> as well. Even if you code in the proper checks on the return value, you
>>>> will still get a SEGFAULT. There is something weird with lpthreads and
>>>> getpwuid (and also getlogin) and I don't quite know what it is. But,
>>>> yes... the combo of these two will always cause a SEGFAULT before you
>>>> can even check the return.
>>>>
>>>> Stats:
>>>> - Ubuntu 20.04
>>>> - gcc version 9.4.0
>>>> - x86_64-linux-gnu
>>>
>>> Could you post code & build instructions?
>>> Then we might at least have a chance at understanding what you're talking
>>> about, Willis...
>>
>> Mar 5, 2003, 11:49:55 AM
>>
>> https://groups.google.com/g/comp.unix.programmer/c/hs23vL73-y0
>
>That program, with the undefined behaviour removed, but the curious
>verbose style kept, is
>
> #include <pwd.h>
> #include <unistd.h>
> #include <stdio.h>
>
> char *a;
>
> char *getuser(void)
> {
> char *username;
> struct passwd *info;
> info = getpwuid(getuid());
> username = info->pw_name;
> return username;
> }
>
> int main(void)
> {
> a = getuser();
> printf(a);
> printf("\n");
> }
>
>which compiles and runs fine on my system, with either the -pthread or
>-lpthread option. Of course, since threads are not used, the linker may
>simply be omitting the code that caused the problem 19 years ago.
>
>The old post refers to -lpthreads (with and s) and my Ubuntu and gcc are
>newer.

The code will fail if there is no password file entry matching
the current uid.

Re: lpthreads and getpwuid=segmentation fault??

<87bkndna8f.fsf@bsb.me.uk>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17403&group=comp.unix.programmer#17403

  copy link   Newsgroups: comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ben.usenet@bsb.me.uk (Ben Bacarisse)
Newsgroups: comp.unix.programmer
Subject: Re: lpthreads and getpwuid=segmentation fault??
Date: Wed, 04 Jan 2023 23:36:15 +0000
Organization: A noiseless patient Spider
Lines: 71
Message-ID: <87bkndna8f.fsf@bsb.me.uk>
References: <b459rj$ceh$01$1@news.t-online.com> <3E662DF0.DC2C7F72@quest.com>
<e95d3f27-47ad-4ff4-8429-92821ad3e79en@googlegroups.com>
<tp49f2$25c8f$1@news.xmission.com> <tp4v35$2ja4n$1@dont-email.me>
<87v8llnbxx.fsf@bsb.me.uk> <AUntL.13827$5jd8.2189@fx05.iad>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="e2753ee370eb9a5db56fbcc9e4c57e45";
logging-data="2731817"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18pOOy3cNqL139Cb4bZjyrm1iMsNsRR/cU="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:2qK1wUxvA04NHpovdtLNEI+UdgU=
sha1:2siyNIrz6prR3fRAm/3CzJA+xEo=
X-BSB-Auth: 1.42f35ed01111a13073c7.20230104233616GMT.87bkndna8f.fsf@bsb.me.uk
 by: Ben Bacarisse - Wed, 4 Jan 2023 23:36 UTC

scott@slp53.sl.home (Scott Lurndal) writes:

> Ben Bacarisse <ben.usenet@bsb.me.uk> writes:
>>Paul <nospam@needed.invalid> writes:
>>
>>> On 1/4/2023 11:28 AM, Kenny McCormack wrote:
>>>> In article <e95d3f27-47ad-4ff4-8429-92821ad3e79en@googlegroups.com>,
>>>> stryker2k2 <stryker2k2@gmail.com> wrote:
>>>>> ARISE, OLD DEAD THREAD! Hey, this thread is almost legally allowed to drink
>>>>> alcohol in the United States!
>>>>>
>>>>> Anyways... Uwe Ludwig stumbled upon this and now I am stumbling on this
>>>>> as well. Even if you code in the proper checks on the return value, you
>>>>> will still get a SEGFAULT. There is something weird with lpthreads and
>>>>> getpwuid (and also getlogin) and I don't quite know what it is. But,
>>>>> yes... the combo of these two will always cause a SEGFAULT before you
>>>>> can even check the return.
>>>>>
>>>>> Stats:
>>>>> - Ubuntu 20.04
>>>>> - gcc version 9.4.0
>>>>> - x86_64-linux-gnu
>>>>
>>>> Could you post code & build instructions?
>>>> Then we might at least have a chance at understanding what you're talking
>>>> about, Willis...
>>>
>>> Mar 5, 2003, 11:49:55 AM
>>>
>>> https://groups.google.com/g/comp.unix.programmer/c/hs23vL73-y0
>>
>>That program, with the undefined behaviour removed, but the curious
>>verbose style kept, is
>>
>> #include <pwd.h>
>> #include <unistd.h>
>> #include <stdio.h>
>>
>> char *a;
>>
>> char *getuser(void)
>> {
>> char *username;
>> struct passwd *info;
>> info = getpwuid(getuid());
>> username = info->pw_name;
>> return username;
>> }
>>
>> int main(void)
>> {
>> a = getuser();
>> printf(a);
>> printf("\n");
>> }
>>
>>which compiles and runs fine on my system, with either the -pthread or
>>-lpthread option. Of course, since threads are not used, the linker may
>>simply be omitting the code that caused the problem 19 years ago.
>>
>>The old post refers to -lpthreads (with and s) and my Ubuntu and gcc are
>>newer.
>
> The code will fail if there is no password file entry matching
> the current uid.

Sure, but if that's what the OP is observing, then I can't see the
connection to the pthread library.

--
Ben.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor