Opened 14 years ago
Closed 14 years ago
#2538 closed bug (invalid)
QGIS 1.0.2 (Windows binary) crashes on signal from QgsMapToolEmitPoint
Reported by: | nodereus | Owned by: | |
---|---|---|---|
Priority: | critical: causes crash or data corruption | Milestone: | Version 1.6.0 |
Component: | Python plugins and bindings | Version: | 1.0.2 |
Keywords: | QgsMapToolEmitPoint segfault | Cc: | |
Must Fix for Release: | No | Platform: | Windows |
Platform Version: | Windows - XP | Awaiting user input: | no |
Description
Windows binary of stable QGIS 1.0.2 crashes when a python plugin has a QgsMapToolEmitPoint based class emit a SIGNAL('canvasClicked(QgsPoint& , Qt::MouseButton )').
Note that I had the exact same problem when I compiled 1.0.2 from source on Ubuntu 9.10, appearantly due to incompatibility with the versions of Qt4 and SIP that ship with that distro. In that case, I could 'fix' it there by backporting the qgsmaptoolemitpoint code from 1.3 (where the signal's signature is changed to use a 'const QgsPoint&'). It seems likely that the problems are related.
To reproduce: Connect the signal 'canvasClicked(QgsPoint& , Qt::MouseButton )' from a QgsMapToolEmitPoint instance to any slot, and click on the canvas with that maptool active.
Change History (6)
comment:1 by , 14 years ago
comment:3 by , 14 years ago
Milestone: | → Version 1.0.3 |
---|
follow-up: 5 comment:4 by , 14 years ago
Milestone: | → Version 1.6.0 |
---|
comment:6 by , 14 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Closing it, pending any user feedback. 1.0 is no longer supported anyway. Please reopen if necessary.
For the record -- those links in the ticket were generated by the tracker and do not go anywhere. I just did not expect it to treat camelcase as wiki links.