Develop
Ticket #1610 (closed defect: fixed)
Assertion failure in TerrainRenderer.cpp when opening TerrainDisplayConfigPanel
| Reported by: | JamesB | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | XCSoar 6.3 |
| Component: | Configuration | Version: | 6.3 |
| Keywords: | Cc: |
Description
If no map database is loaded, opening the TerrainDisplay? ConfigPanel? triggers an assertion:
xcsoar: src/Terrain/TerrainRenderer.cpp:169: TerrainRenderer::TerrainRenderer(const RasterTerrain*): Zusicherung »terrain != __null« nicht erfüllt.
Program received signal SIGABRT, Aborted.
0x00007ffff6351405 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0 0x00007ffff6351405 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff6354680 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007ffff634a5b1 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#3 0x00000000004971f1 in TerrainRenderer::TerrainRenderer (this=0x7ffffffdd250, _terrain=0x0) at src/Terrain/TerrainRenderer.cpp:169
#4 0x00000000004ef075 in TerrainDisplayConfigPanel::OnPreviewPaint (Sender=0xf7bc50, canvas=...)
at src/Dialogs/ConfigPanels/TerrainDisplayConfigPanel.cpp:99
#5 0x00000000005152a1 in WndOwnerDrawFrame::on_paint (this=0xf7bc50, canvas=...) at src/Form/Draw.cpp:44
#6 0x0000000000523d12 in ContainerWindow::on_paint (this=0x133ca40, canvas=...) at src/Screen/SDL/ContainerWindow.cpp:326
#7 0x0000000000523d12 in ContainerWindow::on_paint (this=0xf80128, canvas=...) at src/Screen/SDL/ContainerWindow.cpp:326
#8 0x0000000000523d12 in ContainerWindow::on_paint (this=0xf800d0, canvas=...) at src/Screen/SDL/ContainerWindow.cpp:326
#9 0x0000000000523d12 in ContainerWindow::on_paint (this=0xf7dac8, canvas=...) at src/Screen/SDL/ContainerWindow.cpp:326
#10 0x0000000000512472 in WndForm::ClientAreaWindow::on_paint (this=0xf7dac8, canvas=...) at src/Form/Form.cpp:78
#11 0x0000000000523d12 in ContainerWindow::on_paint (this=0xf7d9f0, canvas=...) at src/Screen/SDL/ContainerWindow.cpp:326
#12 0x00000000005130f8 in WndForm::on_paint (this=0xf7d9f0, canvas=...) at src/Form/Form.cpp:499
#13 0x0000000000523d12 in ContainerWindow::on_paint (this=0x975e80, canvas=...) at src/Screen/SDL/ContainerWindow.cpp:326
#14 0x00000000005264b8 in TopWindow::expose (this=0x975e80) at src/Screen/SDL/TopWindow.cpp:114
#15 0x0000000000526542 in TopWindow::refresh (this=0x975e80) at src/Screen/SDL/TopWindow.cpp:162
#16 0x00000000005277d3 in EventLoop::get (this=0x7fffffffda80, event=...) at src/Screen/SDL/Event.cpp:39
#17 0x000000000051301e in WndForm::ShowModal (this=0xf7d9f0) at src/Form/Form.cpp:398
#18 0x00000000004dc7bc in dlgConfigurationShowModal () at src/Dialogs/dlgConfiguration.cpp:293
#19 0x000000000049ffc2 in SystemConfiguration () at src/UtilsSettings.cpp:215
#20 0x00000000004642db in InputEvents::eventSetup (misc=0x5f8a59 "System") at src/InputEventsActions.cpp:1393
#21 0x0000000000460391 in InputEvents::processGo (eventid=89) at src/InputEvents.cpp:663
#22 0x00000000004603d8 in InputEvents::processGo (eventid=90) at src/InputEvents.cpp:667
#23 0x000000000045fd45 in InputEvents::processButton (bindex=6) at src/InputEvents.cpp:423
#24 0x000000000044c716 in MenuBar::Button::on_clicked (this=0x10db620) at src/MenuBar.cpp:99
#25 0x00000000005253f4 in ButtonWindow::on_mouse_up (this=0x10db620, x=35, y=47) at src/Screen/SDL/ButtonWindow.cpp:119
#26 0x000000000052399a in ContainerWindow::on_mouse_up (this=0x975e80, x=163, y=435) at src/Screen/SDL/ContainerWindow.cpp:259
#27 0x000000000052682b in TopWindow::on_event (this=0x975e80, event=...) at src/Screen/SDL/TopWindow.cpp:235
#28 0x00000000005278fd in EventLoop::dispatch (this=0x7fffffffe210, event=...) at src/Screen/SDL/Event.cpp:65
#29 0x000000000052688f in TopWindow::event_loop (this=0x975e80) at src/Screen/SDL/TopWindow.cpp:252
#30 0x0000000000508526 in main (argc=1, argv=0x7fffffffe368) at src/XCSoar.cpp:106
Bisecting leads to 0094c982a6f6788120b0802a8b7efc217f1cf8d4 introducing this bug.
Change History
Note: See
TracTickets for help on using
tickets.

fixed in my repository