View Issue Details

IDProjectCategoryView StatusLast Update
0000494ascendpygtk guipublic2012-04-20 08:05
Reporterjohn 
Assigned Tojohn 
PrioritylowSeverityminorReproducibilityN/A
Status acknowledgedResolutionopen 
PlatformWindowsOSWindowsOS Version7
Product Version0.9.7 
Target Version1.0Fixed in Version 
Summary0000494: SWIG error appears with swig 2.x, error with arguments of Type_getSimulation
DescriptionProbably this is occurring as a result of something that's changed in latest SWIG version 2.0.2 that was used for this attempted build.

TODO: try with earlier SWIG versions.
Steps To ReproduceDetails at [[Building ASCEND#Instructions for Windows]]
TagsNo tags attached.

Relationships

related to 0000517 new crash when built with swigwin 2.0.4 on Windows 7 (32-bit build) 

Activities

john

2011-03-09 19:26

administrator  

crash-windows7.PNG (16,617 bytes)
crash-windows7.PNG (16,617 bytes)

john

2011-03-15 10:23

administrator   ~0000689

This problem arises as a result of using SWIG 2.x.

The workaround for now is to use SWIG 1.3.x instead (we tried 1.3.40 and it works fine).

john

2011-04-04 08:17

administrator   ~0000703

Serdar Yildiz has confirmed that this bug also arises on Ubuntu 10.10.

john

2011-06-14 09:00

administrator   ~0000743

Grivan has suggested that changeset 3482 helps to fix this bug.

john

2011-11-13 12:16

administrator   ~0000791

Last edited: 2012-02-29 04:28

View 2 revisions

It appears in any case that bugs exist in SWIG 2.0 that may still need to be fixed. Expect the fix to come with SWIG 2.0.5 (not yet avail as of Feb 2012)

http://swig.svn.sourceforge.net/viewvc/swig?view=revision&revision=12814

peterblyton

2012-03-02 00:18

reporter   ~0000817

I can confirm that this bug occurs in Ubuntu 12.04 Precise Pangolin (alpha 2) which is shipped with swig 2.0.4.

The bug still occurs with running swig 2.0.5 from http://www.swig.org/svn.html (tested on both Ubuntu and Fedora).

john

2012-03-03 06:38

administrator   ~0000819

@lahsivjar: if you use the svn trunk version of the code that limitation on SWIG 1.3 is removed. That's not the problem here.

john

2012-04-19 06:10

administrator  

Issue History

Date Modified Username Field Change
2011-03-09 19:26 john New Issue
2011-03-09 19:26 john File Added: crash-windows7.PNG
2011-03-09 19:27 john Steps to Reproduce Updated View Revisions
2011-03-15 10:23 john Note Added: 0000689
2011-03-15 10:23 john Assigned To => john
2011-03-15 10:23 john Priority normal => low
2011-03-15 10:23 john Reproducibility have not tried => N/A
2011-03-15 10:23 john Status new => acknowledged
2011-03-15 10:23 john Target Version 0.9.8 => 1.0
2011-04-04 08:17 john Note Added: 0000703
2011-04-05 08:57 john Summary SWIG error appears on Windows 7, error with arguments of Type_getSimulation => SWIG error appears with swig 2.x, error with arguments of Type_getSimulation
2011-06-14 09:00 john Note Added: 0000743
2011-08-09 22:56 john Relationship added related to 0000517
2011-11-13 12:16 john Note Added: 0000791
2012-02-29 04:28 john Note Edited: 0000791 View Revisions
2012-03-02 00:18 peterblyton Note Added: 0000817
2012-03-03 06:38 john Note Added: 0000819
2012-03-15 10:05 svn
2012-04-19 06:10 john File Added: Screenshot from 2012-04-18 14:10:32.png
2012-04-20 08:05 john Steps to Reproduce Updated View Revisions