[pkg-lxqt-devel] Bug#905967: screengrab: Segfaults when save is selected

Helge Kreutzmann debian at helgefjell.de
Sat Aug 18 07:55:40 BST 2018


Hello Bernhard,
On Sat, Aug 18, 2018 at 12:12:11AM +0200, Bernhard Übelacker wrote:
> just tried to reproduce the crash.

Thanks.

> One note first, if you follow the advice in the following link
> the backtrace could be much more meaningful for the maintainer
> when at least for the crashing application, better for all
> the shared objects in the backtrace the debugging symbols are installed.
> 
> https://wiki.debian.org/HowToGetABacktrace

Thanks for the link. It's been some time since I made a backtrace.
I'll keep it in mind.

> Looking up what es behind these methods leads to the configuration file
> that looks like it needs to have currently one of _imageFormats = {"png", "jpg"}.
> 
> $ grep defImgFormat ~/.config/screengrab/screengrab.conf
> defImgFormat=jpg
> 
> 
> Changing that line intentionally to something different leads to a crash at
> the exact same address from your backtrace. Even just to a captial letter.
> 
> (gdb) bt
> #0  QString::QString (other=..., this=0x7fffffffd728) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:942
> #1  MainWindow::saveScreen (this=0x555555819130) at ./src/core/ui/mainwindow.cpp:571
> #2  0x00007ffff66f7910 in QtPrivate::QSlotObjectBase::call (a=0x7fffffffd8c0, r=0x555555819130, this=0x555555874db0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
> #3  QMetaObject::activate(QObject*, int, int, void**) () at kernel/qobject.cpp:3754

> Therefore could you please lookup what this line looks like in your configuration file?

helge at samd:~$ grep defImgFormat .config/screengrab/screengrab.conf 
defImgFormat=

I did not modify this file, but it is older than the recent install. I
checked an backup and it was last modified in February before, when I
was still on stable. And the value was exactly the same.

Greetings

        Helge
-- 
      Dr. Helge Kreutzmann                     debian at helgefjell.de
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-lxqt-devel/attachments/20180818/4cb1aeee/attachment.sig>


More information about the pkg-lxqt-devel mailing list