Bug 692442

Summary: when using make, one can not build cyanogenmod 7
Product: [openSUSE] openSUSE 11.4 Reporter: Lester Martin <lestermartin92>
Component: OtherAssignee: Matthias Hopf <mhopf>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: lestermartin92
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.4   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Lester Martin 2011-05-08 01:56:56 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.57 Safari/534.24

It gives a glibc free error like below

*** glibc detected *** make: free(): invalid next size (fast): 0x0000000006ecc5f0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x733b6)[0x7fcc3d2563b6]
/lib64/libc.so.6(cfree+0x6c)[0x7fcc3d25b2dc]
make[0x40940e]
make[0x40b3db]
make[0x40604b]
make[0x405b4b]
make[0x405bf3]
make[0x40b3a4]
make[0x40604b]
make[0x405b4b]
make[0x405d40]
make[0x406488]
make[0x408cd6]
make[0x40b3db]
make[0x40604b]
make[0x405b4b]
make[0x41dc12]
make[0x41e2bb]
make[0x416798]
make[0x417c51]
make[0x416ed5]
make[0x417c51]
make[0x418024]
make[0x411f38]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x7fcc3d201bfd]
make[0x402979]
======= Memory map: ========
00400000-00429000 r-xp 00000000 fd:02 2632522                            /usr/bin/make
00629000-0062a000 r--p 00029000 fd:02 2632522                            /usr/bin/make
0062a000-0062c000 rw-p 0002a000 fd:02 2632522                            /usr/bin/make
0062c000-07132000 rw-p 00000000 00:00 0                                  [heap]
7fcc38000000-7fcc38021000 rw-p 00000000 00:00 0 
7fcc38021000-7fcc3c000000 ---p 00000000 00:00 0 
7fcc3caed000-7fcc3cb02000 r-xp 00000000 fd:02 5505164                    /lib64/libgcc_s.so.1
7fcc3cb02000-7fcc3cd01000 ---p 00015000 fd:02 5505164                    /lib64/libgcc_s.so.1
7fcc3cd01000-7fcc3cd02000 r--p 00014000 fd:02 5505164                    /lib64/libgcc_s.so.1
7fcc3cd02000-7fcc3cd03000 rw-p 00015000 fd:02 5505164                    /lib64/libgcc_s.so.1
7fcc3cd03000-7fcc3cf86000 rw-p 00000000 00:00 0 
7fcc3cfc6000-7fcc3cfdd000 r-xp 00000000 fd:02 5505045                    /lib64/libpthread-2.11.3.so
7fcc3cfdd000-7fcc3d1dd000 ---p 00017000 fd:02 5505045                    /lib64/libpthread-2.11.3.so
7fcc3d1dd000-7fcc3d1de000 r--p 00017000 fd:02 5505045                    /lib64/libpthread-2.11.3.so
7fcc3d1de000-7fcc3d1df000 rw-p 00018000 fd:02 5505045                    /lib64/libpthread-2.11.3.so
7fcc3d1df000-7fcc3d1e3000 rw-p 00000000 00:00 0 
7fcc3d1e3000-7fcc3d347000 r-xp 00000000 fd:02 5505039                    /lib64/libc-2.11.3.so
7fcc3d347000-7fcc3d546000 ---p 00164000 fd:02 5505039                    /lib64/libc-2.11.3.so
7fcc3d546000-7fcc3d54a000 r--p 00163000 fd:02 5505039                    /lib64/libc-2.11.3.so
7fcc3d54a000-7fcc3d54b000 rw-p 00167000 fd:02 5505039                    /lib64/libc-2.11.3.so
7fcc3d54b000-7fcc3d550000 rw-p 00000000 00:00 0 
7fcc3d550000-7fcc3d558000 r-xp 00000000 fd:02 5505168                    /lib64/librt-2.11.3.so
7fcc3d558000-7fcc3d757000 ---p 00008000 fd:02 5505168                    /lib64/librt-2.11.3.so
7fcc3d757000-7fcc3d758000 r--p 00007000 fd:02 5505168                    /lib64/librt-2.11.3.so
7fcc3d758000-7fcc3d759000 rw-p 00008000 fd:02 5505168                    /lib64/librt-2.11.3.so
7fcc3d759000-7fcc3d777000 r-xp 00000000 fd:02 5505178                    /lib64/ld-2.11.3.so
7fcc3d7b6000-7fcc3d7f6000 rw-p 00000000 00:00 0 
7fcc3d7f6000-7fcc3d835000 r--p 00000000 fd:02 3933727                    /usr/lib/locale/en_US.utf8/LC_CTYPE
7fcc3d835000-7fcc3d952000 r--p 00000000 fd:02 3933728                    /usr/lib/locale/en_US.utf8/LC_COLLATE
7fcc3d952000-7fcc3d955000 rw-p 00000000 00:00 0 
7fcc3d963000-7fcc3d964000 rw-p 00000000 00:00 0 
7fcc3d964000-7fcc3d965000 r--p 00000000 fd:02 3933730                    /usr/lib/locale/en_US.utf8/LC_NUMERIC
7fcc3d965000-7fcc3d966000 r--p 00000000 fd:02 3933720                    /usr/lib/locale/en_US.utf8/LC_TIME
7fcc3d966000-7fcc3d967000 r--p 00000000 fd:02 3933729                    /usr/lib/locale/en_US.utf8/LC_MONETARY
7fcc3d967000-7fcc3d968000 r--p 00000000 fd:02 3933722                    /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
7fcc3d968000-7fcc3d969000 r--p 00000000 fd:02 3933731                    /usr/lib/locale/en_US.utf8/LC_PAPER
7fcc3d969000-7fcc3d96a000 r--p 00000000 fd:02 3933724                    /usr/lib/locale/en_US.utf8/LC_NAME
7fcc3d96a000-7fcc3d96b000 r--p 00000000 fd:02 3933723                    /usr/lib/locale/en_US.utf8/LC_ADDRESS
7fcc3d96b000-7fcc3d96c000 r--p 00000000 fd:02 3933719                    /usr/lib/locale/en_US.utf8/LC_TELEPHONE
7fcc3d96c000-7fcc3d96d000 r--p 00000000 fd:02 3933726                    /usr/lib/locale/en_US.utf8/LC_MEASUREMENT
7fcc3d96d000-7fcc3d974000 r--s 00000000 fd:02 2634138                    /usr/lib64/gconv/gconv-modules.cache
7fcc3d974000-7fcc3d975000 r--p 00000000 fd:02 3933725                    /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
7fcc3d975000-7fcc3d976000 rw-p 00000000 00:00 0 
7fcc3d976000-7fcc3d977000 r--p 0001d000 fd:02 5505178                    /lib64/ld-2.11.3.so
7fcc3d977000-7fcc3d978000 rw-p 0001e000 fd:02 5505178                    /lib64/ld-2.11.3.so
7fcc3d978000-7fcc3d979000 rw-p 00000000 00:00 0 
7fff1c096000-7fff1c0e8000 rw-p 00000000 00:00 0                          [stack]
7fff1c153000-7fff1c154000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Aborted


Reproducible: Always

Steps to Reproduce:
1.set up a build environment for cyanogenmod 7 from ModADroid's repos for fascinate (will require non-packaged and pre built binaries from google)
2.build according to the documentation on forums and xda-dev and jt1334's help basically brunch fascinate && make -j4 bacon
3.watch it fail
Actual Results:  
*** glibc detected *** make: free(): invalid next size (fast): 0x0000000006ecc5f0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x733b6)[0x7fcc3d2563b6]
/lib64/libc.so.6(cfree+0x6c)[0x7fcc3d25b2dc]
make[0x40940e]
make[0x40b3db]
make[0x40604b]
make[0x405b4b]
make[0x405bf3]
make[0x40b3a4]
make[0x40604b]
make[0x405b4b]
make[0x405d40]
make[0x406488]
make[0x408cd6]
make[0x40b3db]
make[0x40604b]
make[0x405b4b]
make[0x41dc12]
make[0x41e2bb]
make[0x416798]
make[0x417c51]
make[0x416ed5]
make[0x417c51]
make[0x418024]
make[0x411f38]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x7fcc3d201bfd]
make[0x402979]
======= Memory map: ========
00400000-00429000 r-xp 00000000 fd:02 2632522                            /usr/bin/make
00629000-0062a000 r--p 00029000 fd:02 2632522                            /usr/bin/make
0062a000-0062c000 rw-p 0002a000 fd:02 2632522                            /usr/bin/make
0062c000-07132000 rw-p 00000000 00:00 0                                  [heap]
7fcc38000000-7fcc38021000 rw-p 00000000 00:00 0 
7fcc38021000-7fcc3c000000 ---p 00000000 00:00 0 
7fcc3caed000-7fcc3cb02000 r-xp 00000000 fd:02 5505164                    /lib64/libgcc_s.so.1
7fcc3cb02000-7fcc3cd01000 ---p 00015000 fd:02 5505164                    /lib64/libgcc_s.so.1
7fcc3cd01000-7fcc3cd02000 r--p 00014000 fd:02 5505164                    /lib64/libgcc_s.so.1
7fcc3cd02000-7fcc3cd03000 rw-p 00015000 fd:02 5505164                    /lib64/libgcc_s.so.1
7fcc3cd03000-7fcc3cf86000 rw-p 00000000 00:00 0 
7fcc3cfc6000-7fcc3cfdd000 r-xp 00000000 fd:02 5505045                    /lib64/libpthread-2.11.3.so
7fcc3cfdd000-7fcc3d1dd000 ---p 00017000 fd:02 5505045                    /lib64/libpthread-2.11.3.so
7fcc3d1dd000-7fcc3d1de000 r--p 00017000 fd:02 5505045                    /lib64/libpthread-2.11.3.so
7fcc3d1de000-7fcc3d1df000 rw-p 00018000 fd:02 5505045                    /lib64/libpthread-2.11.3.so
7fcc3d1df000-7fcc3d1e3000 rw-p 00000000 00:00 0 
7fcc3d1e3000-7fcc3d347000 r-xp 00000000 fd:02 5505039                    /lib64/libc-2.11.3.so
7fcc3d347000-7fcc3d546000 ---p 00164000 fd:02 5505039                    /lib64/libc-2.11.3.so
7fcc3d546000-7fcc3d54a000 r--p 00163000 fd:02 5505039                    /lib64/libc-2.11.3.so
7fcc3d54a000-7fcc3d54b000 rw-p 00167000 fd:02 5505039                    /lib64/libc-2.11.3.so
7fcc3d54b000-7fcc3d550000 rw-p 00000000 00:00 0 
7fcc3d550000-7fcc3d558000 r-xp 00000000 fd:02 5505168                    /lib64/librt-2.11.3.so
7fcc3d558000-7fcc3d757000 ---p 00008000 fd:02 5505168                    /lib64/librt-2.11.3.so
7fcc3d757000-7fcc3d758000 r--p 00007000 fd:02 5505168                    /lib64/librt-2.11.3.so
7fcc3d758000-7fcc3d759000 rw-p 00008000 fd:02 5505168                    /lib64/librt-2.11.3.so
7fcc3d759000-7fcc3d777000 r-xp 00000000 fd:02 5505178                    /lib64/ld-2.11.3.so
7fcc3d7b6000-7fcc3d7f6000 rw-p 00000000 00:00 0 
7fcc3d7f6000-7fcc3d835000 r--p 00000000 fd:02 3933727                    /usr/lib/locale/en_US.utf8/LC_CTYPE
7fcc3d835000-7fcc3d952000 r--p 00000000 fd:02 3933728                    /usr/lib/locale/en_US.utf8/LC_COLLATE
7fcc3d952000-7fcc3d955000 rw-p 00000000 00:00 0 
7fcc3d963000-7fcc3d964000 rw-p 00000000 00:00 0 
7fcc3d964000-7fcc3d965000 r--p 00000000 fd:02 3933730                    /usr/lib/locale/en_US.utf8/LC_NUMERIC
7fcc3d965000-7fcc3d966000 r--p 00000000 fd:02 3933720                    /usr/lib/locale/en_US.utf8/LC_TIME
7fcc3d966000-7fcc3d967000 r--p 00000000 fd:02 3933729                    /usr/lib/locale/en_US.utf8/LC_MONETARY
7fcc3d967000-7fcc3d968000 r--p 00000000 fd:02 3933722                    /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
7fcc3d968000-7fcc3d969000 r--p 00000000 fd:02 3933731                    /usr/lib/locale/en_US.utf8/LC_PAPER
7fcc3d969000-7fcc3d96a000 r--p 00000000 fd:02 3933724                    /usr/lib/locale/en_US.utf8/LC_NAME
7fcc3d96a000-7fcc3d96b000 r--p 00000000 fd:02 3933723                    /usr/lib/locale/en_US.utf8/LC_ADDRESS
7fcc3d96b000-7fcc3d96c000 r--p 00000000 fd:02 3933719                    /usr/lib/locale/en_US.utf8/LC_TELEPHONE
7fcc3d96c000-7fcc3d96d000 r--p 00000000 fd:02 3933726                    /usr/lib/locale/en_US.utf8/LC_MEASUREMENT
7fcc3d96d000-7fcc3d974000 r--s 00000000 fd:02 2634138                    /usr/lib64/gconv/gconv-modules.cache
7fcc3d974000-7fcc3d975000 r--p 00000000 fd:02 3933725                    /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
7fcc3d975000-7fcc3d976000 rw-p 00000000 00:00 0 
7fcc3d976000-7fcc3d977000 r--p 0001d000 fd:02 5505178                    /lib64/ld-2.11.3.so
7fcc3d977000-7fcc3d978000 rw-p 0001e000 fd:02 5505178                    /lib64/ld-2.11.3.so
7fcc3d978000-7fcc3d979000 rw-p 00000000 00:00 0 
7fff1c096000-7fff1c0e8000 rw-p 00000000 00:00 0                          [stack]
7fff1c153000-7fff1c154000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Aborted


Expected Results:  
It should have continued building to where I could of seen either if the build script had a problem or that it built correctly.

I've got the entire backtrace, mmap and original glibc due to make free error in one of the feilds above.
Comment 1 Lester Martin 2011-05-08 06:32:07 UTC
make-3.82-140.1.x86_64 Package
make 3.82
Comment 2 Matthias Hopf 2011-05-10 16:40:49 UTC
Please test the package from Base:System - I'd assume it's the same bug as bug #681108.

Please reopen if that is not the case.

*** This bug has been marked as a duplicate of bug 681108 ***