crash - "GLib-ERROR **: Cannot create pipe main loop wake-up: Too many open files" on Qt -
i working on ubuntu. when run program after 1 hour received error :
glib-error **: cannot create pipe main loop wake-up: many open files program has unexpectedly finished.
when run gdb not crash.
i don't understand why? , reason error ?
thank much..
too many open files
is pretty obvious. probalby have leak file descriptors, should check if code opens lots of files/filedescriptors doesn't close them properly. if fork process, should consider close them, before start actual process, might common mistake.
the operating system has limited table of how many filedescreptors can maintain, , apparently exceeded limit.
Comments
Post a Comment