Bug (osX) on today built

Report bugs, bug fixes and workarounds here.
Topic author
ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Bug (osX) on today built

Post #1by ElChristou » 11.03.2008, 22:12

Got some crash during the loading of some addons, for example here is a log:

Code: Select all

Command: Celestia
Path:    /Volumes/Celestia/Celestia/Celestia.app/Contents/MacOS/Celestia
Parent:  WindowServer [99]

Version: 1.5.1 (0)

PID:    5557
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000004

Thread 0 Crashed:
0   net.shatters.Celestia       0x0012778c std::vector<TimelinePhase*, std::allocator<TimelinePhase*> >::size() const + 12
1   net.shatters.Celestia       0x00034b90 AssociativeArray::getValue(std::basic_string<char, std::char_traits<char>, std::allocator<char> >) const + 40
2   net.shatters.Celestia       0x00039544 CreateTimeline(Body*, PlanetarySystem*, Universe&, AssociativeArray*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Disposition) + 544
3   net.shatters.Celestia       0x00039fd4 LoadSolarSystemObjects(std::basic_istream<char, std::char_traints<char> >&, Universe&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) + 1592
4   net.shatters.Celestia       0x000e923c SolarSystemLoader::process(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) + 232
5   net.shatters.Celestia       0x00081ca0 Directory::enumFiles(EnumFilesHandler&, bool) + 372
6   net.shatters.Celestia       0x000b9d4c MacDirectory::enumFiles(EnumFilesHandler&, bool) + 80
7   net.shatters.Celestia       0x00081c50 Directory::enumFiles(EnumFilesHandler&, bool) + 292
8   net.shatters.Celestia       0x000b9d4c MacDirectory::enumFiles(EnumFilesHandler&, bool) + 80
9   net.shatters.Celestia       0x00081c50 Directory::enumFiles(EnumFilesHandler&, bool) + 292
10  net.shatters.Celestia       0x000b9d4c MacDirectory::enumFiles(EnumFilesHandler&, bool) + 80
11  net.shatters.Celestia       0x0000ef6c CelestiaCore::initSimulation(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, ProgressNotifier*) + 1776
12  net.shatters.Celestia       0x00078118 -[CelestiaAppCore initSimulation] + 440
13  net.shatters.Celestia       0x0004e4d4 -[CelestiaController startInitialization] + 128
14  com.apple.Foundation        0x92beeb24 __NSFireDelayedPerform + 304
15  com.apple.CoreFoundation    0x907f14b0 __CFRunLoopDoTimer + 184
16  com.apple.CoreFoundation    0x907dde28 __CFRunLoopRun + 1680
17  com.apple.CoreFoundation    0x907dd3dc CFRunLoopRunSpecific + 268
18  com.apple.HIToolbox         0x9329bb20 RunCurrentEventLoopInMode + 264
19  com.apple.HIToolbox         0x9329b1b4 ReceiveNextEventCommon + 380
20  com.apple.HIToolbox         0x9329b020 BlockUntilNextEventMatchingListInMode + 96
21  com.apple.AppKit            0x937a1bc4 _DPSNextEvent + 384
22  com.apple.AppKit            0x937a1888 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
23  com.apple.AppKit            0x9379ddcc -[NSApplication run] + 472
24  com.apple.AppKit            0x9388e974 NSApplicationMain + 452
25  net.shatters.Celestia       0x00004178 main + 132
26  net.shatters.Celestia       0x00002ce0 _start + 760
27  net.shatters.Celestia       0x000029e4 start + 48

Thread 0 crashed with PPC Thread State 64:
  srr0: 0x000000000012778c srr1: 0x000000000200f030                        vrsave: 0x0000000000000000
    cr: 0x22022242          xer: 0x0000000000000004   lr: 0x0000000000039544  ctr: 0x0000000094cb4c6c
    r0: 0x0000000000039544   r1: 0x00000000bfffd640   r2: 0x00000000fff00000   r3: 0x0000000000000000
    r4: 0x0000000004dabe50   r5: 0x0000000000000000   r6: 0x0000000054696d65   r7: 0x0000000000000042
    r8: 0x0000000000000001   r9: 0x000000007ff00000  r10: 0x0000000000000000  r11: 0x00000000a4c59888
   r12: 0x0000000094cb4c6c  r13: 0x00000000bfffd878  r14: 0x00000000bfffd870  r15: 0x00000000bfffd840
   r16: 0x0000000004da2bc8  r17: 0x00000000005c34e0  r18: 0x0000000000000000  r19: 0x00000000005c34e0
   r20: 0x00000000bfffd850  r21: 0x0000000004da2bc8  r22: 0x00000000bfffd848  r23: 0x0000000004da5520
   r24: 0x0000000000000002  r25: 0x0000000004dabd60  r26: 0x0000000004dab370  r27: 0x0000000004da6810
   r28: 0x0000000000000000  r29: 0x00000000bfffd6fc  r30: 0x0000000004da6990  r31: 0x0000000000000000


With an empty extra folder, all seems ok. Any idea?

Also, there is an offset of a few pixels in full screen, part of the left side of the HUD (and indeed all the GL window) is not visible...
Image

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #2by dirkpitt » 11.03.2008, 22:50

I don't see any of these issues.. it might help if you could try and narrow down the list of addons that could be causing the problem. Do any of your addons use the Timeline feature?

I'm not seeing any shifting in full screen. Are you using Lua tools?

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 10 months
Location: Seattle, Washington, USA

Post #3by chris » 11.03.2008, 22:53

I recently checked in a fix for a problem where an SSC object with Ending less than Beginning would cause Celestia to crash in the timeline code. That should be fixed in the current SVN code, however.

--Chris

Topic author
ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #4by ElChristou » 11.03.2008, 23:36

dirkpitt wrote:I don't see any of these issues.. it might help if you could try and narrow down the list of addons that could be causing the problem. Do any of your addons use the Timeline feature?

Nope, old ones... I'll try to find out...

dirkpitt wrote:I'm not seeing any shifting in full screen. Are you using Lua tools?


My bad! False alarm, sorry! :oops:
Image

Topic author
ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #5by ElChristou » 13.03.2008, 11:13

These two ssc crash Celestia. One is by Linuxman for Apollo, the seconf by Runar, a preliminary and obsolete stuff for buran.

Code: Select all

"lemjm" "Sol/Earth"
{
Class "spacecraft"
Mesh "lem_closed.cmod"
Radius 0.0035 # EC mesures
 
Beginning "1969 07 16 16:14:50" 
Ending    "1969 07 22 14:40:00" 

SampledOrbit   "apollo11.xyz"

Obliquity            -35
Orientation          [0 0 0 1]
EquatorAscendingNode 135
RotationOffset       0
}

"Apollo 11" "Sol/Earth/lemjm"
{
Class "spacecraft"
Mesh "ap1.cmod"
#MeshCenter [-10 10 0]
Radius 0.0053 # Actual dimension when attitude is known

Beginning "1969 07 16 16:14:50" 
Ending    "1969 07 16 16:49:50" 

LongLat [86.8 0 0.00525]

Obliquity            0
Orientation          [0 0 0 1]
EquatorAscendingNode 0
RotationOffset       0
}

"apollo11a" "Sol/Earth/lemjm"
{
Class "spacecraft"
Mesh "ap2.cmod"
Radius 0.0053 # Actual dimension when attitude is known

Beginning "1969 07 16 16:14:55" 
Ending    "1969 07 16 16:49:50" 

LongLat [86.8 0 0.00525]

Obliquity            0
Orientation          [0 0 0 1]
EquatorAscendingNode 0
RotationOffset       0
}

"saturn_3rd" "Sol/Earth/lemjm"
{
Class "spacecraft"
Mesh "3rd.cmod"
Radius 0.011005
 
Ending    "1969 07 16 18:40:00" 

LongLat [ 270 0 0.0077]  # x   y   distance

Obliquity            0
Orientation          [0 0 0 1]
EquatorAscendingNode 0
RotationOffset       0
}

# Panneaux ferm????©s

"panneau A" "Sol/Earth/lemjm/saturn_3rd"
{
Class "spacecraft"
Mesh "pan-a.3ds"
Radius 0.003351
 
Ending    "1969 07 16 16:49:50"   

LongLat [ 79 10.8 0.0004]   # x   y   distance

Obliquity            0
Orientation          [0 0 0 1]
EquatorAscendingNode 0
RotationOffset       0
}

