oregano crashes with SIGSEGV when trying to run a simulation

Bug #493375 reported by AFarris01
94
This bug affects 14 people
Affects Status Importance Assigned to Milestone
oregano (Debian)
Fix Released
Unknown
oregano (Ubuntu)
Fix Released
Undecided
Unassigned
Karmic
Fix Released
Medium
Unassigned
Lucid
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: oregano

This bug should actually be assigned to glib, or libgail i believe, but the package-chooser dialog for reporting bugs is so badly broken i can't tell what packages i'm selecting, so I'm filing it against oregano.

the problem is trying to run oregano, using gnucap, against any valid circuit. The program crashes with a SIGSEV signal... from gdb, i gathered the following:

First try:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff5408d02 in g_main_context_dispatch () from /lib/libglib-2.0.so.0

then after installing glib debugging symbols:
Program received signal SIGSEGV, Segmentation fault.
0x00007fffeb14027b in ?? () from /usr/lib/gtk-2.0/modules/libgail.so

then after installing libgail debugging symbols:
Program received signal SIGSEGV, Segmentation fault.
g_main_dispatch (context=0x6c2540)
    at /build/buildd/glib2.0-2.22.2/glib/gmain.c:1973
1973 /build/buildd/glib2.0-2.22.2/glib/gmain.c: No such file or directory.
 in /build/buildd/glib2.0-2.22.2/glib/gmain.c

It looks like it's simply looking in the wrong spot for a file... i've attempted to find out which package gmain.c is in so i could try to make the directory structure it's looking for to make it work but i couldn't locate it... it's a shame because I really like this program, and need it urgently, but at least I hope that this can be found/fixed rapidly.

ProblemType: Bug
Architecture: amd64
Date: Sun Dec 6 17:54:06 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelModules: fglrx
Package: oregano 0.69.1-1ubuntu1
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-15.50-generic
SourcePackage: oregano
Uname: Linux 2.6.31-15-generic x86_64

Revision history for this message
AFarris01 (afarris01) wrote :
Jaco Joubert (jdjoubert)
summary: - oregano crashes with SIGSEV when trying to run a simulation
+ oregano crashes with SIGSEGV when trying to run a simulation
Revision history for this message
Haninjapan (han-hartgers) wrote :

I had also a crash of Oregano on my freshly installed Ubuntu 10.04.

That is; making a circuit goes OK. The simulation starts (gnucap) OK, but when the results are there is the program crashing with a segmentation fault.

Compiling the program from source (the release version 0.69.1) did solve the problem; the program does not crash any more at the end of the simulation. I can see the results of a simulation.

Can it be that the Oregano package of ubuntu is not correctly compiled?
(It uses scons instead of make, because of that is it for me not possible to use checkinstall to generate a decent package myself...)

Revision history for this message
Richard Alex Hofer (javagamer) wrote :

I'm getting what appears to be the same error. When I ran oregano with gdb and attempted to simulate a very simple circuit (VDC, resistor, probe) it crashed with this:

Reading symbols from /usr/bin/oregano...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/oregano
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffe6dc5710 (LWP 6904)]
[New Thread 0x7fffe65c4710 (LWP 6905)]
[New Thread 0x7fffe5bbf710 (LWP 6906)]
[New Thread 0x7fffe53be710 (LWP 6907)]
[Thread 0x7fffe65c4710 (LWP 6905) exited]
[Thread 0x7fffe5bbf710 (LWP 6906) exited]
[Thread 0x7fffe53be710 (LWP 6907) exited]

(oregano:6901): Gtk-WARNING **: Copy: missing action Copy

(oregano:6901): Gtk-WARNING **: Cut: missing action Cut

(oregano:6901): Gtk-WARNING **: Delete: missing action Delete

(oregano:6901): Gtk-WARNING **: Rotate: missing action Rotate

(oregano:6901): Gtk-WARNING **: FlipH: missing action FlipH

(oregano:6901): Gtk-WARNING **: FlipV: missing action FlipV

(oregano:6901): Gtk-WARNING **: ObjectProperties: missing action ObjectProperties
[New Thread 0x7fffe53be710 (LWP 6909)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff53b5817 in g_main_context_dispatch () from /lib/libglib-2.0.so.0

I appear to be unable to locate the source code, otherwise I would attempt to confirm what haninjapan said about compiling from source. I'm not actually on Ubuntu, but amd64 Debian, but this seems to be the same problem I'm having.

Revision history for this message
Bhavani Shankar (bhavi) wrote :
Changed in oregano (Debian):
importance: Undecided → Unknown
status: New → Unknown
Changed in oregano (Ubuntu):
status: New → Confirmed
Changed in oregano (Debian):
status: Unknown → New
Revision history for this message
Javier Martin (Habbit) (habbit) wrote :

The package from the ppa fixes the problem for me. However, I had to --force depends it to install (seems to depend on packages only available on Maverick), so the question is could the fix be backported to Lucid?

Revision history for this message
Bhavani Shankar (bhavi) wrote :

Okay Javier

ll prepare a sru

regards

Changed in oregano (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Bhavani Shankar (bhavi)
Revision history for this message
Bhavani Shankar (bhavi) wrote :

Hello

here is the sru diff with the fix backported against latest version in maverick

regards

Changed in oregano (Ubuntu):
status: In Progress → Confirmed
assignee: Bhavani Shankar (bhavi) → nobody
Revision history for this message
Bhavani Shankar (bhavi) wrote :

I just backported fix onto my PPA for lucid the debs should be available in a while

regards

Changed in oregano (Ubuntu):
status: Confirmed → Fix Released
Changed in oregano (Ubuntu Lucid):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Stefano Rivera (stefanor) wrote :

Bhavani: karmic and lucid have the same version number, so you need to do 0.69.1-1ubuntu1.10.04.1. I think we should upload SRUs for both releases.

Revision history for this message
Bhavani Shankar (bhavi) wrote :

yes stefano,

on it now :)

regards

Revision history for this message
Bhavani Shankar (bhavi) wrote :
Changed in oregano (Ubuntu Karmic):
status: New → Confirmed
Revision history for this message
Bhavani Shankar (bhavi) wrote :
Revision history for this message
Stefano Rivera (stefanor) wrote :

Bhavani: The karmic patch will need the release in the version number, too

Changed in oregano (Ubuntu Lucid):
status: Confirmed → Fix Committed
Changed in oregano (Ubuntu Karmic):
importance: Undecided → Medium
Revision history for this message
Bhavani Shankar (bhavi) wrote :

Done stefano

here is the updated karmic sru diff

regards

Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted oregano into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Changed in oregano (Ubuntu Karmic):
status: Confirmed → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted oregano into karmic-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
Javier Martin (Habbit) (habbit) wrote :

I confirm that the package in lucid-proposed fixes the bug (for me at least). Thank you people! ^^

Martin Pitt (pitti)
tags: added: verification-done verification-neededd
removed: verification-needed
Peter Clifton (pcjc2)
tags: removed: verification-neededd
Revision history for this message
Martin Pitt (pitti) wrote :

Peter,

I actually left the v-needed tag on purpose, since the karmic-proposed version still needs testing.

tags: added: verification-needed
Revision history for this message
Peter Clifton (pcjc2) wrote :

Oops, sorry. I saw this come past:

** Tags added: verification-done verification-neededd
** Tags removed: verification-needed

Which put a typo in the verification-neededd tag, and I assumed you intended to remove it.

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 493375] Re: oregano crashes with SIGSEGV when trying to run a simulation

Peter Clifton [2010-08-26 0:26 -0000]:
> Which put a typo in the verification-neededd tag, and I assumed you
> intended to remove it.

Ah, thanks. There's a strange Launchpad bug which duplicates the last
character when you press Enter in the tag editor. I keep stumbling
about that.

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

This bug was fixed in the package oregano - 0.69.1-1ubuntu1.10.04.1

---------------
oregano (0.69.1-1ubuntu1.10.04.1) lucid-proposed; urgency=low

  * debian/rules
    + build without frame-pointer optimization to fix a segmentation
      fault (LP: #493375)
 -- Bhavani Shankar <email address hidden> Wed, 25 Aug 2010 00:23:17 +0200

Changed in oregano (Ubuntu Lucid):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Removing v-done again, to point out that karmic still needs testing.

tags: removed: verification-done
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I'm unable to reproduce the issue in Karmic with the samples shipped with oregano. Could you please attach to this report a sample (non-confidential of course) which is known to make Oregano crash ?
Thanks in advance.

Revision history for this message
Bhavani Shankar (bhavi) wrote :

hello jean,

unfortunately m not on a karmic system :(

AFarris01: can you please provide feedback on jean's comment?

also any one on a karmic system can you please test out the proposed package?

with warm regards,

Revision history for this message
AFarris01 (afarris01) wrote :

@Jean: In Oregano All I had to do to make to make it crash originally on Karmic was launch oregano, and create a simple circuit with the following: a VDC element, a resistor, a voltage probe, and a ground, connect them all and try to run a simulation. Oregano would immediately crash. I also substituted other simple elements for the resistor such as a capacitor, or inductor, with the same result. I honestly never tried the Oregano samples as I didn't realize they were there.

I no longer have any Karmic systems to test this on, but I can verify that it now works in Lucid and am very happy for that :)

If need be, I can set up a virtual machine to test this in later, but I'd like wait on that since I'm actually low on HD space atm :(

Hope that helps!

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

SRU verification for Karmic:
I have reproduced the problem with oregano 0.69.1-1ubuntu1 in karmic and have verified that the version of oregano 0.69.1-1ubuntu1.9.10.1 in -proposed fixes the issue.
I've been able to reproduce the original issue on amd64 but not on i386 which didn't crashed.

Marking as verification-done

Thanks all for reporting and testing.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package oregano - 0.69.1-1ubuntu1.9.10.1

---------------
oregano (0.69.1-1ubuntu1.9.10.1) karmic-proposed; urgency=low

  * debian/rules
    + build without frame-pointer optimization to fix a segmentation
      fault (LP: #493375)
 -- Bhavani Shankar <email address hidden> Wed, 25 Aug 2010 11:45:13 +0200

Changed in oregano (Ubuntu Karmic):
status: Fix Committed → Fix Released
Changed in oregano (Debian):
status: New → Fix Released
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.