Skip to content
This repository has been archived by the owner on Feb 7, 2018. It is now read-only.

OS X - Can we switch the Mix binaries to be Debug? #546

Closed
bobsummerwill opened this issue Jun 1, 2016 · 20 comments · Fixed by ethereum/webthree-helpers#197
Closed

OS X - Can we switch the Mix binaries to be Debug? #546

bobsummerwill opened this issue Jun 1, 2016 · 20 comments · Fixed by ethereum/webthree-helpers#197
Assignees
Labels

Comments

@bobsummerwill
Copy link
Contributor

As a workaround for the Heisenbug, can we switch the OS X Mix binaries to be Debug?

See https://gitter.im/ethereum/cpp-ethereum-development?at=574f4d816bbc2d1d4df0560a

@bobsummerwill
Copy link
Contributor Author

Adding @ktorn, @SorenPeterson and @sussegaduss, all of whom are currently hindered by the broken El Capitan Mix binaries, and can then verify this workaround.

@bobsummerwill
Copy link
Contributor Author

See also #565 (Fix the Heisenbug!)

@SorenPeterson
Copy link

SorenPeterson commented Jun 9, 2016

Sorry, but I don't quite understand what the workaround is. Will you explain it to me?

@bobsummerwill
Copy link
Contributor Author

The workaround is something which I still need to do, and which this issue is tracking.

My workaround will be to switch our automation to use Debug configuration for our Mix.app file in the DMG, because that doesn't hit the Heisenbug.

I will be working on that today and will let you guys know when there is a DMG for you to try :-)

Sorry for the lack of clarity, @SorenPeterson!

@bobsummerwill bobsummerwill changed the title OS X - Can we switch the Mix binaries to be Debug OS X - Can we switch the Mix binaries to be Debug? Jun 9, 2016
@sussegaduss
Copy link

sussegaduss commented Jun 10, 2016

Hi all..

im not being able to download.. it downloads 2mb and then the connection get lost!
None of the links above works. All gets the same error.
Can you verify this?

@bobsummerwill
Copy link
Contributor Author

Nope - all 4 are working for me right now. Are you in a remote area? Is your network usually reliable?

@sussegaduss
Copy link

sussegaduss commented Jun 10, 2016

Downloaded and still getting the same error... before it opens i get "quit unexpectedly" again...

@ktorn
Copy link

ktorn commented Jun 10, 2016

I successfully downloaded both El Capitan DMGs, but on both occasions Mix still crashes on startup with the same error.
Currently building from source with cmake -DCMAKE_BUILD_TYPE=Debug as you suggested in #562, but I guess it will run into the same issue (assuming that's what you did with the above DMGs).

@bobsummerwill bobsummerwill reopened this Jun 10, 2016
@bobsummerwill
Copy link
Contributor Author

Bah! I see the issue now. Sorry, guys.

There are multiple branches with very similar looking code, and the fix was in the wrong place.

Around the loop again. Stay tuned, and I will give you a heads up when the DMGs are refreshed.

@ktorn
Copy link

ktorn commented Jun 10, 2016

Sorry to report that it still crashes.

The crash log shows that the thread number changed from 7 to 9 but it is still the same thread name QThread and still on the same call of the thread stack: dev::eth::PathGasMeter::handleQueueItem()

@bobsummerwill
Copy link
Contributor Author

Ugh. Bloody Heisenbug. Thanks for testing, @ktorn.

CC @VoR0220, @chriseth.

I have switched the OS X binaries to Debug, but we're still not happy. So I will close this issue, and add the people from this thread onto the Heisenbug issue.

@SorenPeterson
Copy link

It doesn't help everyone else... But that link (https://builds.ethereum.org/cpp-binaries-data/develop/cpp-ethereum-osx-elcapitan.dmg) worked for me. Thanks so much.

@bobsummerwill
Copy link
Contributor Author

Thanks for that follow-up, @SorenPeterson.

Please could you try again, @ktorn, with that "final location" DMG? It should work :-)

@ktorn
Copy link

ktorn commented Jun 11, 2016

Unfortunately it doesn't work for me. Still crashes.

Thread 7 Crashed:: QThread
0   libevmasm.dylib                 0x0000000108779259 dev::eth::PathGasMeter::handleQueueItem() + 2793

@bobsummerwill
Copy link
Contributor Author

@ktorn Please can you do a brew update and brew upgrade, please? You might be out-of-sync on those other packages compared to us.

@ktorn
Copy link

ktorn commented Jun 13, 2016

brew update and brew upgrade all done. brew doctor reports no warnings. Latest DMG still crashes, on 2 machines with El Capitan.
In the mean time I'm resorting to running it under Ubuntu in a VBox VM.

@bobsummerwill
Copy link
Contributor Author

Alrighty ... sorry our voodoo magic didn't work for you, @ktorn.

We've just got to find this Heisenbug and kill it!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants