Crash when using TMS tiles #2316
Comments
Author: tom_verbeure[at]yahoo.com This crash also happens in Windows on the released 0.14 binary. |
Author: tom_verbeure[at]yahoo.com I spent two full battery chargers of my laptop to track this one down, but without much success. However, I did find a couple of things that are fishy in the current code:
See patch.txt for the (trivial) fixes. I have further questions about the code:
Also, coming back to the real problem of this bug: I tried putting a spelling mistake in on of the existing entires and then I'm never seeing a crash! Could it be that this bug ONLY happens when dealing with localhost ? |
Author: Koying Thanks for your effort. I've not much availability for Merkaartor right now, unfortunately... Re:
|
Author: koying (In [17843]) FIX : Tiles network patch by Tom Verbeure (refs #2316) |
Author: tom_verbeure[at]yahoo.com I see the same crashing problem in the currently released 0.14 binary when I run it in on Windows XP (in a Vmware Fusion virtual machine). It looks like it's crashing in code related to the signals/slots dispatcher. Running a tile server on localhost is obviously an obscure use case... I'm going to look into it a bit more. |
Author: tom_verbeure[at]yahoo.com After compiling to a debug version from source of Qt 4.5.2, I tracked this down to line 268 of src/gui/kernel/qeventdispatcher_mac.mm. Guess, what, there was a patch for that in Qt two months ago! [http://qt.gitorious.com/qt/qt/commit/84abdaa41e6c3bde6ac653e02bd72300b6681572?diffmode=sidebyside] I patched just that in Qt 4.5.2 and the crash behavior has gone. The crash that I'm seeing in Windows XP may be something else? I can't check because I don't have a development environment for that... In any case, I believe this bug can be closed... |
Author: tom_verbeure[at]yahoo.com Final comment: this probably doesn't crash on Windows after all. The crash on Windows is probably due to bug 2317... |
Author: Koying Thanks for your investigations... |
Reporter: tom_verbeure[at]yahoo.com
[Submitted to the original trac issue database at 12.47pm, Friday, 25th September 2009]
Configuration: Mac, version 0.14, compiled from source
QT: 4.5.1
When you specify a wrongly configured TMS server and then zoom in/zoom out to the same point (or move around the map etc), Merkaartor will crash as follows:
The TMS server configuration was: localhost with some bogus path parameters
The local server running was simply a freshly created rails application with no changes whatsoever that was started as ./scripts/server -p 80
The text was updated successfully, but these errors were encountered: