For 2 days now, each time I start my computer, I get a crash window from net_applet: I just started the computer, my X session with Openbox barely started that I got this error message. -------------------------------------------------- The "net_applet" program crashed. Drakbug-14.22.3 caught it. Undefined subroutine &main:: called at /usr/lib/libDrakX/dbus_object.pm line 61. Perl's trace: standalone::bug_handler() called from /usr/bin/net_applet:291 Theme name: oxygen-gtk Kernel version = 3.5.4-desktop-1.mga3 Distribution=Mageia release 2 (Official) for x86_64 CPU=Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz ----------------------------------------------- NOTE: when I got this error message, my kernel was upgraded over the current Mageia 2 stable desktop kernel. But I reproduced the crash also using the Mageia 2 3.3.8-desktop-2.mga2 kernel. Also I have random issues with my Openbox since the same time. For instance the other day, the cairo-dock supposed to start when I star Openbox crashed too. I could restart it. No particular error, no idea why it crashed in the first place. Also at another startup, Openbox would not start at all, it would just hang forever (at least 5 min, then I restarted X). Then I tried to start with KDE instead of Openbox (I also got the same crash window there). Once at startup I also got 2 crashes from Mageia tools! The additional one was: ---------------------------------------- Le programme « draknetcenter » a planté avec l'erreur suivante : org.freedesktop.DBus.Error.Disconnected: Connection was disconnected before a reply was received Perl's trace: standalone::bug_handler() called from /usr/lib/perl5/vendor_perl/5.14.1/x86_64-linux-thread-multi/Net/DBus/Binding/Bus.pm:142 Net::DBus::Binding::Bus::add_match() called from /usr/lib/libDrakX/network/connection_manager.pm:502 network::connection_manager::setup_dbus_handlers() called from /usr/lib/libDrakX/network/netcenter.pm:208 network::netcenter::main() called from /usr/sbin/draknetcenter:28 Thème utilisé : oxygen-gtk Pour soumettre un rapport de bogue, cliquez sur le bouton Signaler. Cela ouvrira une fenêtre de navigateur sur Bugzilla où vous trouverez un formulaire à remplir. L'information affichée ci-dessus sera transférée vers ce serveur Il est très utile d'inclure dans votre rapport la sortie de la commande suivante : « lspcidrake -v ». ---------------------------------------- When this double crash happened, I could not start neither draknetcenter, nor net_applet by hand. draknetcenter would crash with no particular terminal output, but net_applet would output: jehan@DarkMarmot ~ $ LC_ALL=C net_applet Cannot open /dev/input/eventX: Permission denied Cannot open /dev/input/eventX: Permission denied Cannot open /dev/input/eventX: Permission denied Cannot open /dev/input/eventX: Permission denied Cannot open /dev/input/eventX: Permission denied Cannot open /dev/input/eventX: Permission denied Cannot open /dev/input/eventX: Permission denied Cannot open /dev/input/eventX: Permission denied Cannot open /dev/input/eventX: Permission denied Cannot open /dev/input/eventX: Permission denied Cannot open /dev/input/eventX: Permission denied Cannot open /dev/input/eventX: Permission denied Cannot open /dev/input/eventX: Permission denied Cannot open /dev/input/eventX: Permission denied (NOTE: it outputs these error even the times when it does not crash, so I don't know if it is relevant, though still strange) Just for information: jehan@DarkMarmot $ ls /dev/input/event* -ltr crw-r----- 1 root root 13, 69 oct. 1 02:56 /dev/input/event5 crw-r----- 1 root root 13, 66 oct. 1 02:56 /dev/input/event2 crw-r----- 1 root root 13, 67 oct. 1 02:56 /dev/input/event3 crw-r----- 1 root root 13, 64 oct. 1 02:56 /dev/input/event0 crw-r----- 1 root root 13, 65 oct. 1 02:56 /dev/input/event1 crw-r----- 1 root root 13, 70 oct. 1 02:56 /dev/input/event6 crw-r----- 1 root root 13, 68 oct. 1 02:56 /dev/input/event4 crw-r----- 1 root root 13, 71 oct. 1 02:56 /dev/input/event7 crw-r----- 1 root root 13, 73 oct. 1 02:56 /dev/input/event9 crw-r----- 1 root root 13, 72 oct. 1 02:56 /dev/input/event8 crw-r----- 1 root root 13, 74 oct. 1 02:56 /dev/input/event10 When this double crash happened, my cairo-dock Shut-Down menu would be all grayed-out (= I could not shut down my computer graphically anymore and had to do it in a terminal) and also my cairo-dock Shortcuts plugins was not able to mount my USB keys anymore (had to do it in terminal as root, the old way). This all leads me to think my user had permission troubles, maybe? Also as it was asked by the crash window, if useful: jehan@DarkMarmot ~ $ lspcidrake -v xhci_hcd : NEC Corporation|uPD720200 USB 3.0 Host Controller [SERIAL_USB] (vendor:1033 device:0194 subv:17aa subd:21da) (rev: 04) sdhci_pci : Ricoh Co Ltd|Device e823 [SYSTEM_OTHER] (vendor:1180 device:e823 subv:17aa subd:21da) (rev: 07) iwlwifi : Intel Corporation|Centrino Ultimate-N 6300 [NETWORK_OTHER] (vendor:8086 device:4238 subv:8086 subd:1111) (rev: 3e) i2c_i801 : Intel Corporation|6 Series/C200 Series Chipset Family SMBus Controller [SERIAL_SMBUS] (vendor:8086 device:1c22 subv:17aa subd:21da) (rev: 04) ahci : Intel Corporation|6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller [STORAGE_SATA] (vendor:8086 device:1c03 subv:17aa subd:21da) (rev: 04) lpc_ich : Intel Corporation|QM67 Express Chipset Family LPC Controller [BRIDGE_ISA] (vendor:8086 device:1c4f subv:17aa subd:21da) (rev: 04) ehci_hcd : Intel Corporation|6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [SERIAL_USB] (vendor:8086 device:1c26 subv:17aa subd:21da) (rev: 04) shpchp : Intel Corporation|6 Series/C200 Series Chipset Family PCI Express Root Port 7 [BRIDGE_PCI] (vendor:8086 device:1c1c) (rev: b4) shpchp : Intel Corporation|6 Series/C200 Series Chipset Family PCI Express Root Port 5 [BRIDGE_PCI] (vendor:8086 device:1c18) (rev: b4) shpchp : Intel Corporation|6 Series/C200 Series Chipset Family PCI Express Root Port 4 [BRIDGE_PCI] (vendor:8086 device:1c16) (rev: b4) shpchp : Intel Corporation|6 Series/C200 Series Chipset Family PCI Express Root Port 2 [BRIDGE_PCI] (vendor:8086 device:1c12) (rev: b4) shpchp : Intel Corporation|6 Series/C200 Series Chipset Family PCI Express Root Port 1 [BRIDGE_PCI] (vendor:8086 device:1c10) (rev: b4) snd_hda_intel : Intel Corporation|6 Series/C200 Series Chipset Family High Definition Audio Controller (vendor:8086 device:1c20 subv:17aa subd:21da) (rev: 04) ehci_hcd : Intel Corporation|6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [SERIAL_USB] (vendor:8086 device:1c2d subv:17aa subd:21da) (rev: 04) e1000e : Intel Corporation|82579LM Gigabit Network Connection [NETWORK_ETHERNET] (vendor:8086 device:1502 subv:17aa subd:21ce) (rev: 04) unknown : Intel Corporation|6 Series/C200 Series Chipset Family KT Controller [COMMUNICATION_SERIAL] (vendor:8086 device:1c3d subv:17aa subd:21da) (rev: 04) mei : Intel Corporation|6 Series/C200 Series Chipset Family MEI Controller #1 [COMMUNICATION_OTHER] (vendor:8086 device:1c3a subv:17aa subd:21da) (rev: 04) Card:Intel 810 and later: Intel Corporation|2nd Generation Core Processor Family Integrated Graphics Controller [DISPLAY_VGA] (vendor:8086 device:0126 subv:17aa subd:21da) (rev: 09) unknown : Intel Corporation|2nd Generation Core Processor Family DRAM Controller [BRIDGE_HOST] (vendor:8086 device:0104 subv:17aa subd:21da) (rev: 09) ------------------------------------------------------- This is a lot of various information. And all these symptoms come and go, kind of randomly (or at least I don't know the reason). Sometimes I can restart one of the crashed programs, sometimes not, sometimes another one, etc. The only constant is net_applet which seems to always be crashing at startup. Also as my OS feels kind of messed up since this, and because I can't spend that much time debugging it (though I'd love to help Mageia to prevent this from happening again to anyone, but I work on this computer, and I don't have any other. Can't afford a broken OS too long, sorry), if I can't get this fixed in a couple of days, I will probably go the fast way: reinstall from scratch to get a fresh Mageia. Just to say that if you wish additional debug information, ask me fast. Probably by tomorrow or after-tomorrow, that may be gone.
By the way, I saw the Bug4308, which seems similar, but about using a second session (not my case), so I don't know if this is actually a duplicate bug. I also saw Bug1440 (and a bunch of other marked as duplicates), but it was for Mageia 1 and closed as not reproduced on Mageia 2 (which I may have just done then!). A difference though in Bug1440 is that the diagnostic seemed to be that it is related to messagebus being stopped. In my case, it is started. root@DarkMarmot $ service messagebus status dbus.service - D-Bus System Message Bus Loaded: loaded (/lib/systemd/system/dbus.service; static) Active: active (running) since Mon, 01 Oct 2012 14:20:53 +0900; 1h 53min ago Process: 3028 ExecStartPre=/bin/rm -f /var/run/messagebus.pid (code=exited, status=0/SUCCESS) Process: 3025 ExecStartPre=/usr/bin/dbus-uuidgen --ensure (code=exited, status=0/SUCCESS) Main PID: 3030 (dbus-daemon) CGroup: name=systemd:/system/dbus.service â 3030 /usr/bin/dbus-daemon --system --address=systemd: --nofork --systemd-activation â 3127 /usr/lib64/upowerd Oct 01 14:35:22 DarkMarmot dbus-daemon[3030]: dbus[3030]: [system] Activating via systemd: service name='org.freedesktop.UDisks2' unit='ud...service' Oct 01 14:35:22 DarkMarmot dbus[3030]: [system] Activating via systemd: service name='org.freedesktop.UDisks2' unit='udisks2.service' Oct 01 14:35:22 DarkMarmot dbus[3030]: [system] Successfully activated service 'org.freedesktop.UDisks2' Oct 01 14:35:22 DarkMarmot dbus-daemon[3030]: dbus[3030]: [system] Successfully activated service 'org.freedesktop.UDisks2' Not sure if that helps.
seems all you issue are related to dbus, Colin, Thierry, Thomas, is dbus restarted during an update (specially of a kernel)?
CC: (none) => mageia, thierry.vignaud, tmbSource RPM: drakx-net-applet-1.12.2-1.mga2 => dbus
Manuel: I did not just upgrade to a new Kernel. I see that my message may have been misleading on this particular point. I just wanted to explain why the pasted debug log would show "Kernel version = 3.5.4-desktop-1.mga3". The reason being that I installed this kernel from Cauldron (but only this rpm, my distribution is otherwise not configured to use cauldron and is a normal Mageia 2). I needed it to have support for the Intuos 5 graphical tablet (support appeared since 3.5 kernels). But other than that, I did this installation and have worked without a problem with this kernel for about 2 weeks now. And I kept the old 3.3.8 kernel and could confirm the issue also happens there. So does not seem kernel-related. The multiple crashs have only been happening for the last 2 days. And I can't see what I may have installed recently which may screw up that much the system. Is there a log which shows all recent installed or uninstalled packages?
CC: (none) => mageia
Source RPM: dbus => dbus drakx-net
Hi, I did a fresh reinstall of my Mageia 2 and the same issue happened again! But this time, I kept a log of all the packages I installed between one boot and another, so I could find the culprit. It was mpd-0.16.6-2.mga2.tainted.x86_64 After install, I only updated the /etc/mpd.conf by changing the values "music_directory" and "playlist_directory" to proper paths, and set a PulseAudio output, as shown on the web, instead of the Alsa one (which I commented out) which defaults the package (by the way, as Mageia apparently chooses PulseAudio as its default output, so that should be set by default): audio_output { type "pulse" name "My MPD PulseAudio Output" #server "localhost" # optional #sink "alsa_output" # optional } Then if I start the service, works fine and all (can listen to music using a mpd client, like gmpc)... until next reboot where I got the crash of net_applet, etc. (and mpd service is not working anymore after reboot either, even though a "status" tells it is, but the "restart" hanged for minutes, so I killed it). Now that I think of it, it was highly possible that I recently installed mpd on my old Mageia 2.
@Jehan, this looks totally unrelated to this bug? Did you perhaps comment on the wrong one? If you find the right one please comment there and make sure I'm in the CC field. Thanks.
Colin: as strange as it looks, it is not unrelated. History: - I had these strange crashes of net_applet (and sometimes draknetcenter too) at startup (apparently dbus issue, according to Manuel above). As I use a lot my machine and sometimes don't stop it for some time, I had no idea what could have caused it at the time, or what I could have installed recently. - I reinstalled recently my whole Mageia 2, brand out of the installer, and encountered again crashes this morning when booting, but this time I knew what I just installed the day before. I tried to uninstall mpd, I reboot. No crash anymore. Note that to be extra-sure this is not pure bad luck, I made a test again, I reinstalled mpd, rebooted. Paf! net_applet crash at startup. I uninstall, reboot. No crash. I have absolutely no idea what is the problem, but seems to be related. I can make a test again, if you want me to be extra-extra-sure. I can also try to set some logs, if you tell me which ones/how.
@Jehan, interesting results. I'll try and take a look at this. Just as a small extra test that would be very useful, is simply disabling the mpd service enough here to prevent the crash (and cause it again after reenabling)? It would be nice to know if it's either a) The fact the package is installed or b) The fact the service is running that is causing these problems. Just run, "systemctl disable mpd.service" (as root) and do a few reboots and see if there are crashes, if not, then "systemctl enable mpd.service" and do a few more reboots and confirm that things crash. That would be most helpful!
* If I disable the service at startup with `systemctl disable mpd.service`, net_applet doesn't crash. So the answer to the crash is "b) The fact the service is running". * I have also made a few configuration test: if I use the default configuration (using Alsa output), there is no crash either. Only when commenting out Alsa audio output and setting Pulseaudio instead, there is a crash. I made a test where I changed *only* the audio output (and not also the music_directory and playlist_directory like before), and it would crash. With no change at all, no crash though. Of course, we could say "don't use pulseaudio", but as Mageia now uses Pulseaudio as a default, and this version of mpd is supposed to support Pulseaudio (cf. `mpd --version`), I'd say this is not the right answer. I copy again my audio output: audio_output { type "pulse" name "My MPD PulseAudio Output" } This config is taken from the official wiki: http://mpd.wikia.com/wiki/PulseAudio * If I deactivate mpd at startup, but activate the service manually with `service mpd start` after some time, it works well, and there is no net_applet crash. net_applet crash happens only when mpd is started as a startup service. It makes me think that the problem is that MPD, through pulseaudio, must hang the connection with dbus, or something like this; and it provokes a net_applet crash, because it can't connect. But if I start manually later, it does not block net_applet. Or something similar? Hope this helps. In my case, this is reproducible 100% up to now, after a dozen reboots.
This is very useful thanks. As one of the upstream PulseAudio maintainers, I can state that this should definitely work, even if there are still caveats to the limits of working in this context. I'll try and do some tests and write up a more detailed reply shortly. Col
mine throw Cannot open /dev/input/eventX: Permission denied Cannot open /dev/input/eventX: Permission denied Cannot open /dev/input/eventX: Permission denied Cannot open /dev/input/eventX: Permission denied Cannot open /dev/input/eventX: Permission denied Cannot open /dev/input/eventX: Permission denied Cannot open /dev/input/eventX: Permission denied Cannot open /dev/input/eventX: Permission denied Cannot open /dev/input/eventX: Permission denied Cannot open /dev/input/eventX: Permission denied Cannot open /dev/input/eventX: Permission denied Cannot open /dev/input/eventX: Permission denied Cannot open /dev/input/eventX: Permission denied Cannot open /dev/input/eventX: Permission denied when tried to connect/disconnect from net_applet even i do not have mpd.service # systemctl disable mpd.service Failed to issue method call: No such file or directory
CC: (none) => andry_yosua
Colin: "I'll try and do some tests and write up a more detailed reply shortly." :)
CC: (none) => stormi
This message is a reminder that Mageia 2 is nearing its end of life. Approximately one month from now Mageia will stop maintaining and issuing updates for Mageia 2. At that time this bug will be closed as WONTFIX (EOL) if it remains open with a Mageia 'version' of '2'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Mageia version prior to Mageia 2's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Mageia 2 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Mageia, you are encouraged to click on "Version" and change it against that version of Mageia. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Mageia release includes newer upstream software that fixes bugs or makes them obsolete. -- The Mageia Bugsquad
Mageia 2 changed to end-of-life (EOL) status on ''22 November''. Mageia 2 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Mageia please feel free to click on "Version" change it against that version of Mageia and reopen this bug. Thank you for reporting this bug and we are sorry it could not be fixed. -- The Mageia Bugsquad
Status: NEW => RESOLVEDResolution: (none) => OLD