Hi All, In msEmbedScalebar msAddLabel is invoked with the following parameters: msAddLabel(map, l, 0, -1, -1, &point, NULL, " ", 1.0, NULL); the last parameter causes a segfault in the msAddLabel function. Best regards, Tamas