[SOLVED] Konsole does not close when pressing Crtl+D / defunct bash ?

Dear all,
Since a few days, when I type exit or Crtl+D in a KDE konsole to close the bash session, konsole often does not close itself anymore automatically. I tried to close it manually using the GUI (File>Close tab), but then I have the following message:
The program '/usr/bin/bash' is in this session would not die. Are you sure you want to kill it by force?
It seems bash is the culprit since ps reveals many [bash] <defunct> lines, probably one for each frozen konsole:
XXXXXX 2002 0.0 0.0 0 0 ? Zs Nov26 0:00 [bash] <defunct>
XXXXXX 2220 0.0 0.0 0 0 ? Zs Nov26 0:00 [bash] <defunct>
XXXXXX 2841 0.0 0.0 0 0 ? Zs Nov26 0:00 [bash] <defunct>
XXXXXX 2874 0.0 0.0 0 0 ? Zs Nov26 0:00 [bash] <defunct>
XXXXXX 3525 0.0 0.0 0 0 ? Zs Nov27 0:00 [bash] <defunct>
XXXXXX 3704 0.0 0.0 0 0 ? Zs Nov27 0:00 [bash] <defunct>
XXXXXX 3719 0.0 0.0 0 0 ? Zs Nov27 0:00 [bash] <defunct>
XXXXXX 3827 0.0 0.0 0 0 ? Zs Nov27 0:00 [bash] <defunct>
XXXXXX 4365 0.0 0.0 0 0 ? Zs Nov27 0:00 [bash] <defunct>
XXXXXX 4462 0.0 0.0 0 0 ? Zs Nov27 0:00 [bash] <defunct>
XXXXXX 4475 0.0 0.0 0 0 ? Zs Nov27 0:00 [bash] <defunct>
XXXXXX 4559 0.0 0.0 0 0 ? Zs Nov27 0:00 [bash] <defunct>
Any idea of what could be causing this problem?
Thanks a lot!
Aurel.
Last edited by aurelieng (2013-11-29 08:11:06)

my .bashrc:
#!/usr/bin/bash
export LANG=en_US.UTF-8
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
if [ -f /etc/bash.bashrc ]; then
. /etc/bash.bashrc
fi
# Environment variables
if [ -f ${HOME}/.environment ];
then
source ${HOME}/.environment
fi
# Path
if [ -f ${HOME}/.path ];
then
unset TMPPATH;
for i in `grep -v "^#" ${HOME}/.path `;
do
TMPPATH=$TMPPATH:$i;
done
export PATH=$TMPPATH:$PATH
fi
# Alias
if [ -f ${HOME}/.alias ];
then
source ${HOME}/.alias
fi
ulimit -s unlimited
# Turn off system bell
setterm -blength 0
#xset -b
You can notice i use 3 external files: one containing the paths I want to add to $PATH, one for aliases, and a third one for environment variables. The bash session is initialized as expected, hence I don't think it's worth posting them. Moreover, the fact the bash can't be killed and remains a zombie make me think it might not be related to config files.
My .bash_profile:
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
# Lines added by tex4moz on: Mon May 12 14:12:58 CEST 2003
PATH=$PATH:/home/XXXXXXXX/temp/tex4ht.dir ; export PATH
TEXINPUTS=$TEXINPUTS:/home/XXXXXXXX/temp/tex4ht.dir ; export TEXINPUTS
Last edited by aurelieng (2013-11-28 06:16:27)

Similar Messages

  • PC does not start when pressing the power button, After that starts automatically like a ghost!

    I have HP Pavilion a6030in, My pc does not start when i press ther power button, but it starts after sometime automatically after that it works fine.
    Again when i shutdown and leave it for sometime, and still the problem is unsolved.
    Please Help
    This question was solved.
    View Solution.

    he figured out you dont just shut the lid and walk away, you use Windows shutdown
    click Kudos to say thanks if I helped

  • Excel opens and does not close when using the OI classes for some users...

    Hello Experts,
    I am using the OI classes(i_oi_container_control, i_oi_error, i_oi_document_proxy, i_oi_spreadsheet) to transfer Excel data to my itab. The problem we are encountering is that for some users the excel automatically opens and does not close. But in my case it is not opening so it is fine in my case. In my code I am already using the 'CLOSE_DOCUMENT' and 'RELEASE_DOCUMENT'.

    Viraylab,
    Check by any case you set the parameter register_on_close_event of the method init_control? Dont set the parameter as it will look for the corressponding custom code in your program. Also try with the method release_all_documents.
    Regards,
    Kiran Bobbala

  • I cannot connect to the login page of my banking websites for Firefox but can from IE also firefox does not close when I shut it down I have just done a clean instal of windowsws7 and teh problem persists on reinstall of FF3.6.13

    I can connect with my banking websites but the login page will not come up. This is a recent occurrence and I have done virus scans and have also recently done a clean instal of Windows 7. The problem persists. I can connect to any other website with no problems. When I close FF it appears to close and Task manager shows as not running but it will not reopen. If I attempt to uninstall I am told that FF is running and needs to be closed. I have to reboot to get to close and be able to reopen.
    I can connect to the bank sites with IE. However I really don't like IE.
    I am using Win7 Professional on a Sony notebook VGN SZ55

    I don't have an answer, but I experienced the same problems trying to set up an airport express to route traffic to my stereo.
    Apple Extreme router, iMac and laptop all worked just fine for months, upon installing Airport Express (step by step, according to instructions), all **** broke loose. Airport Utility was unable to see my Airport Extreme router, after hours of rebooting computer, cable modem, router, and finally a hard reset of the Airport Extreme router, it is finally recognized by Airport Utility again.
    Recreated network, iMac connects to the internet just fine, laptop (Macbook Air) connects to the network just fine, but will not connect to the internet. Network diagnostics does not help, it gets to the "do you have a router? If so, reboot" stage, and never seems to see the router.
    Any suggestions?

  • Sound Icon does not change when pressing the Mute Key

    Hey guys,
    I have a really annoying problem that only seems to start a few hours after booting my MacBook, it does not happen on a fresh reboot. When I press the mute button on the keyboard it does not mute the sound and the icon in the top bar does not show that the sound has been muted.
    If I go to the control panel for the audio and do the same thing with the panel open it works just fine and the icon shows that the audio has been muted. Do any of you have this issue and how can I report this bug to Apple so they can adress it in their next OS upgrade.
    Best Regards
    Felix
    MacBook Pro 1.83Ghz 1Gig RAM   Mac OS X (10.4.5)  

    I am having the exact same problem. It is even worse because it has happened to me in class before.
    The other day, after coming to class I opened up my MBP from sleep intending to work on some things for class. As a general practice I hit the mute key as soon as I open the Mac. This always worked well with my Powerbook. However the system did not mute and the connection noises from iChat played out. This upset the teacher who glared at me for the rest of the class.
    This is not an isolated incident either. I have had the tool bar and the translucent icon disagree a number of times.
    I have found that if I hit the mute key twice it will generally correct the problem. But it is annoying. I hope someone at Apple is listening (in more than one way it would seem)
    Macbook Pro   Mac OS X (10.4.6)  

  • HT1619 menu does not appear when pressing the menu bottom from the apple remote

    I got a apple remote but the menu does not appear on the computer when pressing the menu bottom!?

    Prior to Lion, it used to invoke the menu of the FrontRow application.  FrontRow is no longer available with Lion.  The menu button will work with apple TV. 
    Regards,
    Captfred

  • Firefox does not "close" when closed under Windows 7; Task Manager must be used to "End Process." How do I close Firefox and reopen it without getting a "Still Running" error message?

    Even though Firefox has been updated multiple times (currently using Ver. 3.6.13) since I started using Windows 7, I am still unable to totally close it from the toolbar or taskbar. Firefox does closeout on the screen but apparently continues to run in the background. If I open Firefox at a later time, I get an error message stating that Firefox is still running. I then have to go Task Manager to "End Process." Electing to do so allows me to restart Firefox. I never had this problem with Firefox when using Windows XP and I never have this problem with any other software under Windows 7.

    https://support.mozilla.com/en-US/kb/Firefox%20hangs#w_hang-at-exit

  • Firefox does not close when exited and I must use system to delete process in order to log in again.

    When using either my XP or 7 computer and I exit Firefox and then try to get back in, I get a message that Firefox is already running and I must exit to log back in. I must go to the system to delete the Firefox process before I can get back into Firefox. I am using Comcast as my provider.

    https://support.mozilla.com/en-US/kb/Firefox%20hangs#w_hang-at-exit

  • Why doesn't Skype not close when you click the X b...

    I'd like to get some input as to why Skype does not close when you click the red X button on the top right corner but rather only gets minimized. It's frustrating and makes no sense at all. The only way to close Skype is to right click the icon in the tray and choose "Quit Skype."
    I'd like to understand why this useless feature exists. It renders the minimize button ( - ) useless, which is only two squares away from the X button. 
    Please don't proceed to list other programs that do this (i.e. some antivirus software) as that was not what I asked. It's standard for programs to close when the X button is clicked, as will happen momentarily when I click the X button on my Chrome browser window when I'm done typing this quation. Thanks

    What he was talking about was setting it to ""run as administrator" in the shortcut/executable as you should know that would run the application in a true administrator mode (like Windows XP) vs. the default crippled administrators group in Windows.  I personally have not had to do this since I have not run into the issue but for those that have, people claimed it has helped/resolved the issue.  In regards to following UI interaction rules, it does as it actually closes the form.    Skype doesn't send an additional closure to the resident system tray icon form because it's a memory resident communication program.  Some programs give you that option, others don't.   Geforce Experience is one of the latest programs I use, that doesn't.  Nobody forces anything on you.  If you feel your family is "forcing" something on you, you always have the option of "forcing" something on them or suggesting another method you prefer  in order to stay in contact with you.  In the end that's a family issue, not a Skype one.
    If you want to close Skype down in one click you can do so using the provided shortcuts in the following thread.  You can also assign those shortcuts hotkeys or assign them to a key on your keypboard/mouse using additional key mapping software to completely close Skype with the press of a single button.
    http://community.skype.com/t5/Windows-desktop-client/How-to-quit-Skype-with-keyboard-shortcut-on-Win...

  • I bought my iphone 5s a week before and now its volume "up" button is not working when pressed.Does anybody know what to do to make it work?I have a one year warranty.Should i give it to apple retail shop or is there any way to solve this problem?

    I bought my iphone 5s a week before and now its volume "up" button is not working when pressed.Does anybody know what to do to make it work?I have a one year warranty.Should i give it to apple retail shop or is there any way to solve this problem?

    IF it is a manufacturing defect and you bought the device from Apple or an authorized Apple retailer, then take it into Apple.

  • I opened a PDFs file that was attached to an email message and now it will not close when I press "Done" as it usually does. Does anyone have a solution to suggest? Thanks.

    I opened a pdf file that was attached to an email message I received and now it will not close when I press "Done" as files usually do. Does anyone have a solution to suggest please? Thanks.

    Try double clicking your home button then force close the stuck PDF by swiping upward. Once you've done that just click the home button again to exit.

  • Since I installed Lion on my macbook the LED light does not pulse when I close the screen - the sleep function does not work.

    Since I installed Lion on my macbook the LED light does not pulse when I close the screen - the sleep function does not work neither when chosen after pressing the button nor chosen in the apple menu..

    I have had the same problem but on another forum it was suggested that disabling internet sharing would solve this. This fix seems to work on my machine - why it works I do not understand

  • When i´m closing a project in logic pro x plugins does not close... why?

    When i´m closing a project in logic pro x plugins does not close... why?

    My guess is you are simply clicking the 'Red X' in the top left of the window to close the current window and not closing the project....
    To close the project, go to file/close project in the menu bar or...
    press Option + Command + W

  • Report window does not close properly when using openDocument

    XI R2 InfoView
    Windows 2003 server
    IIS
    IE7
    We have been experimenting with the use of openDocument and have managed to achieve what we wanted but have one small problem.  When the document is retrieved it is opened in a new browser window.  When Close is selected from the drop-down Document menu the document is closed but the window shrinks to approx 8.5cm x 6 cm and remains open.
    A similar thing happens when we use the Preview button to view a document in the CMC, except in that case the document does not close and closing the browser window leaves a button on the Windows taskbar.  There doesn't appear to be a related window as it cannot be restored but you have to right click and select Close to get rid of it.
    Any ideas what is causing these problems and how we can get round them?

    Anne,
    There are some parameters in opendocument (for ex. sWindow) that can help control certain things, have you tried employing anything like that?  What I find frustrating is the behavior of opendocument based on whether you're running Infoview or WebI -- each product, using the same exact opendocument syntax yields different results.  Based on the sample code below, what I'm seeing with Infoview is the same browser instance is used for calling the child report, however, in WebI, a new browser instance is started and the child report is rendered in Infoview.  In my case, when running within WebI and getting a new browser instance in Infoview, and then using the "Document", "close" workflow, the second instance is exiting and I'm back to the previous browser.  Staying within Infoview entirely through the process, when closing the child report I get brought back to the folder list page.  Who's to know?
    ="<a href=https://<server>/businessobjects/enterprise115/InfoView/scripts/opendocument.aspx?
    idocid=100798&lsSInput_Pos_Nbr="+[Position Number Tracking]+">"+[Position Number Tracking]
    +"</a>"
    (double spaced on purpose)
    Thanks,
    John

  • My ipad mini does not restart when i press and hold the home and power buttons for a minute or more. what do i do? i really need to access some information on it. please help.

    my ipad mini does not restart when i press and hold the home and power buttons for a minute or more. what do i do? i really need to access some information on it. please help.

    You need to connect to iTunes and restore.
    iOS: Not responding or does not turn on
    You may need to put the device into recovery mode, this is covered in the link on this page.
    Did you back up the device?

Maybe you are looking for

  • How can I connect to a UNIX server to execute a command?

    How can I connect to a UNIX server and execute a command using PowerShell? My shell script is sitting on one server, while the UNIX box is on another. also, I don't like the idea of hardcoding a username/password within the script file in order to do

  • Batch no in process order

    Hi please help in doing following setting : 1) Only manual allocation of Batch number under Good Receipt tab of process order should be done. i.e. No automatic batch number assignment under good receipt tab. 2) No release of order till batch number i

  • Premiere CS5 crashes a lot. It is "box" version, not download, in Mac Pro, please help.

    My Mac Pro with Premiere CS5 crashes a lot. It is a "box" version, not a download, I have searched for updates and installed them and it still crashes, usually when rendering or encoding. My comp is a Mac Pro with 8 gigs of memory, 12 core, nice and

  • How do i know if time capsule is 802.11n?

    how can i check if airport express is 802.11 g or n?

  • How to Auto Login after registeration

    I have the following requirement and I've spent some time trying to experiment and looking for solutions but have failed to come up with anything that works. Requirement: > Register the user in CQ > Automatically login the user once he registers   >