Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Bug #855199

Qt GUI crashes when pressing F3 (nation view) in no-human game

Added by Anton K├Ârbchen almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
gui-qt
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

To reproduce:
- launch freeciv-qt
- type '/set minplayer 0'
- click 'observe' and then 'start'
- press F3

History

#1 Updated by Marko Lindqvist almost 2 years ago

  • Category set to gui-qt
  • Sprint/Milestone set to 2.6.2

Reproduced in S2_6 HEAD.

Thread 1 "freeciv-qt" received signal SIGSEGV, Segmentation fault.
0x000055555583e5bc in player_has_real_embassy (pplayer=pplayer@entry=0x0,
pplayer2=pplayer2@entry=0x555556de4000) at ../../../src/common/player.c:768
768 return player_number(pplayer);
(gdb) bt
#0 0x000055555583e5bc in player_has_real_embassy
(pplayer=pplayer@entry=0x0, pplayer2=pplayer2@entry=0x555556de4000)
at ../../../src/common/player.c:768
#1 0x000055555583e5f4 in player_has_embassy
(pplayer=pplayer@entry=0x0, pplayer2=pplayer2@entry=0x555556de4000)
at ../../../src/common/player.c:203
#2 0x000055555566903e in plr_widget::nation_selected(QItemSelection const&, QItemSelection const&)
(this=0x55555ab3e9a0, sl=..., ds=...) at ../../../../src/client/gui-qt/plrdlg.cpp:463
#3 0x00007ffff737a3c8 in QMetaObject::activate(QObject*, int, int, void**) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4 0x00007ffff730c350 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5 0x00007ffff7311612 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6 0x00007ffff7314177 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7 0x00007ffff730e4bd in QItemSelectionModel::select(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8 0x00007ffff730e6d2 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9 0x00007ffff6e0ea9d in QAbstractItemView::setCurrentIndex(QModelIndex const&) ()
at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x0000555555668407 in plr_report::update_report(bool)
(this=this@entry=0x555556ec6240, update_selection=update_selection@entry=true)
at ../../../../src/client/gui-qt/plrdlg.cpp:803
#11 0x00005555556684f9 in popup_players_dialog(bool) (raise=<optimized out>)
at ../../../../src/client/gui-qt/plrdlg.cpp:862
#12 0x00007ffff737a528 in QMetaObject::activate(QObject*, int, int, void**) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007ffff6ba9812 in QAction::triggered(bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ffff6babe52 in QAction::activate(QAction::ActionEvent) ()
at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff6bac6ef in QAction::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007ffff6bafc32 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007ffff6bb9190 in QApplication::notify(QObject*, QEvent*) ()
at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ffff734fa92 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007ffff775748e in QShortcutMap::dispatchEvent(QKeyEvent*) ()
at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#20 0x00007ffff775756b in QShortcutMap::tryShortcut(QKeyEvent*) ()
at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#21 0x00007ffff770d17e in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#22 0x00007ffff7729ead in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#23 0x00007ffff772f271 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#24 0x00007ffff7709eeb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#25 0x00007fffe068ed0a in () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#26 0x00007ffff4659f1d in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007ffff465a1a0 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007ffff465a22f in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007ffff73a57f1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007ffff734e71b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007ffff73561c2 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x000055555573872d in fc_client::fc_main(QApplication*) (this=0x555555f99540, qapp=0x555555cd1270)
at ../../../../src/client/gui-qt/fc_client.cpp:257
#33 0x000055555561b32b in qtg_ui_main(int, char**) (argc=<optimized out>, argv=<optimized out>)
at ../../../../src/client/gui-qt/gui_main.cpp:191
#34 0x00005555556890d5 in client_main (argc=1, argv=0x7fffffffdff8)
at ../../../src/client/client_main.c:685
#35 0x00007ffff6559bbb in __libc_start_main (main=
0x555555619290 <main(int, char**)>, argc=1, argv=0x7fffffffdff8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdfe8) at ../csu/libc-start.c:308
#36 0x000055555561a4ca in _start () at ../../../../src/client/gui-qt/gui_main.cpp:114

#2 Updated by Marko Lindqvist almost 2 years ago

#3 Updated by Marko Lindqvist almost 2 years ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF