You are not logged in.

#1 2014-10-11 07:34:26

jonny
Member
Registered: 2014-10-11
Posts: 22

Xorg crashes opening big images

Hi, I'm experiencing the following issue: whenever I try to open a big image in the browser or with "Image Viewer" in GNOME (ex: http://photojournal.jpl.nasa.gov/jpeg/PIA16700.jpg) Xorg crashes abruptly and the system returns to the GDM login screen.
I don't know where to start to troubleshoot the issue, could you help me?

Offline

#2 2014-10-11 08:14:37

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Xorg crashes opening big images

How much RAM do you have? Do you see any swapping when that happens?

Offline

#3 2014-10-11 13:08:34

jonny
Member
Registered: 2014-10-11
Posts: 22

Re: Xorg crashes opening big images

I've 8GB of RAM and no swap. I can suppose that's not related...

Do you need any log?

Offline

#4 2014-10-12 09:15:37

jonny
Member
Registered: 2014-10-11
Posts: 22

Re: Xorg crashes opening big images

Hi I discovered that opening that image with gimp is safe, in all the other cases Xorg crashes. What can I look for?
Even panoramas (hugin) or photosphere make my system crash.

Offline

#5 2014-10-13 06:41:39

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Xorg crashes opening big images

What graphics card and graphics drivers are you using? Do you have compositing enabled?

Offline

#6 2014-10-13 20:21:12

jonny
Member
Registered: 2014-10-11
Posts: 22

Re: Xorg crashes opening big images

Hi x33a, thanks for your support.
I'm using laptop with Intel HD 4600 on a new fresh install, xf86-video-intel as driver  (+ 3D acceleration) and GNOME as DE
Maybe I'm missing some packages or libs? However I didn't experience any other problem up to now, small pictures are displayed fine.

Offline

#7 2014-10-14 04:30:47

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Xorg crashes opening big images

Try disabling 3d acceleration: https://wiki.archlinux.org/index.php/In … tel_driver

Last edited by x33a (2014-10-14 04:31:18)

Offline

#8 2014-10-14 22:15:48

jonny
Member
Registered: 2014-10-11
Posts: 22

Re: Xorg crashes opening big images

Didn't work and it crashes also using NVIDIA discrete card (using primusrun ecc...).

Offline

#9 2014-10-15 06:30:32

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Xorg crashes opening big images

Hmm.. sorry I am out of ideas. Maybe someone more knowledgeable can help you out.

Last edited by x33a (2014-10-15 06:31:35)

Offline

#10 2014-10-15 10:00:05

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Xorg crashes opening big images

You could start by providing some logs. Your topic lacks any usable information, so nobody can help you.

Offline

#11 2014-10-15 20:49:10

jonny
Member
Registered: 2014-10-11
Posts: 22

Re: Xorg crashes opening big images

Yes JGC, I know, indeed I asked which log I should provide.
I suppose I have to copy/paste them after a crash, but now I can't. So which log do you need? I'll paste here later.

I had looked at /var/log/Xorg.8.log but seems not up to date.

Thank you again for your patience and collaboration.

Last edited by jonny (2014-10-15 22:42:47)

Offline

#12 2014-10-15 22:28:10

jonny
Member
Registered: 2014-10-11
Posts: 22

Re: Xorg crashes opening big images

[jonny@jonny-laptop ~]$ coredumpctl list
TIME                            PID   UID   GID SIG PRESENT EXE
Wed 2014-10-15 00:15:54 CEST    330     0     0   6 * /usr/bin/Xorg.bin

here is jounalctl:

Oct 16 00:14:56 jonny-laptop org.gnome.Caribou.Daemon[6939]: ** (caribou:7051): WARNING **: AT-SPI: Error in GetItems, sender=org.freedesktop.DBus, error=The name :1.8 was not provided by any .service files
Oct 16 00:15:19 jonny-laptop systemd-logind[302]: Removed session c2.
Oct 16 00:15:19 jonny-laptop systemd-logind[302]: Removed session c3.
Oct 16 00:15:19 jonny-laptop systemd[1]: Stopping User Manager for UID 120...
Oct 16 00:15:19 jonny-laptop systemd[6801]: Stopping Default.
Oct 16 00:15:19 jonny-laptop systemd[6801]: Stopped target Default.
Oct 16 00:15:19 jonny-laptop systemd[6801]: Stopping Basic System.
Oct 16 00:15:19 jonny-laptop systemd[6801]: Stopped target Basic System.
Oct 16 00:15:19 jonny-laptop systemd[6801]: Stopping Paths.
Oct 16 00:15:19 jonny-laptop systemd[6801]: Stopped target Paths.
Oct 16 00:15:19 jonny-laptop systemd[6801]: Stopping Timers.
Oct 16 00:15:19 jonny-laptop systemd[6801]: Stopped target Timers.
Oct 16 00:15:19 jonny-laptop systemd[6801]: Stopping Sockets.
Oct 16 00:15:19 jonny-laptop systemd[6801]: Stopped target Sockets.
Oct 16 00:15:19 jonny-laptop systemd[6801]: Starting Shutdown.
Oct 16 00:15:19 jonny-laptop systemd[6801]: Reached target Shutdown.
Oct 16 00:15:19 jonny-laptop systemd[6801]: Starting Exit the Session...
Oct 16 00:15:19 jonny-laptop systemd[6801]: Received SIGRTMIN+24 from PID 7260 (kill).
Oct 16 00:15:19 jonny-laptop systemd[6802]: pam_unix(systemd-user:session): session closed for user gdm
Oct 16 00:15:19 jonny-laptop systemd[1]: Stopped User Manager for UID 120.
Oct 16 00:15:19 jonny-laptop systemd[1]: Stopping user-120.slice.
Oct 16 00:15:19 jonny-laptop systemd[1]: Removed slice user-120.slice.
Oct 16 00:16:06 jonny-laptop systemd-coredump[7257]: Process 1122 (skype) of user 1000 dumped core.
Oct 16 00:17:21 jonny-laptop systemd-coredump[6778]: Process 356 (Xorg.bin) of user 0 dumped core.

Offline

#13 2014-10-15 22:36:23

jonny
Member
Registered: 2014-10-11
Posts: 22

Re: Xorg crashes opening big images

Here is the output of "eog image.jpg &> log.txt":

(eog:9266): GLib-GObject-WARNING **: The property GtkSettings:gtk-menu-images is deprecated and shouldn't be used anymore. It will be removed in a future version.
(eog:9266): Gdk-WARNING **: eog: Fatal IO error 104 (Connection reset by peer) on X server :3.

It doesn't seem very informative. sad
May I look somewhere else?

Last edited by jonny (2014-10-15 22:40:55)

Offline

#14 2014-10-15 23:14:59

davidm
Member
Registered: 2009-04-25
Posts: 371

Re: Xorg crashes opening big images

jonny wrote:

I had looked at /var/log/Xorg.8.log but seems not up to date.

Is there a '/var/log/Xorg.0.log' ?

The more information you provide the better here.  That image is only ~ 8MB which isn't that bad.  I notice from one of your logs skype crashed about a minute before X core dumped.  Is your memory getting exhausted as this is happening?  It might be a good idea to have a swap file after all.  I used to go without it but I had OOM (Out of memory) errors even with 6GB ram.  The swap file helped.

Last edited by davidm (2014-10-15 23:15:18)

Offline

#15 2014-10-16 19:18:34

jonny
Member
Registered: 2014-10-11
Posts: 22

Re: Xorg crashes opening big images

davidm wrote:

Is there a '/var/log/Xorg.0.log' ?

No, there isn't. The only file there is Xorg.8.log and that's pretty old.

I notice from one of your logs skype crashed about a minute before X core dumped.  Is your memory getting exhausted as this is happening?

I don't know why skype crashed before Xorg, but I can suppose that's not related. Xorg crashes every time I try to open that image or similar images (even in the browser). I can assure you I'm not getting out of memory.

Really don't know where to look in order to solve this problem, which other log can I provide?

Last edited by jonny (2014-10-16 19:21:13)

Offline

#16 2014-10-16 21:27:14

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,885

Re: Xorg crashes opening big images

Your Xorg is probably running as your user.  It used to be that Xorg ran as root -- that changed many weeks back.   
Unless you are using a Display Manager (gdm, kdm, slim) your logs are now in ~/.local/share/xorg/


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#17 2014-10-16 21:52:33

jonny
Member
Registered: 2014-10-11
Posts: 22

Re: Xorg crashes opening big images

Thanks for the heads-up ewaller. But, yes, I'm using GNOME and GDM, so no log there.

Offline

#18 2014-10-16 22:27:29

jonny
Member
Registered: 2014-10-11
Posts: 22

Re: Xorg crashes opening big images

If I use the session "GNOME on Wayland" I do not experience any crash. Uhm, so it's definitely Xorg fault, any ideas?

Offline

#19 2014-10-17 22:35:37

jonny
Member
Registered: 2014-10-11
Posts: 22

Re: Xorg crashes opening big images

So no new ideas? Where can I find detailed Xorg log using GDM?

Offline

#20 2014-10-19 10:52:44

jonny
Member
Registered: 2014-10-11
Posts: 22

Re: Xorg crashes opening big images

BUMP. no way to solve this?

Offline

#21 2014-11-05 20:43:59

jonny
Member
Registered: 2014-10-11
Posts: 22

Re: Xorg crashes opening big images

Please, the problem persist. Is anyone able to help me or giving a suggestion? There are some unanswered questions above.

Offline

#22 2014-11-05 20:52:37

matse
Member
Registered: 2011-04-27
Posts: 299

Re: Xorg crashes opening big images

GDM saves its own and the xorg logs to the systemd journal since a few versions.
You can view them with

#journalctl -b 0 --unit=gdm

whtere "-b 0" says just to print the gdm logs for the current boot. Use "-b -1" for the logs of your last session and so on.
Greetings
matse

Offline

#23 2014-11-06 18:57:19

jonny
Member
Registered: 2014-10-11
Posts: 22

Re: Xorg crashes opening big images

Thanks mats! With your command I was able to browse the logs, I have discovered that probably the issue is related to the Intel graphics acceleration method.

I have found that system crashes using "glamor":

Thu 2014-11-06 19:40:45 CET     334     0     0   6 * /usr/bin/Xorg.bin

Nov 06 10:40:42 jonny-laptop gdm-Xorg-:0[334]: Xorg.bin: glamor_largepixmap.c:787: glamor_merge_clipped_regions: Assertion `temp_priv->type != GLAMOR_TEXTURE_LARGE' failed.

Then X restart in the logs.

I solved using SNA as acceleration method.
Now how can I report the issue in order to fix the problem with glamor?

Thanks for your help.

Offline

Board footer

Powered by FluxBB