Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-110484

SIGPIPE during write in QWaylandDataSource::data_source_send

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 5.15.7
    • QPA: Wayland
    • None
    • Linux/Wayland

    Description

      Even though it is set up to ignore SIGPIPE https://code.qt.io/cgit/qt/qtwayland.git/tree/src/client/qwaylanddatasource.cpp#n44

      Thread 1 "plasmashell" received signal SIGPIPE, Broken pipe.
      {}GI{}_libc_write (nbytes=40, buf=0x561e8a631068, fd=25) at ../sysdeps/unix/sysv/linux/write.c:26
      26 return SYSCALL_CANCEL (write, fd, buf, nbytes);
      (gdb) backtrace
      #0 {}GI{}_libc_write (nbytes=40, buf=0x561e8a631068, fd=25)
      at ../sysdeps/unix/sysv/linux/write.c:26
      #1 {}GI{}_libc_write (fd=25, buf=0x561e8a631068, nbytes=40)
      at ../sysdeps/unix/sysv/linux/write.c:24
      #2 0x00007f501993f060 in QtWaylandClient::QWaylandDataSource::data_source_send(QString const&, int) () at /usr/lib/libQt5WaylandClient.so.5
      #3 0x00007f50199497fe in QtWayland::wl_data_source::handle_send(void*, wl_data_source*, char const*, int) () at /usr/lib/libQt5WaylandClient.so.5
      #4 0x00007f501ad484f6 in ffi_call_unix64 () at ../src/x86/unix64.S:104
      #5 0x00007f501ad44f5e in ffi_call_int
      (cif=<optimized out>, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=<optimized out>) at ../src/x86/ffi64.c:673
      #6 0x00007f501ad47b73 in ffi_call
      (cif=cif@entry=0x7fff8356a290, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7fff8356a360) at ../src/x86/ffi64.c:710
      #7 0x00007f501b250645 in wl_closure_invoke
      {{(closure=closure@entry=0x7f500801bd90, target=<optimized out>, }}
      target@entry=0x561e8a631190, opcode=opcode@entry=1, data=<optimized out>, flags=1)
      at ../wayland-1.21.0/src/connection.c:1025
      #8 0x00007f501b250e03 in dispatch_event
      (display=display@entry=0x561e891d1eb0, queue=0x561e891d1f80)
      at ../wayland-1.21.0/src/wayland-client.c:1595
      #9 0x00007f501b250ffc in dispatch_queue (queue=0x561e891d1f80, display=0x561e891d1eb0)
      {}Type <RET> for more, q to quit, c to continue without paging{}
      at ../wayland-1.21.0/src/wayland-client.c:1741
      #10 wl_display_dispatch_queue_pending (display=0x561e891d1eb0, queue=0x561e891d1f80) at ../wayland-1.21.0/src/wayland-client.c:1983
      #11 0x00007f5019922bf6 in QtWaylandClient::QWaylandDisplay::flushRequests() () at /usr/lib/libQt5WaylandClient.so.5
      #12 0x00007f5018ebeae0 in doActivate<false>(QObject*, int, void**) (sender=0x561e8920c680, signal_index=4, argv=0x7fff8356a590) at kernel/qobject.cpp:3935
      #13 0x00007f5018ed8b67 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x561e8920c680, flags=...) at kernel/qeventdispatcher_glib.cpp:430
      #14 0x00007f5018e865ac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fff8356a6b0, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
      #15 0x00007f5018e910d9 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
      #16 0x0000561e878bf1ef in ()
      #17 0x00007f501863c290 in __libc_start_call_main (main=main@entry=0x561e878bc240, argc=argc@entry=2, argv=argv@entry=0x7fff8356aa18) at ../sysdeps/nptl/libc_start_call_main.h:58
      #18 0x00007f501863c34a in __libc_start_main_impl (main=0x561e878bc240, argc=2, argv=0x7fff8356aa18, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff8356aa08)
      at ../csu/libc-start.c:381
      #19 0x0000561e878bf5a5 in ()

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            davidre David Redondo
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes