[Qgis-developer] QGIS main thread crash on Mac OS X

Larry Shaffer larrys at dakotacarto.com
Fri Jul 17 07:44:38 PDT 2015


Hi Marcus,

>From your report, it looks like maybe you have assigned a custom font
(maybe in the Python Console settings?) to be used by one of QGIS's
built-in editors (or one utilized by a plugin) that is based off of
QScintilla2; and, the font you have chosen is either corrupt or otherwise
causing problems. I don't see any clear indication of whether the original
calling code is C++ or Python.

If you have not set a custom font, and it is the default Qt font that has
issues, then that is a problem.

As a start, you may wish to use Font Book to review your installed fonts
and fix any issues. Also, it would be good for you to post particulars
about your QGIS version, install method, etc.

Regards,

Larry Shaffer
Dakota Cartography
Black Hills, South Dakota

On Thu, Jul 16, 2015 at 5:54 PM, Marcus Santos <mvcs at me.com> wrote:

> Hi all,
>
> Has someone been experiencing unexpected crashes on Mac OS X?
> Sometimes QGIS crash when I’m literally doing nothing.
> The branch I’m working it’s not up to date but I would like to ask anyway.
>
> This is the report:
>
>
> Crashed Thread:        0  Dispatch queue: com.apple.main-thread
>
> Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
> Exception Codes:       EXC_I386_GPFLT
>
> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> 0   QtGui                         0x000000010e783cbf QFont::QFont(QFont
> const&) + 15
> 1   libqscintilla2.dylib           0x000000010f28b2df
> SurfaceImpl::MeasureWidths(Font&, char const*, int, float*) + 95
> 2   libqscintilla2.dylib           0x000000010f3bc889
> PositionCache::MeasureWidths(Surface*, ViewStyle const&, unsigned int, char
> const*, unsigned int, float*, Document*) + 745
> 3   libqscintilla2.dylib           0x000000010f3aa9c0
> EditView::LayoutLine(EditModel const&, int, Surface*, ViewStyle const&,
> LineLayout*, int) + 2048
> 4   libqscintilla2.dylib           0x000000010f39198e
> Editor::WrapOneLine(Surface*, int) + 110
> 5   libqscintilla2.dylib           0x000000010f38f61e
> Editor::WrapLines(Editor::wrapScope) + 894
> 6   libqscintilla2.dylib           0x000000010f39fb64 Editor::Idle() + 36
> 7   libqscintilla2.dylib           0x000000010f28e402
> QsciScintillaQt::onIdle() + 18
> 8   QtCore                         0x000000010e33818b
> QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 2363
> 9   QtCore                         0x000000010e333120
> QObject::event(QEvent*) + 48
> 10  QtGui                         0x000000010e59889b
> QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251
> 11  QtGui                         0x000000010e59ba17
> QApplication::notify(QObject*, QEvent*) + 7543
> 12  org.qgis.qgis2_core           0x000000010db4dbe9
> QgsApplication::notify(QObject*, QEvent*) + 93
> 13  QtCore                         0x000000010e31f2a6
> QCoreApplication::notifyInternal(QObject*, QEvent*) + 118
> 14  QtGui                         0x000000010e59c31d
> qt_sendSpontaneousEvent(QObject*, QEvent*) + 45
> 15  QtGui                         0x000000010e54aea5
> QEventDispatcherMacPrivate::activateTimer(__CFRunLoopTimer*, void*) + 197
> 16  com.apple.CoreFoundation       0x00007fff9675c2e4
> __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
> 17  com.apple.CoreFoundation       0x00007fff9675bf73 __CFRunLoopDoTimer
> + 1059
> 18  com.apple.CoreFoundation       0x00007fff967cf53d __CFRunLoopDoTimers
> + 301
> 19  com.apple.CoreFoundation       0x00007fff96717608 __CFRunLoopRun +
> 2024
> 20  com.apple.CoreFoundation       0x00007fff96716bd8
> CFRunLoopRunSpecific + 296
> 21  com.apple.HIToolbox           0x00007fff8ce4156f
> RunCurrentEventLoopInMode + 235
> 22  com.apple.HIToolbox           0x00007fff8ce412ea
> ReceiveNextEventCommon + 431
> 23  com.apple.HIToolbox           0x00007fff8ce4112b
> _BlockUntilNextEventMatchingListInModeWithFilter + 71
> 24  com.apple.AppKit               0x00007fff8e0e48ab _DPSNextEvent + 978
> 25  com.apple.AppKit               0x00007fff8e0e3e58 -[NSApplication
> nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
> 26  com.apple.AppKit               0x00007fff8e0d9af3 -[NSApplication
> run] + 594
> 27  QtGui                         0x000000010e54c21b
> QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) +
> 2027
> 28  QtCore                         0x000000010e31c61f
> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 495
> 29  QtCore                         0x000000010e31f857
> QCoreApplication::exec() + 199
> 30  org.qgis.qgis2                 0x000000010a871f5b main + 16527
> 31  libdyld.dylib                 0x00007fff95c875c9 start + 1
>
>
>
> Cheers,
> Marcus
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150717/b5ca530e/attachment-0001.html>


More information about the Qgis-developer mailing list