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

composer: qgis freezes when pasting a map legend item #22018

Closed
qgib opened this issue Dec 18, 2015 · 2 comments
Closed

composer: qgis freezes when pasting a map legend item #22018

qgib opened this issue Dec 18, 2015 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption High Priority Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks

Comments

@qgib
Copy link
Contributor

qgib commented Dec 18, 2015

Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV)
Original Redmine Issue: 14005
Affected QGIS version: master
Redmine category:map_composer/printing


Since 2.12, pasting a map legend item onto a new composer window freezes QGIS, and the only way to get it unfreezed is to kill it. The gdb trace is as follow:

#_0  0x00007ffff63999c9 in QHash<QString, QgsExpressionContextScope::StaticVariable>::createNode (this=0xc22dad8, ah=37064350, akey=..., 
    avalue=..., anextNode=0x2148d78) at /usr/include/qt4/QtCore/qhash.h:548
#_1  0x00007ffff63985bf in QHash<QString, QgsExpressionContextScope::StaticVariable>::insert (this=0xc22dad8, akey=..., avalue=...)
    at /usr/include/qt4/QtCore/qhash.h:763
#_2  0x00007ffff638ff97 in QgsExpressionContextScope::addVariable (this=0xc22dad0, variable=...)
    at /home/webmaster/dev/cpp/QGIS/src/core/qgsexpressioncontext.cpp:92
#_3  0x00007ffff6391f24 in QgsExpressionContextUtils::globalScope () at /home/webmaster/dev/cpp/QGIS/src/core/qgsexpressioncontext.cpp:460
#_4  0x00007ffff66369ab in QgsComposition::createExpressionContext (this=0xb1c1ca0)
    at /home/webmaster/dev/cpp/QGIS/src/core/composer/qgscomposition.cpp:3427
#_5  0x00007ffff6587b84 in QgsComposerObject::createExpressionContext (this=0xbca3090)
    at /home/webmaster/dev/cpp/QGIS/src/core/composer/qgscomposerobject.cpp:201
#_6  0x00007ffff65c7dea in QgsComposerMapGrid::createExpressionContext (this=0xbca3090)
    at /home/webmaster/dev/cpp/QGIS/src/core/composer/qgscomposermapgrid.cpp:2240
#_7  0x00007ffff65bfb8f in QgsComposerMapGrid::draw (this=0xbca3090, p=0x7fffffffb0b0)
    at /home/webmaster/dev/cpp/QGIS/src/core/composer/qgscomposermapgrid.cpp:677
#_8  0x00007ffff65b77d7 in QgsComposerMapItemStack::drawItems (this=0xbc53480, painter=0x7fffffffb0b0)
    at /home/webmaster/dev/cpp/QGIS/src/core/composer/qgscomposermapitem.cpp:200
#_9  0x00007ffff65a9230 in QgsComposerMap::paint (this=0xbca03f0, painter=0x7fffffffb0b0, itemStyle=0xb215c88, pWidget=0x89b3870)
    at /home/webmaster/dev/cpp/QGIS/src/core/composer/qgscomposermap.cpp:422
#_10 0x00007ffff5619deb in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#_11 0x00007ffff55d7b89 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#_12 0x00007ffff568a81d in QGraphicsEffectSource::draw(QPainter*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#_13 0x00007ffff65feac9 in QgsComposerEffect::draw (this=0xbc69de0, painter=0x7fffffffb0b0)
    at /home/webmaster/dev/cpp/QGIS/src/core/composer/qgscomposereffect.cpp:42
#_14 0x00007ffff561aab3 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#_15 0x00007ffff561b396 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4

It's not happening with all map items, I've been able to replicate this issue with one project, unfortunately I can't figure out a way to reduce the project to a size that can be shared.

@qgib
Copy link
Contributor Author

qgib commented Jun 22, 2016

Author Name: Jürgen Fischer (@jef-n)


  • assigned_to_id removed Nyall Dawson

@qgib
Copy link
Contributor Author

qgib commented Sep 9, 2016

Author Name: Nyall Dawson (@nyalldawson)


Not enough here to go by - please reopen if you can determine a reproducable way to get this crash.


  • resolution was changed from to not reproducable
  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks Crash/Data Corruption labels May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption High Priority Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks
Projects
None yet
Development

No branches or pull requests

1 participant