New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segfault on ~ #34
Comments
That's with the latest fish_fish branch (as of right now), by the way. |
Backtrace:
|
It doesn't crash for me. BTW I see your logs, you are on a 64 bit system and I am using 32 bit system. |
I'm probably doing something it doesn't like, as I'm installing my own copy of fish at $HOME/bin. The backtrace above isn't very reassuring, though. It's breaking within a function of the C library which doesn't really take any parameters, which smells as a race with something unrelated. |
It might be a thread safety issue. |
Are you sure that's the crashing thread? Please attach the backtrace of all threads - even if that is the crashing threads, knowing what other threads are doing could help. Thanks. |
|
Googling shows a similar crash in tcsh http://mx.gw.com/pipermail/tcsh/2010-August/004169.html Amusingly both seem to be related to completions. Since these processes aren't multithreaded I think we can rule out threading issues and conclude that it's a bug in libnsl. The next step would be to identify it and see if we can work around it. |
Just for reference, it does not crash on my hardened 64-bit no-multilib gentoo-system with pax and grsec enabled in kernel... |
I haven't been able to reproduce this (tried Fedora 17 64 bit), and I haven't been able to find a way to enumerate users aside from opening /etc/passwd directly (yuck). If anyone has any suggestions, please share; for now I'm pushing out of 2.0 release. |
Can anyone still reproduce this? |
Ancient history, let's close. |
Whenever the ~ character is typed:
niemeyer@gopher ~> fish
niemeyer@gopher ~> ~fish: Job 1, 'fish' terminated by signal SIGSEGV (Address boundary error)
The text was updated successfully, but these errors were encountered: