Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Fatal IO error 22 (Invalid argument) on X server :0.0
QtWS25 Last Chance

Fatal IO error 22 (Invalid argument) on X server :0.0

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 3.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • canellasC Offline
    canellasC Offline
    canellas
    wrote on last edited by
    #1

    Hi,

    I am developing an app, and out of nowhere I get this runtime error. I commented the last modification I did, but the error continued.

    I tried to search the web, but all the references had notihing to do with Qt, or were rather old.

    Does anyone have any idea what may be causing this?

    Thanks!

    A 1 Reply Last reply
    0
    • canellasC canellas

      Hi,

      I am developing an app, and out of nowhere I get this runtime error. I commented the last modification I did, but the error continued.

      I tried to search the web, but all the references had notihing to do with Qt, or were rather old.

      Does anyone have any idea what may be causing this?

      Thanks!

      A Offline
      A Offline
      ambershark
      wrote on last edited by
      #2

      @canellas What is the actual error? Can you show it in the xorg (assuming xorg) log or on the console so we can see the exact error.

      1. Also what does dmesg say right after the crash happens?
      2. Did you update your system recently?
      3. Is the system under heavy load?
      4. Does this happen to other apps?
      5. Can you roll the code back a couple days and test again?

      My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

      1 Reply Last reply
      3
      • canellasC Offline
        canellasC Offline
        canellas
        wrote on last edited by canellas
        #3

        Hi,

        I am using xubuntu, and uname -a reports Linux wayne 4.4.0-127-generic #153-Ubuntu SMP Sat May 19 10:58:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

        When I run the program from a terminal, the message [1:1:0100/000000.327470:ERROR:broker_posix.cc(43)] Invalid node channel message is also printed.

        Regarding your questions:
        0 . /var/log/Xorg.0.log did not show any new log messages when I run the program
        1 . dmesg also shows no new message
        2 . Not really
        3 . No, just this one
        4 . I was writing small tests, evolving the program a bit at a time, and these small programas work fine. From the last test to the program that crashes, which will be the final, I made a few more changes. So, it is something related to the code, but the new code is most like the others: define signal, define slot, connect one to another. I think I'll have to go back, a little at a time, until I find the guilt code. 8)

        Anyway, thanks for your time and help.

        1 Reply Last reply
        0
        • canellasC Offline
          canellasC Offline
          canellas
          wrote on last edited by
          #4

          Well, it will be hard to believe: it was a 2500x2500 px PNG file, set as icon for the main window. I reduced it to 400x400 px, and it worked.

          1 Reply Last reply
          2

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved