You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
I ran into an issue with terrain heightmaps. I'm using the official 1.5 release. I have made no changes or even recompiled it. One edge of the terrain is always distorted. It doesn't matter what size the heightmap is. I tried 129, 128 and even the default heightmap that comes with Irrlicht (You can see an error in one of the corners). You can easily reproduce this error by making the heightmap a single solid color.
Wasn't there a bug a while back that made the side of the map average between the height given on the previous indice and 0? I think it had something to do with maps that were too big or something similar. Might want to check there. If not, maybe finding that fix will give you a lead, as the deformation seems strangely similar to the one seen then.
Yes, I'll do the search in a second, but why would this happen? I mean, it's all standard .. the 1.5 release, running the example without any changes. I tried the official 1.4.2 release with the same plain heightmap and it works fine. So it must be something between these releases .. it can't be just me, can it?
Now all heightmaps work as they are supposed to. I makes sense because when using 129x129 heightmap eg., it would try to read a pixel 129 when x is 0 and since it doesn't exist, it reads it as 0.