You are not logged in.

#1 2015-10-18 10:23:41

JGobeil
Member
Registered: 2011-10-12
Posts: 8

Complete system freeze. Need help to diagnose (IntelliJ, BTRFS, ???)

Hi. My system freeze completely when working in IntelliJ IDEA for no apparent reason. Can't find anything in log. Need help to find the problem.

On Dell XPS 13 2015 (9343) with Gnome.

Sometime for no apparent reason, when editing file in Intellij IDEA, the system freeze, completely. Nothing move on screen. No keyboard response (try Ctrl+Alt+F*, Alt+PrtScr+{r,e,i,s,u,b} (sysrq activated)). I can't only shut down the laptop using hardware shutdown (long press on power).

The problem is I can't find anything in log that can cause the problem.

I suspect a problem with BTRFS (root on compressed BTRFS), because sometime the file that I was editing is empty after the reboot.

Maybe a problem with the wireless, because the last two crash the last message was a bad response from a computer on the network and I changed the wireless card (remove the broadcom and put a Intel).

Maybe java, because IDEA run on java.

I don't know were I can find BTRFS log or more information.

Maybe useful Informations ...

$ uname -a
Linux xana 4.2.3-1-ARCH #1 SMP PREEMPT Sat Oct 3 18:52:50 CEST 2015 x86_64 GNU/Linux
$ lspci 
00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09)
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
00:04.0 Signal processing controller: Intel Corporation Broadwell-U Camarillo Device (rev 09)
00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03)
00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03)
00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #1 (rev e3)
00:1c.3 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #4 (rev e3)
00:1d.0 USB controller: Intel Corporation Wildcat Point-LP USB EHCI Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] (rev 03)
00:1f.3 SMBus: Intel Corporation Wildcat Point-LP SMBus Controller (rev 03)
00:1f.6 Signal processing controller: Intel Corporation Wildcat Point-LP Thermal Management Controller (rev 03)
01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5249 PCI Express Card Reader (rev 01)
02:00.0 Network controller: Intel Corporation Wireless 7265 (rev 59)
$ journalctl -b -1 --all | tail
oct 18 11:24:58 xana firefox.desktop[1757]: set_selectedTab@chrome://browser/content/tabbrowser.xml:2740:11
oct 18 11:24:58 xana firefox.desktop[1757]: loadOneTab@chrome://browser/content/tabbrowser.xml:1431:15
oct 18 11:24:58 xana firefox.desktop[1757]: openLinkIn@chrome://browser/content/utilityOverlay.js:345:1
oct 18 11:24:58 xana firefox.desktop[1757]: openUILinkIn@chrome://browser/content/utilityOverlay.js:188:3
oct 18 11:24:58 xana firefox.desktop[1757]: BrowserOpenTab@chrome://browser/content/browser.js:13121:3
oct 18 11:24:58 xana firefox.desktop[1757]: BrowserOpenNewTabOrWindow@chrome://browser/content/browser.js:18422:5
oct 18 11:24:58 xana firefox.desktop[1757]: oncommand@chrome://browser/content/browser.xul:1:1
oct 18 11:25:26 xana avahi-daemon[1025]: Invalid response packet from host 192.168.0.46.
oct 18 11:27:14 xana /usr/lib/gdm/gdm-x-session[1201]: (EE) intel(0): [DRI2] DRI2SwapComplete: bad drawable
oct 18 11:27:26 xana avahi-daemon[1025]: Invalid response packet from host 192.168.0.46.
$ journalctl -b -2 --all | tail
oct 17 12:11:26 xana gvfsd[5101]: b906: FLAC
oct 17 12:11:26 xana gvfsd[5101]: dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
oct 17 12:11:26 xana gvfsd[5101]: dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
oct 17 12:11:26 xana gvfsd[5101]: dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
oct 17 12:11:26 xana gvfsd[5101]: dc04: Object Size UINT64 data type READ ONLY
oct 17 12:11:26 xana gvfsd[5101]: dc07: Object File Name STRING data type GET/SET
oct 17 12:11:26 xana gvfsd[5101]: dc09: Date Modified STRING data type DATETIME FORM READ ONLY
oct 17 12:11:43 xana avahi-daemon[2156]: Invalid response packet from host 192.168.0.46.
oct 17 12:13:43 xana avahi-daemon[2156]: Invalid response packet from host 192.168.0.46.
oct 17 12:13:56 xana avahi-daemon[2156]: Invalid response packet from host 192.168.0.46.
$ tail .IdeaIC14/system/log/idea.log
2015-10-17 16:12:06,387 [2418893]   INFO - lij.tasks.impl.TaskManagerImpl - Updating issues cache (every 20 min) 
2015-10-17 16:15:11,752 [2604258]   INFO - openapi.editor.impl.EditorImpl - Cache hits:12288, total requests:29612,file:///home/jeremie/sv02/src/sv/sv02/gameengine/entities/Entity.java 
2015-10-18 09:57:47,737 [66360243]   INFO - lij.tasks.impl.TaskManagerImpl - Updating issues cache (every 20 min) 
2015-10-18 10:17:47,738 [67560244]   INFO - lij.tasks.impl.TaskManagerImpl - Updating issues cache (every 20 min) 
2015-10-18 10:37:47,738 [68760244]   INFO - lij.tasks.impl.TaskManagerImpl - Updating issues cache (every 20 min) 
2015-10-18 10:57:47,738 [69960244]   INFO - lij.tasks.impl.TaskManagerImpl - Updating issues cache (every 20 min) 
2015-10-18 11:02:51,798 [70264304]   INFO - openapi.editor.impl.EditorImpl - Cache hits:16384, total requests:39995,file:///home/jeremie/sv02/src/sv/sv02/gameengine/entities/Entity.java 
2015-10-18 11:07:39,630 [70552136]   INFO - openapi.editor.impl.EditorImpl - Cache hits:20480, total requests:48356,file:///home/jeremie/sv02/src/sv/sv02/gameengine/entities/Entity.java 
2015-10-18 11:08:19,028 [70591534]   INFO - attrs.AttributeDefinitionsImpl - Found tag with unknown parent: AndroidManifest.AndroidManifestCompatibleScreens 
2015-10-18 11:17:47,738 [71160244]   INFO - lij.tasks.impl.TaskManagerImpl - Updating issues cache (every 20 min) 
$ grep "2015-10-17 12:" .IdeaIC14/system/log/idea.log
2015-10-17 12:06:13,599 [7211867]   INFO - lij.tasks.impl.TaskManagerImpl - Updating issues cache (every 20 min) 
2015-10-17 12:09:51,838 [7430106]   INFO - openapi.editor.impl.EditorImpl - Cache hits:4096, total requests:8381,file:///home/jeremie/sv02/src/sv/sv02/gameengine/Stage.java 
2015-10-17 12:12:13,700 [7571968]   INFO - yhome.idea.vim.ui.ExEntryPanel - deactivate 
2015-10-17 12:12:42,120 [7600388]   INFO - openapi.editor.impl.EditorImpl - Cache hits:12288, total requests:26302,file:///home/jeremie/sv02/src/sv/sv02/gameengine/GameEngine.java 

