1、Cannot access memory at adress 0xbf9
Calls the message handler with the fatal message msg . If no message handler has been installed, the message is printed to stderr. Under Windows, the message is sent to the debugger.
For a release library this function will exit the application with return value 1. For the debug version this function will abort on Unix systems to create a core dump, and report a _CRT_ERROR on Windows allowing to connect a debugger to the application.
This function takes a format string and a list of arguments, similar to the C printf() function.
Example:
int divide(int a, int b){if (b == 0) // program errorqFatal ("divide: cannot divide by zero");
return a / b;
}Warning: The internal buffer is limited to 8192 bytes, including the '/0'-terminator.
See also qDebug (), qCritical (), qWarning (), qInstallMsgHandler (), and Debugging Techniques .
当遇到'Cannot access memory at adress 0xbf9'的错误时,这通常意味着应用程序尝试访问无效的内存地址。在Windows环境下,此错误信息会发送给调试器,而在调试版本中,函数会导致程序在Unix系统上终止并生成核心转储,或者在Windows上报告_CRT_ERROR以便连接调试器。该问题与库函数、应用执行和命令行环境有关。
1万+

被折叠的 条评论
为什么被折叠?



