Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23152 - Freeciv-1.14.0-r1 segfault when disconnecting w/cities report open
Summary: Freeciv-1.14.0-r1 segfault when disconnecting w/cities report open
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Games
URL: http://www.freeciv.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-19 20:57 UTC by Brian S. Stephan
Modified: 2003-09-01 18:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian S. Stephan 2003-06-19 20:57:18 UTC
Freeciv with the GTK2 client (not sure about others) will have a segmentation
fault if trying to cleanly disconnect from a server while the Cities Report
window is open and cities exist for the civ. Other Report windows result in a
clean disconnect, dropping client to startup windows.

Relevant versions:
freeciv-1.14.0-r1
gtk+-2.2.2-r1
(not sure if this is specific to this package combo or not)

Reproducible: Always
Steps to Reproduce:
1. Connect the client to a server (either local or remote)
2. Build a city if necessary, open the Cities Report window (F1)
3. Attempt to disconnect via Game -> Disconnect

Actual Results:  
Console output below:

Segmentation fault
** (civclient:21528): WARNING **: Invalid UTF8 string passed to
pango_layout_set_test()
[bash prompt]

Expected Results:  
Disconnect cleanly, drop to starup windows
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-07-12 00:08:35 UTC
I can reproduce this.

Brian - have you reported this bug upstream to http://www.freeciv.org/?

Seems like a pretty easy bug to fix if you're familiar with the freeciv
source.  I, however, am not.  Probably by the time I get time to track this
bug down properly it will be fixed in a newer release of freeciv.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2003-09-01 18:42:21 UTC
This bug has been fixed in the freeciv CVS source.  I've added the latest snapshot
from today to portage CVS, marked ~x86.  It seems to be very stable and playable.
This bug in particular is fixed as far as I can tell.