You are not logged in.

#1 2018-09-24 12:55:08

oeht
Member
Registered: 2017-11-04
Posts: 20

ktouch crashes at startup

Hi there,

When I start ktouch in my (non-kde) Arch Linux, I get the following errors and ktouch crashes:

qCoreApp Application(0x7ffe24b1b2a0)
Fetched layout groups from X server: 	layouts: ("ch") 	variants: ("de_mac")
Fetched layout groups from X server: 	layouts: ("ch") 	variants: ("de_mac")
qrc:/qml/main.qml:129:5: QML HomeScreen: Binding loop detected for property "keyboardLayoutName"
"0 instead of 1 arguments to message {Möchten Sie das Prof...} supplied before conversion."
"0 instead of 1 arguments to message {„%1“ wurde gelöscht.} supplied before conversion."
"0 instead of 1 arguments to message {„%1“ wurde gelöscht.} supplied before conversion."
Fetched layout groups from X server: 	layouts: ("ch") 	variants: ("de_mac")
Fetched layout groups from X server: 	layouts: ("ch") 	variants: ("de_mac")
qrc:/qml/scorescreen/ScoreScreen.qml:378:21: QML Text: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/scorescreen/ScoreScreen.qml:385:21: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/scorescreen/ScoreScreen.qml:403:21: QML Text: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/scorescreen/ScoreScreen.qml:414:21: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/scorescreen/ScoreScreen.qml:439:21: QML LegendItem: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/scorescreen/ScoreScreen.qml:447:21: QML LegendItem: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/scorescreen/ScoreScreen.qml:257:17: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/ProfileSelector.qml:106:9: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/common/InlineToolbar.qml:49:5: QML Row: Binding loop detected for property "height"
qrc:/qml/homescreen/LessonSelectorBase.qml:60:13: QML LessonLockedNotice: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CustomLessonSelector.qml:165:9: QML InlineToolbar: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/LessonSelectorBase.qml:60:13: QML LessonLockedNotice: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/common/InlineToolbar.qml:49:5: QML Row: Binding loop detected for property "height"
qrc:/qml/homescreen/LessonSelectorBase.qml:60:13: QML LessonLockedNotice: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CustomLessonSelector.qml:165:9: QML InlineToolbar: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/LessonSelectorBase.qml:60:13: QML LessonLockedNotice: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:132:17: QML Text: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:145:17: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:157:17: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:132:17: QML Text: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:145:17: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:157:17: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:132:17: QML Text: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:145:17: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:157:17: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:132:17: QML Text: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:145:17: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:157:17: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:132:17: QML Text: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:145:17: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:157:17: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:132:17: QML Text: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:145:17: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:157:17: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:132:17: QML Text: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:145:17: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:157:17: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/common/DetailedRadioButton.qml:43:9: QML Text: Binding loop detected for property "width"
qrc:/qml/common/DetailedRadioButton.qml:43:9: QML Text: Binding loop detected for property "width"
qrc:/qml/homescreen/LessonSelectorBase.qml:60:13: QML LessonLockedNotice: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CustomLessonSelector.qml:165:9: QML InlineToolbar: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/LessonSelectorBase.qml:60:13: QML LessonLockedNotice: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CustomLessonSelector.qml:165:9: QML InlineToolbar: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/LessonSelectorBase.qml:60:13: QML LessonLockedNotice: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CustomLessonSelector.qml:165:9: QML InlineToolbar: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/LessonSelectorBase.qml:60:13: QML LessonLockedNotice: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CustomLessonSelector.qml:165:9: QML InlineToolbar: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
Fetched layout groups from X server: 	layouts: ("ch") 	variants: ("de_mac")
qrc:/qml/homescreen/CourseSelector.qml:132:17: QML Text: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:145:17: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:157:17: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:132:17: QML Text: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:145:17: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:157:17: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
Fetched layout groups from X server: 	layouts: ("ch") 	variants: ("de_mac")
qrc:/qml/homescreen/CourseSelector.qml:132:17: QML Text: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:145:17: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:157:17: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:132:17: QML Text: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:145:17: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/qml/homescreen/CourseSelector.qml:157:17: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
[1]    15223 segmentation fault (core dumped)  ktouch

I don't have any ideas how to fix it and didn't find anything similar on the internet.

How can I solve this issue?

If you need more informations/outputs, just tell me.

Thank you very much for your help!

Offline

#2 2018-09-24 19:46:59

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,098

Re: ktouch crashes at startup

At the very least we need a backtrace of the crash

Offline

#3 2018-09-25 08:35:50

