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

Crash after simple zooming and panning map #20003

Closed
qgib opened this issue Dec 1, 2014 · 15 comments
Closed

Crash after simple zooming and panning map #20003

qgib opened this issue Dec 1, 2014 · 15 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption High Priority Map and Legend Related to map or legend rendering

Comments

@qgib
Copy link
Contributor

qgib commented Dec 1, 2014

Author Name: Alexander Novoselov (Alexander Novoselov)
Original Redmine Issue: 11775
Affected QGIS version: 2.6.1
Redmine category:map_canvas


ubuntugis-unstable

Crash after simple zooming and panning map

Warning: QGraphicsScene::addItem: item has already been added to this scene
QGIS died on signal 11[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[New Thread 0x82973b40 (LWP 3934)]
[New Thread 0x9915db40 (LWP 3898)]
[New Thread 0x9895cb40 (LWP 3897)]
[New Thread 0x9995eb40 (LWP 3896)]
[New Thread 0xa67bdb40 (LWP 3895)]
[New Thread 0xa5dffb40 (LWP 16663)]
[New Thread 0xab4d0b40 (LWP 16622)]
[New Thread 0xabdf1b40 (LWP 16621)]
[New Thread 0xacbffb40 (LWP 16616)]
[New Thread 0xad5f5b40 (LWP 16614)]
0xb77c1424 in __kernel_vsyscall ()
[Current thread is 1 (Thread 0xafc85740 (LWP 16613))]
#_0  0xb77c1424 in __kernel_vsyscall ()
No symbol table info available.
#_1  0xb290f96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#_2  0xb2d182ec in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#_3  0xb4432350 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_4  0xb441d412 in QFutureInterfaceBase::waitForFinished() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_5  0xb44207a3 in QFutureWatcherBase::waitForFinished() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_6  0xb4f3032a in QgsMapRendererParallelJob::cancel() () from /usr/lib/libqgis_core.so.2.6.0
No symbol table info available.
#_7  0xb4a27130 in QgsMapCanvas::stopRendering() () from /usr/lib/libqgis_gui.so.2.6.0
No symbol table info available.
#_8  0xb4a2aee5 in QgsMapCanvas::refreshMap() () from /usr/lib/libqgis_gui.so.2.6.0
No symbol table info available.
#_9  0xb4ace3cd in ?? () from /usr/lib/libqgis_gui.so.2.6.0
No symbol table info available.
#_10 0xb455d6b1 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_11 0xb4566655 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_12 0xb456673c in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_13 0xb4561ac4 in QObject::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_14 0xb3a31ed4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
No symbol table info available.
#_15 0xb3a3730d in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
No symbol table info available.
#_16 0xb4e28cf1 in QgsApplication::notify(QObject*, QEvent*) () from /usr/lib/libqgis_core.so.2.6.0
No symbol table info available.
#_17 0xb454697e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_18 0xb457b990 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_19 0xb45790f8 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_20 0xb2966d46 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#_21 0xb29670e5 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#_22 0xb29671c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#_23 0xb4579887 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_24 0xb3aeaafa in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
No symbol table info available.
#_25 0xb454550d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_26 0xb45457a9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_27 0xb454aeba in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_28 0xb3a2fa74 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
No symbol table info available.
#_29 0x0811d734 in main ()
No symbol table info available.
gdb returned 0


@qgib
Copy link
Contributor Author

qgib commented Dec 2, 2014

Author Name: Giovanni Manghi (@gioman)


any layer type? it happens in all projects? or just some? Please attach sample data.

the same questions apply for #20004

seems anyway you could have local issues, as this problems are (clearly) not affecting the vast majority of users. Could of course be a qgis issue anyway, but without more details/data/projects we cannot do much.


  • category_id was configured as Map Canvas
  • status_id was changed from Open to Feedback
  • priority_id was changed from Normal to High

@qgib
Copy link
Contributor Author

qgib commented Dec 2, 2014

Author Name: Alexander Novoselov (Alexander Novoselov)


Uses a complex map of 18 layers. All layers postgis. Each layer uses filters. Many symbols.
Fall is irregular, but constantly. With version 2.4 work became uncomfortable. Version 2.2 works well.
Judging by the debug problem this fall, probably in the running in parallel rendering.
If you give me a package with debug symbols for Ubuntu 12.04 (32bit), 14.04 (64 bit), I can catch a crash.

Sorry my english (translator).


  • 8170 was configured as qgis1.png

@qgib
Copy link
Contributor Author

qgib commented Dec 3, 2014

Author Name: Giovanni Manghi (@gioman)


Alexander Novoselov wrote:

Uses a complex map of 18 layers. All layers postgis. Each layer uses filters. Many symbols.
Fall is irregular, but constantly. With version 2.4 work became uncomfortable. Version 2.2 works well.
Judging by the debug problem this fall, probably in the running in parallel rendering.
If you give me a package with debug symbols for Ubuntu 12.04 (32bit), 14.04 (64 bit), I can catch a crash.

Sorry my english (translator).

please try to lower the number of cpu cores used in the rendering process, the option is in the qgis general options, "rendering" tab.

@qgib
Copy link
Contributor Author

qgib commented Dec 3, 2014

Author Name: Alexander Novoselov (Alexander Novoselov)


CPU - i7 8 core (hypertrending)
increase to 4 - crash

QGIS died on signal 11[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[New Thread 0xa6126b40 (LWP 1949)]
[New Thread 0x9b41db40 (LWP 1948)]
[New Thread 0x9a41bb40 (LWP 1947)]
[New Thread 0x9ac1cb40 (LWP 1945)]
[New Thread 0x798efb40 (LWP 21319)]
[New Thread 0xa4befb40 (LWP 4279)]
[New Thread 0xab442b40 (LWP 4225)]
[New Thread 0xabd6bb40 (LWP 4224)]
[New Thread 0xacbffb40 (LWP 4221)]
[New Thread 0xad56cb40 (LWP 4220)]
0xb7738424 in __kernel_vsyscall ()
[Current thread is 1 (Thread 0xafbfc740 (LWP 4219))]
#_0  0xb7738424 in __kernel_vsyscall ()
No symbol table info available.
#_1  0xb288696b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#_2  0xb2c8f2ec in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#_3  0xb43a9350 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_4  0xb4394412 in QFutureInterfaceBase::waitForFinished() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_5  0xb43977a3 in QFutureWatcherBase::waitForFinished() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_6  0xb4ea732a in QgsMapRendererParallelJob::cancel() () from /usr/lib/libqgis_core.so.2.6.0
No symbol table info available.
#_7  0xb499e130 in QgsMapCanvas::stopRendering() () from /usr/lib/libqgis_gui.so.2.6.0
No symbol table info available.
#_8  0xb49a1ee5 in QgsMapCanvas::refreshMap() () from /usr/lib/libqgis_gui.so.2.6.0
No symbol table info available.
#_9  0xb4a453cd in ?? () from /usr/lib/libqgis_gui.so.2.6.0
No symbol table info available.
#_10 0xb44d46b1 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_11 0xb44dd655 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_12 0xb44dd73c in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_13 0xb44d8ac4 in QObject::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_14 0xb39a8ed4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
No symbol table info available.
#_15 0xb39ae30d in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
No symbol table info available.
#_16 0xb4d9fcf1 in QgsApplication::notify(QObject*, QEvent*) () from /usr/lib/libqgis_core.so.2.6.0
No symbol table info available.
#_17 0xb44bd97e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_18 0xb44f2990 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_19 0xb44f00f8 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_20 0xb28ddd46 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#_21 0xb28de0e5 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#_22 0xb28de1c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#_23 0xb44f0887 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_24 0xb3a61afa in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
No symbol table info available.
#_25 0xb44bc50d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_26 0xb44bc7a9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_27 0xb44c1eba in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
No symbol table info available.
#_28 0xb39a6a74 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
No symbol table info available.
#_29 0x0811d734 in main ()
No symbol table info available.
gdb returned 0

turn off at all, is expected to fall

@qgib
Copy link
Contributor Author

qgib commented Dec 3, 2014

Author Name: Giovanni Manghi (@gioman)


Alexander Novoselov wrote:

CPU - i7 8 core (hypertrending)
increase to 4 - crash

turn off at all, is expected to fall

sorry it is not clear to me. Does this means that if you decrease the number of cores it becomes more stable?

@qgib
Copy link
Contributor Author

qgib commented Dec 3, 2014

Author Name: Alexander Novoselov (Alexander Novoselov)


No a decrease from 8 to 4 fall happened. Now disable the parallel rendering. Waiting for the fall.

@qgib
Copy link
Contributor Author

qgib commented Dec 3, 2014

Author Name: Alexander Novoselov (Alexander Novoselov)


After disabling parallel rendering - while not crashing!

@qgib
Copy link
Contributor Author

qgib commented Dec 3, 2014

Author Name: Giovanni Manghi (@gioman)


Alexander Novoselov wrote:

After disabling parallel rendering - while not crashing!

no crash after disabling parallel rendering, correct?

@qgib
Copy link
Contributor Author

qgib commented Dec 3, 2014

Author Name: Alexander Novoselov (Alexander Novoselov)


Giovanni Manghi wrote:

Alexander Novoselov wrote:

After disabling parallel rendering - while not crashing!

no crash after disabling parallel rendering, correct?

yes. zooming and panning map - no crash.

@qgib
Copy link
Contributor Author

qgib commented Dec 5, 2014

Author Name: Matthias Kuhn (@m-kuhn)


Are you using joins?
Is caching enabled for these joins?

@qgib
Copy link
Contributor Author

qgib commented Dec 5, 2014

Author Name: Alexander Novoselov (Alexander Novoselov)


Matthias Kuhn wrote:

Are you using joins?

No

@qgib
Copy link
Contributor Author

qgib commented Dec 5, 2014

Author Name: Giovanni Manghi (@gioman)


probably this should be closed as duplicate of #19469

@qgib
Copy link
Contributor Author

qgib commented Dec 5, 2014

Author Name: Alexander Novoselov (Alexander Novoselov)


Giovanni Manghi wrote:

probably this should be closed as duplicate of #19469

No! This bug associated with parallel rendering, and manifests itself when drawing layer by accident.

Zooming and panning map.

@qgib
Copy link
Contributor Author

qgib commented Dec 5, 2014

Author Name: Giovanni Manghi (@gioman)


Alexander Novoselov wrote:

Giovanni Manghi wrote:

probably this should be closed as duplicate of #19469

No! This bug associated with parallel rendering,

as it is #19469

Your issue is probably a different manifestation of the same issue.

@qgib
Copy link
Contributor Author

qgib commented Dec 21, 2015

Author Name: Giovanni Manghi (@gioman)


duplicate of #19469 reopen if necessary.


  • status_id was changed from Feedback to Closed
  • resolution was changed from to duplicate

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Map and Legend Related to map or legend rendering 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 Map and Legend Related to map or legend rendering
Projects
None yet
Development

No branches or pull requests

1 participant