Boost logo

Boost-Build :

Subject: Re: [Boost-build] bjam command hangs
From: Michael Alexeev (michael.alexeev_at_[hidden])
Date: 2009-12-14 22:05:45


Volodya,

On Mon, Dec 14, 2009 at 8:54 PM, Michael Alexeev
<michael.alexeev_at_[hidden]> wrote:
> Hi Volodya,
>
> On Mon, Dec 14, 2009 at 1:27 AM, Vladimir Prus <ghost_at_[hidden]> wrote:
>> On Monday 14 December 2009 05:44:32 Michael Alexeev wrote:
>>
>>> The problem is that bjam never returns. I have to kill the process
>>> manually. Also any other bjam command does not produce any output at
>>> all and  simply hangs.
>>>
>>> Does anybody else experience similar problem? Any help is greatly appreciated.
>>
>> Could you attach to hanged bjam with a debugger and get a backtrace?
>>
>> - Volodya
>> _______________________________________________
>> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
>>
>
> It's weird, but I can't attach the debugger to the bjam process: the
> gdb hangs itself.
>
> boost_1_40_0> ./bjam --show-libraries
>
> mike_at_linux-4b3g:~> ps -fu mike | grep bjam
> mike      4052  3845  0 19:11 pts/3    00:00:00 ./bjam --show-libraries
>
> mike_at_linux-4b3g:~> gdb
> GNU gdb (GDB; openSUSE 11.1) 6.8.50.20081120-cvs
> Copyright (C) 2008 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-suse-linux".
> For bug reporting instructions, please see:
> <http://bugs.opensuse.org/>.
> (gdb) attach 4052
> Attaching to process 4052
>
> This is it. No more output is produced. Starting bjam from the gdb
> didn't help either:
>
> (gdb) file bjam
> Reading symbols from
> /home/mike/blackray/blackray-thirdparty-0.9.0/unpacked/boost_1_40_0/bjam...(no
> debugging symbols found)...done.
> (gdb) set args "--show-libraries"
> (gdb) run
> Starting program:
> /home/mike/blackray/blackray-thirdparty-0.9.0/unpacked/boost_1_40_0/bjam
> "--show-libraries"
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
>
> On the other hand I am not sure that it's a problem with the
> boost.1.40 I tried 1.39.0 version and got the same result.
>
> Thanks,
> Mike
>
Please ignore my e-mail. It looks like the problem is on my side and
not with bjam. At least under the SU account everything is working
properly. I am not sure what's going on here but most likely it's not
bjam related.

Sorry,
Mike


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk