CartoDB / mobile-carto-libs

Internal dependencies for CARTO Mobile SDK
BSD 3-Clause "New" or "Revised" License
4 stars 5 forks source link

Seg fault when using css2xml with latest carto sdk features #24

Closed safe-bug closed 2 years ago

safe-bug commented 2 years ago

Hello

I'm using "exp" function in css styles, when I want to convert it to XML using css2xml program it fails with segfault. It didn't happen in the previous version of css2xml (before Carto 4.4.3 release). What is the problem?

Thanks

mtehver commented 2 years ago

@safe-bug Can you share your style? We need more info to investigate this.

safe-bug commented 2 years ago

@mtehver It fails even with only this part of the style

[highway='trunk'],[highway='trunk_link']{
  line-width: exp([view::zoom]);
}

The XML output for the previous version was this:

<LineSymbolizer stroke=“#000” stroke-linecap="round" stroke-linejoin="round" stroke-width="exp([view::zoom])" />
mtehver commented 2 years ago

Thanks for reporting this, should be fixed now.

safe-bug commented 2 years ago

@mtehver Thanks, it's fixed now.