bash crashed with SIGSEGV in internal_malloc()

Bug #988045 reported by Ian! D. Allen
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bash (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

I was typing on the command line and backspacing and BOOM the shell (and enclosing rxvt) went away.
I can't ever remember crashing bash before.
I had noticed yesterday that this interactive bash had managed to use up way more cpu (over 30 minutes!) than my other two dozen bash shells in various windows:

bash DX idallen pts/3 1097.12 secs Tue Apr 17 01:52

The nearest bash in CPU use was 6 *seconds* of CPU. What is with this one?

I've also had Firefox crashes, so I'm not above believing that I have either memory issues (but memtest says I don't) or SSD issues (OCZ Vertex 2).

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: bash 4.2-0ubuntu3
ProcVersionSignature: Ubuntu 2.6.38-13.57-generic 2.6.38.8
Uname: Linux 2.6.38-13-generic x86_64
Architecture: amd64
Date: Tue Apr 24 17:26:16 2012
ExecutablePath: /bin/bash
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcCmdline: -bash
SegvAnalysis:
 Segfault happened at: 0x4a9d6b: callq 0x41ae20 <memset@plt>
 PC (0x004a9d6b) ok
 source "0x41ae20" (0x0041ae20) ok
 destination "(%rsp)" (0x7fff9e2cbf70) not located in a known VMA region (needed writable region)!
 Stack memory exhausted (SP below stack segment)
SegvReason: writing unknown VMA
Signal: 11
SourcePackage: bash
StacktraceTop:
 ?? ()
 xmalloc ()
 ?? ()
 rl_vi_change_to ()
 _rl_dispatch_subseq ()
Title: bash crashed with SIGSEGV in xmalloc()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout disk lpadmin plugdev sambashare video

Revision history for this message
Ian! D. Allen (idallen) wrote :
visibility: private → public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 internal_malloc (n=36, file=0x0, line=0, flags=<optimized out>) at /usr/include/bits/string3.h:85
 xmalloc (bytes=36) at ../bash/xmalloc.c:112
 _rl_mvcxt_alloc (op=2, key=99) at ../../../bash/lib/readline/vi_mode.c:1009
 rl_vi_change_to (count=<optimized out>, key=99) at ../../../bash/lib/readline/vi_mode.c:1310
 _rl_dispatch_subseq (key=99, map=0x6e68c0, got_subseq=0) at ../../../bash/lib/readline/readline.c:774

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in bash (Ubuntu):
importance: Undecided → Medium
summary: - bash crashed with SIGSEGV in xmalloc()
+ bash crashed with SIGSEGV in internal_malloc()
tags: removed: need-amd64-retrace
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in bash (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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