gdb's demangler enters infinite recursion and crashes as the result on the following C++ symbol: _Z7ZipWithI7QStringS0_5QListZN4oral6detail16AdaptCreateTableI7AccountEES0_RKNS3_16CachedFieldsDataEEUlRKS0_SA_E_ET1_IDTclfp1_cvT__EcvT0__EEEERKT1_ISC_ERKT1_ISD_ET2_ The bug is already reported and confirmed to gdb's bugzilla: https://sourceware.org/bugzilla/show_bug.cgi?id=16957 Reproducible: Always Steps to Reproduce: 1. Build attached example, g++ build line (Qt4 core and sql are required): g++ -std=c++11 -I /usr/include/qt4/ -I /usr/include/qt4/QtCore/ -I /usr/include/qt4/QtSql/ -L/usr/lib/qt4 -lQtCore -lQtSql -O0 -g -ggdb main.cpp -o main 2. Try running gdb ./main Actual Results: Crashed gdb. Expected Results: gdb ready to rock!
Created attachment 377542 [details] Somewhat minimal reproducing example.
well, if it ever gets fixed upstream, we'll include the fix in our patchset