You are not logged in.

#1 2017-10-03 02:08:37

mitchellmaler
Member
Registered: 2017-10-03
Posts: 5

Application taking a while to startup. (KDE Plasma)

Hello,

I currently have an up to date Arch desktop install running 4.13.3-1 and plasmashell 5.10.95. Recently I have been having issues where Firefox (both stable and developer), IntelliJ IDEA and Android Studio are taking a long time to start. The app task item shows for a bit, disappears, then after about a minute it will show up.

Any direction to help me troubleshoot the issue would be great.

Offline

#2 2017-10-03 02:11:58

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Application taking a while to startup. (KDE Plasma)

Please paste the output of `hostnamectl`.



Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-10-03 02:15:00

mitchellmaler
Member
Registered: 2017-10-03
Posts: 5

Re: Application taking a while to startup. (KDE Plasma)

Static hostname: archpc
Icon name: computer-desktop
Chassis: desktop
Machine ID: 443e5f3e79314a3c90b2197fea932c7a
Boot ID: 94eea3dd884e4341ac7383372ade9e55
Operating System: Arch Linux
Kernel: Linux 4.13.3-1-ARCH
Architecture: x86-64

Offline

#4 2017-10-03 02:21:42

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Application taking a while to startup. (KDE Plasma)

Start firefox from a terminal and see if it prints anything interesting...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2017-10-03 02:33:55

mitchellmaler
Member
Registered: 2017-10-03
Posts: 5

Re: Application taking a while to startup. (KDE Plasma)

After running both Firefox and Firefox Developer they both threw a warning
firefox: (firefox:2156): Gtk-WARNING **: Theme parsing error: gtk.css:3139:22: Not a valid image
firefox-developer: (firefox:2172): Gtk-WARNING **: Theme parsing error: gtk.css:3139:22: Not a valid image
intellij-idea-ultimate-edition:
     OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
     (java:2245): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
     (java:2245): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

I also tried the LTS kernel just as a test and it still had the same issue. The apps do start up but they are taking about a minute before anything shows up.

Offline

#6 2017-10-03 06:16:23

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,287

Re: Application taking a while to startup. (KDE Plasma)

Run them in gdb, interrupt after some seconds and post the backtrace

Offline

#7 2017-10-04 00:10:17

mitchellmaler
Member
Registered: 2017-10-03
Posts: 5

Re: Application taking a while to startup. (KDE Plasma)

Hopefully I did this correctly!

Reading symbols from /usr/lib/firefox/firefox...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/lib/firefox/firefox
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffe430b700 (LWP 9302)]
[Thread 0x7fffe430b700 (LWP 9302) exited]
[New Thread 0x7fffe430b700 (LWP 9304)]
[New Thread 0x7fffe2110700 (LWP 9305)]

(firefox:9298): Gtk-WARNING **: Theme parsing error: gtk.css:3139:22: Not a valid image
^C
Thread 1 "firefox" received signal SIGINT, Interrupt.
0x00007ffff714cdb6 in ppoll () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff714cdb6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007fffe1081f53 in  () at /usr/lib/libnss_resolve.so.2
#2  0x00007fffe1084d6d in  () at /usr/lib/libnss_resolve.so.2
#3  0x00007fffe1093361 in _nss_resolve_gethostbyname3_r () at /usr/lib/libnss_resolve.so.2
#4  0x00007fffe109391c in _nss_resolve_gethostbyname_r () at /usr/lib/libnss_resolve.so.2
#5  0x00007ffff7169f6f in gethostbyname_r@@GLIBC_2.2.5 () at /usr/lib/libc.so.6
#6  0x00007fffe7c503e6 in PR_GetHostByName () at /usr/lib/libnspr4.so
#7  0x00007fffec0cbb9b in  () at /usr/lib/firefox/libxul.so
#8  0x00007fffec0cbfbc in  () at /usr/lib/firefox/libxul.so
#9  0x00007fffec0d1de6 in  () at /usr/lib/firefox/libxul.so
#10 0x00007fffec0d533b in  () at /usr/lib/firefox/libxul.so
#11 0x00007fffec0d56e2 in  () at /usr/lib/firefox/libxul.so
#12 0x00005555555597fd in  ()
#13 0x0000555555558e6d in  ()
#14 0x00007ffff7081f6a in __libc_start_main () at /usr/lib/libc.so.6
#15 0x000055555555918a in _start ()

Offline

#8 2017-10-04 07:47:15

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: Application taking a while to startup. (KDE Plasma)

Do you use systemd-netword?
Otherwise post the contents of /etc/nsswitch.conf (in code tags, please), check whether you've ahavi installed and such process is running.

Also check the behavior of

dig google.com
nslookup google.com
ping google.com

Offline

#9 2017-10-18 00:27:10

mitchellmaler
Member
Registered: 2017-10-03
Posts: 5

Re: Application taking a while to startup. (KDE Plasma)

I reinstalled my OS and now everything is working fine.

Offline

Board footer

Powered by FluxBB