-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash under Linux: free(): invalid pointer #257
Comments
This error doesn't happen on my system, but I will see what I can do.
|
I just compiled from latest release. |
Probably I have a similar issue #254 |
Is this also happening if you try this? |
I have just tried mining lyra2v2 with -i 20 for about 10 minutes, but there's no error (Ubuntu 16.04) |
@KlausT benchmarking seems working fine, with neoscrypt at least.
|
I can't find anything wrong in the code. |
I built the miner with debug symbols:
However, I don't know how to use gdb properly to debug this thing... Some more gdb:
Same thing with lyra2v2:
Sorry for long copy-pastes... |
I suspect it has something to do with this: Line 183 in 864551c
Maybe GCC 7.3 is behaving differently than older versions. |
For me it looks like a bit of mess doing some pointer math... As I understand, |
Yeah. Actually, the whole tq_pop / tq_push thing is a mess. |
I have made a small change to make it more compatible, but I don't know if it works for you now. |
@KlausT thanks a lot! I will try it and report back. |
Compiled latest commit and it still has the same problem
|
Still fails after the commit:
PS. As far as I remember, this started after cuda-9.2 update. Maybe it's related, don't know... |
I have no idea what could be wrong. |
Maybe it's possible to add some debug prints in the code? |
Sometimes it takes a while until I have more ideas what could be wrong :-) |
Nope, still fails...
|
I have just learned that under Linux there's the environment variable MALLOC_CHECK_ |
I can make an nvOC test image for you and give you ssh access if you want. |
Do you see this text when you start ccminer?
|
Nope, I haven't seen those message |
I have upgraded to ubuntu 18.04 and now it gives me this error
|
Can you send your linux compiled so we test that? |
Here's my binary: |
I used autogen.sh , configure.sh then build.sh With your binary it stops with
|
That's really wierd. |
By the way, I have an Intel i5 4570 with 16GB RAM. |
I tested on i3 with 8gb ram, don't think that's relevant. |
I will try |
|
My |
This error |
Short summary of what I found out: |
Good news: It seems to work with Ubuntu 20.04 LTS. Don't ask me why. |
Whatever I do I get these errors on 8.22
Tested on lyra2v2 and neoscrypt algos
Ubuntu 16.04.5, cuda-9.2
The text was updated successfully, but these errors were encountered: