[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: z/OS port - segmentation faults
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 21 May 2012 10:38:40 -0300
> I've just ported lua to an IBM mainframe, z/OS system. All was cool
> until I optimized and now I am getting segmentation faults. I'm
> wondering if this is a build problem or a nasty bug.
>
> Find below the stack trace. The problem is due to strlen() failing
> due to a bad address which is 0x7fff0100. Unfortunately when I
> compile with debug it goes away.
It is very difficult to know what is happening with so little
information. Don't you have any kind of tool like Valgring or Purify
(to check memory accesses)?
-- Roberto