git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: qgit segfaults after b237b00

From
MCMarco Costalba <mcostalba@gmail.com>
Date
Sep 12, 2006, 17:39 UTC
Message-ID
<e5bfff550609121039h1ef25bc8y25186c321d555b8e@mail.gmail.com>
In-Reply-To
<45068577.2020608@op5.se>
Hi Andreas,
On 9/12/06, Andreas Ericsson <ae@op5.se> wrote:
> What subject says, really. Tried cold cache, hot cache, with and without
> qgit.dat, 3 different repos and 14 different repo-tips. Same result
> every time. A segfault before anything is drawn.
>

Sorry but I am not able to reproduce the bug here. Also from the trace I see that the segfault happens in a part of code that has not been touched by b237b00. And that _should_ not segfault in any way.

The code there is the same of qgit-1.5.1 so perhaps could be some platform related issue, please write me Qt and gcc versions and processor used and, in case, do a complete rebuild with also reconfiguration (autoreconf -i).

What about the current qgit HEAD (6128112f36) , could you reproduce the bug also there?

>From the trace I see the segfault occurs in main view constructor,

i.e. before to touch anything. So it is not related to a particular repository.

> c++ is a scary thing to me,

C++ is really scary not because we don't understand the code, but because we _think_ to understand what the code does ;-)

Principle of least surprise is not exactly one of the design cornerstones of C++, at least for normal people sense of surprise.

>
> btw, kudos for a great tool.
>
Thanks to you for using it, and reporting bugs.
Any suggestion is very appreciated!
  Marco
Previous: Andreas EricssonNext: Andreas Ericsson
Message 2 of 3 in “qgit segfaults after b237b00”
  1. Andreas EricssonSep 12, 2006
  2. Marco CostalbaSep 12, 2006
  3. Andreas EricssonSep 13, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.