ld tries to free on a non-existant pointer

Bug #81951 reported by Wesley Hearn
2
Affects Status Importance Assigned to Milestone
binutils (Ubuntu)
Invalid
Low
Matthias Klose

Bug Description

Binary package hint: build-essential

I get the following when trying to build AWOS (awos.sourceforge.net)

Making libc...
make -C libc
make[1]: Entering directory `/home/jknife/awos/src/libc'
gcc -O0 -fno-stack-protector -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I../kernel/include -I. -c printf.c string.c unistd.c
make[1]: Leaving directory `/home/jknife/awos/src/libc'
echo 'Making kernel...'
Making kernel...
make -C kernel
make[1]: Entering directory `/home/jknife/awos/src/kernel'
ld -T link.ld -Map ../kernel.map
ld: warning: cannot find entry symbol start; defaulting to 0000000000100000
*** glibc detected *** ld: free(): invalid pointer: 0x0817d06c ***
======= Backtrace: =========
/lib/libc.so.6[0x40137322]
/lib/libc.so.6(cfree+0x89)[0x401389d9]
/usr/lib/libbfd-2.17.50.so(bfd_elf_final_link+0x1e67)[0x40082887]
ld[0x805f90b]
ld[0x805ef20]
/lib/libc.so.6(__libc_start_main+0xdc)[0x400e8ebc]
ld[0x804b011]
======= Memory map: ========
08048000-080b7000 r-xp 00000000 03:03 18089810 /usr/bin/ld
080b7000-080b9000 rw-p 0006f000 03:03 18089810 /usr/bin/ld
080b9000-08188000 rw-p 080b9000 00:00 0 [heap]
40000000-40019000 r-xp 00000000 03:03 8568848 /lib/ld-2.5.so
40019000-4001b000 rw-p 00019000 03:03 8568848 /lib/ld-2.5.so
4001b000-4001c000 r-xp 4001b000 00:00 0 [vdso]
4001c000-40029000 rw-p 4001c000 00:00 0
4002d000-400c7000 r-xp 00000000 03:03 18089795 /usr/lib/libbfd-2.17.50.so
400c7000-400cf000 rw-p 0009a000 03:03 18089795 /usr/lib/libbfd-2.17.50.so
400cf000-400d3000 rw-p 400cf000 00:00 0
400d3000-401f9000 r-xp 00000000 03:03 8568883 /lib/libc-2.5.so
401f9000-401fa000 r--p 00125000 03:03 8568883 /lib/libc-2.5.so
401fa000-401fc000 rw-p 00126000 03:03 8568883 /lib/libc-2.5.so
401fc000-40201000 rw-p 401fc000 00:00 0
40211000-4021b000 r-xp 00000000 03:03 8568928 /lib/libgcc_s.so.1
4021b000-4021c000 rw-p 00009000 03:03 8568928 /lib/libgcc_s.so.1
40300000-40321000 rw-p 40300000 00:00 0
40321000-40400000 ---p 40321000 00:00 0
bffb5000-bffca000 rw-p bffb5000 00:00 0 [stack]
make[1]: *** [all] Aborted (core dumped)
make[1]: Leaving directory `/home/jknife/awos/src/kernel'
make: *** [all] Error 2

Revision history for this message
Matthias Klose (doko) wrote :

- please recheck with current binutils from feisty and gutsy
- pleae attach the object files needed for linking (in a tarball)

Changed in binutils:
status: New → Incomplete
Revision history for this message
Wesley Hearn (gr33nn1nj4) wrote :

recheck? wtf should I? you waited 1 full release cycle before even making ANY notice on this effing report. attach files? I gave you the ******* link to the files, did you bother to check? no or else you would have seen them. If you or your team cannot update critical bugs reports on core tools then you or your team has no business working on a operating system. Do I care about this bug? not anymore as I do not use *buntu anymore as it has became a bloated cliché.

Revision history for this message
Matthias Klose (doko) wrote :

> I gave you the ******* link to the files, did you bother to check?

No, that is a pointer to a website without any information on any version or any architecture. Sorry for the late reply, but software included with ubuntu has a priority. I'm closing this report as invalid; please feel free to reopen if you still want to submit the missing information.

Changed in binutils:
assignee: nobody → doko
importance: Undecided → Low
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.