[Qgis-developer] Magnifier causes crash
Richard Duivenvoorde
rdmailings at duif.net
Wed Sep 14 13:12:38 PDT 2016
On 14-09-16 18:48, Paolo Cavallini wrote:
> Il 14/09/2016 13:39, Paolo Cavallini ha scritto:
> Interesting: it does not crash when run normally, neither directly nor
> under gdb. It does when started with --configpath, even on a fresh,
> empty dir.
> Anyone confirms this?
Yep, here too; Debian testing here
Without configpath & strace:
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=5151,
si_uid=1000} ---
/home/richard/apps/qgis/master/debug/bin/qgis[0x405a6c]
/home/richard/apps/qgis/master/debug/bin/qgis[0x405d42]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(qt_message_output(QtMsgType,
char const*)+0x2f)[0x7f2c35124e9f]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x70371)[0x7f2c35125371]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(qFatal(char const*,
...)+0xa1)[0x7f2c35125c91]
/home/richard/apps/qgis/master/debug/lib/libqgis_core.so.2.17.0(QgsMapRendererCustomPainterJob::start()+0x3d0)[0x7f2c35ca8c92]
/home/richard/apps/qgis/master/debug/lib/libqgis_core.so.2.17.0(QgsMapRendererSequentialJob::start()+0x1bf)[0x7f2c35cb4407]
/home/richard/apps/qgis/master/debug/lib/libqgis_gui.so.2.17.0(QgsMapCanvas::refreshMap()+0x416)[0x7f2c3752f7b6]
/home/richard/apps/qgis/master/debug/lib/libqgis_gui.so.2.17.0(+0x5f9fc1)[0x7f2c37606fc1]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(QMetaObject::activate(QObject*,
QMetaObject const*, int, void**)+0x4d0)[0x7f2c35253fc0]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x1a982a)[0x7f2c3525e82a]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(QObject::event(QEvent*)+0xa3)[0x7f2c35259c33]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QApplicationPrivate::notify_helper(QObject*,
QEvent*)+0x8c)[0x7f2c3458990c]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QApplication::notify(QObject*,
QEvent*)+0x2b6)[0x7f2c34590846]
/home/richard/apps/qgis/master/debug/lib/libqgis_core.so.2.17.0(QgsApplication::notify(QObject*,
QEvent*)+0xb3)[0x7f2c35b5f2d9]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(QCoreApplication::notifyInternal(QObject*,
QEvent*)+0x8d)[0x7f2c3523f8fd]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x1bd6a0)[0x7f2c352726a0]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x1ba8a1)[0x7f2c3526f8a1]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x2a7)[0x7f2c2cbb3697]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4a900)[0x7f2c2cbb3900]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c)[0x7f2c2cbb39ac]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0x64)[0x7f2c352701f4]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x26e9d6)[0x7f2c346339d6]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0x3f)[0x7f2c3523e17f]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)+0x1b5)[0x7f2c3523e4e5]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(QCoreApplication::exec()+0x99)[0x7f2c352444a9]
/home/richard/apps/qgis/master/debug/bin/qgis[0x409d19]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f2c2e341700]
/home/richard/apps/qgis/master/debug/bin/qgis(_start+0x29)[0x405489]
+++ killed by SIGABRT +++
Aborted
gdb output without configpath
(gdb) bt
#0 0x00007fffed9fc198 in __GI_raise (sig=sig at entry=6) at
../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007fffed9fd61a in __GI_abort () at abort.c:89
#2 0x0000000000405d47 in myMessageOutput (type=QtFatalMsg,
msg=0xbb4abe8 "ASSERT failure in Job::startRender(): \"pre-set DPI
not equal to painter's DPI (10 vs 9.6)\", file
/home/richard/dev/qgis/git/qgis/src/core/qgsmaprenderercustompainterjob.cpp,
line 77") at /home/richard/dev/qgis/git/qgis/src/app/main.cpp:398
#3 0x00007ffff47cce9f in qt_message_output(QtMsgType, char const*) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4 0x00007ffff47cd371 in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5 0x00007ffff47cdc91 in qFatal(char const*, ...) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6 0x00007ffff5350c92 in QgsMapRendererCustomPainterJob::start
(this=0xbe34570)
at
/home/richard/dev/qgis/git/qgis/src/core/qgsmaprenderercustompainterjob.cpp:77
#7 0x00007ffff535c407 in QgsMapRendererSequentialJob::start
(this=0xbc8e070) at
/home/richard/dev/qgis/git/qgis/src/core/qgsmaprenderersequentialjob.cpp:74
#8 0x00007ffff6bd77b6 in QgsMapCanvas::refreshMap (this=0xe32340) at
/home/richard/dev/qgis/git/qgis/src/gui/qgsmapcanvas.cpp:741
#9 0x00007ffff6caefc1 in QgsMapCanvas::qt_static_metacall (_o=0xe32340,
_c=QMetaObject::InvokeMetaMethod, _id=49, _a=0x7fffffffc8f0)
at
/home/richard/dev/qgis/git/qgis/build/src/gui/moc_qgsmapcanvas.cxx:191
#10 0x00007ffff48fbfc0 in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007ffff490682a in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#12 0x00007ffff4901c33 in QObject::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#13 0x00007ffff3c3190c in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#14 0x00007ffff3c38846 in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#15 0x00007ffff52072d9 in QgsApplication::notify (this=0x7fffffffd300,
receiver=0xbe07c60, event=0x7fffffffcd70)
at /home/richard/dev/qgis/git/qgis/src/core/qgsapplication.cpp:281
#16 0x00007ffff48e78fd in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#17 0x00007ffff491a6a0 in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00007ffff49178a1 in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#19 0x00007fffec25b697 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fffec25b900 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fffec25b9ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007ffff49181f4 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#23 0x00007ffff3cdb9d6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#24 0x00007ffff48e617f in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#25 0x00007ffff48e64e5 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
---Type <return> to continue, or q <return> to quit---
More information about the Qgis-developer
mailing list