[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#777675: qtcreator: hang and repeated SIGSEGV on exit



Package: qtcreator
Version: 3.3.0+dfsg-1
Severity: normal

Hi,

qtcreator hangs on exit and generates CPU load. It keeps hanged until killed. It looks that the issue is somehow related to OpenGL libraries.

The problem doesn't occur when qtcreator is launched from gdb, but it can be reproduced when gdb is attached to running process.


There are zombie processes right after starting qtcreator, don't know if it's related:
$ ps -ef |grep qtcreator
martink  16608 19985 23 09:36 pts/2    00:00:01 qtcreator
martink  16665 16608  0 09:36 pts/2    00:00:00 [qtcreator] <defunct>
martink  16666 16608  0 09:36 pts/2    00:00:00 [qtcreator] <defunct>


$ gdb qtcreator 16608
....
(gdb) c
Continuing.
[Thread 0x7f74227fd700 (LWP 16668) exited]
[Thread 0x7f7469a58700 (LWP 16616) exited]
[Thread 0x7f74723bd700 (LWP 16613) exited]
[Thread 0x7f750ed00700 (LWP 16609) exited]
[Thread 0x7f74708bb700 (LWP 16615) exited]
                                              <<< qtcreator window closed at this point
Program received signal SIGSEGV, Segmentation fault.
0x00007f7514feae1f in ?? () from /usr/bin/../lib/x86_64-linux-gnu/qtcreator/../libGL.so.1
(gdb) bt
#0  0x00007f7514feae1f in ?? () from /usr/bin/../lib/x86_64-linux-gnu/qtcreator/../libGL.so.1
#1  0x00007f7514feb0ef in ?? () from /usr/bin/../lib/x86_64-linux-gnu/qtcreator/../libGL.so.1
#2  0x00007f7514fc0c96 in ?? () from /usr/bin/../lib/x86_64-linux-gnu/qtcreator/../libGL.so.1
#3  0x00007f7514fb5162 in ?? () from /usr/bin/../lib/x86_64-linux-gnu/qtcreator/../libGL.so.1
#4  0x00007fffd0b24be0 in ?? ()
#5  0x00007f7514ff4591 in ?? () from /usr/bin/../lib/x86_64-linux-gnu/qtcreator/../libGL.so.1
#6  0x00007fffd0b24be0 in ?? ()
#7  0x00007f751a08c028 in _dl_fini () at dl-fini.c:257
Backtrace stopped: previous frame inner to this frame (corrupt stack?)


$ readlink /usr/bin/../lib/x86_64-linux-gnu/qtcreator/../libGL.so.1
/etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu
$ readlink /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/fglrx/libGL.so.1


qtcreator process is generating CPU load:
$ top -b -p 16608 -n 1
top - 09:46:15 up  1:03,  2 users,  load average: 1,36, 0,73, 0,48
Tasks:   1 total,   1 running,   0 sleeping,   0 stopped,   0 zombie
%Cpu(s):  1,9 us,  1,8 sy,  0,0 ni, 93,7 id,  2,6 wa,  0,0 hi,  0,0 si,  0,0 st
KiB Mem:  16410004 total,  5390144 used, 11019860 free,     1440 buffers
KiB Swap:  3281984 total,        0 used,  3281984 free.  3648772 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
16608 martink   20   0 4254292 161272 114360 R 106,5  1,0   3:34.42 qtcreator


When strace is attached, I can see following output repeated until qtcreator is killed:
rt_sigaction(SIGSEGV, {0x7f09ef123cb0, [], SA_RESTORER, 0x7f09f2a8a8d0}, {SIG_DFL, [], SA_RESTORER, 0x7f09f2a8a8d0}, 8) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7f09ec526050} ---
rt_sigreturn()                          = 139680643753264
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7f09ec526050} ---
rt_sigreturn()                          = 139680643753264
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7f09ec526050} ---
rt_sigreturn()                          = 139680643753264


Thanks,
Martin

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages qtcreator depends on:
ii  libbotan-1.10-0                          1.10.8-2
ii  libc6                                    2.19-13
ii  libgcc1                                  1:4.9.1-19
ii  libqbscore1                              1.3.3+dfsg-3
ii  libqbsqtprofilesetup1                    1.3.3+dfsg-3
ii  libqt5concurrent5                        5.3.2+dfsg-4+b1
ii  libqt5core5a [qtbase-abi-5-3-2]          5.3.2+dfsg-4+b1
ii  libqt5declarative5 [qtquick1-abi-5-2-1]  5.3.2-3
ii  libqt5designer5                          5.3.2-3
ii  libqt5designercomponents5                5.3.2-3
ii  libqt5gui5                               5.3.2+dfsg-4+b1
ii  libqt5help5                              5.3.2-3
ii  libqt5network5                           5.3.2+dfsg-4+b1
ii  libqt5printsupport5                      5.3.2+dfsg-4+b1
ii  libqt5qml5 [qtdeclarative-abi-5-3-2]     5.3.2-4
ii  libqt5quick5                             5.3.2-4
ii  libqt5quickwidgets5                      5.3.2-4
ii  libqt5script5                            5.3.2+dfsg-2
ii  libqt5sql5                               5.3.2+dfsg-4+b1
ii  libqt5sql5-sqlite                        5.3.2+dfsg-4+b1
ii  libqt5webkit5                            5.3.2+dfsg-3
ii  libqt5widgets5                           5.3.2+dfsg-4+b1
ii  libqt5x11extras5                         5.3.2-2
ii  libqt5xml5                               5.3.2+dfsg-4+b1
ii  libstdc++6                               4.9.1-19
ii  libx11-6                                 2:1.6.2-3
ii  qml-module-qtquick-controls              5.3.2-2
ii  qml-module-qtquick2                      5.3.2-4
ii  qtchooser                                47-gd2b7997-2
ii  qtcreator-data                           3.3.0+dfsg-1

Versions of packages qtcreator recommends:
ii  gdb                                  7.7.1+dfsg-5
ii  make                                 4.0-8.1
ii  mate-terminal [x-terminal-emulator]  1.8.1+dfsg1-4
ii  qt5-doc                              5.3.2-3
ii  qtbase5-dev-tools                    5.3.2+dfsg-4+b1
ii  qtcreator-doc                        3.2.1+dfsg-7
ii  qtdeclarative5-dev-tools             5.3.2-4
ii  qtquick1-5-dev-tools                 5.3.2-3
ii  qttools5-dev-tools                   5.3.2-3
ii  qttranslations5-l10n                 5.3.2-2
ii  qtxmlpatterns5-dev-tools             5.3.2-2

Versions of packages qtcreator suggests:
ii  cmake          3.0.2-1
ii  g++            4:4.9.1-5
ii  git            1:2.1.4-2.1
pn  kdelibs5-data  <none>
pn  subversion     <none>

-- no debconf information

Attachment: qtcreator_strace.out.bz2
Description: BZip2 compressed data


Reply to: