[fpc-pascal] Need help fixing leaks

leledumbo leledumbo_cool at yahoo.co.id
Tue Dec 21 04:33:51 CET 2010


Could anyone please help me fixing leaks in my 
http://free-pascal-general.1045716.n5.nabble.com/file/n3312878/llvmirbuilder.zip
project ?
This is the output when I debug in gdb:

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x00406c32 in SYSTEM_TOBJECT_$__FREE ()
#2  0x0040d916 in TFPGOBJECTLIST$TLLVMVALUE__DEREF (ITEM=0x55138,
    this=<error reading variable>) at llvmirbuilder.pp:362
#3  0x00421451 in FGL_TFPSLIST_$__DEREF$LONGINT$LONGINT ()
#4  0x00000000 in ?? ()

That line is the end of a method and I have no idea why the item got
dereferenced.
-- 
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Need-help-fixing-leaks-tp3312878p3312878.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list