4 Replies Latest reply on Dec 22, 2013 5:23 PM by stanislau

    segmentation fault

    stanislau

      Hello.

      I have video card Gigabyte Radeon R9 280x 3072 GDDR5

      CPU: AMD Athlon ll 2x 250

      2GB DDR3 (also tryed 4GB)

       

      I faced with next problem:

      While trying to run clinfo im getting segfault:

      export DISPLAY=:0 ; clinfo
      Segmentation fault
      

       

      I had newly installed debian 7, then i did:

      apt-get install xorg fglrx-driver nodm
      

      I configured to start X server with nodm.

      Then i installed some additional packages for my applications.

       

      Then i installed AMD APP SDK from packaged AMD-APP-SDK-v2.9-lnx64.tgz

      tar xvf AMD-APP-SDK-v2.9-lnx64.tgz
      ./Install-AMD-APP.sh
      

       

      Then i rebooted my system.

       

      And now i have following picture:

      my X server up and running,

      fglrxinfo:

      export DISPLAY=:0 ; fglrxinfo
      display: :0  screen: 0
      OpenGL vendor string: Advanced Micro Devices, Inc.
      OpenGL renderer string: AMD Radeon HD 7900 Series
      OpenGL version string: 4.2.11762 Compatibility Profile Context
      

       

      trace:

      strace clinfo
      execve("/usr/bin/clinfo", ["clinfo"], [/* 19 vars */]) = 0
      brk(0)                                  = 0x1854000
      access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
      mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f46358e3000
      access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
      open("tls/x86_64/libOpenCL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("tls/libOpenCL.so.1", O_RDONLY)    = -1 ENOENT (No such file or directory)
      open("x86_64/libOpenCL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("libOpenCL.so.1", O_RDONLY)        = -1 ENOENT (No such file or directory)
      open("/opt/AMDAPP/lib/x86_64/tls/x86_64/libOpenCL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
      stat("/opt/AMDAPP/lib/x86_64/tls/x86_64", 0x7fffda0c5510) = -1 ENOENT (No such file or directory)
      open("/opt/AMDAPP/lib/x86_64/tls/libOpenCL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
      stat("/opt/AMDAPP/lib/x86_64/tls", 0x7fffda0c5510) = -1 ENOENT (No such file or directory)
      open("/opt/AMDAPP/lib/x86_64/x86_64/libOpenCL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
      stat("/opt/AMDAPP/lib/x86_64/x86_64", 0x7fffda0c5510) = -1 ENOENT (No such file or directory)
      open("/opt/AMDAPP/lib/x86_64/libOpenCL.so.1", O_RDONLY) = 3
      read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\37\0\0\0\0\0\0"..., 832) = 832
      fstat(3, {st_mode=S_IFREG|0644, st_size=23720, ...}) = 0
      mmap(NULL, 2119008, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f46354c0000
      mprotect(0x7f46354c6000, 2093056, PROT_NONE) = 0
      mmap(0x7f46356c5000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7f46356c5000
      close(3)                                = 0
      open("tls/x86_64/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("tls/libpthread.so.0", O_RDONLY)   = -1 ENOENT (No such file or directory)
      open("x86_64/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("libpthread.so.0", O_RDONLY)       = -1 ENOENT (No such file or directory)
      open("/opt/AMDAPP/lib/x86_64/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/opt/AMDAPP/lib/x86/tls/x86_64/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
      stat("/opt/AMDAPP/lib/x86/tls/x86_64", 0x7fffda0c54e0) = -1 ENOENT (No such file or directory)
      open("/opt/AMDAPP/lib/x86/tls/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
      stat("/opt/AMDAPP/lib/x86/tls", 0x7fffda0c54e0) = -1 ENOENT (No such file or directory)
      open("/opt/AMDAPP/lib/x86/x86_64/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
      stat("/opt/AMDAPP/lib/x86/x86_64", 0x7fffda0c54e0) = -1 ENOENT (No such file or directory)
      open("/opt/AMDAPP/lib/x86/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
      stat("/opt/AMDAPP/lib/x86", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
      open("/etc/ld.so.cache", O_RDONLY)      = 3
      fstat(3, {st_mode=S_IFREG|0644, st_size=26394, ...}) = 0
      mmap(NULL, 26394, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f46358dc000
      close(3)                                = 0
      access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
      open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY) = 3
      read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\\\0\0\0\0\0\0"..., 832) = 832
      fstat(3, {st_mode=S_IFREG|0755, st_size=131107, ...}) = 0
      mmap(NULL, 2208672, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f46352a4000
      mprotect(0x7f46352bb000, 2093056, PROT_NONE) = 0
      mmap(0x7f46354ba000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7f46354ba000
      mmap(0x7f46354bc000, 13216, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f46354bc000
      close(3)                                = 0
      open("tls/x86_64/libm.so.6", O_RDONLY)  = -1 ENOENT (No such file or directory)
      open("tls/libm.so.6", O_RDONLY)         = -1 ENOENT (No such file or directory)
      open("x86_64/libm.so.6", O_RDONLY)      = -1 ENOENT (No such file or directory)
      open("libm.so.6", O_RDONLY)             = -1 ENOENT (No such file or directory)
      open("/opt/AMDAPP/lib/x86_64/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/opt/AMDAPP/lib/x86/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
      access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
      open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY) = 3
      read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360>\0\0\0\0\0\0"..., 832) = 832
      fstat(3, {st_mode=S_IFREG|0644, st_size=530736, ...}) = 0
      mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f46358db000
      mmap(NULL, 2625768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4635022000
      mprotect(0x7f46350a3000, 2093056, PROT_NONE) = 0
      mmap(0x7f46352a2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x80000) = 0x7f46352a2000
      close(3)                                = 0
      open("tls/x86_64/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("tls/libdl.so.2", O_RDONLY)        = -1 ENOENT (No such file or directory)
      open("x86_64/libdl.so.2", O_RDONLY)     = -1 ENOENT (No such file or directory)
      open("libdl.so.2", O_RDONLY)            = -1 ENOENT (No such file or directory)
      open("/opt/AMDAPP/lib/x86_64/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/opt/AMDAPP/lib/x86/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
      access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
      open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY) = 3
      read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\r\0\0\0\0\0\0"..., 832) = 832
      fstat(3, {st_mode=S_IFREG|0644, st_size=14768, ...}) = 0
      mmap(NULL, 2109696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4634e1e000
      mprotect(0x7f4634e20000, 2097152, PROT_NONE) = 0
      mmap(0x7f4635020000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f4635020000
      close(3)                                = 0
      open("tls/x86_64/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("tls/libgcc_s.so.1", O_RDONLY)     = -1 ENOENT (No such file or directory)
      open("x86_64/libgcc_s.so.1", O_RDONLY)  = -1 ENOENT (No such file or directory)
      open("libgcc_s.so.1", O_RDONLY)         = -1 ENOENT (No such file or directory)
      open("/opt/AMDAPP/lib/x86_64/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/opt/AMDAPP/lib/x86/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
      access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
      open("/lib/x86_64-linux-gnu/libgcc_s.so.1", O_RDONLY) = 3
      read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p.\0\0\0\0\0\0"..., 832) = 832
      fstat(3, {st_mode=S_IFREG|0644, st_size=89056, ...}) = 0
      mmap(NULL, 2184824, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4634c08000
      mprotect(0x7f4634c1d000, 2097152, PROT_NONE) = 0
      mmap(0x7f4634e1d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7f4634e1d000
      close(3)                                = 0
      open("tls/x86_64/libc.so.6", O_RDONLY)  = -1 ENOENT (No such file or directory)
      open("tls/libc.so.6", O_RDONLY)         = -1 ENOENT (No such file or directory)
      open("x86_64/libc.so.6", O_RDONLY)      = -1 ENOENT (No such file or directory)
      open("libc.so.6", O_RDONLY)             = -1 ENOENT (No such file or directory)
      open("/opt/AMDAPP/lib/x86_64/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/opt/AMDAPP/lib/x86/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
      access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
      open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY) = 3
      read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\357\1\0\0\0\0\0"..., 832) = 832
      fstat(3, {st_mode=S_IFREG|0755, st_size=1595408, ...}) = 0
      mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f46358da000
      mmap(NULL, 3709016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f463487e000
      mprotect(0x7f46349fe000, 2097152, PROT_NONE) = 0
      mmap(0x7f4634bfe000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x180000) = 0x7f4634bfe000
      mmap(0x7f4634c03000, 18520, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4634c03000
      close(3)                                = 0
      mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f46358d9000
      mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f46358d8000
      mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f46358d7000
      arch_prctl(ARCH_SET_FS, 0x7f46358d8700) = 0
      mprotect(0x7f4634bfe000, 16384, PROT_READ) = 0
      mprotect(0x7f4635020000, 4096, PROT_READ) = 0
      mprotect(0x7f46352a2000, 4096, PROT_READ) = 0
      mprotect(0x7f46354ba000, 4096, PROT_READ) = 0
      mprotect(0x7f46358e5000, 4096, PROT_READ) = 0
      munmap(0x7f46358dc000, 26394)           = 0
      set_tid_address(0x7f46358d89d0)         = 4448
      set_robust_list(0x7f46358d89e0, 0x18)   = 0
      futex(0x7fffda0c5dfc, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7f46358d8700) = -1 EAGAIN (Resource temporarily unavailable)
      rt_sigaction(SIGRTMIN, {0x7f46352a9ad0, [], SA_RESTORER|SA_SIGINFO, 0x7f46352b3030}, NULL, 8) = 0
      rt_sigaction(SIGRT_1, {0x7f46352a9b60, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f46352b3030}, NULL, 8) = 0
      rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
      getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
      brk(0)                                  = 0x1854000
      brk(0x1875000)                          = 0x1875000
      fcntl(0, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
      fstat(0, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
      fcntl(1, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
      fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
      fcntl(2, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
      fstat(2, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
      fcntl(2, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
      fstat(2, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
      open("/etc/OpenCL/vendors", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
      getdents(3, /* 4 entries */, 32768)     = 112
      open("/etc/OpenCL/vendors/amdocl64.icd", O_RDONLY) = 4
      fstat(4, {st_mode=S_IFREG|0755, st_size=15, ...}) = 0
      mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f46358e2000
      fstat(4, {st_mode=S_IFREG|0755, st_size=15, ...}) = 0
      lseek(4, 0, SEEK_SET)                   = 0
      read(4, "libamdocl64.so\n", 15)         = 15
      lseek(4, 15, SEEK_SET)                  = 15
      futex(0x7f46350210ec, FUTEX_WAKE_PRIVATE, 2147483647) = 0
      open("tls/x86_64/libamdocl64.so", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("tls/libamdocl64.so", O_RDONLY)    = -1 ENOENT (No such file or directory)
      open("x86_64/libamdocl64.so", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("libamdocl64.so", O_RDONLY)        = -1 ENOENT (No such file or directory)
      open("/opt/AMDAPP/lib/x86_64/libamdocl64.so", O_RDONLY) = 5
      read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\3657\0\0\0\0\0"..., 832) = 832
      fstat(5, {st_mode=S_IFREG|0644, st_size=37294832, ...}) = 0
      mmap(NULL, 40524584, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x7f46321d8000
      mprotect(0x7f46342fe000, 2093056, PROT_NONE) = 0
      mmap(0x7f46344fd000, 2539520, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x2125000) = 0x7f46344fd000
      mmap(0x7f4634769000, 1133352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4634769000
      close(5)                                = 0
      open("tls/x86_64/librt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("tls/librt.so.1", O_RDONLY)        = -1 ENOENT (No such file or directory)
      open("x86_64/librt.so.1", O_RDONLY)     = -1 ENOENT (No such file or directory)
      open("librt.so.1", O_RDONLY)            = -1 ENOENT (No such file or directory)
      open("/opt/AMDAPP/lib/x86_64/librt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/opt/AMDAPP/lib/x86/librt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/etc/ld.so.cache", O_RDONLY)      = 5
      fstat(5, {st_mode=S_IFREG|0644, st_size=26394, ...}) = 0
      mmap(NULL, 26394, PROT_READ, MAP_PRIVATE, 5, 0) = 0x7f46358d0000
      close(5)                                = 0
      access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
      open("/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY) = 5
      read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220!\0\0\0\0\0\0"..., 832) = 832
      fstat(5, {st_mode=S_IFREG|0644, st_size=31744, ...}) = 0
      mmap(NULL, 2128856, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x7f4631fd0000
      mprotect(0x7f4631fd7000, 2093056, PROT_NONE) = 0
      mmap(0x7f46321d6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x6000) = 0x7f46321d6000
      close(5)                                = 0
      mprotect(0x7f46321d6000, 4096, PROT_READ) = 0
      open("/sys/devices/system/cpu", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 5
      getdents(5, /* 16 entries */, 32768)    = 480
      getdents(5, /* 0 entries */, 32768)     = 0
      close(5)                                = 0
      rt_sigaction(SIGFPE, {0x7f4632595ff0, ~[RTMIN RT_1], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f46352b3030}, {SIG_DFL, [], 0}, 8) = 0
      open("/proc/self/maps", O_RDONLY)       = 5
      getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
      fstat(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
      mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f46358e1000
      read(5, "00400000-00465000 r-xp 00000000 "..., 1024) = 1024
      read(5, "      /opt/AMDAPP/lib/x86_64/lib"..., 1024) = 1024
      read(5, "f4635020000 ---p 00002000 08:02 "..., 1024) = 1024
      read(5, "5                     /lib/x86_6"..., 1024) = 1024
      read(5, "        /lib/x86_64-linux-gnu/ld"..., 1024) = 335
      close(5)                                = 0
      munmap(0x7f46358e1000, 4096)            = 0
      sched_getaffinity(4448, 32, {3, 0, 0, 0}) = 32
      fcntl(0, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
      fstat(0, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
      fcntl(1, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
      fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
      fcntl(2, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
      fstat(2, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
      fcntl(2, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
      fstat(2, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
      brk(0x1896000)                          = 0x1896000
      munmap(0x7f46358d0000, 26394)           = 0
      open("/sys/devices/system/cpu", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 5
      getdents(5, /* 16 entries */, 32768)    = 480
      getdents(5, /* 0 entries */, 32768)     = 0
      close(5)                                = 0
      open("tls/x86_64/libatiuki.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("tls/libatiuki.so.1", O_RDONLY)    = -1 ENOENT (No such file or directory)
      open("x86_64/libatiuki.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("libatiuki.so.1", O_RDONLY)        = -1 ENOENT (No such file or directory)
      open("/opt/AMDAPP/lib/x86_64/libatiuki.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/opt/AMDAPP/lib/x86/libatiuki.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/etc/ld.so.cache", O_RDONLY)      = 5
      fstat(5, {st_mode=S_IFREG|0644, st_size=26394, ...}) = 0
      mmap(NULL, 26394, PROT_READ, MAP_PRIVATE, 5, 0) = 0x7f46358d0000
      close(5)                                = 0
      access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
      open("/usr/lib/x86_64-linux-gnu/libatiuki.so.1", O_RDONLY) = 5
      read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300)\0\0\0\0\0\0"..., 832) = 832
      fstat(5, {st_mode=S_IFREG|0644, st_size=34352, ...}) = 0
      mmap(NULL, 1083688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x7f46357c7000
      mprotect(0x7f46357ce000, 1048576, PROT_NONE) = 0
      mmap(0x7f46358ce000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x7000) = 0x7f46358ce000
      mmap(0x7f46358cf000, 2344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f46358cf000
      close(5)                                = 0
      munmap(0x7f46358d0000, 26394)           = 0
      open("/proc/ati/major", O_RDONLY)       = 5
      fstat(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
      mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f46358e1000
      read(5, "250\n", 1024)                  = 4
      close(5)                                = 0
      munmap(0x7f46358e1000, 4096)            = 0
      open("/proc/ati/major", O_RDONLY)       = 5
      fstat(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
      mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f46358e1000
      read(5, "250\n", 1024)                  = 4
      close(5)                                = 0
      munmap(0x7f46358e1000, 4096)            = 0
      open("/proc/ati/major", O_RDONLY)       = 5
      fstat(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
      mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f46358e1000
      read(5, "250\n", 1024)                  = 4
      close(5)                                = 0
      munmap(0x7f46358e1000, 4096)            = 0
      geteuid()                               = 0
      stat("/dev/ati", {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
      stat("/dev/ati/card0", {st_mode=S_IFCHR|0666, st_rdev=makedev(250, 0), ...}) = 0
      open("/dev/ati/card0", O_RDWR)          = 5
      ioctl(5, 0xc0406400, 0x1873830)         = 0
      ioctl(5, 0xc0406400, 0x1873830)         = 0
      ioctl(5, 0xc0106401, 0x7fffda0c44b0)    = 0
      ioctl(5, 0xc0106401, 0x7fffda0c44b0)    = 0
      close(5)                                = 0
      geteuid()                               = 0
      stat("/dev/ati", {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
      stat("/dev/ati/card1", 0x7fffda0c4410)  = -1 ENOENT (No such file or directory)
      unlink("/dev/ati/card1")                = -1 ENOENT (No such file or directory)
      mknod("/dev/ati/card1", S_IFCHR|0666, makedev(250, 1)) = 0
      open("/dev/ati/card1", O_RDWR)          = -1 ENODEV (No such device)
      unlink("/dev/ati/card1")                = 0
      mknod("/dev/ati/card1", S_IFCHR|0666, makedev(250, 1)) = 0
      open("/dev/ati/card1", O_RDWR)          = -1 ENODEV (No such device)
      unlink("/dev/ati/card1")                = 0
      geteuid()                               = 0
      stat("/dev/ati", {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
      stat("/dev/ati/card2", 0x7fffda0c4410)  = -1 ENOENT (No such file or directory)
      unlink("/dev/ati/card2")                = -1 ENOENT (No such file or directory)
      mknod("/dev/ati/card2", S_IFCHR|0666, makedev(250, 2)) = 0
      open("/dev/ati/card2", O_RDWR)          = -1 ENODEV (No such device)
      unlink("/dev/ati/card2")                = 0
      mknod("/dev/ati/card2", S_IFCHR|0666, makedev(250, 2)) = 0
      open("/dev/ati/card2", O_RDWR)          = -1 ENODEV (No such device)
      unlink("/dev/ati/card2")                = 0
      geteuid()                               = 0
      stat("/dev/ati", {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
      stat("/dev/ati/card3", 0x7fffda0c4410)  = -1 ENOENT (No such file or directory)
      unlink("/dev/ati/card3")                = -1 ENOENT (No such file or directory)
      mknod("/dev/ati/card3", S_IFCHR|0666, makedev(250, 3)) = 0
      open("/dev/ati/card3", O_RDWR)          = -1 ENODEV (No such device)
      unlink("/dev/ati/card3")                = 0
      mknod("/dev/ati/card3", S_IFCHR|0666, makedev(250, 3)) = 0
      open("/dev/ati/card3", O_RDWR)          = -1 ENODEV (No such device)
      unlink("/dev/ati/card3")                = 0
      geteuid()                               = 0
      stat("/dev/ati", {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
      stat("/dev/ati/card4", 0x7fffda0c4410)  = -1 ENOENT (No such file or directory)
      unlink("/dev/ati/card4")                = -1 ENOENT (No such file or directory)
      mknod("/dev/ati/card4", S_IFCHR|0666, makedev(250, 4)) = 0
      open("/dev/ati/card4", O_RDWR)          = -1 ENODEV (No such device)
      unlink("/dev/ati/card4")                = 0
      mknod("/dev/ati/card4", S_IFCHR|0666, makedev(250, 4)) = 0
      open("/dev/ati/card4", O_RDWR)          = -1 ENODEV (No such device)
      unlink("/dev/ati/card4")                = 0
      geteuid()                               = 0
      stat("/dev/ati", {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
      stat("/dev/ati/card5", 0x7fffda0c4410)  = -1 ENOENT (No such file or directory)
      unlink("/dev/ati/card5")                = -1 ENOENT (No such file or directory)
      mknod("/dev/ati/card5", S_IFCHR|0666, makedev(250, 5)) = 0
      open("/dev/ati/card5", O_RDWR)          = -1 ENODEV (No such device)
      unlink("/dev/ati/card5")                = 0
      mknod("/dev/ati/card5", S_IFCHR|0666, makedev(250, 5)) = 0
      open("/dev/ati/card5", O_RDWR)          = -1 ENODEV (No such device)
      unlink("/dev/ati/card5")                = 0
      geteuid()                               = 0
      stat("/dev/ati", {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
      stat("/dev/ati/card6", 0x7fffda0c4410)  = -1 ENOENT (No such file or directory)
      unlink("/dev/ati/card6")                = -1 ENOENT (No such file or directory)
      mknod("/dev/ati/card6", S_IFCHR|0666, makedev(250, 6)) = 0
      open("/dev/ati/card6", O_RDWR)          = -1 ENODEV (No such device)
      unlink("/dev/ati/card6")                = 0
      mknod("/dev/ati/card6", S_IFCHR|0666, makedev(250, 6)) = 0
      open("/dev/ati/card6", O_RDWR)          = -1 ENODEV (No such device)
      unlink("/dev/ati/card6")                = 0
      geteuid()                               = 0
      stat("/dev/ati", {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
      stat("/dev/ati/card7", 0x7fffda0c4410)  = -1 ENOENT (No such file or directory)
      unlink("/dev/ati/card7")                = -1 ENOENT (No such file or directory)
      mknod("/dev/ati/card7", S_IFCHR|0666, makedev(250, 7)) = 0
      open("/dev/ati/card7", O_RDWR)          = -1 ENODEV (No such device)
      unlink("/dev/ati/card7")                = 0
      mknod("/dev/ati/card7", S_IFCHR|0666, makedev(250, 7)) = 0
      open("/dev/ati/card7", O_RDWR)          = -1 ENODEV (No such device)
      unlink("/dev/ati/card7")                = 0
      geteuid()                               = 0
      stat("/dev/ati", {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
      stat("/dev/ati/card8", 0x7fffda0c4410)  = -1 ENOENT (No such file or directory)
      unlink("/dev/ati/card8")                = -1 ENOENT (No such file or directory)
      mknod("/dev/ati/card8", S_IFCHR|0666, makedev(250, 8)) = 0
      open("/dev/ati/card8", O_RDWR)          = -1 ENODEV (No such device)
      unlink("/dev/ati/card8")                = 0
      mknod("/dev/ati/card8", S_IFCHR|0666, makedev(250, 8)) = 0
      open("/dev/ati/card8", O_RDWR)          = -1 ENODEV (No such device)
      unlink("/dev/ati/card8")                = 0
      geteuid()                               = 0
      stat("/dev/ati", {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
      stat("/dev/ati/card9", 0x7fffda0c4410)  = -1 ENOENT (No such file or directory)
      unlink("/dev/ati/card9")                = -1 ENOENT (No such file or directory)
      mknod("/dev/ati/card9", S_IFCHR|0666, makedev(250, 9)) = 0
      open("/dev/ati/card9", O_RDWR)          = -1 ENODEV (No such device)
      unlink("/dev/ati/card9")                = 0
      mknod("/dev/ati/card9", S_IFCHR|0666, makedev(250, 9)) = 0
      open("/dev/ati/card9", O_RDWR)          = -1 ENODEV (No such device)
      unlink("/dev/ati/card9")                = 0
      geteuid()                               = 0
      stat("/dev/ati", {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
      stat("/dev/ati/card10", 0x7fffda0c4410) = -1 ENOENT (No such file or directory)
      unlink("/dev/ati/card10")               = -1 ENOENT (No such file or directory)
      mknod("/dev/ati/card10", S_IFCHR|0666, makedev(250, 10)) = 0
      open("/dev/ati/card10", O_RDWR)         = -1 ENODEV (No such device)
      unlink("/dev/ati/card10")               = 0
      mknod("/dev/ati/card10", S_IFCHR|0666, makedev(250, 10)) = 0
      open("/dev/ati/card10", O_RDWR)         = -1 ENODEV (No such device)
      unlink("/dev/ati/card10")               = 0
      geteuid()                               = 0
      stat("/dev/ati", {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
      stat("/dev/ati/card11", 0x7fffda0c4410) = -1 ENOENT (No such file or directory)
      unlink("/dev/ati/card11")               = -1 ENOENT (No such file or directory)
      mknod("/dev/ati/card11", S_IFCHR|0666, makedev(250, 11)) = 0
      open("/dev/ati/card11", O_RDWR)         = -1 ENODEV (No such device)
      unlink("/dev/ati/card11")               = 0
      mknod("/dev/ati/card11", S_IFCHR|0666, makedev(250, 11)) = 0
      open("/dev/ati/card11", O_RDWR)         = -1 ENODEV (No such device)
      unlink("/dev/ati/card11")               = 0
      geteuid()                               = 0
      stat("/dev/ati", {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
      stat("/dev/ati/card12", 0x7fffda0c4410) = -1 ENOENT (No such file or directory)
      unlink("/dev/ati/card12")               = -1 ENOENT (No such file or directory)
      mknod("/dev/ati/card12", S_IFCHR|0666, makedev(250, 12)) = 0
      open("/dev/ati/card12", O_RDWR)         = -1 ENODEV (No such device)
      unlink("/dev/ati/card12")               = 0
      mknod("/dev/ati/card12", S_IFCHR|0666, makedev(250, 12)) = 0
      open("/dev/ati/card12", O_RDWR)         = -1 ENODEV (No such device)
      unlink("/dev/ati/card12")               = 0
      geteuid()                               = 0
      stat("/dev/ati", {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
      stat("/dev/ati/card13", 0x7fffda0c4410) = -1 ENOENT (No such file or directory)
      unlink("/dev/ati/card13")               = -1 ENOENT (No such file or directory)
      mknod("/dev/ati/card13", S_IFCHR|0666, makedev(250, 13)) = 0
      open("/dev/ati/card13", O_RDWR)         = -1 ENODEV (No such device)
      unlink("/dev/ati/card13")               = 0
      mknod("/dev/ati/card13", S_IFCHR|0666, makedev(250, 13)) = 0
      open("/dev/ati/card13", O_RDWR)         = -1 ENODEV (No such device)
      unlink("/dev/ati/card13")               = 0
      geteuid()                               = 0
      stat("/dev/ati", {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
      stat("/dev/ati/card14", 0x7fffda0c4410) = -1 ENOENT (No such file or directory)
      unlink("/dev/ati/card14")               = -1 ENOENT (No such file or directory)
      mknod("/dev/ati/card14", S_IFCHR|0666, makedev(250, 14)) = 0
      open("/dev/ati/card14", O_RDWR)         = -1 ENODEV (No such device)
      unlink("/dev/ati/card14")               = 0
      mknod("/dev/ati/card14", S_IFCHR|0666, makedev(250, 14)) = 0
      open("/dev/ati/card14", O_RDWR)         = -1 ENODEV (No such device)
      unlink("/dev/ati/card14")               = 0
      geteuid()                               = 0
      stat("/dev/ati", {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
      stat("/dev/ati/card15", 0x7fffda0c4410) = -1 ENOENT (No such file or directory)
      unlink("/dev/ati/card15")               = -1 ENOENT (No such file or directory)
      mknod("/dev/ati/card15", S_IFCHR|0666, makedev(250, 15)) = 0
      open("/dev/ati/card15", O_RDWR)         = -1 ENODEV (No such device)
      unlink("/dev/ati/card15")               = 0
      mknod("/dev/ati/card15", S_IFCHR|0666, makedev(250, 15)) = 0
      open("/dev/ati/card15", O_RDWR)         = -1 ENODEV (No such device)
      unlink("/dev/ati/card15")               = 0
      open("/proc/ati/0/name", O_RDONLY)      = 5
      read(5, "fglrx 0xfa00000 PCI:1:0:0\n", 511) = 26
      close(5)                                = 0
      open("/proc/ati/major", O_RDONLY)       = 5
      fstat(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
      mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f46358e1000
      read(5, "250\n", 1024)                  = 4
      close(5)                                = 0
      munmap(0x7f46358e1000, 4096)            = 0
      geteuid()                               = 0
      stat("/dev/ati", {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
      stat("/dev/ati/card0", {st_mode=S_IFCHR|0666, st_rdev=makedev(250, 0), ...}) = 0
      open("/dev/ati/card0", O_RDWR)          = 5
      ioctl(5, 0xc0106407, 0x7fffda0c4420)    = -1 EINVAL (Invalid argument)
      ioctl(5, 0xc0106401, 0x7fffda0c4420)    = 0
      ioctl(5, 0xc0106401, 0x7fffda0c4420)    = 0
      --- SIGSEGV (Segmentation fault) @ 0 (0) ---
      +++ killed by SIGSEGV +++
      Segmentation fault