[gecode-users] Bug: Null pointer crash

Christian Schulte cschulte at kth.se
Mon Nov 12 21:26:30 CET 2007


Thanks. Would you mind reporting bugs to the bug tracking system? Thanks
again.

Christian


-----Original Message-----
From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of Malcolm Ryan
Sent: Monday, November 12, 2007 9:09 PM
To: users at gecode.org
Subject: [gecode-users] Bug: Null pointer crash

The following code causes Gecode/J to crash:

rel(space, var, IntRelType.GR, 1, null);

I know the null pointer is an error, but it should throw a  
NullPointerException. Instead it crashes with a memory violation:

Invalid memory access of location 00000000 eip=0e8f7e55

Malcolm

--
"If there is one thing worse than the modern weakening of major morals
    it is the modern strengthening of minor morals.
Thus it is considered more withering to accuse a man
    of bad taste than of bad ethics."    -- G.K.Chesterton, On Lying  
in Bed




_______________________________________________
Gecode users mailing list
users at gecode.org
https://www.gecode.org/mailman/listinfo/gecode-users





More information about the gecode-users mailing list