Hello,
I'm receiving a SEGFAULT error in a few places in the QString library. This particular instance in using the .toStdString() call, but I also receive a segfault when using .split(QRegExp()). I've attached a screenshot of the debug output. I have this code working in a GUI application, and I'm in the process of creating a console program to perform the same function. The GUI app works perfectly, but for some reason the console throws a segfault error every time, at roughly the same time in the program. If I run in release mode, the executions roughly triple before the error occurs. Is there something I am doing wrong in the console application that would cause this problem?
Because this error occurs in the QString code and not my own, I'm not sure if this is the proper venue for this question. If it should be moved to a bug report please let me know.
Thanks!
toStdStringError.jpg
Bookmarks