Giter VIP home page Giter VIP logo

Comments (3)

davvid avatar davvid commented on May 26, 2024

models.gitrepo: Use a custom event type for GitRepoInfoEvents

We now give GitRepoInfoEvents a custom type() so that we can
tell them apart from builtin Qt events.

Closed by 2234cb2

Signed-off-by: David Aguilar [email protected]

from git-cola.

PyroBor avatar PyroBor commented on May 26, 2024

OK after some testing i figure it out that it doesn't "Segmentation fault" on all my repos and that it doesn't seg faults on fresh pulls. So after some exploring in which case it seg faults I found that untracked files are the problem. I can reproduce it on any repo that I got. Here is example of it in git-cola repo:


bor@bik git-cola 0 $ git status
# On branch master
nothing to commit (working directory clean)
bor@bik git-cola 1 $ bin/git-cola
bor@bik git-cola 0 $ echo "bla bla" > bla
bor@bik git-cola 0 $ git status
# On branch master
# Untracked files:
#   (use "git add ..." to include in what will be committed)
#
#       bla
nothing added to commit but untracked files present (use "git add" to track)
bor@bik git-cola 1 $ bin/git-cola
Segmentation fault
bor@bik git-cola 139 $ rm bla
bor@bik git-cola 0 $ bin/git-cola
bor@bik git-cola 0 $

That number is exit status. So the first time I run bin/git-cola it starts just fine and works. But after I add untracked file it doesn't work. After removing the file it works again.

from git-cola.

davvid avatar davvid commented on May 26, 2024

I just pushed a commit that fixes this and retains the classicdockwidget.
Let me know if it works for ya.

I was able to reproduce the segfault on F11 w/ PyQt4 4.5.4

from git-cola.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.