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

Bug#526519: marked as done (cmake immediately hangs if run in i386 chroot on amd64 host)



Your message dated Fri, 1 May 2009 22:50:23 +0300
with message-id <200905012250.29607.modestas@vainius.eu>
and subject line Re: Bug#526519: cmake immediately hangs if run in i386 chroot on amd64 host
has caused the Debian Bug report #526519,
regarding cmake immediately hangs if run in i386 chroot on amd64 host
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
526519: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526519
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cmake
Version: 2.6.3-2
Severity: normal

If i use cmake in an i386 chroot on an amd64 machine, it just prints "Linux"
and hangs. The same happens inside an i386 pbuilder environment on an amd64
machine (therefore I think this problem is not caused by a dirty chroot).

How to reproduce:
- create i386 chroot on amd64 machine
- touch CMakeLists.txt
- cmake .

Running a debug version of cmake (built on another, real i386 machine) inside gdb
and pressing Ctrl-C after "Linux" has been printed gives

#0  0xf7ced04e in read () from /lib/libc.so.6
#1  0xf7c9505e in _IO_file_underflow () from /lib/libc.so.6
#2  0xf7c969cb in _IO_default_uflow () from /lib/libc.so.6
#3  0xf7c97de8 in __uflow () from /lib/libc.so.6
#4  0xf7c8ad07 in _IO_getline_info () from /lib/libc.so.6
#5  0xf7c8ac51 in _IO_getline () from /lib/libc.so.6
#6  0xf7c89b2a in fgets () from /lib/libc.so.6
#7  0x080f6402 in RunCommandViaPopen (command=0x847e14c "uname -s ", dir=0x0,
    output=@0xffd35740, retVal=@0xffd35744, verbose=false)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmSystemTools.cxx:936
#8  0x08147193 in cmExecProgramCommand::InitialPass (this=0x847e8e0, args=@0xffd35784)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmExecProgramCommand.cxx:117
#9  0x0816ea70 in cmCommand::InvokeInitialPass (this=0x847e8e0, args=@0x847fe84,
    status=@0xffd358ec) at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmCommand.h:73
#10 0x080cb2b3 in cmMakefile::ExecuteCommand (this=0x8477ed0, lff=@0x847fe78,
    status=@0xffd358ec) at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmMakefile.cxx:399
#11 0x08152ed3 in cmIfFunctionBlocker::IsFunctionBlocked (this=0x8484230, lff=@0x847ec78,
    mf=@0x8477ed0, inStatus=@0xffd35a9c)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmIfCommand.cxx:119
#12 0x080c34c3 in cmMakefile::IsFunctionBlocked (this=0x8477ed0, lff=@0x847ec78,
    status=@0xffd35a9c) at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmMakefile.cxx:2454
#13 0x080cb03a in cmMakefile::ExecuteCommand (this=0x8477ed0, lff=@0x847ec78,
    status=@0xffd35a9c) at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmMakefile.cxx:360
#14 0x08152ed3 in cmIfFunctionBlocker::IsFunctionBlocked (this=0x847ab20, lff=@0x84857b8,
    mf=@0x8477ed0, inStatus=@0xffd35c48)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmIfCommand.cxx:119
#15 0x080c34c3 in cmMakefile::IsFunctionBlocked (this=0x8477ed0, lff=@0x84857b8,
    status=@0xffd35c48) at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmMakefile.cxx:2454
#16 0x080cb03a in cmMakefile::ExecuteCommand (this=0x8477ed0, lff=@0x84857b8,
    status=@0xffd35c48) at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmMakefile.cxx:360
#17 0x080d6815 in cmMakefile::ReadListFile (this=0x8477ed0, filename_in=0x0,
    external_in=0x847a184 "/usr/share/cmake-2.6/Modules/CMakeDetermineSystem.cmake",
    fullPath=0x0, noPolicyScope=<value optimized out>)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmMakefile.cxx:670
#18 0x081c5247 in cmGlobalGenerator::EnableLanguage (this=0x84779c8, languages=@0xffd35f6c,
    mf=0x8477ed0) at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmGlobalGenerator.cxx:262
#19 0x081cf120 in cmGlobalUnixMakefileGenerator3::EnableLanguage (this=0x84779c8,
    languages=@0xffd35f6c, mf=0x8477ed0, optional=<value optimized out>)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmGlobalUnixMakefileGenerator3.cxx:46
#20 0x080c82ca in cmMakefile::EnableLanguage (this=0x8477ed0, lang=@0xffd35f6c,
    optional=false) at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmMakefile.cxx:2705
#21 0x08141795 in cmProjectCommand::InitialPass (this=0x8479a38, args=@0xffd35fb4)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmProjectCommand.cxx:76
#22 0x0816ea70 in cmCommand::InvokeInitialPass (this=0x8479a38, args=@0x8479a24,
    status=@0xffd36118) at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmCommand.h:73
#23 0x080cb2b3 in cmMakefile::ExecuteCommand (this=0x8477ed0, lff=@0x8479a18,
    status=@0xffd36118) at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmMakefile.cxx:399
#24 0x080d6815 in cmMakefile::ReadListFile (this=0x8477ed0,
    filename_in=0x8479874 "/tmp/x/CMakeLists.txt", external_in=0x0, fullPath=0x0,
    noPolicyScope=<value optimized out>)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmMakefile.cxx:670
#25 0x081ea911 in cmLocalGenerator::Configure (this=0x8477d50)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmLocalGenerator.cxx:84
#26 0x081f0b81 in cmLocalUnixMakefileGenerator3::Configure (this=0x8477d50)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmLocalUnixMakefileGenerator3.cxx:101
#27 0x081c22e1 in cmGlobalGenerator::Configure (this=0x84779c8)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmGlobalGenerator.cxx:748
#28 0x0811ddee in cmake::ActualConfigure (this=0xffd36470)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmake.cxx:2100
#29 0x0811e3b3 in cmake::Configure (this=0xffd36470)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmake.cxx:1944
#30 0x0811ecf1 in cmake::Run (this=0xffd36470, args=@0xffd3685c, noconfigure=false)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmake.cxx:2293
#31 0x080aa459 in do_cmake (ac=2, av=0xffd369b4)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmakemain.cxx:489
#32 0x080ab139 in main (ac=0, av=0x0)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmakemain.cxx:305

-- System Information:
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-jr8-enterprise-e (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cmake depends on:
ii  libc6                    2.9-9                    GNU C Library: Shared libraries
ii  libcurl3-gnutls          7.19.4-1                 Multi-protocol file transfer library (GnuTLS)
ii  libexpat1                2.0.1-4                  XML parsing C library - runtime library
ii  libgcc1                  1:4.3.3-8                GCC support library
ii  libncurses5              5.7+20090411-1           shared libraries for terminal handling
ii  libstdc++6               4.3.3-8                  The GNU Standard C++ Library v3
ii  libxmlrpc-c3             1.06.27-1                A lightweight RPC library based on XML and HTTP for C and C++
ii  zlib1g                   1:1.2.3.3.dfsg-13        compression library - runtime

cmake recommends no packages.

cmake suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 2.6.26-14

reassign 526519 linux-image-2.6.26-1-amd64 2.6.26-13
fixed 526519 2.6.26-14
forcemerge 518921 526519
thanks

Hello,

On 2009 m. May 1 d., Friday 20:28:40 Joachim Reichel wrote:
> If i use cmake in an i386 chroot on an amd64 machine, it just prints
> "Linux" and hangs. The same happens inside an i386 pbuilder environment on
> an amd64 machine (therefore I think this problem is not caused by a dirty
> chroot).

> -- System Information:
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 2.6.26-jr8-enterprise-e (SMP w/2 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
>

Please upgrade and use kernel linux-image-2.6.26-2-amd64 2.6.26-14 or later.
Alternatively, use vanilla linux kernel v2.6.29-rc4 or later or apply the 
patch in the bug #518921. See [1] for more information.

1. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=518921

-- 
Modestas Vainius <modestas@vainius.eu>

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply to: