Menu

#1 orb SEGMENTATION violation on openbsd 3.2

open
nobody
None
5
2003-03-22
2003-03-22
No

Hi,

On openbsd, orb crashes when trying to generate the
pages. The problem is (probably) the implementation of
malloc with size 0: this returns a non-null pointer,
but if you try to access it SIGSEGV is generated.

I fixed this by making default constructor's second
argument, len to default to 0 (not -1). I do not know
if this will cause any other problems. I am looking at
the code to check this...

Hope you fix this. I also had used orb a few years ago
and the package contained some sample include files
(orh) can you include them in the distribution ?

Thanks
Amit

Discussion


Log in to post a comment.

MongoDB Logo MongoDB