Article 51BSE request assistance for gdb and seg fault

request assistance for gdb and seg fault

by
bkelly
from LinuxQuestions.org on (#51BSE)
Centos, GNU bash 4.2.46(2)
I have a Qt project of moderate size, multiple dialogs. . I am unable to copy from that computer to here so that is an impediment.
The app crashes with Segmentation fault. The GDB backtrace command shows a stack of 21 elements
The stack frames output contains
Quote:
#0 " QWidgetItem::isEmpty() "
#1 "QWidgetItem::sizeHint() "
"
#20 " at main.cpp:150
From main the two relevant lines are:
Code:150 strip_chart->show(); <<< this line is referenced
151 <blank line>
152 status = app.exec(); <<< not this oneAll the constructors have printf on entry and exit and show that all have exited. That supports the backtrace output. This runs from a timer that is currently inhibited so nothing "should" happen until there is a keyboard entry. It crashes before any entry can be made.

Is there any GDB command that might provide a clue as to where I might find my defect?latest?d=yIl2AUoC8zA latest?i=p-ghShnDwoU:ijmQfZVbBlc:F7zBnMy latest?i=p-ghShnDwoU:ijmQfZVbBlc:V_sGLiP latest?d=qj6IDK7rITs latest?i=p-ghShnDwoU:ijmQfZVbBlc:gIN9vFwp-ghShnDwoU
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments