← Back to team overview

ubuntu-hams-devel team mailing list archive

[Bug 837080] Re: xsmc crashed with SIGSEGV in __libc_start_main()

 

2 messages are printed before the seg fault:
$ xsmc
Unable to load font
Unable to load font
Segmentation fault (core dumped)

The xsmc application expects to find 2 fonts which match the patterns:
"*-helvetica-medium-r-normal--12*"
"*helvetica*6*"

The helvetica fonts are not present by default in Ubuntu 12.10.

The attached patch tries additional font patterns, if helvetica is not found:
$ ./xsmc
Unable to load font: *-helvetica-medium-r-normal--12*
Using font: *-fixed-medium-*--12*
Unable to load font: *-helvetica-*--6*
Using font: *-fixed-medium-*--6*

The messages show the font name patterns, the application will return 1
if no fonts are found, Makefile has been modifed to use CFLAGS.


** Patch added: "try fixed fonts if helvetica not found"
   https://bugs.launchpad.net/ubuntu/+source/xsmc-calc/+bug/837080/+attachment/3490084/+files/xsmc-20130119.patch

-- 
You received this bug notification because you are a member of Ubuntu
ham developers, which is subscribed to xsmc-calc in Ubuntu.
https://bugs.launchpad.net/bugs/837080

Title:
  xsmc crashed with SIGSEGV in __libc_start_main()

Status in “xsmc-calc” package in Ubuntu:
  New

Bug description:
  started xsmc and it just crashed

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: xsmc-calc 1.0.0-6.1
  ProcVersionSignature: Ubuntu 3.0.0-9.14-generic 3.0.3
  Uname: Linux 3.0.0-9-generic x86_64
  NonfreeKernelModules: fglrx
  Architecture: amd64
  Date: Mon Aug 29 19:43:41 2011
  ExecutablePath: /usr/bin/xsmc
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110716)
  ProcCmdline: xsmc
  SegvAnalysis:
   Segfault happened at: 0x40ad31:	mov    0x8(%rax),%rdx
   PC (0x0040ad31) ok
   source "0x8(%rax)" (0x00000008) not located in a known VMA region (needed readable region)!
   destination "%rdx" ok
  SegvReason: reading NULL VMA
  Signal: 11
  SourcePackage: xsmc-calc
  StacktraceTop:
   ?? ()
   ?? ()
   ?? ()
   __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
   ?? ()
  Title: xsmc crashed with SIGSEGV in __libc_start_main()
  UpgradeStatus: Upgraded to oneiric on 2011-08-15 (14 days ago)
  UserGroups: adm admin cdrom dialout lpadmin mythtv netdev plugdev sambashare

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xsmc-calc/+bug/837080/+subscriptions