
I'll keep it paused, just tell me what commands you'd like me to run in the debug console and I'll give you the results.
!m!
Moderators: winston, another_commander, Getafix
Commands and expected values belowmaaarcooose wrote:I'll keep it paused, just tell me what commands you'd like me to run in the debug console and I'll give you the results.
PS.target.subEntities
Code: Select all
[[Ship "Anaconda" position: (0, 0, 0) (subentity)], [Ship "Anaconda" position: (0, -4.6514, 73.9893) (subentity)]]
PS.target.subEntities[0].orientation
PS.target.subEntities[1].orientation
Code: Select all
(1 + 0i + 0j + 0k)
I can't think of any other useful information that the console would provide. The values are wrong (though normalised), the change to them appears to have been a one-off event that's already happened, but it does rule out the oddity being a display problem.maaarcooose wrote:Anything else?
Code: Select all
> PS.target.subEntities
[[Ship "booster" position: (15, 0, 0) (subentity)], [Ship "booster" position: (-15, 0, 0) (subentity)], [Ship "booster guard" position: (0, 0, 0) (subentity)], [Ship "right vent" position: (0, 0, 0) (subentity)], [Ship "left vent" position: (0, 0, 0) (subentity)], [Ship "sensor" position: (-8, 0, 0) (subentity)], [Ship "sensor" position: (8, 0, 0) (subentity)], [Ship "sensor" position: (-10, 0, 0) (subentity)], [Ship "sensor" position: (10, 0, 0) (subentity)], [Ship "left landing gear" position: (0, 0, 0) (subentity)], [Ship "right landing gear" position: (0, 0, 0) (subentity)], [Ship "front landing gear" position: (0, 0, 0) (subentity)], [Ship "landing flat" position: (0, 0, 0) (subentity)], [Ship "landing flat" position: (0, 0, 0) (subentity)], [Ship "landing flap" position: (0, 0, 0) (subentity)], [Ship "antenna" position: (-50, 0, 0) (subentity)], [Ship "antenna" position: (50, 0, 0) (subentity)], [Ship "antenna" position: (0, 0, 0) (subentity)], [Ship "cockpit" position: (0, 0, 0) (subentity)], [Ship "small booster" position: (-38.6, 0, 0) (subentity)], [Ship "small booster" position: (38.6, 0, 0) (subentity)]]
Code: Select all
> PS.target.orientation
(0.16688 + 0.790491i + 0.588927j - 0.0209761k)
> PS.target.subEntities[0].orientation
(0.978792 - 0.168456i - 0.113129j + 0.0281087k)
> PS.target.subEntities[1].orientation
(0.978792 - 0.168456i - 0.113129j + 0.0281087k)
> PS.target.subEntities[2].orientation
(0.978792 - 0.168456i - 0.113129j + 0.0281087k)
> PS.target.subEntities[3].orientation
(0.978792 - 0.168456i - 0.113129j + 0.0281087k)
> PS.target.subEntities[4].orientation
(0.978792 - 0.168456i - 0.113129j + 0.0281087k)
> PS.target.subEntities[5].orientation
(0.978792 - 0.168456i - 0.113129j + 0.0281087k)
> PS.target.subEntities[6].orientation
(0.978792 - 0.168456i - 0.113129j + 0.0281087k)
> PS.target.subEntities[7].orientation
(0.978792 - 0.168456i - 0.113129j + 0.0281087k)
> PS.target.subEntities[8].orientation
(0.978792 - 0.168456i - 0.113129j + 0.0281087k)
> PS.target.subEntities[9].orientation
(0.978792 - 0.168456i - 0.113129j + 0.0281087k)
> PS.target.subEntities[10].orientation
(0.978792 - 0.168456i - 0.113129j + 0.0281087k)
> PS.target.subEntities[11].orientation
(0.978792 - 0.168456i - 0.113129j + 0.0281087k)
> PS.target.subEntities[12].orientation
(0.978792 - 0.168456i - 0.113129j + 0.0281087k)
> PS.target.subEntities[13].orientation
(0.978792 - 0.168456i - 0.113129j + 0.0281087k)
> PS.target.subEntities[14].orientation
(0.978792 - 0.168456i - 0.113129j + 0.0281087k)
> PS.target.subEntities[15].orientation
(0.978792 - 0.168456i - 0.113129j + 0.0281087k)
> PS.target.subEntities[16].orientation
(0.978792 - 0.168456i - 0.113129j + 0.0281087k)
> PS.target.subEntities[17].orientation
(0.978792 - 0.168456i - 0.113129j + 0.0281087k)
> PS.target.subEntities[18].orientation
(0.978792 - 0.168456i - 0.113129j + 0.0281087k)
> PS.target.subEntities[19].orientation
(0.978792 - 0.168456i - 0.113129j + 0.0281087k)
> PS.target.subEntities[20].orientation
(0.978792 - 0.168456i - 0.113129j + 0.0281087k)
Code: Select all
> PS.target.orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[0].orientation
(-0.0214874 + 0.927808i + 0.272647j + 0.253721k)
> PS.target.subEntities[0].orientation=PS.target.orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[0].orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[1].orientation=PS.target.orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[2].orientation=PS.target.orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[3].orientation=PS.target.orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[4].orientation=PS.target.orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[5].orientation=PS.target.orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[6].orientation=PS.target.orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[7].orientation=PS.target.orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[8].orientation=PS.target.orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[9].orientation=PS.target.orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[10].orientation=PS.target.orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[11].orientation=PS.target.orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[12].orientation=PS.target.orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[13].orientation=PS.target.orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[14].orientation=PS.target.orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[15].orientation=PS.target.orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[16].orientation=PS.target.orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[17].orientation=PS.target.orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[18].orientation=PS.target.orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[19].orientation=PS.target.orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[20].orientation=PS.target.orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
Code: Select all
> PS.target.orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[0].orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[1].orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[2].orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[3].orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[4].orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[5].orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[6].orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[7].orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[8].orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[9].orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[10].orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[11].orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[12].orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[13].orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[14].orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[15].orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[16].orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[17].orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[18].orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[19].orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
> PS.target.subEntities[20].orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
Code: Select all
> PS.target.orientation
(0.805943 - 0.463431i - 0.0575594j - 0.363832k)
> PS.target.subEntities[0].orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
...
Code: Select all
> PS.target.orientation
(0.944846 - 0.0992824i + 0.0661629j - 0.305009k)
> PS.target.subEntities[0].orientation
(0.51807 + 0.804546i + 0.284204j + 0.0594676k)
Code: Select all
> PS.target.subEntities[0].orientation=[1,0,0,0]
[1, 0, 0, 0]
> PS.target.subEntities[1].orientation=[1,0,0,0]
[1, 0, 0, 0]
> PS.target.subEntities[2].orientation=[1,0,0,0]
[1, 0, 0, 0]
> PS.target.subEntities[3].orientation=[1,0,0,0]
[1, 0, 0, 0]
> PS.target.subEntities[4].orientation=[1,0,0,0]
[1, 0, 0, 0]
> PS.target.subEntities[5].orientation=[1,0,0,0]
[1, 0, 0, 0]
> PS.target.subEntities[6].orientation=[1,0,0,0]
[1, 0, 0, 0]
> PS.target.subEntities[7].orientation=[1,0,0,0]
[1, 0, 0, 0]
> PS.target.subEntities[8].orientation=[1,0,0,0]
[1, 0, 0, 0]
> PS.target.subEntities[9].orientation=[1,0,0,0]
[1, 0, 0, 0]
> PS.target.subEntities[10].orientation=[1,0,0,0]
[1, 0, 0, 0]
> PS.target.subEntities[11].orientation=[1,0,0,0]
[1, 0, 0, 0]
> PS.target.subEntities[12].orientation=[1,0,0,0]
[1, 0, 0, 0]
> PS.target.subEntities[13].orientation=[1,0,0,0]
[1, 0, 0, 0]
> PS.target.subEntities[14].orientation=[1,0,0,0]
[1, 0, 0, 0]
> PS.target.subEntities[15].orientation=[1,0,0,0]
[1, 0, 0, 0]
> PS.target.subEntities[16].orientation=[1,0,0,0]
[1, 0, 0, 0]
> PS.target.subEntities[17].orientation=[1,0,0,0]
[1, 0, 0, 0]
> PS.target.subEntities[18].orientation=[1,0,0,0]
[1, 0, 0, 0]
> PS.target.subEntities[19].orientation=[1,0,0,0]
[1, 0, 0, 0]
> PS.target.subEntities[20].orientation=[1,0,0,0]
[1, 0, 0, 0]
Code: Select all
> PS.target.subEntities
[[Ship "Boa Class Cruiser" position: (0, 0, 0) (subentity)]]
> PS.target.subEntities[0].orientation
(0.978792 - 0.168456i - 0.113129j + 0.0281087k)
Code: Select all
> PS.target.subEntities
[[Ship "?" position: (-13.5, 7.2, -64.5) (subentity)], [Ship "?" position: (13.5, 7.2, -64.5) (subentity)]]
> PS.target.subEntities[0].orientation
(0.978792 - 0.168456i - 0.113129j + 0.0281087k)
> PS.target.subEntities[1].orientation
(0.978792 - 0.168456i - 0.113129j + 0.0281087k)
Code: Select all
> PS.target.subEntities
[[Ship "Iguana spike" position: (0, 0, 0) (subentity)], [Ship "Iguana spike" position: (0, 0, 0) (subentity)]]
> PS.target.subEntities[0].orientation
(0.978792 - 0.168456i - 0.113129j + 0.0281087k)
> PS.target.subEntities[1].orientation
(-0.0281087 - 0.113129i + 0.168456j + 0.978792k)
I'll have a go at setting up OOlite to run on my mac in xcode and leave it running that way.cim wrote:Well, I had a look on Linux with valgrind. Mainly what I discovered is that the dependency libraries are not that tightly written, though mostly harmlessly, and that my computer isn't powerful enough to run Oolite under valgrind very well. Still, I found a couple of strange cases, none of which had anything to do with this.
Maybe someone with a Mac could try it (or I think Xcode has a similar runtime memory debugger). Catch is that it makes the game ridiculously slow so waiting for this bug to appear might take days. On the other hand the underlying problem might be obvious sooner than that from the error reports.
Off-topic:Commander McLane wrote:The target inspector shows nothing unusual:
Sweet!Eric Walch wrote:To get a nice screen shot from a single window on the mac, you don't cut out a part of a bigger screen, but:
- type: cmd-shift-4 (the cursor changes to cut out a part of the screen)
- than hit spacebar (the cursor turns into a camera symbol)
- Now click on any window.
This way you get a screenshot of that window with a nice shaded and partly transparent border around it.
I currently have this issue with 1.77.1cim wrote:Question: have any of our Mac users noticed this continue to happen with the 1.77.1 release? We did fix a couple of memory-related bugs since 1.77, so I'm hoping it's been dealt with (and/or our other theory, that it has been fixed by upgrading the compiler). Or is this still there, now and then?
git bisect
' between commits 0078af5183
(last one of 1.77) and e7076105a3
(first one after 1.76) to try to figure out where the problem was first introduced. (That's fewer than 1024 commits, so it should narrow down on the one which introduced the bug in 10 build/test cycles) Any volunteers?