You are not logged in.

#1 2013-11-16 17:51:35

Kilzool
Member
From: Ireland
Registered: 2010-08-04
Posts: 232

[SOLVED] NVIDIA (causes) Defuncts in SHELL?

Ever since updating:

[2013-11-16 07:55] [PACMAN] upgraded nvidia-utils (325.15-1 -> 331.20-1)
[2013-11-16 07:55] [PACMAN] upgraded nvidia-libgl (325.15-1 -> 331.20-1)
[2013-11-16 07:55] [PACMAN] upgraded nvidia (325.15-11 -> 331.20-1)
[2013-11-16 07:55] [PACMAN] upgraded pixman (0.30.2-1 -> 0.32.2-1)

I am getting these (PS -a) every-time I use them:

 2771 ?        00:00:00 exo-open <defunct>
 2773 ?        00:00:00 exo-helper-1
 2774 ?        00:00:00 xfce4-terminal
 2604 ?        00:00:00 xterm <defunct>

When I try to #exit from the terminal, it does not exit all the time, and
goes into some zombie mode, where whatever I type is shown, but the terminal
does not respond.  I have to actually, (X) the terminal screen (to exit).

So I end up with a lot of these if I open the terminal often:

 2604 ?        00:00:00 xterm <defunct>
 2740 ?        00:00:00 kworker/u8:0
 2752 ?        00:00:00 xterm <defunct>
 2756 ?        00:00:00 xterm <defunct>
 2809 ?        00:00:00 exo-open <defunct>

Last edited by Kilzool (2014-01-20 22:16:28)

Offline

#2 2013-11-16 18:05:24

Kilzool
Member
From: Ireland
Registered: 2010-08-04
Posts: 232

Re: [SOLVED] NVIDIA (causes) Defuncts in SHELL?

UPDATE: After downgrading to the previous nvidia* the <defunct> stops.

Offline

#3 2013-11-16 20:38:45

Daerandin
Member
From: Norway
Registered: 2013-05-07
Posts: 258
Website

Re: [SOLVED] NVIDIA (causes) Defuncts in SHELL?

Same problem on my system. I googled a bit and this is mentioned on Fedora forums too, as well as the nvidia forums so this is obviously not an arch only issue.

Offline

#4 2013-11-16 21:19:12

Schala
Member
Registered: 2012-02-14
Posts: 72
Website

Re: [SOLVED] NVIDIA (causes) Defuncts in SHELL?

Yeah, since updating, no display managers work for me anymore. KDM shows the login screen but fails to start a session, instead displaying a black screen then putting me back at login screen. LXDM just gives me a black screen.

Last edited by Schala (2013-11-16 21:21:27)


Hardware: Gigabyte X570 AORUS Pro, AMD Ryzen 5900X, Nvidia GTX 1080, 32 GB DDR4 RAM
Choice software: Arch Linux 64-bit with KDE desktop / Windows 11 Home 64-bit

Offline

#5 2013-11-17 00:35:41

tekstryder
Member
Registered: 2013-02-14
Posts: 118

Re: [SOLVED] NVIDIA (causes) Defuncts in SHELL?

I don't have nVidia hardware in my Arch system, but I did recently backport 331.20-1 in Debian and do _not_ see any defunct processes. That's with XFCE 4.10.1 and LightDM 1.2.2-4.

Hope you get it sorted.

Offline

#6 2013-11-17 17:30:36

cju
Member
Registered: 2013-06-23
Posts: 194

Re: [SOLVED] NVIDIA (causes) Defuncts in SHELL?

Offline

#7 2013-11-20 00:37:29

jazztickets
Member
Registered: 2013-11-20
Posts: 15

Re: [SOLVED] NVIDIA (causes) Defuncts in SHELL?

I'm getting the defunct processes as well. Only terminal windows seem to get affected. XFCE + lightdm + nvidia 331.20

Offline

#8 2013-11-20 07:26:42

imp
Member
Registered: 2012-02-26
Posts: 3

Re: [SOLVED] NVIDIA (causes) Defuncts in SHELL?

Hey. Same problem here: can't logout from xfce4-terminal, underlying bash process becomes defunct. I downgraded to previous nvidia and problem disappeared. So for now it seems as a good option.
Also look here: https://devtalk.nvidia.com/default/topi … -failures/

Last edited by imp (2013-11-21 06:53:15)

Offline

#9 2013-11-23 19:58:21

mpan
Member
Registered: 2012-08-01
Posts: 1,188
Website

Re: [SOLVED] NVIDIA (causes) Defuncts in SHELL?

Confirming (Xfce + nvidia-331.20).

A note for those, who want to test it. On my system it doesn't happen for some time after the system is started. I get the zombie apocalypse after few hours or so.

update
I've noticed that in my case the only applications affected are those, who have single-instance mechanism:

  • firefox

  • thunderbird

  • deluge-gtk

  • gajim

  • oosplash

  • bash under xfce4-terminal

Until now I've noticed no other application going zombie. Especially no zombies were found among:

  • geequie

  • medit

  • vlc

(2 of them also have single-instance protection in them).

Last edited by mpan (2013-11-24 21:12:02)


Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

#10 2013-11-28 09:49:37

aurelieng
Member
Registered: 2010-02-02
Posts: 104

Re: [SOLVED] NVIDIA (causes) Defuncts in SHELL?

Hi !

Same problem here with NVIDIA 331.20, see https://bbs.archlinux.org/viewtopic.php?pid=1354509

Offline

#11 2013-12-06 05:26:16

Aditya Raj Bhatt
Member
From: New Delhi, India
Registered: 2013-02-27
Posts: 17

Re: [SOLVED] NVIDIA (causes) Defuncts in SHELL?

Reading through, I get the impression that the problem is intermittent and irregular with you people. Not so for me, Ctrl+c works but exit fails each time. I lose my prompt, the cursor simply shifts to a new line and does nothing. Repeatedly typing exit also doesn't do anything (heard that it works for some people). Ctrl+d, Ctrl+z work but to actually exit the terminal (close it) I have to click the close (X) button.

This happened only after I recently upgraded my nvidia graphics driver (Arch linux, full system upgrade). I use Xfce. List of nvidia software installed (running pacman -Qs nvidia) -

local/lib32-nvidia-libgl 331.20-1
NVIDIA drivers libraries symlinks (32-bit)
local/lib32-nvidia-utils 331.20-1
NVIDIA drivers utilities (32-bit)
local/libcl 1.1-3
OpenCL library and ICD loader from NVIDIA
local/libvdpau 0.7-1
Nvidia VDPAU library
local/nvidia 331.20-1
NVIDIA drivers for linux
local/nvidia-libgl 331.20-1
NVIDIA drivers libraries symlinks
local/nvidia-utils 331.20-1
NVIDIA drivers utilities

Offline

#12 2013-12-06 05:44:14

Max-P
Member
Registered: 2011-06-11
Posts: 164

Re: [SOLVED] NVIDIA (causes) Defuncts in SHELL?

Aditya Raj Bhatt wrote:

Reading through, I get the impression that the problem is intermittent and irregular with you people.

It depends on a few things, and is very likely to be some sort of memory overflow from what I've read on the nvidia forums.

I have a similar setup to yours, can't close terminals with Ctrl+D, but it doesn't always happens. If I'm lucky, I can close one with Ctrl+D once in a while.

linux-ck: happens 2 min after boot
linux-ARCH: happened around 10 minutes after boot
linux-lts: lasted a whole hour before programes started randomly breaking

The reports on nvidia forums reports other crazy stuff like programs returning memory addresses as return codes in gdb. I personally noticed it when a build failed in Geany with some impossible error then my terminals started to mess up.

I downgraded the drivers for now (I'm glad I still had the PKGBUILD for linux-ck for linux 3.12), I hope nvidia fixes their shit ASAP. It is definitely nvidia's fault. Apparently they are doing some shady things in their drivers to obfuscate and protect their driver from what I've read...

Offline

#13 2013-12-06 09:58:52

Aditya Raj Bhatt
Member
From: New Delhi, India
Registered: 2013-02-27
Posts: 17

Re: [SOLVED] NVIDIA (causes) Defuncts in SHELL?

No, nothing breaks for me (at least as far as I could tell) and everything runs perfectly, even the terminal commands and output, except the exit command.

Offline

#14 2013-12-06 14:24:58

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED] NVIDIA (causes) Defuncts in SHELL?

I upgraded to the packages mentioned by OP on Nov. 15 and did another update on the 19th. On the 21st I briefly had an issue with exit and ctrl-d not closing xfce4-terminals. But I was trying to create a custom bash-completion at the time so I figured it was the cause.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#15 2013-12-06 18:39:37

Kilzool
Member
From: Ireland
Registered: 2010-08-04
Posts: 232

Re: [SOLVED] NVIDIA (causes) Defuncts in SHELL?

UPDATE (from original 1st post): after using NVIDIA* 325.15.1  the problem for me disappeared.
Now, today (12-6-2013), I upgraded the kernel

[PACMAN] upgraded linux (3.12.2-1 -> 3.12.3-1)

and rebooted.. the NVIDIA* 235.15.1 caused X NOT to load.. so I figured I would try NVIDIA* 331.20-1
now.. and see if works...without the original issue #1 posted in this thread, coming back.

[PACMAN] upgraded nvidia-utils (325.15-1 -> 331.20-1)
[PACMAN] upgraded nvidia-libgl (325.15-1 -> 331.20-1)
[PACMAN] upgraded nvidia (325.15-11 -> 331.20-2)

and this hasn't fixed any problem, it still there. Still some DEFUNCTS like with exo-open,
terminal, and firefox.

(so now I am confused as to whether it was the NVIDIA* 331.20-1 causing the issue,
or was it the kernel?  Or both?)

Last edited by Kilzool (2013-12-08 12:00:21)

Offline

#16 2013-12-06 18:48:33

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED] NVIDIA (causes) Defuncts in SHELL?

The issue with X not starting may be this, FYI.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#17 2013-12-06 19:05:09

AndrzejL
Member
Registered: 2012-12-07
Posts: 160

Re: [SOLVED] NVIDIA (causes) Defuncts in SHELL?

Guys I have been watching this thread for a bit now and I have decided to join it. I am not sure if I should tho.

I have a Asus V1S lappy with GeForce 8600M GT. I am using the Nvidia package from the repositories.

Why am I here? I do not get the defunct bash processes. Ctrl + D seems to be working for me just fine and I have no apps going ballistic... However. For sometime now I have noticed this weird behaviour which may or may not be related. Symptoms are as follows:

a) if I will run command (as root or non-root user) like lets say:

journalctl -x -b -f --no-pager

and then try to kill it with CTRL + C all I will get is ^C in the konsole and the process wont stop.

b) if I will try to close the tab I get this:

Konsole wrote:

The program 'journalctl' is currently running in this session.  Are you sure you want to close it?

and if I choose yes I get this:

Konsole wrote:

The program '/bin/bash' is in this session would not die.  Are you sure you want to kill it by force?

Here is some basic info:

Inxi -v5 wrote:

[andrzejl@wishmasus ~]$ inxi -v5
System:    Host: wishmasus.loc Kernel: 3.12.3-1-ARCH i686 (32 bit, gcc: 4.8.2)
           Desktop: KDE 4.11.4 (Qt 4.8.5) Distro: Arch Linux
Machine:   Mobo: ASUSTeK model: V1S version: 1.0 Bios: American Megatrends version: 301 date: 12/25/2007
CPU:       Dual core Intel Core2 Duo CPU T7500 (-MCP-) cache: 4096 KB flags: (lm nx pae sse sse2 sse3 ssse3 vmx) bmips: 8781.08
           Clock Speeds: 1: 2200.00 MHz 2: 2200.00 MHz
Graphics:  Card: NVIDIA G84M [GeForce 8600M GT] bus-ID: 01:00.0 X.Org: 1.14.4 driver: nvidia Resolution: 1920x1080@60.0hz
           GLX Renderer: GeForce 8600M GT/PCIe/SSE2 GLX Version: 3.3.0 NVIDIA 331.20 Direct Rendering: Yes
Audio:     Card: Intel 82801H (ICH8 Family) HD Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture ver: k3.12.3-1-ARCH
Network:   Card-1: Intel PRO/Wireless 4965 AG or AGN [Kedron] Network Connection
           driver: iwl4965 ver: in-tree: bus-ID: 03:00.0
           IF: wireless0 state: down mac: no thanks... maybe a pizza instead...
           Card-2: Intel 82566MM Gigabit Network Connection driver: e1000e ver: 2.3.2-k port: d400 bus-ID: 00:19.0
           IF: asuseth0 state: down mac: and cheese
           Card-3: Realtek RTL8111/8168 PCI Express Gigabit Ethernet controller
           driver: r8169 ver: 2.3LK-NAPI port: a800 bus-ID: 02:00.0
           IF: docketh1 state: up speed: 100 Mbps duplex: full mac: no I do not want fries with it
Drives:    HDD Total Size: 614.0GB (70.2% used) 1: id: /dev/sda model: WDC_WD3200BEKT size: 320.1GB
           2: USB id: /dev/sdb model: MK4026GAX_RoHS size: 40.0GB 3: USB id: /dev/sdd model: ST950212A size: 50.0GB
           4: USB id: /dev/sdc model: 6Y200P0 size: 203.9GB
           Optical: /dev/sr0 model: N/A rev: N/A dev-links: cdrom,cdrw,dvd,dvdrw
Sensors:   System Temperatures: cpu: 61.0C mobo: N/A gpu: 0.0:62C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 163 Uptime: 4:46 Memory: 1074.7/2019.3MB Gcc sys: 4.8.2 Client: Shell (bash 4.2.45) inxi: 1.9.17
[andrzejl@wishmasus ~]$

Please do not hesitate to ask for any additional information.

Thanks.

Andrzej

Last edited by AndrzejL (2013-12-06 19:18:32)


The worst thing about censorship is ██████ ██ ████ ████████████ and ██████ ███████ ███ ███████████.

Offline

#18 2013-12-07 19:04:56

jazztickets
Member
Registered: 2013-11-20
Posts: 15

Re: [SOLVED] NVIDIA (causes) Defuncts in SHELL?

The terminal window defuncts seemed to be reduced with that latest kernel update (3.12.3), but the big problem i noticed is with Mumble. Connecting to a server takes like 10-15 seconds. Can anyone else try Mumble and just connect to a random server with nvidia 331.20?

Offline

#19 2013-12-10 02:36:12

AndrzejL
Member
Registered: 2012-12-07
Posts: 160

Re: [SOLVED] NVIDIA (causes) Defuncts in SHELL?

Yeah I was right to join this thread... My card is capable of running on nvidia and nvidia-304xx packages... I have installed the 304xx packages and the ctrl+c behaviour and the konsole tab behaviour stopped...

Cheers.

Andrzej


The worst thing about censorship is ██████ ██ ████ ████████████ and ██████ ███████ ███ ███████████.

Offline

#20 2013-12-11 21:43:44

MrCode
Member
Registered: 2010-02-06
Posts: 373

Re: [SOLVED] NVIDIA (causes) Defuncts in SHELL?

Does anyone here notice a difference in this behavior between the "stock" -ARCH kernel and the -ck kernel as provided by graysky's repo-ck?  For me the defunct terminals start happening pretty much immediately (or after one successful exit). hmm

Will try with -ARCH on my own machine to test/confirm…

EDIT: Welp, just tried on both kernels, and so far, no zombies on either kernel…strange.  Although, GZDoom still seems to be acting up…might try testing other GL applications as well to see if it's an isolated instance.

Last edited by MrCode (2013-12-11 21:53:04)

Offline

#21 2013-12-11 22:12:25

ColdPie
Member
Registered: 2007-09-18
Posts: 47

Re: [SOLVED] NVIDIA (causes) Defuncts in SHELL?

I heard it's a memory corruption bug, so test results are going to be mostly random and unreliable.

Offline

#22 2013-12-13 09:31:48

eigengrau
Member
Registered: 2013-09-19
Posts: 43

Re: [SOLVED] NVIDIA (causes) Defuncts in SHELL?

Also seeing a lot of weirdness lately, compare https://bbs.archlinux.org/viewtopic.php?pid=1359741 and https://bbs.archlinux.org/viewtopic.php?pid=1359733 .

Did you also notice that the problems only seem to affect process instances that run directly under the window manager session? When starting processes from within a terminal window, I don't see any zombification or processes closing unexpectedly. Can anyone confirm?

Edit: Hm, okay, now I'm seeing random segfaults in Firefox when launching from a terminal. It just seems to be rarer.

Last edited by eigengrau (2013-12-13 09:58:12)

Offline

#23 2013-12-18 21:41:50

Roshless
Member
Registered: 2013-02-28
Posts: 7
Website

Re: [SOLVED] NVIDIA (causes) Defuncts in SHELL?

I also have the same problem, since I updated nvidia drivers. Waited for more than few days cause I though it was some arch problem, but the problem still exists.
I didn't have any problems with apps exept for qbittorrent (but I could start it from terminal) and banshee. Firefox recently is crashing quite a lot, it may also be cause of this.
Now it really annoys me, when I booting up pc, I have to restart few time before terminal "works normally", for few hours everything is ok, but after about ~3-5h zombie terminals appears.
I was using stock kernel from core repo, few days ago I installed Liquorix kernel, and it's exactly the same.
I hope they will find out way to fix it soon.

Offline

#24 2013-12-19 16:37:28

ColdPie
Member
Registered: 2007-09-18
Posts: 47

Re: [SOLVED] NVIDIA (causes) Defuncts in SHELL?

For what it's worth, I ended up switching to the nouveau driver. It's actually been working fine for me, so that might be a permanent change.

Offline

#25 2013-12-19 16:38:01

Max-P
Member
Registered: 2011-06-11
Posts: 164

Re: [SOLVED] NVIDIA (causes) Defuncts in SHELL?

As requested by eigengrau

Thunderbird wrote:

eigengrau from Arch Linux Forums has sent you a message. You can reply to eigengrau by replying to this email.

The message reads as follows:
-----------------------------------------------------------------------

Hi Max,

You mentioned in https://bbs.archlinux.org/viewtopic.php?id=173024 that you still had a PKGBUILD for the old version of nvidia-ck. Is that for v. 325? Would you mind wgetpasting the PKGBUILD and sharing a link in the referenced thread?


I'm pretty bummed out with the current Nvidia woes. I tried adapting the current PKGBUILD for the old version of the driver. The current nvidia-utils PKGBUILD works with the old tarball, but with nvidia-ck the build fails. Sadly I don't have the old package in my Pacman cache anymore.

Thanks and best regards,
E.

There is the tarball for nvidia-ck-325.15 (for linux-ck 3.12.x): http://max-p.fr.nf/t/arch/nvidia-ck/  I actually had to fix it for 3.12 if I remember right. I putted the older 325.15 packages as well for those who need it while at it smile

Offline

Board footer

Powered by FluxBB