[Nix-dev] Bug in latest nixUnstable on darwin
Shea Levy
shea at shealevy.com
Wed Jan 18 19:00:46 CET 2012
Hi all,
Running nix-prefetch-url results in the following message after the curl:
perl(17665) malloc: *** error for object 0x7fff70389500:
pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Setting the breakpoint as suggested and printing a backtrace shows:
#0 0x00007fff87d90499 in malloc_error_break ()
#1 0x00007fff87cba183 in free ()
#2 0x00000001004c428e in boost::basic_format::parse ()
#3 0x00000001004c06fa in boost::basic_format::basic_format ()
#4 0x0000000100450e08 in nix::querySetting ()
#5 0x000000010045183c in nix::querySetting ()
#6 0x00000001004525e3 in nix::setDefaultsFromEnvironment ()
#7 0x00000001001ac965 in doInit ()
#8 0x00000001001adb9a in XS_Nix__Store_addToStore ()
#9 0x00000001000897ce in Perl_pp_entersub ()
#10 0x00000001000814e6 in Perl_runops_standard ()
#11 0x000000010001f005 in perl_run ()
#12 0x0000000100000e0c in main ()
Any thoughts? Any other things I should check when stopped at the
breakpoint?
Cheers,
Shea
More information about the nix-dev
mailing list