oeht
Member
Registered: 2017-11-04
Posts: 20

Re: ktouch crashes at startup

Thanks for your reply. I'm not quite sure how to do it, but I'll try it:

coredumpctl dump:

                                                                                                                 
           PID: 15587 (ktouch)
           UID: 1000 (username)
           GID: 100 (users)
        Signal: 11 (SEGV)
     Timestamp: Tue 2018-09-25 10:24:23 CEST (8min ago)
  Command Line: ktouch
    Executable: /usr/bin/ktouch
 Control Group: /user.slice/user-1000.slice/session-1.scope
          Unit: session-1.scope
         Slice: user-1000.slice
       Session: 1
     Owner UID: 1000 (username)
       Boot ID: a0dd0c953d774a3d8643a869c86c122a
    Machine ID: 6d630cf9c2024f4d942cac839c22de4a
      Hostname: arche
       Storage: /var/lib/systemd/coredump/core.ktouch.1000.a0dd0c953d774a3d8643a869c86c122a.15587.1537863863000000.lz4
       Message: Process 15587 (ktouch) of user 1000 dumped core.
                
                Stack trace of thread 15587:
                #0  0x00007f4e932a271d n/a (nouveau_dri.so)
                #1  0x00007f4e932a1459 n/a (nouveau_dri.so)
                #2  0x00007f4e932a5bb1 n/a (nouveau_dri.so)
                #3  0x00007f4eab1bfbdd _ZN16QSGBatchRenderer8Renderer13renderBatchesEv (libQt5Quick.so.5)
                #4  0x00007f4eab1c54b3 _ZN16QSGBatchRenderer8Renderer6renderEv (libQt5Quick.so.5)
                #5  0x00007f4eab1b589e _ZN11QSGRenderer11renderSceneERK11QSGBindable (libQt5Quick.so.5)
                #6  0x00007f4eab1b5d6c _ZN11QSGRenderer11renderSceneEj (libQt5Quick.so.5)
                #7  0x00007f4eab1f03f0 _ZN23QSGDefaultRenderContext15renderNextFrameEP11QSGRendererj (libQt5Quick.so.5)
                #8  0x00007f4eab2541c5 _ZN19QQuickWindowPrivate16renderSceneGraphERK5QSize (libQt5Quick.so.5)
                #9  0x00007f4eab1e2634 n/a (libQt5Quick.so.5)
                #10 0x00007f4eab1e3435 n/a (libQt5Quick.so.5)
                #11 0x00007f4eaa6cca95 _ZN7QWindow5eventEP6QEvent (libQt5Gui.so.5)
                #12 0x00007f4eab25fa5c _ZN12QQuickWindow5eventEP6QEvent (libQt5Quick.so.5)
                #13 0x00007f4eab6eee14 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5)
                #14 0x00007f4eab6f66e1 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5)
                #15 0x00007f4eaa273c39 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)
                #16 0x00007f4eaa6c13b6 _ZN22QGuiApplicationPrivate18processExposeEventEPN29QWindowSystemInterfacePrivate11ExposeEventE (libQt5Gui.so.5)
                #17 0x00007f4eaa6c20ee _ZN22QGuiApplicationPrivate24processWindowSystemEventEPN29QWindowSystemInterfacePrivate17WindowSystemEventE (libQt5Gui.so.5)
                #18 0x00007f4eaa69ba3c _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Gui.so.5)
                #19 0x00007f4ea4b2fe1d n/a (libQt5XcbQpa.so.5)
                #20 0x00007f4eaa2728cc _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                #21 0x00007f4eaa27abc6 _ZN16QCoreApplication4execEv (libQt5Core.so.5)
                #22 0x00005640eafb59dd n/a (ktouch)
                #23 0x00007f4ea9b4e223 __libc_start_main (libc.so.6)
                #24 0x00005640eafb5d2e _start (ktouch)
                
                Stack trace of thread 15588:
                #0  0x00007f4ea9c1abb1 __poll (libc.so.6)
                #1  0x00007f4eac1b6180 n/a (libxcb.so.1)
                #2  0x00007f4eac1b7e4b xcb_wait_for_event (libxcb.so.1)
                #3  0x00007f4ea4a99c5a n/a (libQt5XcbQpa.so.5)
                #4  0x00007f4eaa0c5f65 n/a (libQt5Core.so.5)
                #5  0x00007f4ea91b8a9d start_thread (libpthread.so.0)
                #6  0x00007f4ea9c25a43 __clone (libc.so.6)
                
                Stack trace of thread 15590:
                #0  0x00007f4ea9c1abb1 __poll (libc.so.6)
                #1  0x00007f4ea8618ee0 n/a (libglib-2.0.so.0)
                #2  0x00007f4ea8618fce g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007f4eaa2c6fc9 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                #4  0x00007f4eaa2728cc _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                #5  0x00007f4eaa0bbeb9 _ZN7QThread4execEv (libQt5Core.so.5)
                #6  0x00007f4ea9873ba6 n/a (libQt5DBus.so.5)
                #7  0x00007f4eaa0c5f65 n/a (libQt5Core.so.5)
                #8  0x00007f4ea91b8a9d start_thread (libpthread.so.0)
                #9  0x00007f4ea9c25a43 __clone (libc.so.6)
                
                Stack trace of thread 15591:
                #0  0x00007f4ea91beafc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007f4e933c5e7c n/a (nouveau_dri.so)
                #2  0x00007f4e933c5bb8 n/a (nouveau_dri.so)
                #3  0x00007f4ea91b8a9d start_thread (libpthread.so.0)
                #4  0x00007f4ea9c25a43 __clone (libc.so.6)
                
                Stack trace of thread 15592:
                #0  0x00007f4ea9c1abb1 __poll (libc.so.6)
                #1  0x00007f4ea8618ee0 n/a (libglib-2.0.so.0)
                #2  0x00007f4ea8618fce g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007f4eaa2c6fc9 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                #4  0x00007f4eaa2728cc _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                #5  0x00007f4eaa0bbeb9 _ZN7QThread4execEv (libQt5Core.so.5)
                #6  0x00007f4eaaefa859 n/a (libQt5Qml.so.5)
                #7  0x00007f4eaa0c5f65 n/a (libQt5Core.so.5)
                #8  0x00007f4ea91b8a9d start_thread (libpthread.so.0)
                #9  0x00007f4ea9c25a43 __clone (libc.so.6)
                
                Stack trace of thread 15589:
                #0  0x00007f4ea9c1abb1 __poll (libc.so.6)
                #1  0x00007f4ea8618ee0 n/a (libglib-2.0.so.0)
                #2  0x00007f4ea8618fce g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007f4eaa2c6fc9 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                #4  0x00007f4eaa2728cc _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                #5  0x00007f4eaa0bbeb9 _ZN7QThread4execEv (libQt5Core.so.5)
                #6  0x00007f4eaa0c5f65 n/a (libQt5Core.so.5)
                #7  0x00007f4ea91b8a9d start_thread (libpthread.so.0)
                #8  0x00007f4ea9c25a43 __clone (libc.so.6)
