Hello,

I have a Qt application which sometimes gets crashed while updating the UI. Since the issue is rarely observed, I'm not able to find the cause of the crash. The stack trace below shows Qt related functions.

Qt Code:
  1. Stack trace of thread 40351:
  2. #0 0x00007f1e5b04a7ff raise (libc.so.6)
  3. #1 0x00007f1e5b034c35 abort (libc.so.6)
  4. #2 0x00007f1e5b08d987 __libc_message (libc.so.6)
  5. #3 0x00007f1e5b094d8c malloc_printerr (libc.so.6)
  6. #4 0x00007f1e5b097dbc _int_malloc (libc.so.6)
  7. #5 0x00007f1e5b099412 malloc (libc.so.6)
  8. #6 0x00007f1e5c280332 _ZN10QArrayData8allocateEmmm6QFlagsINS_16AllocationOptionEE (libQt5Core.so.5)
  9. #7 0x00007f1e5c2f1a28 _ZN7QString17fromLatin1_helperEPKci (libQt5Core.so.5)
  10. #8 0x00007f1e5d49354d _ZNK24QStyleSheetStyleSelector9nodeNamesEN4QCss13StyleSelector7NodePtrE (libQt5Widgets.so.5)
  11. #9 0x00007f1e5cfcaf11 _ZN4QCss13StyleSelector17styleRulesForNodeENS0_7NodePtrE (libQt5Gui.so.5)
  12. #10 0x00007f1e5d479665 _ZNK16QStyleSheetStyle10styleRulesEPK7QObject (libQt5Widgets.so.5)
  13. #11 0x00007f1e5d47f803 _ZNK16QStyleSheetStyle10renderRuleEPK7QObjectiy (libQt5Widgets.so.5)
  14. #12 0x00007f1e5d4817a1 _ZN16QStyleSheetStyle11setGeometryEP7QWidget (libQt5Widgets.so.5)
  15. #13 0x00007f1e5d4846d7 _ZN16QStyleSheetStyle6polishEP7QWidget (libQt5Widgets.so.5)
  16. #14 0x00007f1e5d48383f _ZL13updateObjectsRK5QListIPK7QObjectE (libQt5Widgets.so.5)
  17. #15 0x00007f1e5d483964 _ZN16QStyleSheetStyle8repolishEP7QWidget (libQt5Widgets.so.5)
To copy to clipboard, switch view to plain text mode 

Could anyone please help on the possible reasons why this crash is observed ?