Mouse a écrit :
>> In each thread, my software does a fork() followed by an execve().
>> If I remove this fork(), I'm unable to reproduce this bug.
>
> I have a fuzzy memory that fork() may do something to semaphores...?
Maybe if fork() occurs just when sem_init() tries to allocate memory
> In each thread, my software does a fork() followed by an execve().
> If I remove this fork(), I'm unable to reproduce this bug.
I have a fuzzy memory that fork() may do something to semaphores...?
> int
> sem_init(sem_t *sem, int pshared, unsigned int value)
> {
> intptr_tsemid;
> i
I have forgotten a precision.
In each thread, my software does a fork() followed by an execve(). If I
remove this fork(), I'm unable to reproduce this bug. Maybe sem_init()
returns an error when fork() is called form another thread.
That's beeing said, sem_init in librt is :
int
sem_init(sem_t *
On Wed, Feb 20, 2019 at 05:28:55PM +0100, Martin Husemann wrote:
> On Wed, Feb 20, 2019 at 10:59:13AM -0500, Andrew Cagney wrote:
> > For instance, some sort of magic long virt-install command that feeds
> > necessary options directly to sysinst. Searching seems to either come
> > up with:
> >
> >
... and a final update which checks and reports the kernel build
versions, and adds a few command line options, and posted to github in
case anyone finds anything horrifically wrong and wants to push a fix
:)
https://github.com/abs0/update-netbsd-kernel
David
On Wed, 6 Feb 2019 at 22:50, atomicu
Hello,
I have added some debug code in my software and I have found that
sem_init() aborts with
"Unknown error: 4294967295"
In man page, I can read that, if sem_init() fails, it returns:
[EINVAL] value exceeds SEM_VALUE_MAX.
[ENOSPC]
Manuel Bouyer wrote:
> anita is pure python, so it should run on linux too
It does. And you don't need pkgsrc, either, just grab
http://www.gson.org/netbsd/anita/download/anita-1.47.tar.gz
or get it from github (https://github.com/gson1703/anita).
--
Andreas Gustafsson, g...@gson.org
On Wed, Feb 20, 2019 at 10:59:13AM -0500, Andrew Cagney wrote:
> For instance, some sort of magic long virt-install command that feeds
> necessary options directly to sysinst. Searching seems to either come
> up with:
>
> - do it by hand using the console
> - use anita from pkgsrc
>
> which, from
On Wed, Feb 20, 2019 at 10:59:13AM -0500, Andrew Cagney wrote:
> (while my preference is for amd64 or i386 as they are hopefully more
> efficient, I probably don't care)
>
> For instance, some sort of magic long virt-install command that feeds
> necessary options directly to sysinst. Searching see
(while my preference is for amd64 or i386 as they are hopefully more
efficient, I probably don't care)
For instance, some sort of magic long virt-install command that feeds
necessary options directly to sysinst. Searching seems to either come
up with:
- do it by hand using the console
- use anita
10 matches
Mail list logo