ThomasI

Linux: Segfault calInit() as user

Discussion created by ThomasI on Jul 3, 2008
Latest reply on Aug 7, 2008 by dholt

Hi,

 

we are running an AMD FireStream 9170 in a SLES10 SP 1 x64 system.

Unfortunately all Cal (and brook) programs segfault in calInit when they are ran as user while they execute correctly as root.

The user does have an authenticated connection to the local X server. The user is connected with ssh but DISPLAY=:0 and xauth added. LD_LIBRARY_PATH is the same for user and root-

Here is a debug output:

(gdb) run

Starting program: /usr/local/amdcal/bin/lnx64/FindNumDevices

(no debugging symbols found) x7

[Thread debugging using libthread_db enabled]

[New Thread 47708956238512 (LWP 6299)]

(no debugging symbols found) x5


Program received signal SIGSEGV, Segmentation fault.

[Switching to Thread 47708956238512 (LWP 6299)]

0x00002b641a1c7d9f in calclImageGetSize () from /usr/local/amdcal/lib64/libamdcalrt.so

(gdb) bt

#0 0x00002b641a1c7d9f in calclImageGetSize () from /usr/local/amdcal/lib64/libamdcalrt.so

#1 0x00002b641a1c4689 in calclImageGetSize () from /usr/local/amdcal/lib64/libamdcalrt.so

#2 0x00002b641a1c3e70 in calclImageGetSize () from /usr/local/amdcal/lib64/libamdcalrt.so

#3 0x00002b641a1c2b2e in calclImageGetSize () from /usr/local/amdcal/lib64/libamdcalrt.so

#4 0x00002b641a1b839a in calclImageGetSize () from /usr/local/amdcal/lib64/libamdcalrt.so

#5 0x00002b641a0ffb38 in calclImageGetSize () from /usr/local/amdcal/lib64/libamdcalrt.so

#6 0x00002b641a134139 in calclImageGetSize () from /usr/local/amdcal/lib64/libamdcalrt.so

#7 0x00002b641a1cfef8 in calclImageGetSize () from /usr/local/amdcal/lib64/libamdcalrt.so

#8 0x00002b641a1cce8d in calclImageGetSize () from /usr/local/amdcal/lib64/libamdcalrt.so

#9 0x00002b641a1cc429 in calclImageGetSize () from /usr/local/amdcal/lib64/libamdcalrt.so

#10 0x00002b641a1d3a45 in calInit () from /usr/local/amdcal/lib64/libamdcalrt.so

#11 0x0000000000402a4e in calclImageGetSize ()

#12 0x00002b641b0ba154 in __libc_start_main () from /lib64/libc.so.6

#13 0x0000000000401c2a in calclImageGetSize ()

#14 0x00007fff90b29898 in ?? ()

#15 0x0000000000000000 in ?? ()

 

Any kind of hints where to find the problem would be very appreciated.

Outcomes