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

Segfault on exit running test PyQgsPalLabelingCanvas #20068

Closed
qgib opened this issue Dec 12, 2014 · 2 comments
Closed

Segfault on exit running test PyQgsPalLabelingCanvas #20068

qgib opened this issue Dec 12, 2014 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption High Priority Labeling Related to QGIS map labeling
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Dec 12, 2014

Author Name: Sandro Santilli (@strk)
Original Redmine Issue: 11853
Affected QGIS version: master
Redmine category:labelling


It looks like a thread is not being waited for completion:

[strk@cdb:/usr/src/qgis/qgis-master-backup/b(master)] ctest -R PyQgsPalLabelingCanvas -V
[...]
test 112
    Start 112: PyQgsPalLabelingCanvas
[...]
112:
112: ----------------------------------------------------------------------
112: Ran 9 tests in 0.479s
112:
112: OK
112:
112: QThreadStorage: Thread 0x268a950 exited after QThreadStorage 7 destroyed
112:
112: CMake Error at PyQgsPalLabelingCanvas.cmake:28 (MESSAGE):
112:   Segmentation fault
112:
112:
1/1 Test #10171: PyQgsPalLabelingCanvas ...........***Failed    0.77 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) =   0.78 sec

The following tests FAILED:
        112 - PyQgsPalLabelingCanvas (Failed)
Errors while running CTest

The valgrind say on it:

==7717== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==7717==  Access not within mapped region at address 0x0
==7717==    at 0x6A75642: QThreadStorageData::get() const (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==7717==    by 0x8FE86C0: ??? (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==7717==    by 0x8FEA3C2: ??? (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==7717==    by 0x8FEABBF: QFontEngineFT::~QFontEngineFT() (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==7717==    by 0x8FE23F8: QFontEngineX11FT::~QFontEngineX11FT() (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==7717==    by 0x8F1E22F: ??? (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==7717==    by 0x8FE3988: QFontEngineMultiFT::~QFontEngineMultiFT() (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==7717==    by 0x8F17A50: ??? (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==7717==    by 0x8F17B79: ??? (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==7717==    by 0x8F17CB8: ??? (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==7717==    by 0x6A754B9: QThreadStorageData::finish(void**) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==7717==    by 0x6A763C2: ??? (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==7717==  If you believe this happened as a result of a stack
==7717==  overflow in your program's main thread (unlikely but
==7717==  possible), you can try to increase the size of the
==7717==  main thread stack using the --main-stacksize= flag.
==7717==  The main thread stack size used in this run was 8388608.

@qgib
Copy link
Contributor Author

qgib commented Feb 13, 2015

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


fixed in e96b204


  • resolution was changed from to fixed/implemented
  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Feb 13, 2015

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


  • category_id was configured as Labelling

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Labeling Related to QGIS map labeling Crash/Data Corruption labels May 25, 2019
@qgib qgib added this to the Version 2.8 milestone 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 Labeling Related to QGIS map labeling
Projects
None yet
Development

No branches or pull requests

1 participant