You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2014/01/23 18:46:49 UTC

[jira] (MNG-5489) Startup doesn't fail gracefully if shell CWD is in non-existent dir.

     [ https://jira.codehaus.org/browse/MNG-5489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl closed MNG-5489.
------------------------------

    Resolution: Cannot Reproduce
    
> Startup doesn't fail gracefully if shell CWD is in non-existent dir.
> --------------------------------------------------------------------
>
>                 Key: MNG-5489
>                 URL: https://jira.codehaus.org/browse/MNG-5489
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Bootstrap & Build, Command Line
>    Affects Versions: 3.0.4
>            Reporter: Ondrej Zizka
>
> A sequence of commands which ends up executing maven from a formerly existing dir produces the error below.
> {code}
> cd target/classes
> mvn clean  ## From other console
> mvn build
> {code}
> {code}
> ondra@lenovo:~/work/AS/Migration/git-repo/target/as-dist$ mvn deploy -DskipTests
> shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory                                                                                                                                          
> pwd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory                                                                                                                                                 
> pwd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory                                                                                                                                                 
> chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory                                                                                                                                               
> chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory                                                                                                                                               
>                                                                                                                                                                                                                                                              
> malloc: ../../bash/builtins/../../bash/builtins/cd.def:501: assertion botched                                                                                                                                                                                
> free: start and end chunk sizes differ                                                                                                                                                                                                                       
> Aborting...Aborted (core dumped)                                                                       {code}  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira