xsmc crashed with SIGSEGV in __libc_start_main()

Bug #837080 reported by userdce
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xsmc-calc (Ubuntu)
Confirmed
Medium
Unassigned

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

Revision history for this message
userdce (userdce) wrote :
visibility: private → public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 drawdata ()
 drawchart ()
 main ()

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 xsmc-calc (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
John Nogatch (jnogatch) wrote :

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.

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

The attachment "try fixed fonts if helvetica not found" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
John Nogatch (jnogatch) wrote :

I exchanged email with the author of xsmc Lapo IK5NAX, who said "Really xsmc has been stopped several years ago, when I decided to rewrite it using gtk, you shuold find gsmc that make everithing xsmc do with someting more and e little better graphics..."

I find this is true, i.e. gsmc is already available as an Ubuntu package and appears to work correctly.

-John AC6SL

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

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

Changed in xsmc-calc (Ubuntu):
status: New → Confirmed
Revision history for this message
Steve Conklin (sconklin) wrote :

Still broken in 14.04

Revision history for this message
David Aitcheson - KB3EFS (kb3efs) wrote : Re: [Ubuntu-hams-devel] [Bug 837080] Re: xsmc crashed with SIGSEGV in __libc_start_main()

Steve,

It has been removed from Debian and the removal should filter down to
Ubuntu shortly.

See the threads titled:

    Should we remove xsmc-calc? AKA:
    https://lists.debian.org/debian-hams/2014/06/msg00012.html

    Bug#751135: Removed package(s) from unstable AKA:
    https://bugs.debian.org/751135

    Bug#743726: xsmc-calc is not repsonding in keystrokes AKA:
    https://lists.debian.org/debian-hams/2014/04/msg00005.html

    [Ubuntu-hams-devel] [Bug 837080] Re: xsmc crashed with SIGSEGV in
    __libc_start_main() AKA:
    https://bugs.launchpad.net/ubuntu/+source/xsmc-calc/+bug/837080

This is a dead horse and is totally superseded by a newer package
upstream from the same author whom _RECOMMENDS_ switching up to "gsmc".

73
Dave
KB3EFS

On 11/03/14 19:27, Steve Conklin wrote:
> Still broken in 14.04
>

--
David A Aitcheson <email address hidden> Go Green! Print this email
only when necessary.

Revision history for this message
Steve Conklin (sconklin) wrote :

Yes, I just came here to recommend removing the package. I've tried gsmc and found it to be fully functional.

Thanks

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.