Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Mapscript maprendering.c:998: msDrawTextSymbol: Assertion `ts->textpath' failed #5239

Merged
merged 1 commit into from Feb 13, 2016
Merged

PHP Mapscript maprendering.c:998: msDrawTextSymbol: Assertion `ts->textpath' failed #5239

merged 1 commit into from Feb 13, 2016

Conversation

tbonfort
Copy link
Member

Using current master branch, I am having trouble manually drawing points with text on a map when LABELCACHE OFF. I do have better luck, but sometimes crashes with LABELCACHE ON. I am attaching a reproducer for me.

ms.zip

$ php l.php
php: /home/akrherz/BUILD/mapserver/maprendering.c:998: msDrawTextSymbol: Assertion `ts->textpath' failed.
Aborted (core dumped)

If I enable LABELCACHE, I get this
l

This was working for me with PHP mapscript 6.4. My environment is RedHat 7.2 64bit, thanks

@tbonfort tbonfort self-assigned this Feb 13, 2016
@tbonfort tbonfort merged commit 2f3e195 into MapServer:branch-7-0 Feb 13, 2016
@tbonfort tbonfort deleted the issues/5239-php-point-label-bug branch February 13, 2016 11:00
@akrherz
Copy link
Contributor Author

akrherz commented Feb 13, 2016

thanks @tbonfort ! That fixed the reproducer here and my full script gets a bit further now, but am now seeing this

php: /home/akrherz/BUILD/mapserver/maplabel.c:166: msComputeTextPath: Assertion `ts->annotext && *ts->annotext' failed.

I'll see about making another reproducer and open another ticket if I can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants