bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU Make 3.82 raises "make: free(): invalid next size (fast)" error


From: Alexis ROBERT
Subject: Re: GNU Make 3.82 raises "make: free(): invalid next size (fast)" error when building Android
Date: Wed, 25 Aug 2010 02:26:09 +0200

On Tue, Aug 24, 2010 at 11:37 PM, Paul Smith <address@hidden> wrote:
> This backtrace is not useful because your version of GNU make was
> compiled without debugging enabled.  Can you get a copy and build it
> with CFLAGS=-g to enable debugging and disable optimization, then force
> the failure and report the stack trace?
>
> That would be very helpful.  Thanks!

Something more like ... this ? :)

Program received signal SIGABRT, Aborted.
0xb7fe1424 in __kernel_vsyscall ()
(gdb) backtrace
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb7eabd61 in raise () from /lib/libc.so.6
#2  0xb7ead5ee in abort () from /lib/libc.so.6
#3  0xb7ee77ed in ?? () from /lib/libc.so.6
#4  0xb7eed7b1 in ?? () from /lib/libc.so.6
#5  0xb7eee52b in ?? () from /lib/libc.so.6
#6  0xb7ef21cd in free () from /lib/libc.so.6
#7  0x080522a6 in func_sort (
   o=0xc6d9eb4 " t/host/linux-x86/bin/accRuntimeTest
out/host/linux-x86/bin/run-core-tests-on-ri
out/target/product/generic/data/app/AndroidCommonTests.apk
neric/system/bin/qemu-props\fw*x\f\202'x\f1", argv=0xbfffd5e0,
funcname=0x806b201 "sort") at function.c:1183
#8  0x08052e44 in expand_builtin_function (
   o=0xc6d9e98 "\n \n\n AlarmClock Gallery Home
t/host/linux-x86/bin/accRuntimeTest
out/host/linux-x86/bin/run-core-tests-on-ri
out/target/product/generic/data/app/AndroidCommonTests.apk
neric/system/bin/qemu-props\fw*x\f"..., argc=1, argv=0xbfffd5e0,
entry_p=0x806f8b8) at function.c:2164
#9  0x08053102 in handle_function (op=0xbfffd674, stringp=0xbfffd678)
at function.c:2273
#10 0x0804d68f in variable_expand_string (
   line=0xc6d9e98 "\n \n\n AlarmClock Gallery Home
t/host/linux-x86/bin/accRuntimeTest
out/host/linux-x86/bin/run-core-tests-on-ri
out/target/product/generic/data/app/AndroidCommonTests.apk
neric/system/bin/qemu-props\fw*x\f"..., string=0xbfffd770 "$(sort
$(call _get-package-overrides,$(1)))", length=-1) at expand.c:263
#11 0x0804dafc in variable_expand (line=0xbfffd770 "$(sort $(call
_get-package-overrides,$(1)))") at expand.c:429
#12 0x0804dc28 in variable_expand_for_file (line=0xbfffd770 "$(sort
$(call _get-package-overrides,$(1)))", file=0x0) at expand.c:477
#13 0x0804de82 in allocated_variable_expand_for_file (line=0xbfffd770
"$(sort $(call _get-package-overrides,$(1)))", file=0x0) at
expand.c:574
#14 0x0804dbf8 in expand_argument (str=0x8108770 "$(sort $(call
_get-package-overrides,$(1))))", end=0x810879b ")") at expand.c:458
#15 0x08052ff7 in handle_function (op=0xbfffd874, stringp=0xbfffd878)
at function.c:2241
#16 0x0804d68f in variable_expand_string (line=0xc771220 "",
string=0x8108768 "$(strip $(sort $(call
_get-package-overrides,$(1))))", length=-1) at expand.c:263
#17 0x0804dafc in variable_expand (line=0x8108768 "$(strip $(sort
$(call _get-package-overrides,$(1))))") at expand.c:429
#18 0x0804dc28 in variable_expand_for_file (line=0x8108768 "$(strip
$(sort $(call _get-package-overrides,$(1))))", file=0x0) at
expand.c:477
#19 0x0804de82 in allocated_variable_expand_for_file (line=0x8108768
"$(strip $(sort $(call _get-package-overrides,$(1))))", file=0x0) at
expand.c:574
#20 0x0804d3ad in recursively_expand_for_file (v=0x8108728, file=0x0)
at expand.c:142
#21 0x0804d48a in reference_variable (o=0xc734358 "", name=0xbfffda82
"get-package-overrides)", length=21) at expand.c:176
#22 0x0804da2b in variable_expand_string (line=0xc734358 "",
string=0xbfffda80 "$(get-package-overrides)", length=24) at
expand.c:387
#23 0x08053461 in func_call (o=0xc734358 "", argv=0xbfffdb38,
funcname=0x806b238 "call") at function.c:2380
#24 0x08052e44 in expand_builtin_function (o=0xc734358 "", argc=2,
argv=0xbfffdb30, entry_p=0x806f918) at function.c:2164
#25 0x08053102 in handle_function (op=0xbfffdbc4, stringp=0xbfffdbc8)
at function.c:2273
#26 0x0804d68f in variable_expand_string (line=0xc734358 "",
string=0x810d81f "$(call
get-package-overrides,$(modules_to_install))", length=-1) at
expand.c:263
#27 0x0804dafc in variable_expand (line=0x810d81f "$(call
get-package-overrides,$(modules_to_install))") at expand.c:429
#28 0x0804dc28 in variable_expand_for_file (line=0x810d81f "$(call
get-package-overrides,$(modules_to_install))", file=0x0) at
expand.c:477
#29 0x0804de82 in allocated_variable_expand_for_file (line=0x810d81f
"$(call get-package-overrides,$(modules_to_install))", file=0x0) at
expand.c:574
#30 0x080675ee in do_variable_definition (flocp=0xbfffdf00,
varname=0xc771130 "overridden_packages", value=0x810d81f "$(call
get-package-overrides,$(modules_to_install))", origin=o_file,
   flavor=f_simple, target_var=0) at variable.c:1125
#31 0x08067c0f in try_variable_definition (flocp=0xbfffdf00,
line=0x810d808 "overridden_packages := $(call
get-package-overrides,$(modules_to_install))", origin=o_file,
target_var=0)
   at variable.c:1521
#32 0x0805d103 in eval (ebuf=0xbfffdeec, set_default=1) at read.c:722
#33 0x0805cae2 in eval_makefile (filename=0x807d0d8
"build/core/main.mk", flags=10) at read.c:423
#34 0x0805d6d9 in eval (ebuf=0xbfffe0bc, set_default=1) at read.c:873
#35 0x0805cae2 in eval_makefile (filename=0x807d0c5 "Makefile",
flags=0) at read.c:423
#36 0x0805c689 in read_all_makefiles (makefiles=0x0) at read.c:257
#37 0x08058d1f in main (argc=2, argv=0xbffffb74, envp=0xbffffb80) at main.c:1659
(gdb)

Alexis



reply via email to

[Prev in Thread] Current Thread [Next in Thread]