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

Conversation

Projects
None yet
2 participants
@tbonfort
Member

tbonfort commented Feb 13, 2016

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 added a commit to tbonfort/mapserver that referenced this pull request Feb 13, 2016

@tbonfort tbonfort merged commit 2f3e195 into mapserver:branch-7-0 Feb 13, 2016

1 of 2 checks passed

continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details

@tbonfort tbonfort deleted the tbonfort:issues/5239-php-point-label-bug branch Feb 13, 2016

@akrherz

This comment has been minimized.

Show comment
Hide comment
@akrherz

akrherz Feb 13, 2016

Contributor

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.

Contributor

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