Yes, this question was asked before, but reading the answers didn’t really illuminate me.
I wrote a C program that fires after several days of use. The important point is that it does NOT generate the main file, even if everything is configured so that it (core_pattern, ulimit -c is unlimited, etc. I can start the kernel with a dump with kill -SIGQUIT).
Programs actively log what he does, but there is no hint of a failure in the log. The only message displayed on failure (or before?):
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0" after 2322 requests (2322 known processed) with 0 events remaining.
So, two questions: - how is it possible for the program to crash (return $? = 1) without a core dump. - What is this error message about and what can I do?
RedHat Enterprise 6.4 System
Edit: I managed to get the main dump to call abort () from within the atexit () callback:
(gdb) bt
Can anyone tell me about this X11 issue? libcvi.so is not mine, only MyCode.c (LabWindows / CVI).
Edit 2014-12-05: Here's an even clearer return line. Things definitely happen in X11, but I'm not an X11 programmer, so looking at the source code for X from linestell provided to me only that the X server (?) Is temporarily unavailable. Is there a way to just tell him to ignore this error if it is temporary?
#4 0x00965eaf in __run_exit_handlers (status=1) at exit.c:78
Matching lines:
XlibInt.c: _XDefaultIOError() 1292: exit(1); XlibInt.c: _XIOError 1498: _XDefaultIOError(dpy); xcb_io.c: _XReply() 708: if(!reply) _XIOError(dpy); GetImage.c: XGetImage() 74: if (_XReply (dpy, (xReply *) &rep, 0, xFalse) == 0 || ...