debugging - Tracing Segmentation Fault in Qt -
i'm working on embedded linux application in qt , running sigsegv problems i'm unable trace. i'd love able post code qt creator shows me assembly code , doesn't provide of stack trace through.
i can see crash happens in qapplicationprivate::notify_helper(qobject*, qevent*)
after attempt branch invalid address. can see called qapplication::notify()
that's stack information qt creator gives me. thing can think of @ point previous segmentation faults looked had killing qtimer (many of timers i'm using single shot) dumped disassembly , never determine qtimer causing issue. crash sporadic while 1 seems pretty consistent.
can suggest might able more information allow me track down source of fault? can provide additional details needed, though might need know should looking.
edit: turns out cause of previous error array index wasn't bounds checked. still see crash appears related qtimer disassembly points qobject::starttimer(int)
can't see obvious cause in case. again, stack provides no insight timer may causing problem; can see call qtimer::start()
followed qobject:starttimer(int)
.
Comments
Post a Comment