FS#29765 - qt assistant segfault

Attached to Project: Arch Linux
Opened by Arno (ihad) - Saturday, 05 May 2012, 16:15 GMT
Last edited by Andrea Scarpino (BaSh) - Sunday, 06 May 2012, 08:09 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Qt assistant crashes with SIGSEGV on startup. Moving .local/share/data/Trolltech/Assistant/ away lets it start once. Then the directory and the index is recreated, making it crash again. The window appears briefly.

$ strace -f assistant
...
[pid 32638] access("/home/am/.local/share/data/Trolltech/Assistant/qthelpcollection_4.8.1.qhc-journal", F_OK) = -1 ENOENT (No such file or directory)
[pid 32638] fstat(15, {st_mode=S_IFREG|0644, st_size=8192, ...}) = 0
[pid 32638] lseek(15, 24, SEEK_SET) = 24
[pid 32638] read(15, "\0\0\0=\0\0\0\10\0\0\0\0\0\0\0\0", 16) = 16
[pid 32638] fstat(15, {st_mode=S_IFREG|0644, st_size=8192, ...}) = 0
[pid 32638] access("/home/am/.local/share/data/Trolltech/Assistant/qthelpcollection_4.8.1.qhc-wal", F_OK) = -1 ENOENT (No such file or directory)
[pid 32638] fstat(15, {st_mode=S_IFREG|0644, st_size=8192, ...}) = 0
[pid 32638] fcntl(15, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
[pid 32638] --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xfffffffd39e08a78} ---
[pid 32643] +++ killed by SIGSEGV +++
+++ killed by SIGSEGV +++
Segmentation fault

$ltrace -f assistant
...
[pid 764] _ZN8QVariantD1Ev(0x7fff5edcb7f0, 0x7fff5edcb730, -742143, 0x23ab540, 0) = 0
[pid 764] _ZN8QVariantD1Ev(0x7fff5edcb7e0, 2, 0x7f5543096638, 0x2466ee0, 0) = 0
[pid 764] _ZN12QApplication4fontEv(0x7fff5edcb7d0, 2, 0x6eb9c0, 0x2466ee0, 0) = 0x7fff5edcb7d0
[pid 764] _ZN5QFontC1ERKS_(0x7fff5edcb7c0, 0x7fff5edcb7d0, 0x22037c0, 1, 0) = 895
[pid 764] _ZN5QFontD1Ev(0x7fff5edcb7d0, 0x7fff5edcb7d0, 0x2203701, 1, 0) = 0x2202510
[pid 764] _ZNK15QHelpEngineCore11customValueERK7QStringRK8QVariant(0x7fff5edcb780, 0x2256470, 0x6ebf78, 0x7fff5edcb770, 0) = 0x7fff5edcb780
[pid 764] _ZNK8QVariant6toBoolEv(0x7fff5edcb780, 0x7fff5edcb6c0, -742143, 0x23ab540, 0) = 0
[pid 764] _ZN8QVariantD1Ev(0x7fff5edcb780, 0x7fff5edcb610, 0x7f554378ea01, 0, 0) = 0
[pid 764] _ZN8QVariantD1Ev(0x7fff5edcb770, 2, 0x7f5543096638, 0x236c7f0, 0) = 0
[pid 764] _ZN12QApplication10allWidgetsEv(0x7fff5edcb7b0, 2, 0x7f5543096638, 0x236c7f0, 0) = 0x7fff5edcb7b0
[pid 764] _Z5qFreePv(0x25c8af0, 0x223dee0, 0x24a3900, 0x24a3918, 2) = 45969
[pid 764] _ZN9QListData6detachEi(0x7fff5edcb7e0, 32597, 0x43096678, 0x24a3918, 0) = 0x25c8af0
[pid 764] --- SIGSEGV (Segmentation fault) ---
[pid 769] +++ killed by SIGSEGV +++
[pid 764] +++ killed by SIGSEGV +++

Additional info:
$ uname -a
Linux hadante 3.3.4-2-ARCH #1 SMP PREEMPT Wed May 2 18:28:42 CEST 2012 x86_64 AMD Phenom(tm) II X6 1090T Processor AuthenticAMD GNU/Linux
$ pacman -Qi qt
Name : qt
Version : 4.8.1-2
URL : http://qt-project.org/
Licenses : GPL3 LGPL
Groups : None
Provides : None
Depends On : libtiff libpng libmng sqlite ca-certificates glib2 dbus fontconfig libgl libsm libxrandr libxv libxi alsa-lib xdg-utils hicolor-icon-theme desktop-file-utils
Optional Deps : postgresql-libs: PostgreSQL driver
libmysqlclient: MySQL driver
unixodbc: ODBC driver
libxinerama: Xinerama support
libxcursor: Xcursor support
libxfixes: Xfixes support
Required By : attica automoc4 avidemux-qt decibel grantlee kchmviewer kde-agent kdesdk-poxml kdoko libdbusmenu-qt liblastfm libqzeitgeist ntrack phonon polkit-qt poppler-qt prison qca qimageblitz qjackctl qjson
qscintilla qt-doc qtcreator qtwebkit qwt sheman sheman2 shemov soprano tapioca-qt telepathy-qt vlc
Conflicts With : None
Replaces : None
Installed Size : 92016.00 KiB
Packager : Andrea Scarpino <andrea@archlinux.org>
Architecture : x86_64
Build Date : Sat 14 Apr 2012 11:39:01 AM CEST
Install Date : Sat 05 May 2012 05:53:44 PM CEST
Install Reason : Installed as a dependency for another package
Install Script : Yes
Description : A cross-platform application and UI framework

Steps to reproduce:
$ assistant
Object::connect: No such signal HelpViewer::printRequested()
Segmentation fault
$ cd .local/share/data/Trolltech/
$ mv Assistant{,.bak}
$ assistant
now it starts up. close it.
$ assistant
Object::connect: No such signal HelpViewer::printRequested()
Segmentation fault

Can reproduce it at will. It's a minor annoyance, since the docs are available online, but nevertheless, it's an annoyance.
I'm not the only one. Met someone in #archlinux recently with the same issue.
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Sunday, 06 May 2012, 08:09 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#29469 

Loading...