Stellarium 0.18.0 在 Ubuntu 16.04 上自发崩溃

Stellarium 0.18.0 在 Ubuntu 16.04 上自发崩溃

我在 Ubuntu 16.04 上使用 Stellarium 时遇到了一些问题。每次我打开 Stellarium 时,它似乎只能运行几秒钟(非常正常且流畅,没有任何滞后),然后突然关闭,没有任何错误消息。无论是通过 Ubuntu 软件中心还是通过终端安装 stellarium,都会发生这种情况。我已使用 Synaptic 包管理器完全删除 Stellarium,以确保每次安装都是干净的。

这是我通过终端运行 Stellarium 时生成的输出:

 -------------------------------------------------------
[ This is Stellarium 0.18.1 - http://www.stellarium.org ]
[ Copyright (C) 2000-2018 Fabien Chereau et al.         ]
 -------------------------------------------------------
Writing log file to: "/home/neitz/.stellarium/log.txt"
File search paths:
  0 .  "/home/neitz/.stellarium"
  1 .  "/usr/share/stellarium"
Config file is:  "/home/neitz/.stellarium/config.ini"
Default surface format:  QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize -1, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior 0, swapInterval 1, profile  0)
Desired surface format:  QSurfaceFormat(version 2.1, options QFlags(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior 0, swapInterval 1, profile  0)
StelGLWidget constructor
StelGraphicsScene constructor
initializeGL
OpenGL supported version:  "3.0 Mesa 18.0.5"
Current Format:  QSurfaceFormat(version 3.0, options QFlags(0x4), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior 0, swapInterval 1, profile  0)
StelMainView::init
Detected: OpenGL "3.0"
Driver version string: "3.0 Mesa 18.0.5"
GL vendor is "Intel Open Source Technology Center"
GL renderer is "Mesa DRI Intel(R) HD Graphics 630 (Kaby Lake GT2) "
GL Shading Language version is "1.30"
MESA Version Number detected:  18
Mesa version is fine, we should not see a graphics problem.
GLSL Version Number detected:  1.3
GLSL version is fine, we should not see a graphics problem.
Cache directory is:  "/home/neitz/.cache/stellarium/stellarium"
Sky language is  "en_US"
Planetary features language is  "en_US"
Application language is  "en_US"
Loading Solar System data (1: planets and moons) ...
Loading from : "/usr/share/stellarium/data/ssystem_major.ini"
Loaded 77 Solar System bodies
Loading Solar System data (2: minor bodies)...
Loading from : "/home/neitz/.stellarium/data/ssystem_minor.ini"
Loaded 102 Solar System bodies
File ssystem_minor.ini is loaded successfully...
Loading nomenclature for Solar system bodies ...
Loaded 15505 / 15510 items of planetary surface nomenclature
Loading star data ...
"Loading /usr/share/stellarium/stars/default/stars_0_0v0_7.cat: 0_0v0_7; 4979"
"Loading /usr/share/stellarium/stars/default/stars_1_0v0_7.cat: 1_0v0_7; 21806"
"Loading /usr/share/stellarium/stars/default/stars_2_0v0_7.cat: 2_0v0_7; 150850"
"Loading /usr/share/stellarium/stars/default/stars_3_1v0_4.cat: 3_1v0_4; 425807"
Finished loading star catalogue data, max_geodesic_level:  3
Loading scientific star names from "/usr/share/stellarium/stars/default/name.fab"
Loaded 4506 / 4506 scientific star names
Loading variable stars from "/usr/share/stellarium/stars/default/gcvs_hip_part.dat"
Loaded 6916 / 6916 variable stars
Loading double stars from "/usr/share/stellarium/stars/default/wds_hip_part.dat"
Loaded 16412 / 16412 double stars
Loading cross-identification data from "/usr/share/stellarium/stars/default/cross-id.dat"
Loaded 108338 / 108338 cross-identification data records for stars
navigation/preset_sky_time is a double - treating as jday: "2451514.25001"
Loading DSO data ...
[...] "Stellarium DSO Catalog, version 3.5 (standard edition)"
Loaded 90415 DSO records
Loading DSO outline data ...
Loaded 63 DSO outline records successfully
LandscapeMgr: initialized Cache for 100 MB.
Loading star names from "/usr/share/stellarium/skycultures/western/star_names.fab"
Loaded 860 / 860 common star names
Loading DSO name data ...
Loaded 1012 / 1029 DSO name records successfully
WARNING - No position data for 17 objects: "PGC 621, PGC 2345, PGC 2906, PGC 2907, PGC 14098, PGC 23521, PGC 28759, PGC 29167, PGC 34658, PGC 42102, PGC 54559, PGC 59117, PGC 73957, PGC 95597, PGC 100170, PGC 100170, PGC 119230"
Loaded 88 / 88 constellation records successfully for culture "western"
Loaded 85 / 85 constellation art records successfully for culture "western"
Loaded 88 / 88 constellation names
Loading constellation boundary data ... 
Loaded 782 constellation boundary segments
Error in Asterism  "TA6" : can't find star with coordinates 2.14697 / 8.55097
ERROR reading asterism lines record at line  63 for culture "western"
Loaded 53 / 54 asterism records successfully for culture "western"
WARNING - asterism abbreviation "TA6" not found when loading asterism names
Loaded 43 / 44 asterism names
stel.OpenGLArray: Disabling VAO usage because of Intel driver bugs
stel.OpenGLArray: Vertex Array Objects are not supported on your hardware (this is not an error)
Initializing basic GL shaders... 
Creating GUI ...
Loaded plugin "Exoplanets"
[Exoplanets] File format is wrong! Error: illegal value
[Exoplanets] Default exoplanets.json to  "/home/neitz/.stellarium/modules/Exoplanets/exoplanets.json"
[Exoplanets] loading catalog file: "/home/neitz/.stellarium/modules/Exoplanets/exoplanets.json"
Loaded plugin "FOV"
Loaded plugin "MeteorShowers"
MeteorShowersMgr: Loading catalog file: "/home/neitz/.stellarium/modules/MeteorShowers/showers.json"
Loaded plugin "Novae"
[Novae] version of the catalog: 1
[Novae] loading catalog file: "/home/neitz/.stellarium/modules/Novae/novae.json"
Loaded plugin "Oculars"
Ocular plugin - press Command-O to toggle eyepiece view mode. Press ALT-o for configuration.
Oculars::validateIniFile ocular.ini exists at:  "/home/neitz/.stellarium/modules/Oculars/ocular.ini" . Checking version...
Oculars::validateIniFile found existing ini file version  3.1
Loaded plugin "Satellites"
[Satellites] loading catalog file: "/home/neitz/.stellarium/modules/Satellites/satellites.json"
Satellite has invalid orbit: "MOLNIYA 3-3" "08425"
Satellite has invalid orbit: "IRIDIUM 6" "24794"
Satellite has invalid orbit: "IRIDIUM 19" "24965"
Satellite has invalid orbit: "IRIDIUM 34" "24969"
Satellite has invalid orbit: "IRIDIUM 43" "25039"
Satellite has invalid orbit: "IRIDIUM 40" "25041"
Satellite has invalid orbit: "GRACE-1" "27391"
Satellite has invalid orbit: "GRACE-2" "27392"
Satellite has invalid orbit: "ORS 1" "37728"
Satellite has invalid orbit: "TIANGONG 1" "37820"
Satellite has invalid orbit: "EAGLE 2" "39436"
Satellite has invalid orbit: "AGGIESAT 4" "41313"
Satellite has invalid orbit: "FLOCK 2E'-1" "41479"
Satellite has invalid orbit: "FLOCK 2E'-2" "41481"
Satellite has invalid orbit: "FLOCK 2E-2" "41484"
Satellite has invalid orbit: "FLOCK 2E-4" "41487"
Satellite has invalid orbit: "FLOCK 2E-6" "41563"
Satellite has invalid orbit: "FLOCK 2E'-8" "41569"
Satellite has invalid orbit: "FLOCK 2E-9" "41571"
Satellite has invalid orbit: "FLOCK 2E-12" "41573"
Satellite has invalid orbit: "FLOCK 2E-11" "41574"
Satellite has invalid orbit: "FLOCK 2E'-9" "41575"
Satellite has invalid orbit: "FLOCK 2E'-10" "41576"
Satellite has invalid orbit: "FLOCK 2E'-12" "41578"
Satellite has invalid orbit: "FLOCK 2E'-13" "41761"
Satellite has invalid orbit: "STARS-C" "41895"
Satellite has invalid orbit: "OSNSAT" "41939"
Satellite has invalid orbit: "LEMUR-2-TRUTNA" "42067"
Satellite has invalid orbit: "Columbia" "42702"
Satellite has invalid orbit: "ISS DEB (ROSA)" "42813"
Satellite has invalid orbit: "TECHEDSAT 6" "43026"
Satellite has invalid orbit: "DRAGON CRS-13 DEB" "43061"
Satellite has invalid orbit: "DRAGON CRS-13 DEB" "43062"
Satellite has invalid orbit: "SL-4 R/B" "43064"
Loaded plugin "SolarSystemEditor"
Using the ssystem_minor.ini file that already exists in the user directory...
Dubious result: Landscape  "Guereins"  not calibrated. Opacity test represents mathematical horizon only.
Initializing planets GL shaders... 
[Exoplanets] Starting update...
terminate called after throwing an instance of 'std::runtime_error'
  what():  illegal value
Aborted (core dumped)

我看到程序在 之后终止std::runtime_error。有什么想法可以解释为什么会出现这种情况以及如何修复它?

感谢任何提前尝试解决这个问题的人!

答案1

Stellarium.org 的 URL(以及程序查找更新的 JSON 文件)已更改。找到您的 config.ini 文件并编辑 3 个“http://stellarium.org/json/。 。 。 “ 读书 ”https://www.stellarium.org/json/。 。 。 “ 反而。

编辑于 2018 年 7 月 31 日:... 显然这些 JSON 文件的 URL 又改回来了。如果您使用了上面提到的 config.ini 编辑解决方法,它又坏了。恢复到原始 URL 来修复它 - 再次(也许只是从 config.old 恢复 config.ini?)看起来来自错误 URL 的任何数据更新调用都会将 html 错误返回写入新的“JSON”文件,然后当程序加载模块并尝试从损坏的 JSON 文件中读取数据时,它会崩溃。然后在下次重新启动时触发另一次更新尝试。接下来你会发现,即使是 JSON 文件的旧备份副本也会被 html 错误覆盖。

相关内容