Last edited by JGobeil (2015-10-18 15:42:48)

Offline

#2 2015-10-18 13:56:09

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: Complete system freeze. Need help to diagnose (IntelliJ, BTRFS, ???)

Looks like it could be an issue with java, check these 2 threads (both mention problems with intellij IDEA) :

https://bbs.archlinux.org/viewtopic.php?id=203813
https://bbs.archlinux.org/viewtopic.php?id=203996


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2015-10-18 15:41:45

JGobeil
Member
Registered: 2011-10-12
Posts: 8

Re: Complete system freeze. Need help to diagnose (IntelliJ, BTRFS, ???)

Thank for the reply.

I check these threads.

In the first thread the program stop responding but the system continue to work. My system don't respond anymore. I can't do anything.
The second is about Oracle JRE but I use OpenJDK 8.

I can start IntelliJ IDEA and use it with no problem for many minutes to many hours.

One more info: When the system freeze, if music was playing the last seconds loop indefinitely.

I try running iIntellij IDEA and redirecting stderr and stdout to file to see if I can catch anything before freeze.

Someone know how I can view any log related to BTRFS ?
Is it possible that the last log entries before freeze are not wrote to disk (disk cache or something)?

Offline

#4 2015-10-19 13:39:44

JGobeil
Member
Registered: 2011-10-12
Posts: 8

Re: Complete system freeze. Need help to diagnose (IntelliJ, BTRFS, ???)

Another system freeze. Nothing in intellij log, nothing in journald log...

I want the find where the problem come from to solve it or make a bug report. How can I do that if I can't find any trace of any problem?

Offline

#5 2015-10-19 19:21:21

nstgc
Member
Registered: 2014-03-17
Posts: 393

Re: Complete system freeze. Need help to diagnose (IntelliJ, BTRFS, ???)

Did you make sure that Magic SysRq is enabled?
https://wiki.archlinux.org/index.php/Ke … uts#Kernel

Offline

#6 2015-10-19 20:37:47

JGobeil
Member
Registered: 2011-10-12
Posts: 8

Re: Complete system freeze. Need help to diagnose (IntelliJ, BTRFS, ???)

Yes, enabled and tested, but don't work when the system freeze.

Offline

#7 2015-10-19 20:46:03

JGobeil
Member
Registered: 2011-10-12
Posts: 8

Re: Complete system freeze. Need help to diagnose (IntelliJ, BTRFS, ???)

The problem seem very similar to this bug : https://bugzilla.kernel.org/show_bug.cgi?id=101951
Maybe IntelliJ is using some kind of special file that cause the system to freeze?

Or maybe this one : https://bugzilla.kernel.org/show_bug.cgi?id=76411
but I don't see kernel panic message.

Or event this one: https://bugzilla.kernel.org/show_bug.cgi?id=105371

Offline

#8 2015-11-27 17:57:21

asutton
Member
Registered: 2014-05-08
Posts: 4

Re: Complete system freeze. Need help to diagnose (IntelliJ, BTRFS, ???)

I'm also seeing intellij totally lock the system up and I also happen to be running on btrfs. Is there any solution to this?

Offline

#9 2015-11-30 17:46:26

JGobeil
Member
Registered: 2011-10-12
Posts: 8

Re: Complete system freeze. Need help to diagnose (IntelliJ, BTRFS, ???)

I'm happy to see that I'm not the only one. The problem seem to be related to btrfs.

I was on others project and didn't use intellij since. But I made some modification to the mount parameter of btrfs to remove the delay in the commit. Maybe it will help to find the problem when it append.

Here is my fstab option for the btrfs volume

rw,noatime,compress=lzo,ssd,discard,space_cache,autodefrag,commit=0,thread_pool=8

Can you send your fstab mount parameters?

Offline

Board footer

Powered by FluxBB