From: Mark de W. <m.d...@da...> - 2016-11-21 08:34:10
|
Hi, While testing plplot 5.11.1 with a map with polygons on Windows my application terminated due to a call to plabort. It was caused by calling plfill with n < 3. I investigated further on my Debian Stable system with a recent version of master [d71e48]. The bug is still present in this version. Attached a modified x19.cc which calls plabort when drawing the map. In order to do so I replaced the cglobe.sh? files with the files in this archive [1] (854.21 KB). The first plot is fine, the seconds calls plabort. I added a proof-of-concept fix, which also cleans up the duplicate tests in the if statements in drawmapdata. I'm not convinced this is the right approach. I still see glitches, but I'm not sure whether they are all caused by fact lines at the left hand side of the plot are sometimes omitted. [1] http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/50m/cultural/ne_50m_admin_0_countries_lakes.zip Regards, Mark de Wever |