Repository navigation
Closed
Description
I have my login shell set to /usr/local/bin/fish and everytime an app boots, I see errors in puma-dev.log. The app seems to run fine despite the errors.
Any idea where these are coming from and is there anyway to get rid of them?
! Booting app '10x' on socket /Users/mark/.puma-dev/10x/tmp/puma-dev-84201.sock
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: Could not send job 5 ('echo "begin; $argv "\n" ;end <&3 3<&-" | source 3<&0') to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: Could not send job 5 ('echo "begin; $argv "\n" ;end <&3 3<&-" | source 3<&0') to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: begin; function browse --wraps hub; hub browse $argv; end
10x[84351]: ;end <&3 3<&-
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: Could not send job 5 ('echo "begin; $argv "\n" ;end <&3 3<&-" | source 3<&0') to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: Could not send job 5 ('echo "begin; $argv "\n" ;end <&3 3<&-" | source 3<&0') to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: begin; function c --wraps calc; calc -d $argv; end
10x[84351]: ;end <&3 3<&-
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: Could not send job 5 ('echo "begin; $argv "\n" ;end <&3 3<&-" | source 3<&0') to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: Could not send job 5 ('echo "begin; $argv "\n" ;end <&3 3<&-" | source 3<&0') to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: begin; function e --wraps emacsclient; emacsclient -nw -c $argv; end
10x[84351]: ;end <&3 3<&-
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: Could not send job 5 ('echo "begin; $argv "\n" ;end <&3 3<&-" | source 3<&0') to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: Could not send job 5 ('echo "begin; $argv "\n" ;end <&3 3<&-" | source 3<&0') to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: begin; function ip --wraps dig; dig +short myip.opendns.com @resolver1.opendns.com $argv; end
10x[84351]: ;end <&3 3<&-
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: Could not send job 5 ('echo "begin; $argv "\n" ;end <&3 3<&-" | source 3<&0') to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: Could not send job 5 ('echo "begin; $argv "\n" ;end <&3 3<&-" | source 3<&0') to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: begin; function l --wraps ls; ls $argv; end
10x[84351]: ;end <&3 3<&-
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: Could not send job 5 ('echo "begin; $argv "\n" ;end <&3 3<&-" | source 3<&0') to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: Could not send job 5 ('echo "begin; $argv "\n" ;end <&3 3<&-" | source 3<&0') to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: begin; function l. --wraps ls; ls -d .* $argv; end
10x[84351]: ;end <&3 3<&-
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: Could not send job 5 ('echo "begin; $argv "\n" ;end <&3 3<&-" | source 3<&0') to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: Could not send job 5 ('echo "begin; $argv "\n" ;end <&3 3<&-" | source 3<&0') to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: begin; function ll --wraps ls; ls -l $argv; end
10x[84351]: ;end <&3 3<&-
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: Could not send job 5 ('echo "begin; $argv "\n" ;end <&3 3<&-" | source 3<&0') to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: Could not send job 5 ('echo "begin; $argv "\n" ;end <&3 3<&-" | source 3<&0') to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: begin; function t --wraps tree; tree $argv; end
10x[84351]: ;end <&3 3<&-
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: Could not send job 5 ('echo "begin; $argv "\n" ;end <&3 3<&-" | source 3<&0') to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: Could not send job 5 ('echo "begin; $argv "\n" ;end <&3 3<&-" | source 3<&0') to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: begin; function irssi --wraps ssh; ssh mack -t 'screen -r irssi' $argv; end
10x[84351]: ;end <&3 3<&-
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: Could not send job 5 ('echo "begin; $argv "\n" ;end <&3 3<&-" | source 3<&0') to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: Could not send job 5 ('echo "begin; $argv "\n" ;end <&3 3<&-" | source 3<&0') to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: begin; function rtorrent --wraps ssh; ssh east -t 'screen -r rtorrent' $argv; end
10x[84351]: ;end <&3 3<&-
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: fish: Could not return shell to foreground
10x[84351]: tcsetpgrp: Inappropriate ioctl for device
10x[84351]: Puma starting in single mode...
10x[84351]: * Version 2.9.1 (ruby 2.3.1-p112), codename: Team High Five
10x[84351]: * Min threads: 0, max threads: 5
10x[84351]: * Environment: development
Reacted by Espen Antonsen and Nick Sweeting
Metadata
Metadata
Assignees
Labels
No labels
Activity
evanphx commentedon Aug 17, 2016
I have no idea. Maybe ask the fish developers?
On Wed, Aug 17, 2016 at 11:58 AM Mark Tran [email protected] wrote:
marktran commentedon Aug 18, 2016
cc @floam @ridiculousfish
floam commentedon Aug 18, 2016
What version of fish are you using, and how did you install fish? Which OS?
I think you need to finally upgrade fish. As far as I can tell the code that would produce that error is#if 0'd out and has been since 2012 to fix fish-shell/fish-shell#121marktran commentedon Aug 18, 2016
Thanks for taking a look, @floam.
I am actually running the latest version installed through Homebrew:
fish config
floam commentedon Aug 18, 2016
Whoops. I didn't look closely enough, the same string is output in two other spots.
floam commentedon Aug 18, 2016
Can you make fish start with "-d2" here somehow?
floam commentedon Aug 18, 2016
Is there anything suspicious that might be going on (I don't know what puma is) here with TTYs, stdout, or anything that might be making fish think it's in an interactive terminal session when it's not really? Does it happen if you move away
.config/fish? What exactly is exec'ing fish?marktran commentedon Aug 18, 2016
It looks like the
aliasstatements in my config are causing the errors. If I comment out any line that hasaliasin it then I don't see any errors.aliases.config file
These might be relevant:
#25
puma-dev/dev/app.go
Line 267 in bf30b0e
marktran commentedon Aug 18, 2016
With
-d2:marktran commentedon Nov 14, 2016
This is fixed in the latest release of fish 2.4.0. See fish-shell/fish-shell#3345.
pirate commentedon May 14, 2018
@marktran @floam I'm on fish 2.6.0 and this is still happening, exactly as described above when executing commands via SSH session. Do you know what caused this so I can try debugging myself without polluting your repo's issue? I'm at my wits end here trying to fix this... Thanks!