Skip to content
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

DiffMerge command line tool crashes with wxWidget stacktrace #13935

Closed
darkn3rd opened this issue Sep 22, 2015 · 4 comments
Closed

DiffMerge command line tool crashes with wxWidget stacktrace #13935

darkn3rd opened this issue Sep 22, 2015 · 4 comments

Comments

@darkn3rd
Copy link

SUMMARY: Installing diffmege with cask yields crashing program when typing diffmerge from the command line.

ACTUAL RESULTS: Install diffmerge (brew cask install diffmerge) and type diffmerge from the console:

$ diffmerge
/build/sgdm400/Apple/intel/Release_patched/wxWidgets-3.0.0-rc1/src/common/arrstr.cpp(368): assert "nIndex < m_nCount" failed in RemoveAt(): bad index in wxArrayString::Remove

In the graphical application, a dialog titled wxWidgets Debug Alert pops up and states:

/build/sgdm400/Apple/intel/Release_patched/wxWidgets-3.0.0-rc1/src/common/arrstr.cpp(368): assert "nIndex < m_nCount" failed in RemoveAt(): bad index in wxArrayString::Remove

Call stack:
[00] wxFileName::RemoveLastDir()             
[01] dlg_paid::~dlg_paid()                   
[02] dlg_paid::~dlg_paid()                   
[03] wxURI::~wxURI()                         
[04] wxHashTable::~wxHashTable()             
[05] dlg_paid::~dlg_paid()                   
[06] wxLogger::DoLogTrace(wxString const&, wchar_t const*, ...) 
[07] 0x00000001              

EXPECTED RESULTS: Well, no crash. After uninstalling with cask, and installing from the package, DiffMerge.4.2.0.697.intel.stable.pkg, I do not have the same user experience. Typing diffmerge from the command line doesn't crash.

@jawshooah
Copy link
Contributor

Closing as duplicate of #11056.

@darkn3rd
Copy link
Author

Note. My issue is a bug on a crash that is introduced by an installation by cask that would not normally occur in the originally product's installer. You closed this issue as a duplicate of an enhancement request.

@jawshooah
Copy link
Contributor

That's a fair point. I believe the label for that issue has been changed accordingly.

Have you tried just clicking "Cancel" when that error dialog shows up? I've been coping with this error for months, and it has never had any actual impact on the performance of the app.

@darkn3rd
Copy link
Author

darkn3rd commented Oct 9, 2015

The app runs, except when called from the command line and used with tools like git diff. As apart of our engineering process where I work, they use diffmerge with git. I cannot recommend installing that particular tool with cask (other tools I've tried work fine, and Java is working better now).

curl -O http://download-us.sourcegear.com/DiffMerge/4.2.0/DiffMerge.4.2.0.697.intel.stable.pkg
sudo installer -pkg ~/Downloads/DiffMerge.4.2.0.697.intel.stable.pkg -target /

@miccal miccal removed the duplicate label Dec 23, 2016
@Homebrew Homebrew locked and limited conversation to collaborators May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants