Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 2
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1170 times and has 1 reply Next Thread
adriverhoef
Master Cruncher
The Netherlands
Joined: Apr 3, 2009
Post Count: 2346
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Graphics app crashes on Linux

(Thread continued from Beat Test forum thread)

That could be it. A couple of other things to check if you want. First the graphics applications are dynamically linked so you can run the ldd command against the graphics application to make sure you have all the needed libraries. Second are you able to push the view graphics button but it just closes instantly or is that button greyed out for you? If it is the former all graphics app should write a file "stderrgfx.txt " to the slot directory. There may or may not be some helpful info in there if it is launching and exiting immediately.
Thanks,
armstrdj


Since I'm probably seeing the same problem on my Linux system, I'm continuing the thread here. biggrin
When I have the graphical boincmgr program opened, there is a View Graphics button that can be activated after clicking some of the running tasks. When I do that, a window opens very shortly with a border, but nothing inside the window, and immediately closes again. A few seconds later a notification appears about a AVC denial: New SELinux security alert.

The contents of the SETroubleshoot Details Window:
SELinux is preventing abrt-action-gen from read access on the file wcgrid_zika_gfx_7.20_x86_64-pc-linux-gnu.

Plugin: catchall
SELinux denied access requested by abrt-action-gen. It is not expected that
this access is required by abrt-action-gen and this access may signal an
intrusion attempt. It is also possible that the specific version or
configuration of the application is causing it to require additional access.

If you believe that abrt-action-gen should be allowed read access on the wcgrid_zika_gfx_7.20_x86_64-pc-linux-gnu file by default.
You should report this as a bug.
You can generate a local policy module to allow this access.
Allow this access for now by executing:
# ausearch -c 'abrt-action-gen' --raw | audit2allow -M my-abrtactiongen
# semodule -X 300 -i my-abrtactiongen.pp

I can run the graphics app standalone from any directory:
$ ls -l /var/lib/boinc/projects/www.worldcommunitygrid.org/../../projects/www.worldcommunitygrid.org/wcgrid_zika_gfx_7.20_x86_64-pc-linux-gnu
-rwxr-xr-x. 1 boinc boinc 745240 Jul 18 2018 /var/lib/boinc/projects/www.worldcommunitygrid.org/../../projects/www.worldcommunitygrid.org/wcgrid_zika_gfx_7.20_x86_64-pc-linux-gnu
When I do that, a window opens quickly with a border with nothing inside and closes immediately.
A file "stderrgfx.txt" is left in the current directory:
-rw-rw-r--. 1 adri 1686 Jun 25 14:16  stderrgfx.txt
Its contents:
$ cat stderrgfx.txt 
14:16:36 (324): Can't open init data file - running in standalone mode
SIGSEGV: segmentation violation
Stack trace (12 frames):
/var/lib/boinc/projects/www.worldcommunitygrid.org/../../projects/www.worldcommunitygrid.org/wcgrid_zika_gfx_7.20_x86_64-pc-linux-gnu[0x413e32]
/lib64/libpthread.so.0(+0x13070)[0x7f6b9134e070]
/var/lib/boinc/projects/www.worldcommunitygrid.org/../../projects/www.worldcommunitygrid.org/wcgrid_zika_gfx_7.20_x86_64-pc-linux-gnu[0x4098ef]
/var/lib/boinc/projects/www.worldcommunitygrid.org/../../projects/www.worldcommunitygrid.org/wcgrid_zika_gfx_7.20_x86_64-pc-linux-gnu[0x40e2db]
/var/lib/boinc/projects/www.worldcommunitygrid.org/../../projects/www.worldcommunitygrid.org/wcgrid_zika_gfx_7.20_x86_64-pc-linux-gnu[0x40e4aa]
/var/lib/boinc/projects/www.worldcommunitygrid.org/../../projects/www.worldcommunitygrid.org/wcgrid_zika_gfx_7.20_x86_64-pc-linux-gnu[0x40e6f9]
/var/lib/boinc/projects/www.worldcommunitygrid.org/../../projects/www.worldcommunitygrid.org/wcgrid_zika_gfx_7.20_x86_64-pc-linux-gnu[0x450db6]
/var/lib/boinc/projects/www.worldcommunitygrid.org/../../projects/www.worldcommunitygrid.org/wcgrid_zika_gfx_7.20_x86_64-pc-linux-gnu[0x451605]
/var/lib/boinc/projects/www.worldcommunitygrid.org/../../projects/www.worldcommunitygrid.org/wcgrid_zika_gfx_7.20_x86_64-pc-linux-gnu[0x40e8fb]
/var/lib/boinc/projects/www.worldcommunitygrid.org/../../projects/www.worldcommunitygrid.org/wcgrid_zika_gfx_7.20_x86_64-pc-linux-gnu[0x40bb72]
/lib64/libc.so.6(__libc_start_main+0xf3)[0x7f6b91199413]
/var/lib/boinc/projects/www.worldcommunitygrid.org/../../projects/www.worldcommunitygrid.org/wcgrid_zika_gfx_7.20_x86_64-pc-linux-gnu[0x408802]

