View Issue Details

IDProjectCategoryView StatusLast Update
0002323Slicer4Core: Building (CMake, Superbuild)public2014-03-06 04:58
Reporterpieper Assigned Tojcfr  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
PlatformwindowsOSOS Version
Product Version 
Target VersionSlicer 4.3.0Fixed in VersionSlicer 4.3.0 
Summary0002323: VTK build error on visual studio 2008
Description

I'm trying a fresh build of slicer r20627 but consistently get crashes (linker crashes) when linking vtkpython

3>78>Embedding manifest...
3>78>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
3>78>Copyright (C) Microsoft Corporation. All rights reserved.
3>78>LINK : fatal error LNK1000: Internal error during IncrBuildImage
3>78> Version 9.00.21022.08
3>78> ExceptionCode = C0000005
3>78> ExceptionFlags = 00000000
3>78> ExceptionAddress = 0106FCF7 (00FF0000) "d:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\x86_amd64\link.exe"
3>78> NumberParameters = 00000002
3>78> ExceptionInformation[ 0] = 00000000
3>78> ExceptionInformation[ 1] = 0029D670
3>78>CONTEXT:
3>78> Eax = 400669E0 Esp = 0038ED04
3>78> Ebx = 40008174 Ebp = 0038ED2C
3>78> Ecx = 0029D670 Esi = 40066848
3>78> Edx = 0038ED1C Edi = 00FFD6C0
3>78> Eip = 0106FCF7 EFlags = 00010246
3>78> SegCs = 00000023 SegDs = 0000002B
3>78> SegSs = 0000002B SegEs = 0000002B
3>78> SegFs = 00000053 SegGs = 0000002B
3>78> Dr0 = 00000000 Dr3 = 00000000
3>78> Dr1 = 00000000 Dr6 = 00000000
3>78> Dr2 = 00000000 Dr7 = 00000000
3>78>Build log was saved at "file://d:\pieper\s4\s\VTK-build\Wrapping\Python\vtkpython.dir\Debug\BuildLog.htm"
3>78>vtkpython - 1 error(s), 0 warning(s)

Steps To Reproduce

Check out slicer and do a normal build and the error occurs.

The same machine and compiler never previously had trouble building vtk.

Additional Information

The attached build log occurred after deleting VTK* in the superbuild directory, running 'cmake .' and then picking Build for the VTK project in Slicer.snl at the superbuild level.

TagsNo tags attached.

Relationships

related to 0002321 closedsankhesh Fix gcc 4.6.x link error related to libvtkPythonCore.so.5.10.0 - undefined reference to `Py*' 

Activities

2012-07-17 06:05

 

2323.buildlog.txt (433,997 bytes)
2323.buildlog.txt (433,997 bytes)
jcfr

jcfr

2012-07-17 07:05

administrator   ~0005161

Interestingly, the factory has no issue building Slicer.

Version of VTK has been updated.

Could you try locally reverting: http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=20627

pieper

pieper

2012-07-17 14:06

administrator   ~0005173

First tried cmake2.8.9-rc2 and no change.

Then tried reverting to the earlier version of VTK (e32b2e4b0c8de9ec508c813c1ebd6c53a7619518) and still got linker crash.

Will try rebooting windows machine.

jcfr

jcfr

2012-07-17 14:10

administrator   ~0005174

Thanks for trying things. On my side, I just started to Experimental Debug build on the factory. See http://slicer.cdash.org/index.php?project=Slicer4#Experimental

I also mentioned I would ping Matt about the rebuild issue. Would be great if you could provide me with more details. Which project is systematically rebuilding etc ...

pieper

pieper

2012-07-17 14:54

administrator   ~0005176

The linker crash still happens after rebooting windows.

jcfr

jcfr

2012-07-17 14:59

administrator   ~0005177

After rebooting... could try to build a Slicer before the VTK update (prior to r20627)

2012-07-17 15:28

 

BuildLog.htm (509,746 bytes)
gpernelle

gpernelle

2012-07-17 15:29

reporter   ~0005181

Steve, I put my VTK build log, it seems that it works so far for me.

pieper

pieper

2012-07-17 15:44

administrator   ~0005182

@Jc - yes, I reset the VTK tag to the earlier one and still got the link crash.

Since Guillaume (and Alex?) don't get that crash I guess it must be something on my machine. I will see if I can replicate on a different machine.

jcfr

jcfr

2012-08-22 11:06

administrator   ~0005712

Re-assigned to me if this is still an issue.
Jc

pieper

pieper

2012-08-22 12:29

administrator   ~0005726

Did a fresh test and no linker crash - nice... :)

pieper

pieper

2012-08-22 13:37

administrator   ~0005736

Sorry - didn't look closely enough. The linker crash is still there :(

I don't see this as a show stopper though - the build continues and slice works. We can't be chasing down bugs inside visual studio...

jcfr

jcfr

2012-08-22 13:58

administrator   ~0005741

Sounds good .. I will be re-targeting for now

jcfr

jcfr

2013-07-31 06:34

administrator   ~0009298

Resolving -> Factory is building Slicer using VS2008 every day. Re-open if this is still an issue.

jcfr

jcfr

2014-03-06 04:56

administrator   ~0010819

Closing resolved issues that have not been updated in more than 3 months

Issue History

Date Modified Username Field Change
2012-07-17 06:03 pieper New Issue
2012-07-17 06:03 pieper Status new => assigned
2012-07-17 06:03 pieper Assigned To => jcfr
2012-07-17 06:04 pieper Relationship added related to 0002321
2012-07-17 06:05 pieper File Added: 2323.buildlog.txt
2012-07-17 06:06 pieper Additional Information Updated
2012-07-17 07:05 jcfr Note Added: 0005161
2012-07-17 07:05 jcfr Status assigned => feedback
2012-07-17 14:06 pieper Note Added: 0005173
2012-07-17 14:10 jcfr Note Added: 0005174
2012-07-17 14:54 pieper Note Added: 0005176
2012-07-17 14:59 jcfr Note Added: 0005177
2012-07-17 15:28 gpernelle File Added: BuildLog.htm
2012-07-17 15:29 gpernelle Note Added: 0005181
2012-07-17 15:44 pieper Note Added: 0005182
2012-08-22 05:42 jcfr Target Version => Slicer 4.2.0 - Feature freeze Sept 1st 2012
2012-08-22 11:06 jcfr Note Added: 0005712
2012-08-22 11:06 jcfr Status feedback => resolved
2012-08-22 11:06 jcfr Fixed in Version => Slicer 4.2.0 - Feature freeze Sept 1st 2012
2012-08-22 11:06 jcfr Resolution open => fixed
2012-08-22 12:29 pieper Note Added: 0005726
2012-08-22 12:29 pieper Status resolved => closed
2012-08-22 13:37 pieper Note Added: 0005736
2012-08-22 13:37 pieper Status closed => feedback
2012-08-22 13:37 pieper Resolution fixed => reopened
2012-08-22 13:58 jcfr Note Added: 0005741
2012-08-22 13:59 jcfr Fixed in Version Slicer 4.2.0 - Feature freeze Sept 1st 2012 =>
2012-08-22 13:59 jcfr Target Version Slicer 4.2.0 - Feature freeze Sept 1st 2012 => Slicer 4.3.0
2013-07-31 06:34 jcfr Note Added: 0009298
2013-07-31 06:34 jcfr Status feedback => resolved
2013-07-31 06:34 jcfr Fixed in Version => Slicer 4.3.0
2013-07-31 06:34 jcfr Resolution reopened => fixed
2014-03-06 04:56 jcfr Note Added: 0010819
2014-03-06 04:58 jcfr Status resolved => closed