Opened 18 years ago
Closed 18 years ago
#1745 closed defect (fixed)
crash on windows when setting template after processQueryTemplate has been called
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | high | Milestone: | |
Component: | MapScript-PHP | Version: | 4.8 |
Severity: | normal | Keywords: | |
Cc: | nsavard@… |
Description
I am getting a crash on Windows when executing the test script which I will attach at this bug report (will also provide MAP file and shapefile). Using MS4W 1.5 with Mapscript 4.8.3.
Attachments (2)
Change History (9)
by , 18 years ago
Attachment: | bug1745.zip added |
---|
comment:1 by , 18 years ago
this could be related: http://bugzilla.maptools.org/show_bug.cgi?id=1409
comment:2 by , 18 years ago
The problem I have seen is that the ms4w builds were not using regex from php. That might cause unusual behaviour. I have sent a new built to bart http://www2.dmsolutions.ca/tmp/ms4w_483_bin.zip and the problem seem to go. Keep this bug opne until we realsed a new version of binaries for ms4w.
comment:4 by , 18 years ago
Status: | new → assigned |
---|
comment:5 by , 18 years ago
Cc: | added |
---|
i rebuilt with PHP_REGEX, and Bart's processQueryTemplate test works fine - however this does not solve the original reported Chameleon problem (http://bugzilla.maptools.org/show_bug.cgi?id=1409). I then tried your patch and same results: processQueryTemplate works but other problem still exists. I get the same error as i reported in that bug's comment#4. Note that this problem existed in ms4w-1.4.1 (not using this mapserver buildkit). Not related? Assefa do you suggest releasing this php_regex ms4w version before we solve the other chameleon problem(s)?
comment:6 by , 18 years ago
Cc: | added |
---|
I have seen a bug were Norm closed a chamelon bug related where the font name was not trimmed. I think the print problem is also related to the font name issue. From what I have seen on Friday the problem could come from a couple of calls to function drawScaleLabel in preview.php. I did not though pursue this more. I think ms4w php regex should be released regardless of chameleon problems.
comment:7 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
new version of ms4w (1.5.1) available, with PHP_REGEX.
Note:
See TracTickets
for help on using tickets.
testcase (MAP file, shapefile, test script)