Fatal IO error 22 (Invalid argument) on X server :0.0
-
wrote on 5 Jun 2018, 02:24 last edited by
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!
-
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!
wrote on 5 Jun 2018, 03:27 last edited by@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.
- Also what does dmesg say right after the crash happens?
- Did you update your system recently?
- Is the system under heavy load?
- Does this happen to other apps?
- Can you roll the code back a couple days and test again?
-
wrote on 5 Jun 2018, 14:54 last edited by canellas 6 May 2018, 15:12
Hi,
I am using xubuntu, and
uname -a
reportsLinux 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.
-
wrote on 5 Jun 2018, 16:10 last edited by
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.
3/4