Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] External build tool: Cannot run program "bjam": Unknown reason

You can tell strace to filter out uninteresting events. For example "-e trace=process" will only include system calls which involve process management. You can also filter on specific system calls, e.g. "-e trace=chmod". Without filtering, strace output quickly becomes unusable.

 

/Jesper

 

From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Steve Lorimer
Sent: den 30 mars 2016 22:14
To: CDT General developers list.
Subject: Re: [cdt-dev] External build tool: Cannot run program "bjam": Unknown reason

 

Hmm - my strace output is up to 2 GB now without the issue cropping up... not sure this is feasible.

 

 

On 30 March 2016 at 14:30, Jesper Eskilson <Jesper.Eskilson@xxxxxxx> wrote:

The strace-output does not seem to cover e.g. the spawner process. Did you use the "-f" option to strace to have it follow child processes? Eclipse will spawn a helper process called "spawner" which does the actual system call to start the subprocess, and there is no mention of this in your strace output.

 

/Jesper

 

From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Steve Lorimer
Sent: den 30 mars 2016 18:43
To: CDT General developers list.
Subject: Re: [cdt-dev] External build tool: Cannot run program "bjam": Unknown reason

 

 

On 29 March 2016 at 01:53, Jesper Eskilson <Jesper.Eskilson@xxxxxxx> wrote:

Have you tried attaching strace to Eclipse to see what actual system calls are being made and if there are any error messages at that level? strace has pretty nice filtering features to capture just certain subsets of system calls.


I've run eclipse through strace as follows:

 

     $ strace eclipse 2> /tmp/eclipse.strace.out

 

It seems to stop during launching and then the following message is the last returned

 

    wait4(15567, log4j:WARN No appenders could be found for logger (org.eclipse.jgit.util.FS).

    log4j:WARN Please initialize the log4j system properly.

 

Please see log attached

 

Any insight greatly appreciated!

 

Thanks

Steve


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev

 


Back to the top