gdb seems to suggest that this is a fakeroot issue - which might help
explain why it happens w/ sbuild & pbuilder but not when I build
by hand.

Its unclear why the amd64 buildd, didn't have a problem while
the others archs did - they all seem to use fakeroot.

A backtrace of the faked-sysv process shows:
  #0  0xb7e823fa in msgrcv () from /lib/libc.so.6
  No symbol table info available.
  #1  0x08048f01 in get_msg () at ../faked.c:793
      buf = {mtype = 1, id = 3, pid = 7007, serial = 3800, st = {uid =
      0, 
      gid = 0, ino = 1446880, dev = 2049, rdev = 0, mode = 33188, nlink
      = 1}, 
    remote = 0}
    r = <value optimized out>
  #2  0x0804a115 in main (argc=Cannot access memory at address 0x120000
  ) at ../faked.c:1223
    sa = {__sigaction_handler = {sa_handler = 0x8049c60 <cleanup>, 
      sa_sigaction = 0x8049c60 <cleanup>}, sa_mask = {__val = {
        0 <repeats 32 times>}}, sa_flags = 0, 
    sa_restorer = 0x804c0fc <_GLOBAL_OFFSET_TABLE_>}
    sa_debug = {__sigaction_handler = {sa_handler = 0x8048fe0
    <debugdata>, 
      sa_sigaction = 0x8048fe0 <debugdata>}, sa_mask = {__val = {
        0 <repeats 32 times>}}, sa_flags = 0, sa_restorer = 0}
        sa_save = {__sigaction_handler = {sa_handler = 0x8049bf0 <save>, 
      sa_sigaction = 0x8049bf0 <save>}, sa_mask = {__val = {
        0 <repeats 32 times>}}, sa_flags = 0, sa_restorer = 0}
        i = <value optimized out>
        foreground = 0
        load = 0
        justcleanup = 0

And a backtrace of the java process has:

  #0  0xb5ef65a6 in semop () from /lib/libc.so.6
  #1  0xb7f859d0 in semaphore_up () at ../communicate.c:390
  #2  0xb7f85a70 in send_get_fakem (buf=0xbfa8bee0) at ../communicate.c:526
  #3  0xb7f85b15 in send_get_stat64 (st=0xbfa8bf60) at ../communicate.c:757
  #4  0xb7f84574 in __fxstat64 (ver=3, fd=71, st=0xbfa8bf60)
      at ../libfakeroot.c:633
  #5  0xb6b9072c in gnu::java::nio::channels::FileChannelImpl::size (
      this=0x475e70) at /usr/include/sys/stat.h:467
  #6  0xb6ffed72 in java.io.RandomAccessFile.length()long (this=0x475e88)
      at /tmp/gcj-4.3-4.3.2/src/libjava/java/io/RandomAccessFile.java:245
  #7  0xb71416f5 in 
java.util.zip.ZipFile$PartialInputStream.ZipFile$PartialInputStream(java.io.RandomAccessFile,
 int) (this=0x11985a0, raf=0x475e88, 
      bufferSize=1024)
      at ../../../../../src/libjava/classpath/java/util/zip/ZipFile.java:550
  #8  0xb7143187 in 
java.util.zip.ZipFile.getInputStream(java.util.zip.ZipEntry)java.io.InputStream 
(this=0x475ea0, entry=0x1b4b6f0)
      at ../../../../../src/libjava/classpath/java/util/zip/ZipFile.java:426
  #9  0xb75e1fe7 in ffi_call_SYSV () at ../../../src/libffi/src/x86/sysv.S:60
  #10 0xb75e1d99 in ffi_raw_call (cif=0xf0001, 
      fn=0xb71430f0 
<java.util.zip.ZipFile.getInputStream(java.util.zip.ZipEntry)java.io.InputStream>,
 rvalue=0x1, fake_avalue=0xbfa8c0c0)
      at ../../../src/libffi/src/x86/ffi.c:425
  [... continues to 424 frames ...]
-- 
dann frazier




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to