Bug 423443 - Thumbnailer crashes in KoPAPageBase::generateThumbnail() while generating thumbnail for Calligra document
Summary: Thumbnailer crashes in KoPAPageBase::generateThumbnail() while generating thu...
Status: REPORTED
Alias: None
Product: calligracommon
Classification: Applications
Component: koreport (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Calligra Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-24 12:37 UTC by Sébastien Cheminel
Modified: 2022-04-18 15:11 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sébastien Cheminel 2020-06-24 12:37:54 UTC
SUMMARY


STEPS TO REPRODUCE

1. On a french language systeme.
2. Loggued in for days on the laptop
3. I don't know what produce it


OBSERVED RESULT

A message, in french, saying kdeinit5 has failed to start.

"""
Nous sommes désolés l'application kdeinit5 s'est arrêtée subitement.
Vous ne pouvez pas rapportez cette erreur car l'application kdeinit5 ne fournit pas d'adresse de bogues.

"""

Exécutable : kdeinit5 PID : 9748 Signal : Segmentation fault (11) Temps : 24/06/2020 14:09:45 CEST


EXPECTED RESULT


SOFTWARE/OS VERSIONS

Operating System: KDE neon 5.19
KDE Plasma Version: 5.19.0
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2
Kernel Version: 5.3.0-59-generic
OS Type: 64-bit
Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz
Memory: 15,5 Gio de mémoire vive
Graphics Processor: GeForce GTX 1050 with Max-Q Design/PCIe/SSE2


ADDITIONAL INFORMATION

I've red https://bugs.kde.org/show_bug.cgi?id=421449 https://bugs.kde.org/show_bug.cgi?id=121109 that was listed in the possible duplicates and it seem's to me to be a new bug.


Error display in the developpeur tab of the crash window :



Application: kdeinit5 (kdeinit5), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f6a58b00468 in QVector<unsigned int>::at(int) const (i=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvector.h:456
#5  0x00007f6a58b00468 in convertIndexedToARGB32PM(uint*, int, QVector<unsigned int> const*) (buffer=0x7ffc12a31ef0, count=1, clut=0x0) at painting/qdrawhelper.cpp:710
#6  0x00007f6a58ae38c7 in fetchTransformed<(TextureBlendType)2, (QPixelLayout::BPP)0>(uint*, Operator const*, QSpanData const*, int, int, int) (buffer=0x7ffc12a31ef0, data=0x5633f9478eb8, y=<optimized out>, x=<optimized out>, length=1) at painting/qdrawhelper.cpp:2258
#7  0x00007f6a58b16434 in BlendSrcGeneric::fetch(int, int, int) (len=<optimized out>, y=0, x=0, this=0x7ffc12a2fe50) at painting/qdrawhelper.cpp:4748
#8  0x00007f6a58b16434 in handleSpans<BlendSrcGeneric>(int, QT_FT_Span_ const*, QSpanData const*, BlendSrcGeneric&) (count=count@entry=1, spans=spans@entry=0x7ffc12a3bfe0, data=data@entry=0x5633f9478eb8, handler=...) at painting/qdrawhelper.cpp:4692
#9  0x00007f6a58b14bf1 in blend_src_generic_rgb64(int, QSpan const*, void*) (count=1, spans=0x7ffc12a3bfe0, userData=0x5633f9478eb8) at painting/qdrawhelper.cpp:4814
#10 0x00007f6a58b48426 in fillRect_normalized(QRect const&, QSpanData*, QRasterPaintEnginePrivate*) (r=..., data=data@entry=0x5633f9478eb8, pe=pe@entry=0x5633f9478ab0) at painting/qpaintengine_raster.cpp:1542
#11 0x00007f6a58b4e186 in QRasterPaintEngine::drawImage(QRectF const&, QImage const&, QRectF const&, QFlags<Qt::ImageConversionFlag>) (this=0x5633fa2b3450, r=..., img=..., sr=...) at painting/qpaintengine_raster.cpp:2477
#12 0x00007f6a58b6f999 in QPainter::drawImage(QRectF const&, QImage const&, QRectF const&, QFlags<Qt::ImageConversionFlag>) (this=this@entry=0x7ffc12a3d028, targetRect=..., image=..., sourceRect=..., flags=flags@entry=...) at painting/qpainter.cpp:5562
#13 0x00007f6a18a15512 in QPainter::drawImage(QRect const&, QImage const&, QRect const&, QFlags<Qt::ImageConversionFlag>) (flags=..., sourceRect=<synthetic pointer>..., image=..., targetRect=<synthetic pointer>..., this=0x7ffc12a3d028) at /usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:861
#14 0x00007f6a18a15512 in Libemf::OutputPainterStrategy::stretchDiBits(Libemf::StretchDiBitsRecord&) (this=0x7ffc12a3ce90, record=...) at ./libs/vectorimage/libemf/EmfOutputPainterStrategy.cpp:1369
#15 0x00007f6a18a0f2c1 in Libemf::Parser::readRecord(QDataStream&) (this=this@entry=0x7ffc12a3ce80, stream=...) at ./libs/vectorimage/libemf/EmfParser.cpp:819
#16 0x00007f6a18a0fcb3 in Libemf::Parser::loadFromStream(QDataStream&) (this=this@entry=0x7ffc12a3ce80, stream=...) at ./libs/vectorimage/libemf/EmfParser.cpp:123
#17 0x00007f6a18a102d5 in Libemf::Parser::load(QByteArray const&) (this=this@entry=0x7ffc12a3ce80, contents=...) at ./libs/vectorimage/libemf/EmfParser.cpp:100
#18 0x00007f6a18c3ab94 in RenderThread::drawEmf(QPainter&) const (this=0x5633fa2b3480, painter=...) at ./plugins/vectorshape/VectorShape.cpp:215
#19 0x00007f6a18c3ad5d in RenderThread::draw(QPainter&) (this=this@entry=0x5633fa2b3480, painter=...) at ./plugins/vectorshape/VectorShape.cpp:155
#20 0x00007f6a18c3ae41 in RenderThread::run() (this=0x5633fa2b3480) at ./plugins/vectorshape/VectorShape.cpp:135
#21 0x00007f6a18c3a5c8 in VectorShape::render(KoViewConverter const&, bool, bool) const (this=0x5633f9235470, converter=..., asynchronous=<optimized out>, useCache=<optimized out>) at ./plugins/vectorshape/VectorShape.cpp:401
#22 0x00007f6a1dfc038e in KoShapePainter::paint(QPainter&, KoViewConverter&) (this=this@entry=0x7ffc12a3d200, painter=..., converter=...) at ./libs/flake/KoShapePainter.cpp:144
#23 0x00007f6a1b9c3188 in KoPAPage::paintPage(QPainter&, KoZoomHandler&) (this=0x5633f93802d0, painter=..., zoomHandler=...) at ./libs/pageapp/KoPAPage.cpp:178
#24 0x00007f6a1b9bfe33 in KoPAPageBase::generateThumbnail(QSize const&) (this=this@entry=0x5633f93802d0, size=...) at ./libs/pageapp/KoPAPageBase.cpp:310
#25 0x00007f6a1b9bff23 in KoPAPageBase::thumbnail(QSize const&) (this=0x5633f93802d0, size=...) at ./libs/pageapp/KoPAPageBase.cpp:279
#26 0x00007f6a1b9a4f57 in KoPADocument::pageThumbnail(KoPAPageBase*, QSize const&) (this=this@entry=0x5633f917d640, page=0x5633f93802d0, size=...) at ./libs/pageapp/KoPADocument.cpp:638
#27 0x00007f6a1b9a4fbe in KoPADocument::generatePreview(QSize const&) (this=0x5633f917d640, size=...) at ./libs/pageapp/KoPADocument.cpp:117
#28 0x00007f6a1c10174b in CalligraCreator::create(QString const&, int, int, QImage&) (this=0x5633f8ea83a0, path=..., width=128, height=128, image=...) at ./extras/thumbnail/calligracreator.cpp:125
#29 0x00007f6a49e8fba7 in ThumbnailProtocol::get(QUrl const&) (this=0x7ffc12a3d7d0, url=...) at ./thumbnail/thumbnail.cpp:266
#30 0x00007f6a500fb69d in KIO::SlaveBase::dispatch(int, QByteArray const&) () at /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#31 0x00007f6a500fbf86 in KIO::SlaveBase::dispatchLoop() () at /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#32 0x00007f6a49e8d230 in kdemain(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./thumbnail/thumbnail.cpp:138
#33 0x00005633f6acf3ad in  ()
#34 0x00005633f6ad07cb in  ()
#35 0x00005633f6ad105b in  ()
#36 0x00005633f6acc004 in  ()
#37 0x00007f6a57c22b97 in __libc_start_main (main=0x5633f6acb680, argc=3, argv=0x7ffc12a3dfe8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc12a3dfd8) at ../csu/libc-start.c:310
#38 0x00005633f6accb9a in  ()