2016-11-19 94 views
0

我試圖運行此程序https://github.com/spirit-code/spirit。使用Qt &設置Qt圖表5.7後,它可以很好地工作,我可以毫無問題地啓動它。程序崩潰時執行遠程,但不是本地

然後我試圖-Y它工作得很好,直到這一步遠程啓動它通過ssh:

2016-11-19 14:58:08 [ INFO ] [UI ] [--] [--] QSurfaceFormat version: 3.3 
QOpenGLWidget: Failed to create context 
QOpenGLWidget: Failed to create context 
composeAndFlush: makeCurrent() failed 
composeAndFlush: makeCurrent() failed 
composeAndFlush: makeCurrent() failed 
composeAndFlush: makeCurrent() failed 
composeAndFlush: makeCurrent() failed 
composeAndFlush: makeCurrent() failed 
Speicherzugriffsfehler (Speicherabzug geschrieben) 

最後一行就是德國的分段錯誤。爲什麼程序在本地很好地運行,但在遠程執行時崩潰?

+2

可能是因爲它是未定義的行爲在裏面,這意味着它可以在本地只是一個偶然符合事實。你的第一份工作是找出哪條線路導致崩潰,然後回到你的方式,直到你想出一個MCVE。 –

回答

0

由於輸出表明該程序需要OpenGL來完成其部分顯示操作。

將不通過SSH的X11轉發工作