tilemill-project / tilemill

TileMill is a modern map design studio
https://tilemill-project.github.io/tilemill/
BSD 3-Clause "New" or "Revised" License
3.11k stars 527 forks source link

segfault on ubuntu 14.04 #2405

Open diedricm opened 10 years ago

diedricm commented 10 years ago

When I start tilemill it crashes mostly with messages like:

Note: Unknown option "updatesVersion" in config file. Note: Unknown option "updatesTime" in config file. [tilemill] Error: child process: "core" failed with signal "SIGSEGV" [tilemill] Closing child process: core (pid:8983) [tilemill] Closing child process: tile (pid:8984) Exiting [tilemill]

however sometimes it works as expected. It also crashed when starting a mbtiles export:

Note: Unknown option "updatesVersion" in config file. Note: Unknown option "updatesTime" in config file. [tilemill] Note: Unknown option "updatesVersion" in config file. [tilemill] Note: Unknown option "updatesTime" in config file. [tilemill] Started [Server Tile:20008]. [tilemill] Plugin [carto] loaded. [tilemill] Plugin [editor] loaded. [tilemill] Plugin [fonts] loaded. [tilemill] Plugin [templates] loaded. [tilemill] Started [Server Core:20009]. [tilemill] Client window created (pass --server=true to disable this) [tilemill] [millstone] processing style 'style.mss' [tilemill] [millstone] processing style 'values.mss' [tilemill] [millstone] processing layer 'shoreline' [tilemill] [millstone] processing layer 'coastline' [tilemill] [millstone] found previously unzipped file: /home/ouqi/Documents/mapbox-osm-bright-6449184/shoreline_300.shp [tilemill] [millstone] found previously unzipped file: /home/ouqi/Documents/mapbox-osm-bright-6449184/coastline-good.shp [tilemill] [millstone] finished processing '/home/ouqi/Documents/MapBox/project/Test' [tilemill] [millstone] processing style 'style.mss' [tilemill] [millstone] processing style 'values.mss' [tilemill] [millstone] processing layer 'shoreline' [tilemill] [millstone] processing layer 'coastline' [tilemill] [millstone] found previously unzipped file: /home/ouqi/Documents/mapbox-osm-bright-6449184/shoreline_300.shp [tilemill] [millstone] found previously unzipped file: /home/ouqi/Documents/mapbox-osm-bright-6449184/coastline-good.shp [tilemill] [millstone] finished processing '/home/ouqi/Documents/MapBox/project/Test' [tilemill] Export process failed with signal 'SIGSEGV' [tilemill] Closing child process: core (pid:8838) [tilemill] Closing child process: tile (pid:8840) [tilemill] Closing child process: client (pid:8854) Exiting [tilemill]

This is all done using the osm-bright shore and coastline. nodejs is v0.10.28 tilemill is Version 0.10.2 (v0.10.1-293-g697c86c)

diedricm commented 10 years ago

it seems nodejs is segfaulting in v8::internal::String::isAsciiEqualTo()

springmeyer commented 10 years ago

You likely have a mismatch in node versions. I recommend installing TileMill master from source, which will work with Node v0.10.x