Refusing to dump core to tty (use shell redirection or specify --output).

part of dmesg:

[ 8557.165588] ktouch[15587]: segfault at 1a ip 00007f4e932a271d sp 00007fffcc3d07a0 error 4 in nouveau_dri.so[7f4e92ceb000+829000]
[ 8557.165599] Code: c6 44 24 07 00 49 8b 9d c0 01 00 00 48 85 db 0f 84 ec 00 00 00 80 bb 91 00 00 00 00 0f 85 0b 01 00 00 48 8b 4b 58 0f b7 14 24 <0f> b7 41 1a 66 39 51 18 48 89 4c 24 48 66 0f 46 51 18 66 39 44 24 
[ 8557.165719] audit: type=1701 audit(1537863863.342:73): auid=1000 uid=1000 gid=100 ses=1 pid=15587 comm="ktouch" exe="/usr/bin/ktouch" sig=11 res=1
[ 8557.197740] audit: type=1130 audit(1537863863.375:74): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@4-15593-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 8558.557309] audit: type=1131 audit(1537863864.735:75): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@4-15593-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

So I assume its a problem with nouveau. I currently use xf86-video-nouveau with a Nvidia GeForce 320M.

Offline

#4 2018-09-25 15:21:18

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,098

Re: ktouch crashes at startup

Yes, it's a crash in the nouveau driver. Is opengl working elsewhere?

Offline

#5 2018-09-25 19:22:01

oeht
Member
Registered: 2017-11-04
Posts: 20

Re: ktouch crashes at startup

I don't think so. Other applications (compton, gputest,  ...) don't work as well. They end with a simmilar segfault.

I'm not sure, how to test opengl or install it correctly. Currently I've installed xf86-video-nouveau and mesa.

glxinfo | grep "OpenGL":

OpenGL vendor string: nouveau
OpenGL renderer string: NVAF
OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.2.0
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.1 Mesa 18.2.0
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.2.0
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:

To keep the forum clean, I should probably open a new thread in the section hardware?

Offline

Board footer

Powered by FluxBB