| Summary: | Opening Git->Revision graph crashes KDevelop | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Daniel Vrátil <dvratil> |
| Component: | general | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | crash | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | 4.3.0 | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Daniel Vrátil
2013-01-15 11:08:57 UTC
On what repository does this happen - can I access it to reproduce it? Otherwise, could you add this in front of the Q_ASSERT in GitPlugin::initBranchHash: qDebug() << job->dvcsCommand(); Then compile kdevplatform's git plugin and install it and try to reproduce. Look at the CLI output, in front of the assertion it should show the git command it tried to execute. What is it? If you run it from a console, what does it output? Thanks I'm only able to reproduce this on my local clone of kscreen.git repo. I tried cloning the repo again and the crash is gone, so the old clone was probably corrupted.
Anyway I think that KDevelop should not crash just because an external command failed.
Relevant console output with the added qDebug():
kdevelop(23456)/kdevplatform (vcs) KDevelop::DVcsJob::start: Execute dvcs command: ("git", "branch", "-a")
kdevelop(23456)/kdevplatform (standardoutputview) StandardOutputView::registerToolView: Registering view "Version Control" with type: 1 id: 0
kdevelop(23456)/kdevplatform (shell) KDevelop::UiController::addToolView:
kdevelop(23456)/kdevplatform (standardoutputview) OutputWidget::createListView: creating listview
kdevelop(23456)/kdevplatform (git) GitPlugin::initBranchHash: BRANCHES: ("__release", "kded", "master", "plasma", "saveWhenNeeded", "remotes/origin/kded", "remotes/origin/master", "remotes/origin/plasma", "remotes/origin/preferredDoneRight", "remotes/origin/saveWhenNeeded")
kdevelop(23456)/kdevplatform (vcs) KDevelop::DVcsJob::start: Execute dvcs command: ("git", "symbolic-ref", "HEAD")
kdevelop(23456)/kdevplatform (vcs) KDevelop::DVcsJob::start: Execute dvcs command: ("git", "rev-list", "master")
("git", "rev-list", "master")
kdevelop(23456)/kdevplatform (vcs) KDevelop::DVcsJob::start: Execute dvcs command: ("git", "rev-list", "__release", "^kded", "^master", "^plasma", "^saveWhenNeeded", "^remotes/origin/kded", "^remotes/origin/master", "^remotes/origin/plasma", "^remotes/origin/preferredDoneRight", "^remotes/origin/saveWhenNeeded")
kdevelop(23456)/kdevplatform (vcs) KDevelop::DVcsJob::slotProcessError: oops, found an error while running ("git", "rev-list", "__release", "^kded", "^master", "^plasma", "^saveWhenNeeded", "^remotes/origin/kded", "^remotes/origin/master", "^remotes/origin/plasma", "^remotes/origin/preferredDoneRight", "^remotes/origin/saveWhenNeeded") : "UnknownError" Exit code is: 128
kdevelop(23456)/kdevplatform (standardoutputview) OutputWidget::createListView: creating listview
("git", "rev-list", "__release", "^kded", "^master", "^plasma", "^saveWhenNeeded", "^remotes/origin/kded", "^remotes/origin/master", "^remotes/origin/plasma", "^remotes/origin/preferredDoneRight", "^remotes/origin/saveWhenNeeded")
ASSERT: "ret && job->status()==VcsJob::JobSucceeded && "TODO: provide a fall back in case of failing"" in file /home/data/clones/kdevplatform/plugins/git/gitplugin.cpp, line 910
KCrash: Applica
*** This bug has been marked as a duplicate of bug 278023 *** |