Exiting...

This happens when running it as a normal user.
I can't run the program as administrative user 'boinc', so I will try it as root now.
# cd /var/lib/boinc/slots/7
# /var/lib/boinc/projects/www.worldcommunitygrid.org/../../projects/www.worldcommunitygrid.org/wcgrid_zika_gfx_7.20_x86_64-pc-linux-gnu

And presto! A window opens with a graphical app inside its borders ... cool And it doesn't close immediately! laughing

Could it be some permissions problem?



PS I can even run the graphic app when there is no science running in the slots directory:
[7]# pwd
/var/lib/boinc/slots/7
[7]# ls -l
total 0
[7]# /var/lib/boinc/projects/www.worldcommunitygrid.org/../../projects/www.worldcommunitygrid.org/wcgrid_zika_gfx_7.20_x86_64-pc-linux-gnu
[7]# ls -l
total 4
-rw-r--r--. 1 root root 1687 Jun 25 14:40 stderrgfx.txt
[7]# cat stderrgfx.txt
14:40:18 (1284): Can't open init data file - running in standalone mode
SIGSEGV: segmentation violation
Stack trace (12 frames):
/var/lib/boinc/projects/www.worldcommunitygrid.org/../../projects/www.worldcommunitygrid.org/wcgrid_zika_gfx_7.20_x86_64-pc-linux-gnu[0x413e32]
/lib64/libpthread.so.0(+0x13070)[0x7f35bc572070]
/var/lib/boinc/projects/www.worldcommunitygrid.org/../../projects/www.worldcommunitygrid.org/wcgrid_zika_gfx_7.20_x86_64-pc-linux-gnu[0x4098ef]
/var/lib/boinc/projects/www.worldcommunitygrid.org/../../projects/www.worldcommunitygrid.org/wcgrid_zika_gfx_7.20_x86_64-pc-linux-gnu[0x40e2db]
/var/lib/boinc/projects/www.worldcommunitygrid.org/../../projects/www.worldcommunitygrid.org/wcgrid_zika_gfx_7.20_x86_64-pc-linux-gnu[0x40e4aa]
/var/lib/boinc/projects/www.worldcommunitygrid.org/../../projects/www.worldcommunitygrid.org/wcgrid_zika_gfx_7.20_x86_64-pc-linux-gnu[0x40e6f9]
/var/lib/boinc/projects/www.worldcommunitygrid.org/../../projects/www.worldcommunitygrid.org/wcgrid_zika_gfx_7.20_x86_64-pc-linux-gnu[0x450db6]
/var/lib/boinc/projects/www.worldcommunitygrid.org/../../projects/www.worldcommunitygrid.org/wcgrid_zika_gfx_7.20_x86_64-pc-linux-gnu[0x451605]
/var/lib/boinc/projects/www.worldcommunitygrid.org/../../projects/www.worldcommunitygrid.org/wcgrid_zika_gfx_7.20_x86_64-pc-linux-gnu[0x40e8fb]
/var/lib/boinc/projects/www.worldcommunitygrid.org/../../projects/www.worldcommunitygrid.org/wcgrid_zika_gfx_7.20_x86_64-pc-linux-gnu[0x40bb72]
/lib64/libc.so.6(__libc_start_main+0xf3)[0x7f35bc3bd413]
/var/lib/boinc/projects/www.worldcommunitygrid.org/../../projects/www.worldcommunitygrid.org/wcgrid_zika_gfx_7.20_x86_64-pc-linux-gnu[0x408802]

Exiting...
A window with a border opens shortly and closes immediately.
So, basically the same thing happens when running it as a normal user.
But ... running it from the Boinc Manager doesn't yield a file stderrgfx.txt in the slots directory. So, that's probably a related permissions problem. biggrin


EDIT: By the way, when root successfully runs the graphic app, two files are created in the slots directory:
[0]# ls -l *gfx*
-rw-r--r--. 1 root root 16 Jun 25 15:02 gfx_info
-rw-r--r--. 1 root root 178 Jun 25 15:02 stderrgfx.txt
[0]# cat gfx_info
105 119 600 400
[0]# cat stderrgfx.txt
Successfully loaded '../../projects/www.worldcommunitygrid.org/zika_image03_7.20.tga'...
Successfully loaded '../../projects/www.worldcommunitygrid.org/zika_image02_7.20.tga'...

----------------------------------------
[Edit 3 times, last edit by adriverhoef at Jun 25, 2019 1:06:36 PM]
[Jun 25, 2019 12:36:58 PM]   Link   Report threatening or abusive post: please login first  Go to top 
nanoprobe
Master Cruncher
Classified
Joined: Aug 29, 2008
Post Count: 2998
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Graphics app crashes on Linux

Just wondering why you're so concerned about graphics here? confused To run them wastes CPU cycles that could be better used for the WUs. peace
----------------------------------------
In 1969 I took an oath to defend and protect the U S Constitution against all enemies, both foreign and Domestic. There was no expiration date.


[Jun 26, 2019 4:34:52 PM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread