noxworld-dev / opennox

OpenNox main repository.
GNU General Public License v3.0
463 stars 25 forks source link

Crash when repeatedly pressing the gameplay controls button #427

Open hjyoon opened 2 years ago

hjyoon commented 2 years ago

123

Starting program: ./src/opennox-hd.exe
warning: Selected architecture i386 is not compatible with reported target architecture i386:x86-64
warning: Architecture rejected target-supplied description
2022/01/28 02:00:09 [version]: version: v1.8.x (851b3d9a)
 2022/01/28 02:00:09 starting pprof server on "127.0.0.1:6060"
 2022/01/28 02:00:09 [version]: GET https://ghcr.io/token?scope=repository%3Anoxworld-dev%2Fopennox%3Apull
 2022/01/28 02:00:09 [config]: using file: ".\\src\\opennox.yml"
 2022/01/28 02:00:09 [path]: setting data dir to: "C:\\Program Files (x86)\\Nox"
 2022/01/28 02:00:09 [version]: GET https://ghcr.io/v2/noxworld-dev/opennox/tags/list
 2022/01/28 02:00:09 [sdl]: window size: 640x480
 2022/01/28 02:00:09 [sdl]: OpenGL version: 3.3.0 NVIDIA 457.51
 2022/01/28 02:00:09 [render]: creating surface: 640x480
 2022/01/28 02:00:09 [game]: game state code: 10
 2022/01/28 02:00:09 game flag set: Host | Flag2
 2022/01/28 02:00:09 game flag set: Arena
 2022/01/28 02:00:09 [version]: latest on github: v1.8.7
 2022/01/28 02:00:10 [video]: gamma2: 0
 2022/01/28 02:00:10 [sdl]: cannot set gamma: SetDeviceGammaRamp(): 작업을 완료했습니다.
 2022/01/28 02:00:10 [sdl]: window size: 1024x768
 2022/01/28 02:00:10 [gameex]: reading config C:\Program Files (x86)\Nox\game_ex.cfg
 2022/01/28 02:00:10 [gameex]: unrecognized option: "APKEY"
 2022/01/28 02:00:10 [video]: mode switch: {W:640 H:480} (menu: true)
 2022/01/28 02:00:10 [video]: initializing pixbuffer: {640 480}
 2022/01/28 02:00:10 [input]: mouse bounds: (0,0)-(639,479)
 2022/01/28 02:00:10 [video]: recreate render target: ok
 2022/01/28 02:00:10 [audio]: device ok
 2022/01/28 02:00:10 [audio]: context ok
 2022/01/28 02:00:10 [gui]: load: "MainBG.wnd"
 2022/01/28 02:00:10 [gui]: load: "OptsBack.wnd"
 2022/01/28 02:00:10 [game]: game state code: -1
 2022/01/28 02:00:10 [gui]: load: "legal.wnd"
 2022/01/28 02:00:10 [audio]: MP3 stream: "dialog\\c3mw225e.wav", 1 channels
 2022/01/28 02:00:10 [audio]: ADPCM stream: "music\\title.wav", 2 channels
 2022/01/28 02:00:12 [game]: game state code: 100
 2022/01/28 02:00:12 [gui]: load: "MainMenu.wnd"
 2022/01/28 02:00:13 [game]: game state code: 300
 2022/01/28 02:00:13 [gui]: load: "Options.wnd"
 2022/01/28 02:00:13 [audio]: ADPCM stream: "music\\shell.wav", 2 channels
 2022/01/28 02:00:16 [sdl]: window size: 640x480
 2022/01/28 02:00:16 [game]: game state code: 100
 2022/01/28 02:00:16 [gui]: load: "MainMenu.wnd"
 2022/01/28 02:00:18 game flag set: Online
 2022/01/28 02:00:18 game flag set: NotQuest
 2022/01/28 02:00:18 [game]: game state code: 10000
 2022/01/28 02:00:18 [gui]: load: "noxworld.wnd"
 2022/01/28 02:00:18 [gui]: load: "filter.wnd"
 2022/01/28 02:00:18 [network]: bind udp <nil>:0
 2022/01/28 02:00:19 [discover]: searching for servers...
 2022/01/28 02:00:19 [discover]: using name: jack8ef316
 2022/01/28 02:00:19 [discover]: no game_ip.txt file
 2022/01/28 02:00:20 [discover]: xwis: 45.144.64.229 (1:NoXWorld.ru)
 2022/01/28 02:00:20 [discover]: xwis: 82.146.43.233 (Sueta)
 2022/01/28 02:00:20 [discover]: xwis: 167.71.15.101 (OpenNoxQuestEU)
 2022/01/28 02:00:20 [discover]: xwis: 201.177.170.98 (MetalQuests)
 2022/01/28 02:00:20 [discover]: found 4 server(s)
 2022/01/28 02:00:20 [discover]: server response: {"45.144.64.229:18590", "1:NoXWorld.ru", 0/31, F:8455, M:"mn2wland", L:0}
 2022/01/28 02:00:20 [discover]: server response: {"82.146.43.233:18590", "Sueta", 0/31, F:12295, M:"G_Mines", L:1}
 2022/01/28 02:00:20 [discover]: server response: {"167.71.15.101:18590", "OpenNoxQuestEU", 0/31, F:12295, M:"g_castld", L:1}
 2022/01/28 02:00:20 [discover]: server response: {"201.177.170.98:18590", "MetalQuests", 0/31, F:12295, M:"g_lotdd", L:1}
 2022/01/28 02:00:20 [gui]: load: "ldlg.wnd"
 2022/01/28 02:00:20 [input]: mouse bounds: (0,0)-(639,479)
 2022/01/28 02:00:20 [input]: mouse bounds: (0,0)-(639,479)
 2022/01/28 02:00:20 [discover]: server response: {"167.71.15.101:18590", "OpenNoxQuestEU", 0/32, P:1.52s, F:12295, M:"g_castld", L:2050}
 2022/01/28 02:00:20 [discover]: OnLobbyServer_4375F0: ignoring server "167.71.15.101": don't need more results
 2022/01/28 02:00:20 [discover]: server response: {"45.144.64.229:18590", "NoXWorld-Main", 0/31, P:1.524s, F:8455, M:"mn2wland", L:62448}
 2022/01/28 02:00:20 [discover]: OnLobbyServer_4375F0: ignoring server "45.144.64.229": don't need more results
 2022/01/28 02:00:20 [discover]: server response: {"82.146.43.233:18590", "Sueta", 0/32, P:1.527s, F:12295, M:"G_Mines", L:2050}
 2022/01/28 02:00:20 [discover]: OnLobbyServer_4375F0: ignoring server "82.146.43.233": don't need more results
 2022/01/28 02:00:21 [game]: game state code: 500
 2022/01/28 02:00:21 [gui]: load: "selchar.wnd"
 2022/01/28 02:00:23 [save]: loading slot 5: "save" ("C:\\Program Files (x86)\\Nox\\save\\T04.plr", "estate")
 2022/01/28 02:00:23 [game]: game state code: 10000
 2022/01/28 02:00:23 set map path: "war01a.map"
 2022/01/28 02:00:23 [game]: host: true
 2022/01/28 02:00:23 game flag set: Host | Flag3
 2022/01/28 02:00:23 [input]: mouse bounds: (0,0)-(639,479)
 2022/01/28 02:00:23 game flag unset: KOTR | CTF | FlagBall | Chat | Arena | Solo10 | Elimination | Quest | Flag15 | Flag16
 2022/01/28 02:00:23 game flag set: Chat
 2022/01/28 02:00:23 [xwis]: updating game info...
 2022/01/28 02:00:23 [game]: nox_xxx_servNewSession_4D1660
 2022/01/28 02:00:23 [network]: bind udp <nil>:18590
 2022/01/28 02:00:24 [nat]: external IP: 39.112.189.229
 2022/01/28 02:00:24 [http]: http api server started: :18580
 2022/01/28 02:00:24 [nat]: preparing to map ports [(18590/udp: "Nox game port") (18580/tcp: "Nox HTTP port")]
 2022/01/28 02:00:24 [game]: client not connected: nox_xxx_clientResetSpriteAndGui_4357D0, gameloop.go:461
 2022/01/28 02:00:24 [nat]: discovering UPnP gateways...
 2022/01/28 02:00:24 [nat]: internal IP: fe80::111d:e143:24ef:7d93/64
 2022/01/28 02:00:24 [nat]: internal IP: 192.168.0.106/24
 2022/01/28 02:00:24 [script]: player join: Player("Tomato_XG")
 2022/01/28 02:00:24 [nat]: internal IP: fe80::8977:1310:a505:7c42/64
 2022/01/28 02:00:24 [game]: play state: 2
 2022/01/28 02:00:24 [nat]: internal IP: 172.20.208.1/20
 2022/01/28 02:00:24 [script]: event: "MapExit"
 2022/01/28 02:00:24 [script]: player leave: Player("Tomato_XG")
 2022/01/28 02:00:24 game flag set: Flag20
 2022/01/28 02:00:24 game flag unset: Flag20
 2022/01/28 02:00:24 [game]: loading map "So_Druid.map"
 2022/01/28 02:00:24 [game]: checking map flags for "So_Druid"
 2022/01/28 02:00:24 [game]: setting chat mode
 2022/01/28 02:00:24 game flag unset: KOTR | CTF | FlagBall | Chat | Arena | Solo10 | Elimination | Quest
 2022/01/28 02:00:24 game flag set: Chat
 2022/01/28 02:00:24 game flag set: Flag28
 2022/01/28 02:00:24 game flag unset: Flag28
 2022/01/28 02:00:24 game flag set: Flag18
 2022/01/28 02:00:24 [video]: mode switch: {W:640 H:480} (menu: false)
 2022/01/28 02:00:24 [gui]: load: "GUI_CTF.wnd"
 2022/01/28 02:00:24 [gui]: load: "gui_fb.wnd"
 2022/01/28 02:00:24 [gui]: load: "GuiFps.wnd"
 2022/01/28 02:00:24 [gui]: load: "identify.wnd"
 2022/01/28 02:00:24 [gui]: load: "Options.wnd"
 2022/01/28 02:00:24 [gui]: load: "GuiKick.wnd"
 2022/01/28 02:00:24 [gui]: load: "InputCfg.wnd"
 2022/01/28 02:00:24 [gui]: load: "selchar.wnd"
 2022/01/28 02:00:24 [gui]: load: "Trade.wnd"
 2022/01/28 02:00:24 [gui]: load: "Shop.wnd"
 2022/01/28 02:00:24 [gui]: load: "GGOver.wnd"
 2022/01/28 02:00:24 [gui]: load: "SKey.wnd"
 2022/01/28 02:00:24 [gui]: load: "MultMove.wnd"
 2022/01/28 02:00:24 [gui]: load: "Dialog.wnd"
 2022/01/28 02:00:24 [gui]: load: "GuiChat.wnd"
 2022/01/28 02:00:24 [gui]: load: "Briefing.wnd"
 2022/01/28 02:00:24 [gui]: load: "yesno.wnd"
 2022/01/28 02:00:24 [gui]: load: "motd.wnd"
 2022/01/28 02:00:24 [gui]: load: "QuitMenu.wnd"
 2022/01/28 02:00:24 [gui]: load: "discon.wnd"
 2022/01/28 02:00:24 [game]: client not connected: initGameSession435CC0, game.go:438
 2022/01/28 02:00:24 game flag set: Flag24
 2022/01/28 02:00:24 [game]: play state: 3
 2022/01/28 02:00:24 [network]: server host: localhost
 2022/01/28 02:00:24 [video]: gamma: 0
 2022/01/28 02:00:24 game flag set: Flag29
 2022/01/28 02:00:24 [game]: nox_xxx_mapValidateMB_4CF470: 6
 2022/01/28 02:00:24 [gui]: load: "lservopt.wnd"
 2022/01/28 02:00:24 [game]: client connected: nox_xxx_gameChangeMap_43DEB0, gameloop.go:1228
 2022/01/28 02:00:24 game flag unset: Flag21 | Flag24
 2022/01/28 02:00:24 [script]: event: "MapInitialize"
 2022/01/28 02:00:24 [xwis]: updating game info...
 2022/01/28 02:00:24 [lua]: loading script for map "So_Druid.map"
 2022/01/28 02:00:24 [lua]: no lua script for map: "So_Druid.lua"
 2022/01/28 02:00:24 [lua]: loaded module "Nox.Map.Script.v0"
 2022/01/28 02:00:24 [script]: event: "MapEntry"
 2022/01/28 02:00:24 [script]: player join: Player("Tomato_XG")
 2022/01/28 02:00:25 [xwis]: xwis: wait(366): unexpected EOF
 2022/01/28 02:00:26 [nat-upnp]: IG2-IP1: 1 device(s)
 2022/01/28 02:00:26 [nat]: trying to map via IG2-IP1 (192.168.0.1 -> 39.112.189.229)
 2022/01/28 02:00:26 [nat]: mapping 18590/udp -> 39.112.189.229:18590
 2022/01/28 02:00:26 [nat-upnp]: map: 192.168.0.106:18590/UDP -> 39.112.189.229:18590 (3h0m0s)
 2022/01/28 02:00:27 [nat-upnp]: mapped 192.168.0.106:18590/UDP
 2022/01/28 02:00:27 [nat]: mapping 18580/tcp -> 39.112.189.229:18580
 2022/01/28 02:00:27 [nat-upnp]: map: 192.168.0.106:18580/TCP -> 39.112.189.229:18580 (3h0m0s)
 2022/01/28 02:00:27 [nat-upnp]: mapped 192.168.0.106:18580/TCP
 2022/01/28 02:00:27 [nat]: port mapping successful
 2022/01/28 02:00:28 [xwis]: updating game info...
 2022/01/28 02:00:35 [gui]: load: "lservopt.wnd"
 2022/01/28 02:00:36 [gui]: load: "lservopt.wnd"
 2022/01/28 02:00:38 [gui]: load: "lservopt.wnd"
 2022/01/28 02:00:39 [gui]: load: "lservopt.wnd"
 2022/01/28 02:00:41 [gui]: load: "lservopt.wnd"
 2022/01/28 02:00:42 [gui]: load: "lservopt.wnd"
 2022/01/28 02:00:43 [gui]: load: "lservopt.wnd"
 2022/01/28 02:00:45 [gui]: load: "lservopt.wnd"
 2022/01/28 02:00:46 [gui]: load: "lservopt.wnd"
 2022/01/28 02:00:47 [gui]: load: "lservopt.wnd"
 2022/01/28 02:00:48 [gui]: load: "lservopt.wnd"
 2022/01/28 02:00:49 [gui]: load: "lservopt.wnd"
 2022/01/28 02:00:49 [config]: writing to ".\\src\\opennox.yml"
 panic: runtime error: invalid memory address or nil pointer dereference [recovered]
 panic: runtime error: invalid memory address or nil pointer dereference
 [signal 0xc0000005 code=0x0 addr=0x0 pc=0xfb04fa]

 goroutine 1 [running, locked to thread]:
 nox/v1.RunArgs.func1(0x1c7d5f98)
 ./src/main.go:126 +0x8d
 panic({0x13261e0, 0x125f410})
 /home/hjyoon/go/src/runtime/panic.go:1052 +0x252
 nox/v1.(*Window).setParent(...)
 ./src/gui_window.go:632
 nox/v1.newWindowRaw(0x429e3a30, 0x488, 0x2, 0x19, 0xbe, 0xf, 0x19a6b180)
 ./src/gui_window.go:262 +0x8a
 nox/v1.newButtonOrCheckbox(0x429e3a30, 0x488, 0x2, 0x19, 0xbe, 0xf, 0x44c39858)
 ./src/gui_widgets.go:443 +0x82
 nox/v1.guiNewWidget({0x1b371602, 0x8}, 0x429e3a30, 0x488, 0x2, 0x19, 0xbe, 0xf, 0x44c39858, {0x0, ...})
 ./src/gui_widgets.go:78 +0xac
 nox/v1.(*guiParser).parseWindowOrWidget(0x165fc1e0, {0x1b371602, 0x8}, 0x285b, 0x488, 0x2, 0x19, 0xbe, 0xf, 0x44c39858, ...)
 ./src/gui_parser.go:420 +0xf0
 nox/v1.(*guiParser).parseWindowRoot(0x165fc1e0, 0x0)
 ./src/gui_parser.go:253 +0x5f3
 nox/v1.(*guiParser).parseWinFields(0x165fc1e0, 0x429e3a30)
 ./src/gui_parser.go:291 +0x175
 nox/v1.(*guiParser).parseWindowRoot(0x165fc1e0, 0x0)
 ./src/gui_parser.go:259 +0x490
 nox/v1.(*guiParser).parseWinFields(0x165fc1e0, 0x429e3544)
 ./src/gui_parser.go:291 +0x175
 nox/v1.(*guiParser).parseWindowRoot(0x165fc1e0, 0x0)
 ./src/gui_parser.go:259 +0x490
 nox/v1.(*guiParser).parseWinFields(0x165fc1e0, 0x429e36e8)
 ./src/gui_parser.go:291 +0x175
 nox/v1.(*guiParser).parseWindowRoot(0x165fc1e0, 0x0)
 ./src/gui_parser.go:259 +0x490
 nox/v1.(*guiParser).parseWinFields(0x165fc1e0, 0x429e388c)
 ./src/gui_parser.go:291 +0x175
 nox/v1.(*guiParser).parseWindowRoot(0x165fc1e0, 0x1b2494a8)
 ./src/gui_parser.go:259 +0x490
 nox/v1.(*guiParser).ParseRoot(0x165fc1e0, 0x1b2494a8)
 ./src/gui_parser.go:140 +0x3b5
 nox/v1.newWindowFromReader({0x14e0604, 0x1b2494b8}, 0x1b2494a8)
 ./src/gui_parser.go:59 +0x47
 nox/v1.newWindowFromFile({0x1b473170, 0xc}, 0x1b2494a8)
 ./src/gui_parser.go:51 +0x20d
 nox/v1.nox_new_window_from_file(0x1e3422c, 0x116b500)
 ./src/gui_parser.go:33 +0x5a
 nox/v1._Cfunc_nox_window_call_func_go(0x1161490, 0x429cb700, 0x4007, 0x429cbd90, 0x7d0159)
 _cgo_gotypes.go:9130 +0x3b
 nox/v1.wrapWindowFuncC.func1.1(0x1161490, 0x429cb700, 0x4007, 0x429cbd90, 0x7d0159)
 ./src/gui_window.go:55 +0x67
 nox/v1.wrapWindowFuncC.func1(0x429cb700, {0x14e044c, 0x1b473160})
 ./src/gui_window.go:55 +0x5c
 nox/v1.(*Window).Func94(0x429cb700, {0x14e044c, 0x1b473160})
 ./src/gui_window.go:519 +0xc8
 nox/v1.nox_window_call_field_94_fnc(0x429cb700, 0x4007, 0x429cbd90, 0x7d0159, 0x194a620, 0xbd4)
 ./src/gui_window.go:171 +0x17c
 nox/v1._Cfunc_nox_window_call_func_go(0x107ee20, 0x429cbd90, 0x7, 0x7d0159, 0x0)
 _cgo_gotypes.go:9130 +0x3b
 nox/v1.wrapWindowFuncC.func1.1(0x107ee20, 0x429cbd90, 0x7, 0x7d0159, 0x0)
 ./src/gui_window.go:55 +0x67
 nox/v1.wrapWindowFuncC.func1(0x429cbd90, {0x14e0474, 0x1b473150})
 ./src/gui_window.go:55 +0x5c
 nox/v1.(*Window).Func93(0x429cbd90, {0x14e0474, 0x1b473150})
 ./src/gui_window.go:501 +0xc7
 nox/v1.nox_xxx_cursorUpdate_46B740(0x161f4240)
 ./src/input_c.go:644 +0x8c9
 nox/v1.processInput()
 ./src/seat_client.go:70 +0x3f
 nox/v1.mainloop_43E290()
 ./src/gameloop.go:275 +0x2e7
 nox/v1.CONNECT_RESULT_OK()
 ./src/gameloop.go:948 +0x4d2
 nox/v1.CONNECT_OR_HOST()
 ./src/gameloop.go:582 +0x6b6
 nox/v1.mainloop_43E290()
 ./src/gameloop.go:380 +0xa7d
 nox/v1.cmainLoop()
 ./src/gameloop.go:511 +0x140
 nox/v1.RunArgs({0x16100110, 0x1, 0x1})
 ./src/main.go:470 +0x22f1
 main.main()
 ./src/cmd/opennox/main.go:12 +0x3b
 [Inferior 1 (process 18700) exited with code 02]
dennwc commented 2 years ago

Cannot reproduce this on Linux :( Maybe something else is needed (e.g. running Solo first)?

Also, for me it lags pretty hard when opening the Gameplay menu (reading maps?), so maybe it's time-sensitive.

hjyoon commented 2 years ago

I succeeded in reproducing it on Linux.

2022/05/06 15:32:25 [version]: version: v1.8.9 ()
2022/05/06 15:32:25 [version]: GET https://ghcr.io/token?scope=repository%3Anoxworld-dev%2Fopennox%3Apull
2022/05/06 15:32:25 [config]: using file: "/home/hjyoon/Games/Nox/opennox.yml"
2022/05/06 15:32:25 [path]: setting data dir to: "/home/hjyoon/Games/Nox"
2022/05/06 15:32:25 [sdl]: window size: 640x480
2022/05/06 15:32:25 [version]: GET https://ghcr.io/v2/noxworld-dev/opennox/tags/list
2022/05/06 15:32:25 [sdl]: OpenGL version: 4.2 (Core Profile) Mesa 22.0.2
2022/05/06 15:32:26 [render]: creating surface: 640x480
2022/05/06 15:32:26 [game]: game state code: Movies
2022/05/06 15:32:26 game flag set: Host | Client
2022/05/06 15:32:26 game flag set: Arena
2022/05/06 15:32:26 [version]: latest on github: v1.8.9
2022/05/06 15:32:26 [sdl]: window size: 1360x768
2022/05/06 15:32:26 [video]: gamma2: 0
2022/05/06 15:32:26 [gameex]: reading config /home/hjyoon/Games/Nox/game_ex.cfg
2022/05/06 15:32:26 [gameex]: unrecognized option: "APKEY"
2022/05/06 15:32:26 [video]: mode switch: {W:640 H:480} (menu: true)
2022/05/06 15:32:26 [video]: initializing pixbuffer: {640 480}
2022/05/06 15:32:26 [input]: mouse bounds: (0,0)-(639,479)
2022/05/06 15:32:26 [video]: recreate render target: ok
2022/05/06 15:32:26 [audio]: device ok
2022/05/06 15:32:26 [audio]: context ok
2022/05/06 15:32:26 [audio]: error activating context: openal: invalid operation
2022/05/06 15:32:27 [gui]: load: "MainBG.wnd"
2022/05/06 15:32:27 [gui]: load: "OptsBack.wnd"
2022/05/06 15:32:27 [game]: game state code: <none>
2022/05/06 15:32:27 [gui]: load: "legal.wnd"
2022/05/06 15:32:28 [game]: game state code: MainMenu
2022/05/06 15:32:28 [gui]: load: "MainMenu.wnd"
2022/05/06 15:32:29 game flag set: Online
2022/05/06 15:32:29 game flag set: NotQuest
2022/05/06 15:32:29 [game]: game state code: ServerList
2022/05/06 15:32:29 [gui]: load: "noxworld.wnd"
2022/05/06 15:32:29 [gui]: load: "filter.wnd"
2022/05/06 15:32:29 [network]: bind udp <nil>:0
2022/05/06 15:32:30 [gui]: load: "dlg.wnd"
2022/05/06 15:32:30 [input]: mouse bounds: (0,0)-(639,479)
2022/05/06 15:32:30 [discover]: searching for servers...
2022/05/06 15:32:30 [discover]: no game_ip.txt file
2022/05/06 15:32:31 [discover]: lobby: 172.17.0.1 (OpenNoxQuestEU)
2022/05/06 15:32:31 [discover]: lobby: 45.144.64.229 (1:NoXWorld.ru)
2022/05/06 15:32:31 [discover]: lobby: 64.225.52.155 (Gearhart's US)
2022/05/06 15:32:31 [discover]: lobby: 82.146.43.233 (Sueta)
2022/05/06 15:32:31 [discover]: pinging 172.17.0.1:18590
2022/05/06 15:32:31 [discover]: pinging 45.144.64.229:18590
2022/05/06 15:32:31 [discover]: pinging 64.225.52.155:18590
2022/05/06 15:32:31 [discover]: pinging 82.146.43.233:18590
2022/05/06 15:32:31 [discover]: found 4 server(s) in 660.743375ms
2022/05/06 15:32:32 [discover]: ping timeout for 1/4 servers
2022/05/06 15:32:32 [discover]: done in 1.262239632s
2022/05/06 15:32:32 [discover]: server response: {"45.144.64.229:18590", "1:NoXWorld.ru" (lobby), 0/31, P:953.050452ms, F:256, M:"deepfrze", L:0}
2022/05/06 15:32:32 [discover]: server response: {"64.225.52.155:18590", "Gearhart's US" (lobby), 0/32, P:901.155552ms, F:256, M:"grotto", L:0}
2022/05/06 15:32:32 [discover]: server response: {"82.146.43.233:18590", "Sueta" (lobby), 0/32, P:970.816665ms, F:4096, M:"g_swamp", L:1}
2022/05/06 15:32:32 [discover]: server response: {"172.17.0.1:18590", "OpenNoxQuestEU" (lobby), 0/32, F:4096, M:"g_lava", L:1}
2022/05/06 15:32:32 [input]: mouse bounds: (0,0)-(639,479)
2022/05/06 15:32:32 [game]: game state code: CharSelect
2022/05/06 15:32:32 [gui]: load: "selchar.wnd"
2022/05/06 15:32:34 [save]: loading slot 0: "save" ("/home/hjyoon/Games/Nox/save/T04.plr", "estate")
2022/05/06 15:32:34 [game]: game state code: ServerList
2022/05/06 15:32:34 set map path: "war01a.map"
2022/05/06 15:32:34 [game]: host: true
2022/05/06 15:32:34 game flag set: Host | Flag3
2022/05/06 15:32:34 [input]: mouse bounds: (0,0)-(639,479)
2022/05/06 15:32:34 game flag unset: KOTR | CTF | FlagBall | Chat | Arena | Solo10 | Elimination | Quest | Flag15 | Flag16
2022/05/06 15:32:34 game flag set: Chat
2022/05/06 15:32:35 [game]: nox_xxx_servNewSession_4D1660
2022/05/06 15:32:35 [network]: bind udp <nil>:18590
2022/05/06 15:32:36 [nat]: external IP: 39.112.189.229
2022/05/06 15:32:36 [console]: StartLogð1.0ð(Fri May  6 15:32:36 2022)
2022/05/06 15:32:36 [http]: http api server started: :18580
2022/05/06 15:32:36 [nat]: preparing to map ports [(18590/udp: "Nox game port") (18580/tcp: "Nox HTTP port")]
2022/05/06 15:32:36 [nat]: discovering UPnP gateways...
2022/05/06 15:32:36 [nat]: internal IP: 192.168.0.109/24
2022/05/06 15:32:36 [nat]: internal IP: fe80::3848:965e:fa9d:14d7/64
2022/05/06 15:32:36 [game]: client not connected: nox_xxx_clientResetSpriteAndGui_4357D0, gameloop.go:481
2022/05/06 15:32:36 [script]: player join: Player("Tomato_XG")
2022/05/06 15:32:36 [game]: play state: 2
2022/05/06 15:32:36 [script]: event: "MapExit"
2022/05/06 15:32:36 [script]: player leave: Player("Tomato_XG")
2022/05/06 15:32:36 game flag set: Flag20
2022/05/06 15:32:36 game flag unset: Flag20
2022/05/06 15:32:36 [game]: loading map "So_Druid.map"
2022/05/06 15:32:36 [map]: server reading map sections
2022/05/06 15:32:36 [map]: section: "MapInfo"
2022/05/06 15:32:36 [map]: section: "WallMap"
2022/05/06 15:32:36 [map]: section: "FloorMap"
2022/05/06 15:32:36 [map]: section: "SecretWalls"
2022/05/06 15:32:36 [map]: section: "DestructableWalls"
2022/05/06 15:32:36 [map]: section: "WayPoints"
2022/05/06 15:32:36 [map]: section: "DebugData"
2022/05/06 15:32:36 [map]: section: "WindowWalls"
2022/05/06 15:32:36 [map]: section: "GroupData"
2022/05/06 15:32:36 [map]: section: "ScriptObject"
2022/05/06 15:32:36 nox_server_mapRWScriptObject_505A40: 0x1 (nox_server_mapRWScriptObject_505A40, maps.go:167)
2022/05/06 15:32:36 [map]: section: "AmbientData"
2022/05/06 15:32:36 [map]: section: "Polygons"
2022/05/06 15:32:36 [map]: section: "MapIntro"
2022/05/06 15:32:36 [map]: section: "ScriptData"
2022/05/06 15:32:36 [map]: section: "ObjectTOC"
2022/05/06 15:32:36 [map]: section: "ObjectData"
2022/05/06 15:32:36 [map]: section: ""
2022/05/06 15:32:36 [game]: checking map flags for "So_Druid"
2022/05/06 15:32:36 [game]: setting chat mode
2022/05/06 15:32:36 game flag unset: KOTR | CTF | FlagBall | Chat | Arena | Solo10 | Elimination | Quest
2022/05/06 15:32:36 game flag set: Chat
2022/05/06 15:32:36 game flag set: Flag28
2022/05/06 15:32:36 game flag unset: Flag28
2022/05/06 15:32:36 game flag set: Flag18
2022/05/06 15:32:36 [video]: mode switch: {W:1024 H:768} (menu: false)
2022/05/06 15:32:36 [video]: initializing pixbuffer: {1024 768}
2022/05/06 15:32:36 [input]: mouse bounds: (0,0)-(1023,767)
2022/05/06 15:32:36 [video]: recreate render target: ok
2022/05/06 15:32:36 [gui]: load: "GUI_CTF.wnd"
2022/05/06 15:32:36 [gui]: load: "gui_fb.wnd"
2022/05/06 15:32:36 [gui]: load: "GuiFps.wnd"
2022/05/06 15:32:36 [gui]: load: "identify.wnd"
2022/05/06 15:32:36 [gui]: load: "Options.wnd"
2022/05/06 15:32:36 [gui]: load: "GuiKick.wnd"
2022/05/06 15:32:36 [gui]: load: "InputCfg.wnd"
2022/05/06 15:32:36 [gui]: load: "selchar.wnd"
2022/05/06 15:32:36 [gui]: load: "Trade.wnd"
2022/05/06 15:32:36 [gui]: load: "Shop.wnd"
2022/05/06 15:32:36 [gui]: load: "GGOver.wnd"
2022/05/06 15:32:36 [gui]: load: "SKey.wnd"
2022/05/06 15:32:36 [gui]: load: "MultMove.wnd"
2022/05/06 15:32:36 [gui]: load: "Dialog.wnd"
2022/05/06 15:32:36 [gui]: load: "GuiChat.wnd"
2022/05/06 15:32:36 [gui]: load: "Briefing.wnd"
2022/05/06 15:32:36 [gui]: load: "yesno.wnd"
2022/05/06 15:32:36 [gui]: load: "motd.wnd"
2022/05/06 15:32:36 [gui]: load: "QuitMenu.wnd"
2022/05/06 15:32:36 [gui]: load: "discon.wnd"
2022/05/06 15:32:36 [game]: client not connected: initGameSession435CC0, game.go:533
2022/05/06 15:32:36 game flag set: Flag24
2022/05/06 15:32:36 [game]: play state: 3
2022/05/06 15:32:36 [console]: executing the a rule file.
2022/05/06 15:32:36 [network]: server host: localhost
2022/05/06 15:32:36 [video]: gamma: 0
2022/05/06 15:32:36 game flag set: Flag29
2022/05/06 15:32:36 [game]: nox_xxx_gameChangeMap_43DEB0: "So_Druid.map"
2022/05/06 15:32:36 [game]: nox_xxx_mapValidateMB_4CF470: 6
2022/05/06 15:32:36 [map]: client reading map: "maps/So_Druid/So_Druid.map"
2022/05/06 15:32:36 [map]: section: "MapInfo"
2022/05/06 15:32:36 [map]: section: "WallMap"
2022/05/06 15:32:36 [map]: section: "FloorMap"
2022/05/06 15:32:36 [map]: section: "SecretWalls"
2022/05/06 15:32:36 [map]: section: "DestructableWalls"
2022/05/06 15:32:36 [map]: section: "WayPoints"
2022/05/06 15:32:36 [map]: section: "DebugData"
2022/05/06 15:32:36 [map]: section: "WindowWalls"
2022/05/06 15:32:36 [map]: section: "GroupData"
2022/05/06 15:32:36 [map]: section: "ScriptObject"
2022/05/06 15:32:36 [map]: section: "AmbientData"
2022/05/06 15:32:36 [map]: section: "Polygons"
2022/05/06 15:32:36 [map]: section: "MapIntro"
2022/05/06 15:32:36 [map]: section: "ScriptData"
2022/05/06 15:32:36 [map]: section: "ObjectTOC"
2022/05/06 15:32:36 [map]: section: "ObjectData"
2022/05/06 15:32:36 [map]: section: ""
2022/05/06 15:32:36 [gui]: load: "lservopt.wnd"
2022/05/06 15:32:37 [game]: client connected: nox_xxx_gameChangeMap_43DEB0, gameloop.go:1241
2022/05/06 15:32:37 [console]: system> Entering Chat Area...
2022/05/06 15:32:37 [console]: system> Press Enter to chat.
2022/05/06 15:32:37 game flag unset: Flag21 | Flag24
2022/05/06 15:32:37 [script]: event: "MapInitialize"
2022/05/06 15:32:37 [lua]: loading script for map "So_Druid.map"
2022/05/06 15:32:37 [lua]: no lua script for map: "So_Druid.lua"
2022/05/06 15:32:37 [lua]: loaded module "Nox.Map.Script.v0"
2022/05/06 15:32:37 [script]: event: "MapEntry"
2022/05/06 15:32:37 [script]: player join: Player("Tomato_XG")
2022/05/06 15:32:37 [console]: system> The server has turned off latency compensation.
2022/05/06 15:32:37 [render]: recreating surface: 640x480 -> 1024x768
2022/05/06 15:32:38 [nat-upnp]: IG2-IP1: 1 device(s)
2022/05/06 15:32:38 [nat]: trying to map via IG2-IP1 (192.168.0.1 -> 39.112.189.229)
2022/05/06 15:32:38 [nat]: mapping 18590/udp -> 39.112.189.229:18590
2022/05/06 15:32:38 [nat-upnp]: map: 192.168.0.109:18590/UDP -> 39.112.189.229:18590 (3h0m0s)
2022/05/06 15:32:38 [nat-upnp]: mapped 192.168.0.109:18590/UDP
2022/05/06 15:32:38 [nat]: mapping 18580/tcp -> 39.112.189.229:18580
2022/05/06 15:32:38 [nat-upnp]: map: 192.168.0.109:18580/TCP -> 39.112.189.229:18580 (3h0m0s)
2022/05/06 15:32:38 [nat-upnp]: mapped 192.168.0.109:18580/TCP
2022/05/06 15:32:38 [nat]: port mapping successful
2022/05/06 15:32:43 [gui]: load: "lservopt.wnd"
2022/05/06 15:32:45 [gui]: load: "lservopt.wnd"
2022/05/06 15:32:47 [gui]: load: "lservopt.wnd"
2022/05/06 15:32:48 [gui]: load: "lservopt.wnd"
2022/05/06 15:32:49 [gui]: load: "lservopt.wnd"
2022/05/06 15:32:50 [gui]: load: "lservopt.wnd"
2022/05/06 15:32:51 [gui]: load: "lservopt.wnd"
2022/05/06 15:32:52 [gui]: load: "lservopt.wnd"
2022/05/06 15:32:53 [gui]: load: "lservopt.wnd"
2022/05/06 15:32:54 [gui]: load: "lservopt.wnd"
2022/05/06 15:32:55 [gui]: load: "lservopt.wnd"
2022/05/06 15:32:56 [gui]: load: "lservopt.wnd"
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
    panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x87caeda]

goroutine 1 [running, locked to thread]:
nox/v1.RunArgs.func1(0xc033f98)
    /github/actions-runner/workspace/opennox/opennox/src/main.go:126 +0x8d
panic({0x8aa3880, 0x92213b0})
    /github/actions-runner/workspace/_tool/go/1.17.3/x64/src/runtime/panic.go:1052 +0x25b
nox/v1.(*Window).setParent(...)
    /github/actions-runner/workspace/opennox/opennox/src/gui_window.go:651
nox/v1.newWindowRaw(0xd3efba90, 0x4a8, 0x82, 0x2b, 0x37, 0x14, 0x10ee6c20)
    /github/actions-runner/workspace/opennox/opennox/src/gui_window.go:269 +0x8a
nox/v1.newButtonOrCheckbox(0xd3efba90, 0x4a8, 0x82, 0x2b, 0x37, 0x14, 0xd0f9cb70)
    /github/actions-runner/workspace/opennox/opennox/src/gui_widgets.go:440 +0x15f
nox/v1.guiNewWidget({0x12f4d4e3, 0xa}, 0xd3efba90, 0x4a8, 0x82, 0x2b, 0x37, 0x14, 0xd0f9cb70, {0x0, ...})
    /github/actions-runner/workspace/opennox/opennox/src/gui_widgets.go:71 +0x39c
nox/v1.(*guiParser).parseWindowOrWidget(0xb8d40c0, {0x12f4d4e3, 0xa}, 0x285c, 0x4a8, 0x82, 0x2b, 0x37, 0x14, 0xd0f9cb70, ...)
    /github/actions-runner/workspace/opennox/opennox/src/gui_parser.go:420 +0xf0
nox/v1.(*guiParser).parseWindowRoot(0xb8d40c0, 0x0)
    /github/actions-runner/workspace/opennox/opennox/src/gui_parser.go:253 +0x5f3
nox/v1.(*guiParser).parseWinFields(0xb8d40c0, 0xd3efba90)
    /github/actions-runner/workspace/opennox/opennox/src/gui_parser.go:291 +0x175
nox/v1.(*guiParser).parseWindowRoot(0xb8d40c0, 0x0)
    /github/actions-runner/workspace/opennox/opennox/src/gui_parser.go:259 +0x490
nox/v1.(*guiParser).parseWinFields(0xb8d40c0, 0xd3efb5a4)
    /github/actions-runner/workspace/opennox/opennox/src/gui_parser.go:291 +0x175
nox/v1.(*guiParser).parseWindowRoot(0xb8d40c0, 0x0)
    /github/actions-runner/workspace/opennox/opennox/src/gui_parser.go:259 +0x490
nox/v1.(*guiParser).parseWinFields(0xb8d40c0, 0xd3efb748)
    /github/actions-runner/workspace/opennox/opennox/src/gui_parser.go:291 +0x175
nox/v1.(*guiParser).parseWindowRoot(0xb8d40c0, 0x0)
    /github/actions-runner/workspace/opennox/opennox/src/gui_parser.go:259 +0x490
nox/v1.(*guiParser).parseWinFields(0xb8d40c0, 0xd3efb8ec)
    /github/actions-runner/workspace/opennox/opennox/src/gui_parser.go:291 +0x175
nox/v1.(*guiParser).parseWindowRoot(0xb8d40c0, 0x11138c20)
    /github/actions-runner/workspace/opennox/opennox/src/gui_parser.go:259 +0x490
nox/v1.(*guiParser).ParseRoot(0xb8d40c0, 0x11138c20)
    /github/actions-runner/workspace/opennox/opennox/src/gui_parser.go:140 +0x3b5
nox/v1.newWindowFromReader({0x8c6df28, 0x11138c30}, 0x11138c20)
    /github/actions-runner/workspace/opennox/opennox/src/gui_parser.go:59 +0x47
nox/v1.newWindowFromFile({0xebd2f10, 0xc}, 0x11138c20)
    /github/actions-runner/workspace/opennox/opennox/src/gui_parser.go:51 +0x20d
nox/v1.nox_new_window_from_file(0x96e892c, 0x89a6140)
    /github/actions-runner/workspace/opennox/opennox/src/gui_parser.go:33 +0x5a
nox/v1._Cfunc_nox_xxx_guiServerOptsLoad_457500()
    _cgo_gotypes.go:10860 +0x37
nox/v1.(*CtrlEventHandler).nox_xxx_clientControl_42D6B0_B(0xb118c80)
    /github/actions-runner/workspace/opennox/opennox/src/ctrlevent.go:578 +0x663
nox/v1.(*CtrlEventHandler).nox_xxx_clientControl_42D6B0(0xb118c80, {0x1c7, 0x140}, 0xb5e0810)
    /github/actions-runner/workspace/opennox/opennox/src/ctrlevent.go:134 +0x125
nox/v1.(*CtrlEventHandler).nox_xxx_input_42D220(0xb118c80, 0xb2ea200)
    /github/actions-runner/workspace/opennox/opennox/src/input_c.go:434 +0xb6
nox/v1.nox_xxx_client_435F80_draw(0xb2ea200)
    /github/actions-runner/workspace/opennox/opennox/src/draw.go:942 +0x149
nox/v1.clientDraw()
    /github/actions-runner/workspace/opennox/opennox/src/video_sdl.go:21 +0x23
nox/v1.mainloop_43E290(0x1)
    /github/actions-runner/workspace/opennox/opennox/src/gameloop.go:312 +0x42b
nox/v1.mainloop_43E290(0x0)
    /github/actions-runner/workspace/opennox/opennox/src/gameloop.go:355 +0x6b6
nox/v1.cmainLoop()
    /github/actions-runner/workspace/opennox/opennox/src/gameloop.go:530 +0x13d
nox/v1.RunArgs({0xb098108, 0x1, 0x1})
    /github/actions-runner/workspace/opennox/opennox/src/main.go:492 +0x2650
main.main()
    /github/actions-runner/workspace/opennox/opennox/src/cmd/opennox/main.go:12 +0x3b
hjyoon commented 2 years ago

This is a more detailed error message. (ebcda92)

(gdb) bt
#0  github.com/noxworld-dev/opennox/v1.newWindowRaw (parent=0xcdde8a90, 
    status=1192, px=130, py=43, w=55, h=20, 
    fnc94={void (github.com/noxworld-dev/opennox/v1.Window *, github.com/noxworld-dev/opennox/v1.WindowEvent, github.com/noxworld-dev/opennox/v1.WindowEventResp *)} 0x10b37428, ~r0=<optimized out>)
    at /home/hjyoon/Git/opennox/src/gui_window.go:274
#1  0x0885c8df in github.com/noxworld-dev/opennox/v1.newButtonOrCheckbox (
    parent=0xcdde8a90, status=1192, px=130, py=43, w=55, h=20, 
    draw=0xcbdafd20, ~r0=<optimized out>)
    at /home/hjyoon/Git/opennox/src/gui_widgets.go:466
#2  0x08859eac in github.com/noxworld-dev/opennox/v1.guiNewWidget (typ=..., 
    parent=0xcdde8a90, status=1192, px=130, py=43, w=55, h=20, 
    draw=0xcbdafd20, 
    data=<error reading variable: access outside bounds of object referenced via synthetic pointer>, ~r0=<optimized out>)
    at /home/hjyoon/Git/opennox/src/gui_widgets.go:97
#3  0x08852500 in github.com/noxworld-dev/opennox/v1.(*guiParser).parseWindowOrWidget (p=0x9d78120, typ=..., id=10332, status=1192, px=130, py=43, w=55, h=20, 
    drawData=0xcbdafd20, data=..., 
    fnc={void (github.com/noxworld-dev/opennox/v1.Window *, github.com/noxworld-dev/opennox/v1.WindowEvent, github.com/noxworld-dev/opennox/v1.WindowEventResp *)} 0x10b374d4, ~r0=<optimized out>)
    at /home/hjyoon/Git/opennox/src/gui_parser.go:407
--Type <RET> for more, q to quit, c to continue without paging--c
#4  0x088516a2 in github.com/noxworld-dev/opennox/v1.(*guiParser).parseWindowRoot (p=0x9d78120, fnc={void (github.com/noxworld-dev/opennox/v1.Window *, github.com/noxworld-dev/opennox/v1.WindowEvent, github.com/noxworld-dev/opennox/v1.WindowEventResp *)} 0x10b3756c, ~r0=<optimized out>) at /home/hjyoon/Git/opennox/src/gui_parser.go:244
#5  0x08851995 in github.com/noxworld-dev/opennox/v1.(*guiParser).parseWinFields (p=0x9d78120, win=0xcdde8a90, ~r0=<optimized out>) at /home/hjyoon/Git/opennox/src/gui_parser.go:284
#6  0x0885153f in github.com/noxworld-dev/opennox/v1.(*guiParser).parseWindowRoot (p=0x9d78120, fnc={void (github.com/noxworld-dev/opennox/v1.Window *, github.com/noxworld-dev/opennox/v1.WindowEvent, github.com/noxworld-dev/opennox/v1.WindowEventResp *)} 0x10b37668, ~r0=<optimized out>) at /home/hjyoon/Git/opennox/src/gui_parser.go:250
#7  0x08851995 in github.com/noxworld-dev/opennox/v1.(*guiParser).parseWinFields (p=0x9d78120, win=0xcdde85a4, ~r0=<optimized out>) at /home/hjyoon/Git/opennox/src/gui_parser.go:284
#8  0x0885153f in github.com/noxworld-dev/opennox/v1.(*guiParser).parseWindowRoot (p=0x9d78120, fnc={void (github.com/noxworld-dev/opennox/v1.Window *, github.com/noxworld-dev/opennox/v1.WindowEvent, github.com/noxworld-dev/opennox/v1.WindowEventResp *)} 0x10b37764, ~r0=<optimized out>) at /home/hjyoon/Git/opennox/src/gui_parser.go:250
#9  0x08851995 in github.com/noxworld-dev/opennox/v1.(*guiParser).parseWinFields (p=0x9d78120, win=0xcdde8748, ~r0=<optimized out>) at /home/hjyoon/Git/opennox/src/gui_parser.go:284
#10 0x0885153f in github.com/noxworld-dev/opennox/v1.(*guiParser).parseWindowRoot (p=0x9d78120, fnc={void (github.com/noxworld-dev/opennox/v1.Window *, github.com/noxworld-dev/opennox/v1.WindowEvent, github.com/noxworld-dev/opennox/v1.WindowEventResp *)} 0x10b37860, ~r0=<optimized out>) at /home/hjyoon/Git/opennox/src/gui_parser.go:250
#11 0x08851995 in github.com/noxworld-dev/opennox/v1.(*guiParser).parseWinFields (p=0x9d78120, win=0xcdde88ec, ~r0=<optimized out>) at /home/hjyoon/Git/opennox/src/gui_parser.go:284
#12 0x0885153f in github.com/noxworld-dev/opennox/v1.(*guiParser).parseWindowRoot (p=0x9d78120, fnc={void (github.com/noxworld-dev/opennox/v1.Window *, github.com/noxworld-dev/opennox/v1.WindowEvent, github.com/noxworld-dev/opennox/v1.WindowEventResp *)} 0x10b3795c, ~r0=<optimized out>) at /home/hjyoon/Git/opennox/src/gui_parser.go:250
#13 0x08850e95 in github.com/noxworld-dev/opennox/v1.(*guiParser).ParseRoot (p=0x9d78120, fnc={void (github.com/noxworld-dev/opennox/v1.Window *, github.com/noxworld-dev/opennox/v1.WindowEvent, github.com/noxworld-dev/opennox/v1.WindowEventResp *)} 0x10b37994, ~r0=<optimized out>) at /home/hjyoon/Git/opennox/src/gui_parser.go:139
#14 0x088508a7 in github.com/noxworld-dev/opennox/v1.newWindowFromReader (r=..., fnc={void (github.com/noxworld-dev/opennox/v1.Window *, github.com/noxworld-dev/opennox/v1.WindowEvent, github.com/noxworld-dev/opennox/v1.WindowEventResp *)} 0x10b379ac, ~r0=<optimized out>) at /home/hjyoon/Git/opennox/src/gui_parser.go:59
#15 0x088507f1 in github.com/noxworld-dev/opennox/v1.newWindowFromFile (name=..., fnc={void (github.com/noxworld-dev/opennox/v1.Window *, github.com/noxworld-dev/opennox/v1.WindowEvent, github.com/noxworld-dev/opennox/v1.WindowEventResp *)} 0x10b37a10, ~r0=<optimized out>) at /home/hjyoon/Git/opennox/src/gui_parser.go:51
#16 0x0885058a in github.com/noxworld-dev/opennox/v1.nox_new_window_from_file (cname=0x97d26cc <byte_587000+129900> "lservopt.wnd", fnc=0x8a14920 <nox_xxx_guiServerOptionsProcPre_4585D0>, ~r0=<optimized out>) at /home/hjyoon/Git/opennox/src/gui_parser.go:33
#17 0x088a591a in _cgoexp_42ecac348f22_nox_new_window_from_file (a=0xffffcf30) at _cgo_gotypes.go:21393
#18 0x080dbf7a in runtime.cgocallbackg1 (fn=0x88a58f0 <_cgoexp_42ecac348f22_nox_new_window_from_file>, frame=0xffffcf30, ctxt=0) at /usr/lib/go/src/runtime/cgocall.go:314
#19 0x080dbcba in runtime.cgocallbackg (fn=0x88a58f0 <_cgoexp_42ecac348f22_nox_new_window_from_file>, frame=0xffffcf30, ctxt=0) at /usr/lib/go/src/runtime/cgocall.go:233
#20 0x081439d0 in runtime.cgocallback () at /usr/lib/go/src/runtime/asm_386.s:762
#21 0x08142700 in ?? ()