"panneau B" "Sol/Earth/lemjm/saturn_3rd"
{
Class "spacecraft"
Mesh "pan-b.3ds"
Radius 0.003351
 
Ending    "1969 07 16 16:49:50"   

LongLat [ 101 10.8 0.0004]   # x   y   distance

Obliquity            0
Orientation          [0 0 0 1]
EquatorAscendingNode 0
RotationOffset       0
}

"panneau C" "Sol/Earth/lemjm/saturn_3rd"
{
Class "spacecraft"
Mesh "pan-c.3ds"
Radius 0.003351
 
Ending    "1969 07 16 16:49:50"   

LongLat [ 101 -10.8 0.0004]   # x   y   distance

Obliquity            0
Orientation          [0 0 1 0]
EquatorAscendingNode 0
RotationOffset       0
}

"panneau D" "Sol/Earth/lemjm/saturn_3rd"
{
Class "spacecraft"
Mesh "pan-d.3ds"
Radius 0.003351

Ending    "1969 07 16 16:49:50"   

LongLat [ 79 -10.8 0.0004]   # x   y   distance

Obliquity            0
Orientation          [0 0 0 1]
EquatorAscendingNode 0
RotationOffset       0
}

# Ouverture des panneaux
# cel://Follow/Sol:Earth:lemjm:saturn_3rd:panneau A rot/1969-07-16T16:49:00.00001?x=e/PPnINSG03EDA&y=XHbWvwCYy////////////w&z=r9CkeD2YtKAO&ow=0.374265&ox=0.248132&oy=0.130228&oz=0.883967&select=Sol:Earth:lemjm:saturn_3rd:panneau A rot&fov=34.366539&ts=0.000000&ltd=0&rf=899&lm=0

"panneau A rot" "Sol/Earth/lemjm/saturn_3rd"
{
Class "spacecraft"
Mesh "pan-a.3ds"
MeshCenter [-0.6 0.6 -3.35]
Radius 0.003351
 
Beginning    "1969 07 16 16:49:50"   
Ending       "1969 07 16 16:50:50"   

LongLat [ 79 10.8 0.0004]   # x   y   distance

Obliquity            -45
Orientation          [315 0 0 1]
EquatorAscendingNode -64.285
RotationOffset       20.1
RotationPeriod       -0.1
}

"panneau B rot" "Sol/Earth/lemjm/saturn_3rd"
{
Class "spacecraft"
Mesh "pan-b.3ds"
MeshCenter [0.6 0.6 -3.35]
Radius 0.003351
 
Beginning    "1969 07 16 16:49:00"   
Ending       "1969 07 16 16:50:50"   

LongLat [ 101 10.8 0.0004]   # x   y   distance

Obliquity            -135
Orientation          [225 0 0 1]
EquatorAscendingNode -64.285
RotationOffset       20.1
RotationPeriod       -0.1
}

"panneau C rot" "Sol/Earth/lemjm/saturn_3rd"
{
Class "spacecraft"
Mesh "pan-c.3ds"
MeshCenter [0.6 -0.6 -3.35]
Radius 0.003351
 
Beginning    "1969 07 16 16:49:00"   
Ending       "1969 07 16 16:50:50"   

LongLat [ 101 -10.8 0.0004]   # x   y   distance

Obliquity            -225
Orientation          [135 0 0 1]
EquatorAscendingNode -64.285
RotationOffset       20.1
RotationPeriod       -0.1
}

"panneau D rot" "Sol/Earth/lemjm/saturn_3rd"
{
Class "spacecraft"
Mesh "pan-d.3ds"
MeshCenter [-0.6 -0.6 -3.35]
Radius 0.003351

Beginning    "1969 07 16 16:49:00"   
Ending       "1969 07 16 16:50:50"   

LongLat [ 79 -10.8 0.0004]   # x   y   distance

Obliquity            45
Orientation          [45 0 0 1]
EquatorAscendingNode -64.285
RotationOffset       20.1
RotationPeriod       -0.1
}

# Panneaux ouverts
# cel://Follow/Sol:Earth:lemjm:saturn_3rd:panneau A rot/1969-07-16T16:50:00.90425?x=4oCGNcYdJE3EDA&y=a5FpbfrUy////////////w&z=gk5VtXN+raAO&ow=-0.122545&ox=0.357337&oy=0.821096&oz=0.427896&select=Sol:Earth:lemjm&fov=34.366539&ts=0.000000&ltd=0&rf=899&lm=0

"panneau A" "Sol/Earth/lemjm/saturn_3rd"
{
Class "spacecraft"
Mesh "pan-a.3ds"
MeshCenter [-0.6 0.6 -3.35]
Radius 0.003351
 
Beginning    "1969 07 16 16:50:50"   

LongLat [ 79 10.8 0.0004]   # x   y   distance

Obliquity            0
Orientation          [60 1 1 0]
EquatorAscendingNode 0
RotationOffset       0
}

"panneau B" "Sol/Earth/lemjm/saturn_3rd"
{
Class "spacecraft"
Mesh "pan-b.3ds"
MeshCenter [0.6 0.6 -3.35]
Radius 0.003351
 
Beginning    "1969 07 16 16:50:50"   

LongLat [ 101 10.8 0.0004]   # x   y   distance

Obliquity            0
Orientation          [60 1 -1 0]
EquatorAscendingNode 0
RotationOffset       0
}

"panneau C" "Sol/Earth/lemjm/saturn_3rd"
{
Class "spacecraft"
Mesh "pan-c.3ds"
MeshCenter [0.6 -0.6 -3.35]
Radius 0.003351
 
Beginning    "1969 07 16 16:50:50"   

LongLat [ 101 -10.8 0.0004]   # x   y   distance

Obliquity            0
Orientation          [60 -1 -1 0]
EquatorAscendingNode 0
RotationOffset       0
}

"panneau D" "Sol/Earth/lemjm/saturn_3rd"
{
Class "spacecraft"
Mesh "pan-d.3ds"
MeshCenter [-0.6 -0.6 -3.35]
Radius 0.003351

Beginning    "1969 07 16 16:50:50"   

LongLat [ 79 -10.8 0.0004]   # x   y   distance

Obliquity            0
Orientation          [60 -1 1 0]
EquatorAscendingNode 0
RotationOffset       0
}

# Ecartement d'apollo 11
# cel://Follow/Sol:Earth:lemjm:saturn_3rd:panneau A rot/1969-07-16T16:49:51.93512?x=+0hNjDXSIk3EDA&y=TNjhLBrMy////////////w&z=kLpLb5WJrqAO&ow=0.524339&ox=0.365199&oy=0.365188&oz=0.677005&fov=34.366539&ts=0.000000&ltd=0&rf=899&lm=0

"Apollo 11 ecart" "Sol/Earth/lemjm"
{
Class "spacecraft"
Mesh "ap1.cmod"
Radius 0.0053 # Actual dimension when attitude is known

Beginning "1969 07 16 16:49:50" 
Ending    "1969 07 16 16:52:20" 

EllipticalOrbit {
  Epoch             2440419.201273140000
  SemiMajorAxis     1
  Eccentricity      0.9999999
  Inclination       90
  AscendingNode     112.2
  LongOfPericenter  112.5
  MeanAnomaly       0.0222
  Period            20
  }

Obliquity            0
Orientation          [0 0 0 1]
EquatorAscendingNode 206
RotationOffset       0
RotationPeriod       1e15
}

"apollo11a ecart" "Sol/Earth/lemjm"
{
Class "spacecraft"
Mesh "ap2.cmod"
Radius 0.0053 # Actual dimension when attitude is known

Beginning "1969 07 16 16:49:50" 
Ending    "1969 07 16 16:52:20" 

EllipticalOrbit {
  Epoch             2440419.201273140000
  SemiMajorAxis     1
  Eccentricity      0.9999999
  Inclination       90
  AscendingNode     112.2
  LongOfPericenter  112.9
  MeanAnomaly       0.0222
  Period            20
  }

Obliquity            0
Orientation          [0 0 0 1]
EquatorAscendingNode 206
RotationOffset       0
RotationPeriod       1e15
}

# Apollo arret

"Apollo 11 arret" "Sol/Earth/lemjm"
{
Class "spacecraft"
Mesh "ap1.cmod"
Radius 0.0053 # Actual dimension when attitude is known

Beginning "1969 07 16 16:52:20" 
Ending    "1969 07 16 16:52:25" 

LongLat [86.25 -0.4 0.01228]

Obliquity            0
Orientation          [0 0 0 1]
EquatorAscendingNode 0
RotationOffset       0
}

"apollo11a arret" "Sol/Earth/lemjm"
{
Class "spacecraft"
Mesh "ap2.cmod"
Radius 0.0053 # Actual dimension when attitude is known

Beginning "1969 07 16 16:52:20" 
Ending    "1969 07 16 16:52:25" 

LongLat [86.25 -0.4 0.01228]

Obliquity            0
Orientation          [0 0 0 1]
EquatorAscendingNode 0
RotationOffset       0
}

# Apollo rotation

"Apollo 11 rot" "Sol/Earth/lemjm"
{
Class "spacecraft"
Mesh "ap1.cmod"

Radius 0.0053 # Actual dimension when attitude is known

Beginning "1969 07 16 16:52:25" 
Ending    "1969 07 16 16:53:37" 

LongLat [86.25 -0.4 0.01228]

Obliquity            90
Orientation          [-90 0 0 1]
EquatorAscendingNode 116
RotationOffset       90
RotationPeriod       0.04000000000001
}

"apollo11a rot" "Sol/Earth/lemjm"
{
Class "spacecraft"
Mesh "ap2.cmod"
Radius 0.0053 # Actual dimension when attitude is known

Beginning "1969 07 16 16:52:25" 
Ending    "1969 07 16 16:53:37" 

LongLat [86.25 -0.4 0.01228]

Obliquity            90
Orientation          [-90 0 0 1]
EquatorAscendingNode 115.5
RotationOffset       90
RotationPeriod       0.04
}

# Apollo arret2
# cel://Follow/Sol:Earth:lemjm/1969-07-16T16:53:36.28043?x=lkVrlJA+Q03EDA&y=G9gFC26gzP///////////w&z=OKG/rC25lKAO&ow=0.829658&ox=0.090089&oy=0.549794&oz=0.035744&select=Sol:Earth:lemjm&fov=34.366539&ts=0.000000&ltd=0&rf=899&lm=0

"Apollo 11 arret2" "Sol/Earth/lemjm"
{
Class "spacecraft"
Mesh "ap1.cmod"
Radius 0.0053 # Actual dimension when attitude is known

Beginning "1969 07 16 16:53:37" 
Ending    "1969 07 16 16:53:40" 

LongLat [86.25 -0.3 0.01228]

Obliquity            0
Orientation          [180 0 0 1]
EquatorAscendingNode 180
RotationOffset       0
}

"apollo11a arret2" "Sol/Earth/lemjm"
{
Class "spacecraft"
Mesh "ap2.cmod"
Radius 0.0053 # Actual dimension when attitude is known

Beginning "1969 07 16 16:53:37" 
Ending    "1969 07 16 16:53:40" 

LongLat [86.2 -0.3 0.01228]

Obliquity            0
Orientation          [180 0 0 1]
EquatorAscendingNode 180
RotationOffset       0
}

# Apollo approche

"Apollo 11 app" "Sol/Earth/lemjm"
{
Class "spacecraft"
Mesh "ap1.cmod"
Radius 0.0053 # Actual dimension when attitude is known

Beginning "1969 07 16 16:53:40" 
Ending    "1969 07 16 16:56:38" 

EllipticalOrbit {
  Epoch             2440419.203935180000
  SemiMajorAxis     1
  Eccentricity      0.9999999
  Inclination       90
  AscendingNode     112.3
  LongOfPericenter  112.3
  MeanAnomaly       359.9463
  Period            20
  }

Obliquity            0
Orientation          [180 0 0 1]
EquatorAscendingNode 26
RotationOffset       0
RotationPeriod       1e15
}

"apollo11a app" "Sol/Earth/lemjm"
{
Class "spacecraft"
Mesh "ap2.cmod"
Radius 0.0053 # Actual dimension when attitude is known

Beginning "1969 07 16 16:53:40" 
Ending    "1969 07 16 16:56:38" 

EllipticalOrbit {
  Epoch             2440419.203935180000
  SemiMajorAxis     1
  Eccentricity      0.9999999
  Inclination       90
  AscendingNode     112.3
  LongOfPericenter  112.3
  MeanAnomaly       359.9463
  Period            20
  }

Obliquity            0
Orientation          [180 0 0 1]
EquatorAscendingNode 26
RotationOffset       0
RotationPeriod       1e15
}

# Apollo amarr????©
# cel://Follow/Sol:Earth:lemjm/1969-07-16T16:56:41.31169?x=mZXdd6MYXk3EDA&y=U7JsXCc/zf///////////w&z=F1/rWU/nf6AO&ow=0.829586&ox=0.090754&oy=0.549765&oz=0.036185&select=Sol:Earth:lemjm&fov=34.366539&ts=0.000000&ltd=0&rf=899&lm=0

"Apollo 11 amar" "Sol/Earth/lemjm"
{
Class "spacecraft"
Mesh "ap1.cmod"
Radius 0.0053 # Actual dimension when attitude is known

Beginning "1969 07 16 16:56:38"

LongLat [86.25 -0.4 0.0037]

Obliquity            0
Orientation          [180 0 0 1]
EquatorAscendingNode 180
RotationOffset       0
}

"apollo11a amar" "Sol/Earth/lemjm"
{
Class "spacecraft"
Mesh "ap2.cmod"
Radius 0.0053 # Actual dimension when attitude is known

Beginning "1969 07 16 16:56:38" 

LongLat [86.25 -0.4 0.0037]

Obliquity            0
Orientation          [180 0 0 1]
EquatorAscendingNode 180
RotationOffset       0
}










Modify "Apollo 11" "Sol/Earth/Moon"
{
   BodyFrame
   {
      TwoVector
      {
         Center "Sol/Earth/Moon/Apollo 11"
         Primary
         {
            Axis "z"
            RelativePosition
            {
            Observer "Sol/Earth/Moon/Apollo 11"
            Target "Sol/Earth/Moon"
            }
         }
         Secondary
         {
            Axis "y"
            RelativeVelocity
            {
            Observer "Sol/Earth/Moon/Apollo 11"
            Target "Sol/Earth/Moon"
            }
         }
      }
   }
}

Modify "Apollo 11a" "Sol/Earth/Moon"
{
   BodyFrame
   {
      TwoVector
      {
         Center "Sol/Earth/Moon/Apollo 11a"
         Primary
         {
            Axis "z"
            RelativePosition
            {
            Observer "Sol/Earth/Moon/Apollo 11a"
            Target "Sol/Earth/Moon"
            }
         }
         Secondary
         {
            Axis "y"
            RelativeVelocity
            {
            Observer "Sol/Earth/Moon/Apollo 11a"
            Target "Sol/Earth/Moon"
            }
         }
      }
   }
}



**************************

Code: Select all

"Baikonur" "Sol/Earth" {
   LongLat [63.31015 45.79536 0.047]
   Class "spacecraft"
   Mesh "th_placeholder.cmod"
   Radius 1
   Albedo            0.5
   }

"Buran Stage I reentry area" "Sol/Earth" {
   LongLat [68.8051 45.79536 0.047]
   Beginning   2447480.6292
   Ending      2447480.63225
   Class "spacecraft"
   Mesh "th_placeholder.cmod"
   Radius 1
   Albedo            0.5
   }


# ==========
# Modding Linuxm@ans Baikonur Launch platform to fit our purposes
# ==========

Modify "Pad" "Sol/Earth"
   {
   LongLat        [63.311295 45.799153 0.073]
   }
Modify "Tour1" "Sol/Earth"
   {
    Class "spacecraft"
   Radius 0.085
   LongLat        [63.31120    45.7960    0.07]      # [63.31105 45.7957897 0.07]
   Orientation          [45.7957897 1 0 0]
   }
Modify "Tour" "Sol/Earth"
   {
   Ending    2447488.5
       Class "spacecraft"
   Radius 0.085   
   LongLat        [63.30923 45.7945    0.07]
   Orientation   [135.7957897 1 0 0]
   RotationOffset   75
   }


# ==========
# End mod
# ==========


# ON THE LAUNCH PLATFORM ----------------------------

"Buran Launch Pad" "Sol/Earth" {
   LongLat [63.31035 45.79515 0.047]
   Class "spacecraft"
   Mesh "th_buran.cmod"
   Radius 0.058765
   Beginning   2447457.5   # october 23, 1988
   Ending   2447480.62566   # november 15, 1988 - 03:00 GMT
   Albedo            0.5
   Orientation       [ 168.4 1.05 0.469 0.673 ]   
   }
"" "Sol/Earth" {
   LongLat [63.31035 45.79515 0.047]
   Class "spacecraft"
   Mesh "th_burandoors.cmod"
   Radius 0.058765
   Beginning   2447457.5   # october 23, 1988
   Ending   2447480.62566   # november 15, 1988 - 03:00 GMT
   Albedo            0.5
   Orientation    [ 168.4 1.05 0.469 0.673 ]
   }
"" "Sol/Earth" {
   LongLat [63.31035 45.79515 0.047]
   Class "spacecraft"
   Mesh "th_energia.cmod"
   Radius 0.058765
   Beginning   2447457.5   # october 23, 1988
   Ending   2447480.62566   # november 15, 1988 - 03:00 GMT
   Albedo            0.5
   Orientation       [ 168.4 1.05 0.469 0.673 ]
   }
"" "Sol/Earth" {
   LongLat [63.31035 45.79515 0.047]
   Class "spacecraft"
   Mesh "th_rigging.cmod"
   Radius 0.058765
   Beginning   2447457.5   # october 23, 1988
   Ending   2447480.62566   # november 15, 1988 - 03:00 GMT
   Albedo            0.5
   Orientation       [ 168.4 1.05 0.469 0.673 ]
   }
"" "Sol/Earth" {
   LongLat [63.31035 45.79515 0.047]
   Class "spacecraft"
   Mesh "th_zenit1.cmod"
   Radius 0.058765
   Beginning   2447457.5   # october 23, 1988
   Ending   2447480.62566   # november 15, 1988 - 03:00 GMT
   Albedo            0.5
   Orientation       [ 168.4 1.05 0.469 0.673 ]
   }
"" "Sol/Earth" {
   LongLat [63.31035 45.79515 0.047]
   Class "spacecraft"
   Mesh "th_zenit2.cmod"
   Radius 0.058765
   Beginning   2447457.5   # october 23, 1988
   Ending   2447480.62566   # november 15, 1988 - 03:00 GMT
   Albedo            0.5
   Orientation    [ 168.4 1.05 0.469 0.673 ]
   }
"" "Sol/Earth" {
   LongLat [63.31035 45.79515 0.047]
   Class "spacecraft"
   Mesh "th_zenit3.cmod"
   Radius 0.058765
   Beginning   2447457.5   # october 23, 1988
   Ending   2447480.62566   # november 15, 1988 - 03:00 GMT
   Albedo            0.5
   Orientation    [ 168.4 1.05 0.469 0.673 ]
   }
"" "Sol/Earth" {
   LongLat [63.31035 45.79515 0.047]
   Class "spacecraft"
   Mesh "th_zenit4.cmod"
   Radius 0.058765
   Beginning   2447457.5   # october 23, 1988
   Ending   2447480.62566   # november 15, 1988 - 03:00 GMT
   Albedo            0.5
   Orientation       [ 168.4 1.05 0.469 0.673 ]
   }

"" "Sol/Earth" {
   LongLat [63.31035 45.79515 0.047]      #   [63.31035 45.79515 0.047]
   Class "spacecraft"
   Mesh "th_pad.cmod"
   Radius 0.058765
   Albedo            0.5
   Orientation    [ 168.4 1.05 0.469 0.673 ]
   }





# -- THE BURAN IN FLIGHT PLACEHOLDER ---------------------------


"Buran Flight" "Sol/Earth/Baikonur" {
   Class "spacecraft"
   Mesh "th_placeholder.cmod"
   Radius  0.058765
   SampledTrajectory { Source "th_buran.xyz" }
   Beginning   2447480.62566   # november 15, 1988 - 03:00 GMT
   Ending      2447480.7681000
   Albedo      0.5   
   Orientation   [ -149 -1.9 -0.56 0.65 ]
   RotationOffset   73
   }
Image

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #6by selden » 13.03.2008, 11:44

Yup. They do.

Celestia r4191 under WinXP Pro SP2
Selden

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 10 months
Location: Seattle, Washington, USA

Post #7by chris » 13.03.2008, 16:03

Thanks for the report. I've checked in a fix, SVN revision 4192.

The problem occurred when the 'Modify' disposition was specified for an object that didn't already exist, for example "Apollo 11a" in the first ssc file. With the patch that I committed, all such cases are treated as if the disposition were Add. I think a case could be made that 'Modify' should fail if an object doesn't already exist, but that's not how Celestia 1.5.0 behaves.

--Chris


Return to “Bugs”