sgminer-dev / sgminer

Scrypt GPU miner
GNU General Public License v3.0
632 stars 827 forks source link

Crash Malloc smallbin double linked list corrupted #205

Closed evolvia31 closed 10 years ago

evolvia31 commented 10 years ago

Hi,

Today, I have all my rigs (8 rigs of 4x R9-280X) which has crashed with the same error message: * Error in `sgminer':: malloc(): smallbin double linked list corrupted: 0x00007fefa831a460 *

The last code change between rigs: 0xb1d635e or 0x00007fefa831a460.

After hard reboot and re-launch sgminer, 2 hours after all rigs crashed again. with the same error message.

I use an Ubuntu 13.04 with sgminer version: 4.1.271-24-ge32dc I don't know if it's important but when sgminer crash i'm mining on coinshift pool (http://coinshift.com/)

I trying to reproduce the crash but i can't. I don't know if a special pool or special craft packet which caused this crash or what else ?

If you need more information about my config tell me what you want.

mrbrdo commented 10 years ago

This will be extremely hard to debug I think. Any idea which version started having this problem?

luke-jr commented 10 years ago

I suggest using valgrind.

evolvia31 commented 10 years ago

Hi, To add more information, each sunday I pull the last github to update my sgminer soft. That's the first time sgminer crash with this message.

So if this is a new bug which has introduce in a recent patch, maybe between 26/04 and 3/05 patch. If sgminer crash again with the same bug again i try to use valgrind to find any things.

luke-jr commented 10 years ago

In the case of a regression, git bisect is also very useful.

evolvia31 commented 10 years ago

with the last version i can't reproduce this bug so i think it's over now. I close this ticket.