Problem is either in gcc or kcoreaddons: (gdb) set args -i krdc_rdp_config.desktop -o /home/dave/debian/krdc/krdc-17.08.3/obj-hppa-linux-gnu/rdp/krdc_rdp_config.json (gdb) r Starting program: /home/dave/debian/kcoreaddons/kcoreaddons-5.37.0/obj-hppa-linux-gnu/src/desktoptojson/desktoptojson -i krdc_rdp_config.desktop -o /home/dave/debian/krdc/krdc-17.08.3/obj-hppa-linux-gnu/rdp/krdc_rdp_config.json [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/hppa-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault. 0x00022a9c in __sync_sub_and_fetch_4 () (gdb) bt #0 0x00022a9c in __sync_sub_and_fetch_4 () #1 0x00018ce4 in std::__atomic_base<int>::operator-- (this=<optimized out>) at /usr/include/c++/7/bits/atomic_base.h:304 #2 QAtomicOps<int>::deref<int> (_q_value=...) at /usr/include/hppa-linux-gnu/qt5/QtCore/qatomic_cxx11.h:271 #3 QBasicAtomicInteger<int>::deref (this=<optimized out>) at /usr/include/hppa-linux-gnu/qt5/QtCore/qbasicatomic.h:114 #4 QtPrivate::RefCount::deref (this=<optimized out>) at /usr/include/hppa-linux-gnu/qt5/QtCore/qrefcount.h:73 #5 QVector<CustomPropertyDefinition>::~QVector (this=0xf8d02804, __in_chrg=<optimized out>) at /usr/include/hppa-linux-gnu/qt5/QtCore/qvector.h:75 #6 QtPrivate::QForeachContainer<QVector<CustomPropertyDefinition> >::~QForeachContainer (this=0xf8d02804, __in_chrg=<optimized out>) at /usr/include/hppa-linux-gnu/qt5/QtCore/qglobal.h:934 #7 ServiceTypeDefinition::parseValue (this=this@entry=0x27130, key=..., value=...) at ./src/lib/plugin/desktopfileparser.cpp:403 #8 0x0001aed0 in DesktopFileParser::convertToJson (key=..., serviceTypes=..., value=..., json=..., kplugin=..., lineNr=<optimized out>) at ./src/lib/plugin/desktopfileparser.cpp:506 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) disass $pc-16,$pc+16 Dump of assembler code from 0x22a8c to 0x22aac: 0x00022a8c <__sync_sub_and_fetch_4+20>: stw r3,-34(sp) 0x00022a90 <__sync_sub_and_fetch_4+24>: copy r26,r3 0x00022a94 <__sync_sub_and_fetch_4+28>: stw r4,-38(sp) 0x00022a98 <__sync_sub_and_fetch_4+32>: stw r19,-20(sp) => 0x00022a9c <__sync_sub_and_fetch_4+36>: ldw 0(r3),rp 0x00022aa0 <__sync_sub_and_fetch_4+40>: sub rp,r5,r4 0x00022aa4 <__sync_sub_and_fetch_4+44>: copy r3,r26 0x00022aa8 <__sync_sub_and_fetch_4+48>: copy rp,r25 End of assembler dump. (gdb) p/x $r3 $1 = 0x436f6d70 Dave -- John David Anglin dave.ang...@bell.net