widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #05728
Re: [Merge] lp:~widelands-dev/widelands/beautiful_correct_lines into lp:widelands
I am getting another crash. To reproduce, start a new game and click on general statistics.
ComputerPlayer(2): initializing (2)
Forcing flag at (43, 59)
Message: adding (wh) (warehouse) 1
Forcing flag at (42, 21)
Message: adding (wh) (warehouse) 2
Font file not found. Falling back to serif: condensed
Could not find file: could not find file or directory: i18n/fonts/condensed
widelands: /home/bratzbert/sources/widelands/beautiful_correct_lines/src/graphic/surface.cc:99: void Surface::draw_line_strip(const LineStripMode&, std::vector<GenericPoint<int> >, const RGBColor&, float): Assertion `points.size() > 1' failed.
Program received signal SIGABRT, Aborted.
0x00007ffff54cbcc9 in __GI_raise (sig=sig@entry=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) backtrace
#0 0x00007ffff54cbcc9 in __GI_raise (sig=sig@entry=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff54cf0d8 in __GI_abort () at abort.c:89
#2 0x00007ffff54c4b86 in __assert_fail_base (
fmt=0x7ffff5615830 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=assertion@entry=0x142b4f9 "points.size() > 1",
file=file@entry=0x142b4a8 "/home/bratzbert/sources/widelands/beautiful_correct_lines/src/graphic/surface.cc", line=line@entry=99,
function=function@entry=0x142b560 <Surface::draw_line_strip(LineStripMode const&, std::vector<GenericPoint<int>, std::allocator<GenericPoint<int> > >, RGBColor const&, float)::__PRETTY_FUNCTION__> "void Surface::draw_line_strip(const LineStripMode&, std::vector<GenericPoint<int> >, const RGBColor&, float)")
at assert.c:92
#3 0x00007ffff54c4c32 in __GI___assert_fail (
assertion=0x142b4f9 "points.size() > 1",
file=0x142b4a8 "/home/bratzbert/sources/widelands/beautiful_correct_lines/src/graphic/surface.cc", line=99,
function=0x142b560 <Surface::draw_line_strip(LineStripMode const&, std::vector<GenericPoint<int>, std::allocator<GenericPoint<int> > >, RGBColor const&, float)::__PRETTY_FUNCTION__> "void Surface::draw_line_strip(const LineStripMode&, std::vector<GenericPoint<int> >, const RGBColor&, float)") at assert.c:101
#4 0x000000000103418a in Surface::draw_line_strip (this=0x1af3870,
line_strip_mode=@0x7fffffffa6f8: kOpen,
points=std::vector of length 1, capacity 1 = {...}, color=...,
line_width=2.5)
at /home/bratzbert/sources/widelands/beautiful_correct_lines/src/graphic/surface.cc:99
#5 0x0000000000d089a1 in RenderTarget::draw_line_strip (this=0x1b00840,
line_strip_mode=@0x7fffffffa6f8: kOpen,
points=std::vector of length 1, capacity 1 = {...}, color=...,
line_width=2.5)
at /home/bratzbert/sources/widelands/beautiful_correct_lines/src/graphic/rendertarget.cc:123
#6 0x00000000010290a9 in WuiPlotArea::draw_plot_line (this=0x6c29020,
dst=..., dataset=0x55de380, yline_length=110, highest_scale=271,
sub=13.333333, color=..., yoffset=115)
at /home/bratzbert/sources/widelands/beautiful_correct_lines/src/wui/plot_area.cc:437
#7 0x0000000001028e50 in WuiPlotArea::draw (this=0x6c29020, dst=...)
at /home/bratzbert/sources/widelands/beautiful_correct_lines/src/wui/plot_area.cc:400
#8 0x0000000000ee85d6 in UI::Panel::do_draw_inner (this=0x6c29020, dst=...)
at /home/bratzbert/sources/widelands/beautiful_correct_lines/src/ui_basic/panel.cc:822
#9 0x0000000000ee8798 in UI::Panel::do_draw (this=0x6c29020, dst=...)
at /home/bratzbert/sources/widelands/beautiful_correct_lines/src/ui_basic/panel.cc:858
#10 0x0000000000ee85f7 in UI::Panel::do_draw_inner (this=0x6c28f50, dst=...)
at /home/bratzbert/sources/widelands/beautiful_correct_lines/src/ui_basic/panel.cc:826
#11 0x0000000000ee8798 in UI::Panel::do_draw (this=0x6c28f50, dst=...)
at /home/bratzbert/sources/widelands/beautiful_correct_lines/src/ui_basic/panel.cc:858
#12 0x0000000000ee85f7 in UI::Panel::do_draw_inner (this=0x6c28e40, dst=...)
at /home/bratzbert/sources/widelands/beautiful_correct_lines/src/ui_basic/panel.cc:826
#13 0x0000000000ee8798 in UI::Panel::do_draw (this=0x6c28e40, dst=...)
at /home/bratzbert/sources/widelands/beautiful_correct_lines/src/ui_basic/panel.cc:858
#14 0x0000000000ee85f7 in UI::Panel::do_draw_inner (this=0x24ff1c0, dst=...)
at /home/bratzbert/sources/widelands/beautiful_correct_lines/src/ui_basic/panel.cc:826
#15 0x0000000000ee8798 in UI::Panel::do_draw (this=0x24ff1c0, dst=...)
at /home/bratzbert/sources/widelands/beautiful_correct_lines/src/ui_basic/panel.cc:858
#16 0x0000000000ee7383 in UI::Panel::do_run (this=0x24ff1c0)
at /home/bratzbert/sources/widelands/beautiful_correct_lines/src/ui_basic/panel.cc:184
#17 0x0000000000c59d30 in UI::Panel::run<UI::Panel::Returncodes> (
this=0x24ff1c0)
at /home/bratzbert/sources/widelands/beautiful_correct_lines/src/ui_basic/panel.h:98
#18 0x0000000000d63056 in Widelands::Game::run (this=0x7fffffffba90,
loader_ui=0x7ffffffface0, start_game_type=Widelands::Game::NewNonScenario,
script_to_run="", replay=false)
at /home/bratzbert/sources/widelands/beautiful_correct_lines/src/logic/game.cc:581
#19 0x0000000000c53fe4 in WLApplication::new_game (this=0x1945da0)
at /home/bratzbert/sources/widelands/beautiful_correct_lines/src/wlapplication.cc:1289
#20 0x0000000000c535cc in WLApplication::mainmenu_singleplayer (this=0x1945da0)
at /home/bratzbert/sources/widelands/beautiful_correct_lines/src/wlapplication.cc:1143
#21 0x0000000000c52d3f in WLApplication::mainmenu (this=0x1945da0)
at /home/bratzbert/sources/widelands/beautiful_correct_lines/src/wlapplication.cc:1032
#22 0x0000000000c4f88a in WLApplication::run (this=0x1945da0)
at /home/bratzbert/sources/widelands/beautiful_correct_lines/src/wlapplication.cc:458
#23 0x0000000000c4de86 in main (argc=1, argv=0x7fffffffde58)
at /home/bratzbert/sources/widelands/beautiful_correct_lines/src/main.cc:105
--
https://code.launchpad.net/~widelands-dev/widelands/beautiful_correct_lines/+merge/284517
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/beautiful_correct_lines into lp:widelands.
References