bibtool crashed with SIGSEGV in __libc_start_main()

Bug #798137 reported by Michael Schmidt
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
bibtool (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Binary package hint: bibtool

The last lines of error output before the segmentation fault are

 *** BibTool WARNING: (line 12 in ./semi-direct_product.bib): 176 non-space characters ignored.
Segmentation fault (core dumped)

I have attached the relevant bibtex file.

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: bibtool 2.48alpha.2-4build1
ProcVersionSignature: Ubuntu 2.6.39-0.5~20110427-generic 2.6.39-rc5
Uname: Linux 2.6.39-0-generic x86_64
Architecture: amd64
CrashCounter: 1
Date: Thu Jun 16 11:32:43 2011
ExecutablePath: /usr/bin/bibtool
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcCmdline: bibtool -i /home/username/Projects/references/AllReferences.bib -x paper.aux -o Michael.bib -- preserve.key.case=On
SegvAnalysis:
 Segfault happened at: 0x4120dd: movzbl 0x61cf80(%rax),%eax
 PC (0x004120dd) ok
 source "0x61cf80(%rax)" (0x10061cf62) not located in a known VMA region (needed readable region)!
 destination "%eax" ok
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: bibtool
StacktraceTop:
 ?? ()
 ?? ()
 ?? ()
 ?? ()
 __libc_start_main (main=0x401aa0, argc=9, ubp_av=0x7fffd344d8b8, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffd344d8a8) at libc-start.c:226
Title: bibtool crashed with SIGSEGV in __libc_start_main()
UpgradeStatus: Upgraded to natty on 2011-04-17 (59 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare src

Revision history for this message
Michael Schmidt (michaelschmidt-hd) wrote :
visibility: private → public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 case_cmp (s=0x21c9170 "\342\200\242", t=0x26ac470 "babu:2011bv") at type.c:106
 find_word (s=0x26ac470 "babu:2011bv", wl=0x21c91c0) at wordlist.c:176
 apply_aux (db=0x21cae00) at tex_aux.c:280
 main (argc=<value optimized out>, argv=<value optimized out>) at main.c:542

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 bibtool (Ubuntu):
importance: Undecided → Medium
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 bibtool (Ubuntu):
status: New → Confirmed
Revision history for this message
J C Nash (nashjc) wrote :

I get a segfault on an Asus UL30A laptop (Genuine Intel(R) CPU U7300) which is 64bit and running Ubuntu Lucid 10.04 (updated to .2) but not under same OS on AMD Phenom II X6 1090T. Tried purging and reinstalling bibtool.

Suggestions for test cases welcome.

JN

Revision history for this message
J C Nash (nashjc) wrote :

Further to above, I decided to get source (now version 2.53 while repository has 2.51) and built it. This did NOT give the segfault.

JN

Revision history for this message
cboettig (cboettig) wrote :

I get this error as well. Perhaps this is related to the static memory allocation? I seem to get this error with large bibfiles (e.g. ~1000 entries with abstracts)

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.