[Bug 1035512] Re: glibc detected *** dpkg-query: free(): invalid pointer: 0x00007f75dc7dcc84 ***

Alvaro Leal (Effenberg0x0) Effenberg0x0 at GMail.com
Sat Aug 11 01:48:40 UTC 2012


Updated bug to re-include the target package.

** Package changed: ubuntu => dpkg (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/1035512

Title:
  glibc detected *** dpkg-query: free(): invalid pointer:
  0x00007f75dc7dcc84 ***

Status in “dpkg” package in Ubuntu:
  New

Bug description:
  ** I have not managed to use apport to report this (apport itself is
  crashing). I have attached the .crash and pasted the gdb backtrace
  below. **

  KERNEL: 3.5.0-7-generic #7-Ubuntu SMP Tue Jul 31 07:22:20 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
  RELEASE:	12.10 (Quantal)

  The following is caused by invoking dpkg-query using double quotation
  marks (instead of single quotation marks) in the command syntax:

  sudo dpkg-query -W -f="${provides}" apt
  dpkg-query: error in show format: H�C0
  *** glibc detected *** dpkg-query: free(): invalid pointer: 0x00007f75dc7dcc84 ***
  ======= Backtrace: =========
  /lib/x86_64-linux-gnu/libc.so.6(+0x7e506)[0x7f75dc7df506]
  dpkg-query[0x4091a3]
  dpkg-query[0x404473]
  dpkg-query[0x402779]
  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f75dc78276d]
  dpkg-query[0x4027ed]
  ======= Memory map: ========
  00400000-0041f000 r-xp 00000000 08:01 2904021                            /usr/bin/dpkg-query
  0061e000-0061f000 r--p 0001e000 08:01 2904021                            /usr/bin/dpkg-query
  0061f000-00620000 rw-p 0001f000 08:01 2904021                            /usr/bin/dpkg-query
  00620000-00734000 rw-p 00000000 00:00 0 
  0180b000-0182c000 rw-p 00000000 00:00 0                                  [heap]
  7f75dc280000-7f75dc295000 r-xp 00000000 08:01 524420                     /lib/x86_64-linux-gnu/libgcc_s.so.1
  7f75dc295000-7f75dc494000 ---p 00015000 08:01 524420                     /lib/x86_64-linux-gnu/libgcc_s.so.1
  7f75dc494000-7f75dc495000 r--p 00014000 08:01 524420                     /lib/x86_64-linux-gnu/libgcc_s.so.1
  7f75dc495000-7f75dc496000 rw-p 00015000 08:01 524420                     /lib/x86_64-linux-gnu/libgcc_s.so.1
  7f75dc496000-7f75dc761000 r--p 00000000 08:01 2889281                    /usr/lib/locale/locale-archive
  7f75dc761000-7f75dc913000 r-xp 00000000 08:01 525233                     /lib/x86_64-linux-gnu/libc-2.15.so
  7f75dc913000-7f75dcb13000 ---p 001b2000 08:01 525233                     /lib/x86_64-linux-gnu/libc-2.15.so
  7f75dcb13000-7f75dcb17000 r--p 001b2000 08:01 525233                     /lib/x86_64-linux-gnu/libc-2.15.so
  7f75dcb17000-7f75dcb19000 rw-p 001b6000 08:01 525233                     /lib/x86_64-linux-gnu/libc-2.15.so
  7f75dcb19000-7f75dcb1e000 rw-p 00000000 00:00 0 
  7f75dcb1e000-7f75dcb40000 r-xp 00000000 08:01 525223                     /lib/x86_64-linux-gnu/ld-2.15.so
  7f75dcd1d000-7f75dcd20000 rw-p 00000000 00:00 0 
  7f75dcd3d000-7f75dcd40000 rw-p 00000000 00:00 0 
  7f75dcd40000-7f75dcd41000 r--p 00022000 08:01 525223                     /lib/x86_64-linux-gnu/ld-2.15.so
  7f75dcd41000-7f75dcd43000 rw-p 00023000 08:01 525223                     /lib/x86_64-linux-gnu/ld-2.15.so
  7fff26009000-7fff2602a000 rw-p 00000000 00:00 0                          [stack]
  7fff26057000-7fff26058000 r-xp 00000000 00:00 0                          [vdso]
  ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]

  BT:
  Core was generated by `dpkg-query -W -f= apt'.
  Program terminated with signal 6, Aborted.
  #0  0x00007faec01e8405 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
  64	../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
  (gdb) bt
  #0  0x00007faec01e8405 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
  #1  0x00007faec01ebb6b in __GI_abort () at abort.c:91
  #2  0x00007faec0225d0e in __libc_message (do_abort=2, 
      fmt=0x7faec032dfd0 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:201
  #3  0x00007faec0230506 in malloc_printerr (action=3, str=0x7faec032af81 "free(): invalid pointer", 
      ptr=<optimized out>) at malloc.c:5007
  #4  0x00000000004091a3 in dpkg_error_destroy (err=err at entry=0x7fff3695e690) at ../../../lib/dpkg/error.c:91
  #5  0x0000000000404473 in showpackages (argv=0x7fff3695e800) at ../../src/querycmd.c:521
  #6  0x0000000000402779 in main (argc=<optimized out>, argv=0x7fff3695e800) at ../../src/querycmd.c:865

  Regards,
  Effenberg

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1035512/+subscriptions




More information about the foundations-bugs mailing list