Hi Ben,

Thanks for reporting this! Here's the relevant snippet:

        wc_str = wc_end?wcsndup(wc, wc_end-wc):wcsdup(wc);
        if ((!new_dir) || (!wc_str))
        {
            DIE_MEM();
        }

I'm afraid I don't know what could cause this, except for legitimately running 
out of memory. Do you think that's what's going on? For example, does top 
report large memory usage?

_fish


On Apr 21, 2013, at 7:32 AM, Ben Franksen <ben.frank...@online.de> wrote:

> This happens if I hit tab for completion of a 'cd /path/to/somewhere' if the 
> path is a sshfs mounted directory. This is with fish 1.23.1. I tried 2.0.0 
> (fresh from the git repo) but I get a similar error.
> 
> Here is the detailed message (with fish-2.0.0):
> 
> ben@sarun ~> cd ctl/toofish: Out of memory on line 935 of file wildcard.cpp, 
> shutting down fish
> fish: Backtrace:
> fish(_Z15show_stackframev+0x4d) [0x4886fd]
> fish() [0x477211]
> fish() [0x476ac6]
> fish(_Z15wildcard_expandPKwS0_iRSt6vectorI12completion_tSaIS2_EE+0xf0) 
> [0x4773e0]
> fish(_Z22wildcard_expand_stringRKSbIwSt11char_traitsIwESaIwEES4_iRSt6vectorI12completion_tSaIS6_EE+0x36)
>  
> [0x477666]
> fish(_Z13expand_stringRKSbIwSt11char_traitsIwESaIwEERSt6vectorI12completion_tSaIS6_EEi+0xd2d)
>  
> [0x45074d]
> fish(_ZN8parser_t23parse_job_argument_listEP9process_tP5job_tP11tokenizer_tRSt6vectorI12completion_tSaIS7_EEb+0x407)
>  
> [0x461e67]
> fish(_ZN8parser_t9parse_jobEP9process_tP5job_tP11tokenizer_t+0xc10) 
> [0x460f80]
> fish(_ZN8parser_t8eval_jobEP11tokenizer_t+0x2c3) [0x462b73]
> fish(_ZN8parser_t4evalERKSbIwSt11char_traitsIwESaIwEERK10io_chain_t12block_type_t+0x759)
>  
> [0x4637b9]
> fish() [0x446577]
> fish(_Z4execR8parser_tP5job_t+0x10d1) [0x448791]
> fish(_ZN8parser_t8eval_jobEP11tokenizer_t+0x3cd) [0x462c7d]
> fish(_ZN8parser_t4evalERKSbIwSt11char_traitsIwESaIwEERK10io_chain_t12block_type_t+0x759)
>  
> [0x4637b9]
> fish() [0x46f51d]
> fish(_Z11reader_readiRK10io_chain_t+0x2aa) [0x4722ea]
> fish() [0x426218]
> fish(_Z11builtin_runR8parser_tPKPKwRK10io_chain_t+0xe4) [0x42df64]
> fish(_Z4execR8parser_tP5job_t+0xf50) [0x448610]
> fish(_ZN8parser_t8eval_jobEP11tokenizer_t+0x3cd) [0x462c7d]
> fish(_ZN8parser_t4evalERKSbIwSt11char_traitsIwESaIwEERK10io_chain_t12block_type_t+0x759)
>  
> [0x4637b9]
> fish() [0x446577]
> fish(_Z4execR8parser_tP5job_t+0x1a4b) [0x44910b]
> fish(_ZN8parser_t8eval_jobEP11tokenizer_t+0x3cd) [0x462c7d]
> fish(_ZN8parser_t4evalERKSbIwSt11char_traitsIwESaIwEERK10io_chain_t12block_type_t+0x759)
>  
> [0x4637b9]
> fish() [0x446577]
> fish(_Z4execR8parser_tP5job_t+0x1a4b) [0x44910b]
> fish(_ZN8parser_t8eval_jobEP11tokenizer_t+0x3cd) [0x462c7d]
> fish(_ZN8parser_t4evalERKSbIwSt11char_traitsIwESaIwEERK10io_chain_t12block_type_t+0x759)
>  
> [0x4637b9]
> fish() [0x447093]
> fish() [0x44dba0]
> fish(_Z13expand_stringRKSbIwSt11char_traitsIwESaIwEERSt6vectorI12completion_tSaIS6_EEi+0x425)
>  
> [0x44fe45]
> 
> Cheers
> -- 
> Ben Franksen
> ()  ascii ribbon campaign - against html e-mail 
> /\  www.asciiribbon.org   - against proprietary attachm€nts
> 
> 
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to