gitg crashed with SIGSEGV in collapse_lane()

Bug #1056378 reported by dbkaplun
36
This bug affects 5 people
Affects Status Importance Assigned to Milestone
gitg (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

No further information.

ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: gitg 0.2.4-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-15.23-generic 3.5.4
Uname: Linux 3.5.0-15-generic x86_64
ApportVersion: 2.5.2-0ubuntu4
Architecture: amd64
CrashCounter: 1
Date: Tue Sep 25 14:07:16 2012
ExecutablePath: /usr/bin/gitg
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcCmdline: gitg
ProcEnviron:
 SHELL=/bin/bash
 TERM=screen-bce
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 LANGUAGE=en_US:en
SegvAnalysis:
 Segfault happened at: 0x445d6f <gitg_lanes_next+1071>: movzbl (%rax),%eax
 PC (0x00445d6f) ok
 source "(%rax)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%eax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: gitg
StacktraceTop:
 gitg_lanes_next ()
 ?? ()
 ?? ()
 g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
Title: gitg crashed with SIGSEGV in gitg_lanes_next()
UpgradeStatus: Upgraded to quantal on 2012-09-22 (3 days ago)
UserGroups: sudo

Revision history for this message
dbkaplun (dbkaplun) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 collapse_lane (index=1 '\001', container=0x18cfec0, lanes=0x17a6990) at gitg-lanes.c:412
 collapse_lanes (lanes=0x17a6990) at gitg-lanes.c:478
 gitg_lanes_next (lanes=0x17a6990, next=0x19171e0, nextpos=0x7fffbc79b47f "") at gitg-lanes.c:721
 append_revision (repository=0x1711eb0, rv=0x19171e0) at gitg-repository.c:870
 loader_update_commits (buffer=0x1a19b50, self=<optimized out>) at gitg-repository.c:1110

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in gitg (Ubuntu):
importance: Undecided → Medium
summary: - gitg crashed with SIGSEGV in gitg_lanes_next()
+ gitg crashed with SIGSEGV in collapse_lane()
tags: removed: need-amd64-retrace
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :

This can be reproduced by doing:
1/ git clone git://anongit.freedesktop.org/libreoffice/core
2/ open it with gitg
3/ switch to "all branches"

expected behavior:
- no crash

actual behavior:
- crash

information type: Private → Public
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :

find a patch that kills the stupid 8-bit signed micro optimization that needlessly limits to 128 lanes before integer overflowing.

Seems to be fixed accidentally in upstream master, but not in 0.2.5.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gitg (Ubuntu):
status: New → Confirmed
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :

please find linked branch with vendor patched version.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "patch against upstream 0.2.5" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
tags: added: trusty
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.