lua-users home
lua-l archive

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


On Mon, 2003-12-01 at 12:11, Roberto Ierusalimschy wrote:
> > What kind of problems?
> 
> Unexplained "seg. faults" with some simple tests.

Hi (sorry to jump late on the thread)

I'm trying to compile lposix, and I get segmentation faults during the
getpasswd test:

[...]
------------------------------------------------------- links
0
0
--w--w--w-    2 andre    andre           0 Dec  4 13:13 xxx
--w--w--w-    2 andre    andre           0 Dec  4 13:13 yyy
lrwxrwxrwx    1 andre    andre           3 Dec  4 13:13 zzz -> xxx
zzz ->  xxx
zzz ->  nil     xxx: Invalid argument   22

------------------------------------------------------- getpasswd
make: *** [test] Segmentation fault


Could this be a related problem? I currently don't have a box with
gcc-2.95 to try to reproduce this.

I'm running Mandrake 9.2 with gcc 3.3.1, and the problem happens with
the lua RPM from Mandrake and when I also when I compile LUA myself.

Regards,
Andre