Displaying 2 results from an estimated 2 matches for "szone_free_definite_size".
2009 Oct 23
2
Using dapptrace. Can't seem to trace user functions with defaults or specifying -u<lib>
...probes
That hits nothing.
If I take a lib from all the output using the -U option, e.g.
libSystem.B.dylib,
-> libSystem.B.dylib:free(0x300D70, 0x1A, 0xBFFFF258)
-> libSystem.B.dylib:szone_size(0x22E000, 0x300D70, 0x50)
<- libSystem.B.dylib:szone_size = 585
-> libSystem.B.dylib:szone_free_definite_size(0x22E000, 0x300D70,
0x10)
-> libSystem.B.dylib:tiny_free_list_remove_ptr(0x1, 0x231500,
0x22E000)
<- libSystem.B.dylib:tiny_free_list_remove_ptr = 239
<- libSystem.B.dylib:szone_free_de
and try that specifying the -u option as in:
sudo -s dapptrace -u libSystem.B.dylib ~/myexec...
2011 Feb 26
2
[LLVMdev] memory bug triggered in getFoldedCast
...malloc_error_break to debug
(I don't know how to use malloc_error_break in this case. ?)
The stack trace in gdb after the above error looks like:
(gdb) bt
#0 0x00007fff81bf8616 in __kill ()
#1 0x00007fff81c98cca in abort ()
#2 0x00007fff81c87901 in szone_error ()
#3 0x00007fff81bb1080 in szone_free_definite_size ()
#4 0x000000010185b577 in getFoldedCast ()
#5 0x0000000101297617 in getAllocArrayFn () at
/Users/rob/Projects/Bamboo/Source/AST.cc:624
The line in my getAllocArrayFn() is:
return ConstantExpr::getIntToPtr(ci, alloc_args_fn_ptr_type);
ci is a ConstantInt and the other arg is a PointerType...