Author

Topic: cgminer 3.5.1 core dump (Read 800 times)

newbie
Activity: 11
Merit: 0
October 30, 2013, 06:45:58 AM
#1
Hi, just trying to run cgminer on Ubuntu 13.10 with two GPUs and getting core dump. I've run it in gdb and here's the place where it's crashing:

Code:
[2013-10-30 12:36:30] Init GPU thread 0 GPU 0 virtual GPU 0                    
 [2013-10-30 12:36:30] CL Platform vendor: Advanced Micro Devices, Inc.                   
 [2013-10-30 12:36:30] CL Platform name: AMD Accelerated Parallel Processing                   
 [2013-10-30 12:36:30] CL Platform version: OpenCL 1.2 AMD-APP (1214.3)                   
 [2013-10-30 12:36:30] List of devices:                   
 [2013-10-30 12:36:30] 0 Cypress                   
 [2013-10-30 12:36:30] 1 Cedar                   
 [2013-10-30 12:36:30] Selected 0: Cypress                   
[New Thread 0xb00fdb40 (LWP 10115)]
 [2013-10-30 12:36:30] Preferred vector width reported 4                   
 [2013-10-30 12:36:30] Max work group size reported 256                   
 [2013-10-30 12:36:30] Max mem alloc size is 536870912                   
 [2013-10-30 12:36:30] Selecting scrypt kernel                   
 [2013-10-30 12:36:30] GPU 0: selecting lookup gap of 2                   
 [2013-10-30 12:36:30] GPU 0: selecting thread concurrency of 4032                   
 [2013-10-30 12:36:30] No binary found, generating from source                   
 [2013-10-30 12:36:30] Setting worksize to 64                   
 [2013-10-30 12:36:30] cl_amd_media_ops found, setting BITALIGN                   
 [2013-10-30 12:36:30] BFI_INT patch requiring device found, patched source with BFI_INT                   
 [2013-10-30 12:36:30] CompilerOptions: -D LOOKUP_GAP=2 -D CONCURRENT_THREADS=4032 -D WORKSIZE=64 -D BITALIGN -D BFI_INT -D GOFFSET                   
 [2013-10-30 12:36:53] Binary size for gpu 0 found in binary slot 0: 669956                   
 [2013-10-30 12:36:53] At 0x92b1680 (4290307980 rem. bytes), to begin patching                   

Program received signal SIGSEGV, Segmentation fault.
0x08090dd5 in patch_opcodes (w=0x92b1680
, remaining=8) at ocl.c:179
179 int clamp = (*opcode >> (32 + 31)) & 0x1;
(gdb) bt
#0  0x08090dd5 in patch_opcodes (w=0x92b1680
, remaining=8) at ocl.c:179
#1  0x080944bc in initCl (gpu=0, name=0xbfffd14c "Cypress", nameSize=256) at ocl.c:737
#2  0x0808f1ad in opencl_thread_prepare (thr=0x811f230) at driver-opencl.c:1336
#3  0x08070c14 in main (argc=1, argv=0xbffff694) at cgminer.c:8125

I realize it should go to the cgminer support forum... but as a new user I can't post there.
Jump to: