Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] shmget fails with error code = 22



2008/1/15, YAEGASHI Takeshi <t@example.com>:
> Read the manpage and spec first.
> http://www.opengroup.org/onlinepubs/009695399/functions/shmget.html
Sorry, I *did* miss that fine manual.

>
>
> > The thing I don't know is: what argument is invalid? This code runs
> > "tamatama" almost perfect until today.
> >
> > A reboot resolves the problem.
>
> See what values were actually passed as arguments when it failed.
> strace(1) might be useful.

I did not use strace but I did run it inside gdb, "next" until it got
a segfault with a memcpy().

As I said, I could not reproduce the bug, possible it the system ran
out of memory.

-- 
Best Regards,
Nguyen Hung Vu ( Nguyễn Vũ Hưng )
vuhung16plus{remove}@example.com
An inquisitive look at Harajuku
http://www.flickr.com/photos/vuhung/sets/72157600109218238/

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links