c++ - app.exe has triggered a break point, followed by Access violation writing location -


i have qt c++ application huge code base. i'm kinda familiar architecture don't know of code. every time application closed, shows message "app.exe has triggered break point" , if hit continue,

"unhandled exception @ 0x6701c95d (qtcored4.dll) in app.exe: 0xc0000005: access violation writing location 0x0c3e9fd8."

with stack trace looking this

enter image description here

i have app verifier hooked , dumps in output window

=========================================================== verifier stop 0000000000000013: pid 0x2654: first chance access violation current stack trace       000000000c3e9fd8 : invalid address being accessed     000000006701c95d : code performing invalid access     000000000008eb40 : exception record. use .exr display it.     000000000008e650 : context record. use .cxr display it. =========================================================== verifier stop continuable.  after debugging use `go' continue. =========================================================== 

my question is, how 1 go trying debug find out what's causing issue? don't have experience in unmanaged programming world , i'm lost. appreciated.

chances you've either got memory corruption caused buffer overflow, or double deletion of dangling pointer. sort of thing can happen when calling qt code if don't realise qobject's parent takes ownership of it, bart notes. using app verifier, try running gflags debugging tools windows , enable page heap debugging may localise problem.


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -