[Freeciv-Dev] [bug #13498] client abort in 2.1.9+ GTK

2010-01-24 Thread pepeto

Update of bug #13498 (project freeciv):

  Status:   Confirmed = Works For Me   
 Assigned to:   mbook = pepeto 
 Open/Closed:Open = Closed 

___

Follow-up Comment #26:

Doesn't occur anymore in the current branch.  I take the responsibility to
close this item, whereas it is not really safely fixed for the S2_1 branch.


___

Reply to this item at:

  http://gna.org/bugs/?13498

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #13498] client abort in 2.1.9+ GTK

2009-11-01 Thread Mity

Follow-up Comment #17, bug #13498 (project freeciv):

freeciv version 2.1.9, client-gtk-2.0
Slackware 13.0

I've just experienced the same bug: 
civclient: city.c:553: city_owner: Assertion `((void *)0) != pcity  ((void
*)0) != pcity-owner' failed.

I think in my case it has occurred after double-clicking in a message listbox
but not sure (it's possible I was clicking after the assert as the gdb was
hidden on another desktop). 

Seems my backtrace slightly differs from the others so hopefully this can
bring more info.

Some info from gdb:
(gdb) bt
#0  0xb7691456 in raise () from /lib/libc.so.6
#1  0xb7692e08 in abort () from /lib/libc.so.6
#2  0xb768a3f0 in __assert_fail () from /lib/libc.so.6
#3  0x080a583b in city_owner (pcity=0x9f780a0) at city.c:553
#4  0x080730b9 in find_city_or_settler_near_tile (ptile=0xb6cafe34, 
punit=0xbfc2f308) at mapview_common.c:2005
#5  0x08092ba5 in fill_city_overlays_sprite_array (t=0x827c050, 
sprs=0xbfc2f440, ptile=0xb6cafe34, citymode=0x0) at tilespec.c:3427
#6  0x0809666e in fill_sprite_array (t=0x827c050, sprs=0xbfc2f440, 
layer=LAYER_OVERLAYS, ptile=0xb6cafe34, pedge=0x0, pcorner=0x0,
punit=0x0, 
pcity=0x0, citymode=0x0) at tilespec.c:4263
#7  0x0806e1ed in put_one_element (pcanvas=0x902c0e0, layer=LAYER_OVERLAYS, 
ptile=0xb6cafe34, pedge=0x0, pcorner=0x0, punit=0x0, pcity=0x0, 
canvas_x=547, canvas_y=216, citymode=0x0) at mapview_common.c:913
#8  0x0806e76a in put_one_tile (pcanvas=0x902c0e0, layer=LAYER_OVERLAYS, 
ptile=0xb6cafe34, canvas_x=547, canvas_y=216, citymode=0x0)
at mapview_common.c:1083
#9  0x0806f9bb in update_map_canvas (canvas_x=315, canvas_y=0, width=1049, 
height=504) at mapview_common.c:1282
#10 0x0806d2ec in base_set_mapview_origin (gui_x0=4343, gui_y0=1584)
at mapview_common.c:525
#11 0x0806d5a6 in set_mapview_origin (gui_x0=4343, gui_y0=1584)
at mapview_common.c:605
#12 0x0806de2a in center_tile_mapcanvas (ptile=0xb6cbde64)
at mapview_common.c:797
#13 0x08075710 in meswin_popup_city (message_index=0)
at messagewin_common.c:201
#14 0x0807581c in meswin_double_click (message_index=0)
at messagewin_common.c:239
#15 0x0814145d in meswin_row_activated_callback (view=0x8ff3d40, 
path=0xb973260, col=0x901a188, data=0x0) at messagewin.c:326
#16 0xb7e04a73 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x08ff3d40 in ?? ()
#18 0x0b973260 in ?? ()
#19 0x0901a188 in ?? ()
#20 0x in ?? ()

(gdb) p pcity
$1 = (const struct city *) 0x9f780a0
(gdb) p pcity-owner
$2 = (struct player *) 0x0

Seems the problem is that pcity-owner == NULL, at least in my case. 

Please note I was running in VirtualBox and I've saved the state of the OS
with the gdb session running so I can dig more info from it (if you know what
you need, feel free to ask ;-)

Hope it helps.


___

Reply to this item at:

  http://gna.org/bugs/?13498

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #13498] client abort in 2.1.9+ GTK

2009-11-01 Thread pepeto

Follow-up Comment #18, bug #13498 (project freeciv):

The back trace you added is related to this bug.  But the one you are
describing is bug #14652.


___

Reply to this item at:

  http://gna.org/bugs/?13498

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #13498] client abort in 2.1.9+ GTK

2009-11-01 Thread Mity

Follow-up Comment #19, bug #13498 (project freeciv):

Nope. Double-clicking in the message list was the last action I performed
when I got this backtrace. 

I'm pretty sure it is not #14652. First reason is that it's me who reported
#14652 (I created he account on gna.org after that so the #14652 report is
anonymous) and I'm sure that now it was not during turn change, and
message_index was quite low because it was 2nd or 3rd message.

Second reason is I have applied your patch fixing #14652
(https://gna.org/support/download.php?file_id=7186) and rebuilt.

Though (as I said in my previous comment) it is possible that the double-lick
could be post-mortem, i.e. the right cause was some previous action...

___

Reply to this item at:

  http://gna.org/bugs/?13498

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #13498] client abort in 2.1.9+ GTK

2009-11-01 Thread Mity

Follow-up Comment #20, bug #13498 (project freeciv):

And 3rd reason is that the backtrace you accept to be related to this bug
contains this:

#14 0x0807581c in meswin_double_click (message_index=0)
at messagewin_common.c:239 

(so it seems it was 1st message in the list to be double-clicked)

___

Reply to this item at:

  http://gna.org/bugs/?13498

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #13498] client abort in 2.1.9+ GTK

2009-11-01 Thread pepeto

Follow-up Comment #21, bug #13498 (project freeciv):

I missed some piece of informations, thank you.  This is very interesting... 
But I still have no idea of what can cause this bug.  Was it near a recent
destroyed city?


___

Reply to this item at:

  http://gna.org/bugs/?13498

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #13498] client abort in 2.1.9+ GTK

2009-11-01 Thread anonymous

Follow-up Comment #22, bug #13498 (project freeciv):

You're welcome.

Here is more info:

(gdb) p messages[0]  # zero is the index from the backtrace
$17 = {
  descr = 0xa9b76e8 Caracas is finished building Settlers., ' ' repeats 12
times, tile = 0xb6cbde64, event = E_UNIT_BUILT, location_ok = true, 
  city_ok = true, visited = false}

Caracas was an enemy city of size 3 with City Walls in previous turn
(according to autosave). According to these facts and what I can remember I
think I can reconstruct my actions quite well.

In the previous turn I conquered the city. It was equipped with city walls so
although there was a lot of enemy units, the size dropped only to 2 when I
entered the city.

The city is located on very unpleasant place for me so I decided to disband
it: immediately after the conquer (still the same turn) I chose production of
settlers and bought them and checked the Disband if build settlers on size
1. In the city itself and around it there were plenty of my military units.

There was yet another close city (size 1) to be disbanded. The other city
dissolved into settlers during turn over.

Then in new turn I only clicked on the message informing me the settlers are
finished in Caracas (I wanted disband the settlers them and buy new ones to
disband the city).

___

Reply to this item at:

  http://gna.org/bugs/?13498

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #13498] client abort in 2.1.9+ GTK

2009-11-01 Thread pepeto

Follow-up Comment #23, bug #13498 (project freeciv):

Is that 2.1.9 or svn 2.1 branch?  Was Caracas yours before you conquered it?


___

Reply to this item at:

  http://gna.org/bugs/?13498

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #13498] client abort in 2.1.9+ GTK

2009-11-01 Thread Mity

Follow-up Comment #24, bug #13498 (project freeciv):

It is the release 2.1.9 with this one patch: 
https://gna.org/support/download.php?file_id=7186
(which should be irrelevant here as far as I can see).

The Caracas was never mine. I am the aggressor in this case ;-)


___

Reply to this item at:

  http://gna.org/bugs/?13498

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #13498] client abort in 2.1.9+ GTK

2009-11-01 Thread pepeto

Follow-up Comment #25, bug #13498 (project freeciv):

I will try to install a 2.1.9 version.  This bug is supposed to be left now
in svn branch, but actually not really fixed...


___

Reply to this item at:

  http://gna.org/bugs/?13498

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #13498] client abort in 2.1.9+ GTK

2009-09-29 Thread pepeto

Follow-up Comment #15, bug #13498 (project freeciv):

See also bug #13780


___

Reply to this item at:

  http://gna.org/bugs/?13498

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #13498] client abort in 2.1.9+ GTK

2009-06-19 Thread Madeline Book

Follow-up Comment #14, bug #13498 (project freeciv):

Can someone using latest S2_1 from svn confirm if
this crash still occurs? There were a number of
fixes committed in the meantime, in particular
one dealing with some nasty potential memory
corruption, so the bug might be absent now.



そう思うが。

___

Reply to this item at:

  http://gna.org/bugs/?13498

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #13498] client abort in 2.1.9+ GTK

2009-05-29 Thread anonymous

Follow-up Comment #13, bug #13498 (project freeciv):

Hi
I have now had crash 6 from this bug.
Again in LTXIV. This time a new variant. 

I was online when a city of mine was captured.
A size 4 city with one of my units inside was attacked and captured.(no
palace). I crashed with the same abort error. My opponent (Maho) did not
crash.

I should have lost vision with this crash. I had lost two other cities in the
minutes preceding this crash. Both captured intact. The other captured cities
that lost vision show me the size of the city as it was before the capture.
After rejoining the game this city showed me the correct city size.

Kevin551



Kevin551

___

Reply to this item at:

  http://gna.org/bugs/?13498

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #13498] client abort in 2.1.9+ GTK

2009-05-26 Thread anonymous

Follow-up Comment #12, bug #13498 (project freeciv):

Hi
I have now had crashes 4 and 5 from this bug.
This time in LTXIV.

Some more info about my setup.
Am running Freeciv 2.1.9-GTK on windowsXP.
The crash is an assert failure in file common/city.c on line 553.
I am not using your new debug version - sorry. Too hard to compile on
windows.

Crash 4 was destroying an empty size 1 city without palace.
Crash 5 was destroying an empty size 1 city with palace.
This crash has not occurred when I capture cities intact with or without
palaces. The crash sometimes occurs a few minutes after the city has been
destroyed.
 
Kevin551

___

Reply to this item at:

  http://gna.org/bugs/?13498

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #13498] client abort in 2.1.9+ GTK

2009-05-22 Thread Madeline Book

Follow-up Comment #11, bug #13498 (project freeciv):

I committed the last patch, but of course that
does not really solve the underlying problem.
I'll leave this ticket open for now, in case
more information comes to light.



家に帰りたいだけなの。

___

Reply to this item at:

  http://gna.org/bugs/?13498

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #13498] client abort in 2.1.9+ GTK

2009-05-19 Thread anonymous

Follow-up Comment #8, bug #13498 (project freeciv):

This crash has happened to me 3 times in LTXV now. Each time was just after
entering / destroying an empty size 1 city. Each time the city was the
capital city and the losing player was not RIP. Kevin551

___

Reply to this item at:

  http://gna.org/bugs/?13498

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #13498] client abort in 2.1.9+ GTK

2009-05-19 Thread Madeline Book

Follow-up Comment #9, bug #13498 (project freeciv):

 This crash has happened to me 3 times in LTXV now. Each
 time was just after entering / destroying an empty size
 1 city.  Each time the city was the capital city and the
 losing player was not RIP. Kevin551

Confirmed. Thanks for the information.



役に立つ情報をありがとう。

___

Reply to this item at:

  http://gna.org/bugs/?13498

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #13498] client abort in 2.1.9+ GTK

2009-05-19 Thread Madeline Book

Update of bug #13498 (project freeciv):

 Assigned to:None = mbook  


___

Reply to this item at:

  http://gna.org/bugs/?13498

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #13498] client abort in 2.1.9+ GTK

2009-05-19 Thread Madeline Book

Update of bug #13498 (project freeciv):

Severity:  3 - Normal = 4 - Important  
Priority:  5 - Normal = 7 - High   
  Status:None = Confirmed  


___

Reply to this item at:

  http://gna.org/bugs/?13498

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #13498] client abort in 2.1.9+ GTK

2009-05-19 Thread Madeline Book

Follow-up Comment #10, bug #13498 (project freeciv):

Hmm well, I managed to get one crash but then never
again, even retracing the same steps from the same
savegame with the same binary. Furthermore the back-
trace showed a slightly different code path, but
still basically a map redraw from a gui callback.
Without a consistent way to reproduce the bug I
cannot isolate the original cause; it surely is
some corruption of ptile-worked, but whether this
occurs due to incorrect behavior of handle_city
_info or some other client function, or even due
to something on the server-side, this is unknown.

Maybe civilwar is involved somehow (or maybe it
just causes more changes at the same time, raising
the probability that the bug occurs).

Anyway, as a temporary stopgap measure the attached
patch checks for a corrupted ptile-worked pointer
in find_city_or_settler_near_tile(), and if found
ignores it. In trunk the worked field handling is
already different (there in handle_tile_info for
some reason, along with the strange invisible
cities hack), so I will leave that version alone
for the moment.

Please test and report if it at least avoids the
client crash (and any other bad behavior).



何でもありえる不思議な所だった。

(file #5791)
___

Additional Item Attachment:

File name: avoid_mysterious_ptile_worked_crash.diff Size:0 KB


___

Reply to this item at:

  http://gna.org/bugs/?13498

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #13498] client abort in 2.1.9+ GTK

2009-05-09 Thread Christian Knoke

Follow-up Comment #5, bug #13498 (project freeciv):

Hello,

here is another signal 6 crash, this time the trigger was switching the city
governor preset for a single city within the city report.

bt full, civclient.log, save games before and after, no way found to
reproduce.

Christian

Core was generated by `/usr/local/bin/civclient -d 3 -l civclient.log'.
Program terminated with signal 6, Aborted.
[New process 5534]
#0  0xb7f4b424 in __kernel_vsyscall ()
(gdb) bt full
#0  0xb7f4b424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb76c9640 in raise () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#2  0xb76cb018 in abort () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#3  0xb76c25be in __assert_fail () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#4  0x0809a78c in city_owner (pcity=0xa2c98a0) at city.c:553
__PRETTY_FUNCTION__ = city_owner
#5  0x0806b55f in find_city_or_settler_near_tile (ptile=0xa29af18,
punit=0xbfa65f78) at mapview_common.c:2005
pcity = (struct city *) 0x0
closest_city = value optimized out
closest_settler = value optimized out
best_settler = value optimized out
#6  0x08086eb7 in fill_sprite_array (t=0x9657ec0, sprs=0xbfa65fbc,
layer=LAYER_OVERLAYS, ptile=0xa29af18, pedge=0x0, pcorner=0x0,
punit=0xa2d8660, pcity=0x0, 
citymode=0x0) at tilespec.c:3427
tileno = value optimized out
dir = value optimized out
tspecial_near = {{vec = \000}, {vec = \000}, {vec = \000}, {vec =
\000}, {vec = \000\b}, {vec = \000}, {vec = \000}, {vec = \000}}
tspecial = {vec = \001}
tterrain_near = {0x81af9a0, 0x81af9a0, 0x81af340, 0x81af450, 0x81af9a0,
0x81af780, 0x81af230, 0x81af780}
pterrain = (struct terrain *) 0x81af340
owner = value optimized out
__PRETTY_FUNCTION__ = fill_sprite_array
#7  0x0806e104 in put_one_element (pcanvas=0x99a1600, layer=LAYER_OVERLAYS,
ptile=0xa29af18, pedge=0x0, pcorner=0x0, punit=0xa2d8660, pcity=0x0, 
canvas_x=1320, canvas_y=728, citymode=0x0) at mapview_common.c:913
tile_sprs = {{foggable = false, sprite = 0x9b3ef70, offset_x = 0, 
offset_y =
0}, {foggable = false, sprite = 0x9973cd8, offset_x = 0, offset_y = 0}, {
foggable = false, sprite = 0x9b1e1b0, offset_x = 0, offset_y = 0},
{foggable = false, sprite = 0x96f07a0, offset_x = 0, offset_y = 0}, {foggable
= false, 
sprite = 0x9702c40, offset_x = 0, offset_y = 0}, {foggable = 214, sprite
= 0x9b732f0, offset_x = 1, offset_y = -1211793520}, {foggable = 72, 
sprite = 0xb7f2fd9c, offset_x = 163001072, offset_y = -1079615400},
{foggable = 208, sprite = 0x9b732f0, offset_x = -1211793520, offset_y =
-1079615416}, 
  {foggable = false, sprite = 0x0, offset_x = 402, offset_y = 163001072},
{foggable = 240, sprite = 0xb7f2fd9c, offset_x = 402, offset_y =
-1079615304}, {
foggable = 154, sprite = 0x9b732f0, offset_x = -1079613968, offset_y =
0}, {foggable = 2, sprite = 0xbfa665fc, offset_x = 163001072, 
offset_y = -1208877326}, {foggable = false, sprite = 0x0, offset_x = 402,
offset_y = 31}, {foggable = 120, sprite = 0xbfa66338, offset_x = 0, 
offset_y = 31}, {foggable = 36, sprite = 0xbfa66338, offset_x = 0,
offset_y = 2}, {foggable = 156, sprite = 0xb7f2fd9c, offset_x = -1211086416,

offset_y = -1079615272}, {foggable = 37, sprite = 0xbfa66280, offset_x =
0, offset_y = 157953552}, {foggable = 120, sprite = 0xbfa66338, 
offset_x = 157974456, offset_y = -1079615224}, {foggable = 137, sprite =
0x96a7fb8, offset_x = -1079614848, offset_y = 2}, {foggable = 56, 
sprite = 0xbfa6626c, offset_x = -1211086416, offset_y = 7424}, {foggable
= 120, sprite = 0x96a7fb8, offset_x = 157974456, offset_y = -1079615080}, {
foggable = 115, sprite = 0x96a7fb8, offset_x = 1073774594, offset_y =
32770}, {foggable = 56, sprite = 0xbfa6626c, offset_x = 200, 
offset_y = -1079614856}, {foggable = 244, sprite = 0xbfa6626c, offset_x =
-1079614664, offset_y = 2}, {foggable = 30, sprite = 0xb7a29e00, 
offset_x = -1214079760, offset_y = -1079615120}, {foggable = 30, sprite =
0xb79de040, offset_x = 1, offset_y = 157894500}, {foggable = 115, 
sprite = 0xbfa66280, offset_x = 20, offset_y = 157894500}, {foggable =
120, sprite = 0xbfa66280, offset_x = 0, offset_y = -1079615080}, {foggable =
252, 
sprite = 0x14, offset_x = 0, offset_y = 157894584}, {foggable = 218,
sprite = 0xb7a10678, offset_x = 157974960, offset_y = -1079614792}, {foggable
= 158, 
sprite = 0xbfa66280, offset_x = -1079614216, offset_y = -1079614848},
{foggable = false, sprite = 0xbfa6626c, offset_x = 512, offset_y =
-1214462472}, {
---Type return to continue, or q return to quit---
foggable = 32, sprite = 0x6300, offset_x = 0, offset_y = 25344},
{foggable = 116, sprite = 0xb741498e, offset_x = -1079614688, offset_y =
-1079614876}, {
foggable = false, sprite = 0xe100, offset_x = 0, offset_y = 0}, {foggable
= 30, sprite = 0xb77f6160, offset_x = 512, offset_y = 

[Freeciv-Dev] [bug #13498] client abort in 2.1.9+ GTK

2009-05-09 Thread Madeline Book

Follow-up Comment #6, bug #13498 (project freeciv):

I'm going to commit soon the attached patch which splits
the assertion in to two lines so we can better see what
condition is failing.



よく見えないからね。

(file #5765)
___

Additional Item Attachment:

File name: split_up_city_assertion.diff   Size:0 KB


___

Reply to this item at:

  http://gna.org/bugs/?13498

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #13498] client abort in 2.1.9+ GTK

2009-05-09 Thread Madeline Book

Follow-up Comment #7, bug #13498 (project freeciv):

Oops minor mistake in the last patch...



しまった、終わりものを忘れた

(file #5766)
___

Additional Item Attachment:

File name: split_up_city_assertion_v2.diff Size:0 KB


___

Reply to this item at:

  http://gna.org/bugs/?13498

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #13498] client abort in 2.1.9+ GTK

2009-05-08 Thread Christian Knoke

Follow-up Comment #4, bug #13498 (project freeciv):

Hello,

I think this is a similar crash. It happened at a middle-click on a sentried
unit in the city window.

Rev 15657 + hack fix patch, 2.1.9+ GTK client

Savegames are before and after, not reproducible.

Christian

Core was generated by `/usr/local/bin/civclient -d 3 -l civclient.log'.
Program terminated with signal 6, Aborted.
[New process 18579]
#0  0xb7f15424 in __kernel_vsyscall ()
(gdb) bt full
#0  0xb7f15424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7693640 in raise () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#2  0xb7695018 in abort () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#3  0xb768c5be in __assert_fail () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#4  0x0809a78c in city_owner (pcity=0xb0b1400) at city.c:553
__PRETTY_FUNCTION__ = city_owner
#5  0x0806b55f in find_city_or_settler_near_tile (ptile=0xac5b250,
punit=0xbf92e818) at mapview_common.c:2005
pcity = (struct city *) 0x0
closest_city = value optimized out
closest_settler = value optimized out
best_settler = value optimized out
#6  0x08086eb7 in fill_sprite_array (t=0xa01aec0, sprs=0xbf92e85c,
layer=LAYER_OVERLAYS, ptile=0xac5b250, pedge=0x0, pcorner=0x0, punit=0x0,
pcity=0x0, 
citymode=0x0) at tilespec.c:3427
tileno = value optimized out
dir = value optimized out
tspecial_near = {{vec = \000}, {vec = \000}, {vec = \000}, {vec =
\000}, {vec = \000}, {vec = \001}, {vec = \001}, {vec = \001}}
tspecial = {vec = \001}
tterrain_near = {0x81af340, 0x81af340, 0x81af340, 0x81af340, 0x81af340,
0x81af9a0, 0x81af450, 0x81af230}
pterrain = (struct terrain *) 0x81af450
owner = value optimized out
__PRETTY_FUNCTION__ = fill_sprite_array
#7  0x0806e104 in put_one_element (pcanvas=0xa364530, layer=LAYER_OVERLAYS,
ptile=0xac5b250, pedge=0x0, pcorner=0x0, punit=0x0, pcity=0x0, canvas_x=900,

canvas_y=674, citymode=0x0) at mapview_common.c:913
tile_sprs = {{foggable = false, sprite = 0xa4fddb0, offset_x = 0, 
offset_y =
0}, {foggable = false, sprite = 0xa4fa520, offset_x = 0, offset_y = 0}, {
foggable = false, sprite = 0xa4fddb0, offset_x = 0, offset_y = 0},
{foggable = false, sprite = 0xa0b3240, offset_x = 0, offset_y = 0}, {foggable
= false, 
sprite = 0xa0b3220, offset_x = 0, offset_y = 0}, {foggable = false,
sprite = 0xa0b3980, offset_x = 0, offset_y = 0}, {foggable = 156, sprite =
0xa035000, 
offset_x = -1209033316, offset_y = -1080891160}, {foggable = 214, sprite
= 0xa035000, offset_x = 1, offset_y = -1212014704}, {foggable = 8, 
sprite = 0xb7ef9d9c, offset_x = 167989248, offset_y = -1080891112},
{foggable = 208, sprite = 0xa035000, offset_x = -1212014704, offset_y =
-1080891128}, 
  {foggable = false, sprite = 0x0, offset_x = 1920, offset_y = 167989248},
{foggable = 144, sprite = 0xb7ef9d9c, offset_x = 167989248, 
offset_y = -1080891048}, {foggable = 193, sprite = 0xa035000, offset_x =
-1080889712, offset_y = 0}, {foggable = false, sprite = 0xbf92ee9c, 
offset_x = 167989248, offset_y = -1209113003}, {foggable = 36, sprite =
0x0, offset_x = -1, offset_y = -1}, {foggable = 156, sprite = 0xb7ef9d9c, 
offset_x = -1210030208, offset_y = -1080891016}, {foggable = 37, sprite =
0xbf92eb20, offset_x = 0, offset_y = 168189456}, {foggable = 120, 
sprite = 0xbf92ebd8, offset_x = 168210360, offset_y = -1080890968},
{foggable = 137, sprite = 0xa06afb8, offset_x = -1080890592, offset_y = 2},
{
foggable = 216, sprite = 0xbf92eb0c, offset_x = -1210030208, offset_y =
167844328}, {foggable = 120, sprite = 0xa06afb8, offset_x = 168210360, 
offset_y = -1080890824}, {foggable = 115, sprite = 0xa06afb8, offset_x =
1073774594, offset_y = 32770}, {foggable = 216, sprite = 0xbf92eb0c, 
offset_x = 200, offset_y = 0}, {foggable = 168, sprite = 0xbf92eb0c,
offset_x = -1080890408, offset_y = 2}, {foggable = 30, sprite = 0x0, offset_x
= 8, 
offset_y = 167844320}, {foggable = 30, sprite = 0xb79a8040, offset_x = 1,
offset_y = 168130404}, {foggable = 115, sprite = 0xbf92eb20, offset_x = 20, 
offset_y = 168130404}, {foggable = 120, sprite = 0xbf92eb20, offset_x =
0, offset_y = -1080890824}, {foggable = 252, sprite = 0x14, offset_x = 0, 
offset_y = 168130488}, {foggable = 218, sprite = 0xb79da678, offset_x =
168210864, offset_y = -1080890536}, {foggable = 158, sprite = 0xbf92eb20, 
offset_x = -1080889960, offset_y = -1080890592}, {foggable = false,
sprite = 0xbf92eb0c, offset_x = -1080890528, offset_y = -1214683656},
{foggable = 32, 
---Type return to continue, or q return to quit---
sprite = 0x1, offset_x = -1220908020, offset_y = -1080890728}, {foggable
= 244, sprite = 0xb73de98e, offset_x = 0, offset_y = -1080890620}, {
foggable = 6, sprite = 0xbf92eb34, offset_x = 0, offset_y = 0}, {foggable
= 30, sprite = 0xa074fbc, offset_x = -1220908020, offset_y = 18579}, {
  

[Freeciv-Dev] [bug #13498] client abort in 2.1.9+ GTK

2009-05-07 Thread Christian Knoke

URL:
  http://gna.org/bugs/?13498

 Summary: client abort in 2.1.9+ GTK
 Project: Freeciv
Submitted by: chrisk
Submitted on: Donnerstag 07.05.2009 um 19:10
Category: client-gtk-2.0
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: 
Operating System: None

___

Details:

SVN Rev 15653 V2.1 GTK

on moving into an empty enemy city with a tank

city is Koulen, cambodchean, Size 2

auto save from server has tank in city

this happens a few times per game


:~$ ls -l core
-rw--- 1 chris chris 30859264  7. Mai 18:47 core

Core was generated by `/usr/local/bin/civclient -d 3 -l civclient.log'.
Program terminated with signal 6, Aborted.
[New process 5057]
#0  0xb7fd6424 in __kernel_vsyscall ()
(gdb) bt full
#0  0xb7fd6424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7754640 in raise () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#2  0xb7756018 in abort () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#3  0xb774d5be in __assert_fail () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#4  0x0809a74c in city_owner (pcity=0xa8c03d0) at city.c:553
__PRETTY_FUNCTION__ = city_owner
#5  0x0806b55f in find_city_or_settler_near_tile (ptile=0x9ff854c,
punit=0xbfdefc38) at mapview_common.c:2005
pcity = (struct city *) 0x0
closest_city = value optimized out
closest_settler = value optimized out
best_settler = value optimized out
#6  0x08086eb7 in fill_sprite_array (t=0x93bcec0, sprs=0xbfdefc7c,
layer=LAYER_OVERLAYS, ptile=0x9ff854c, pedge=0x0, pcorner=0x0, punit=0x0,
pcity=0x0, 
citymode=0x0) at tilespec.c:3427
tileno = value optimized out
dir = value optimized out
tspecial_near = {{vec = \005\b}, {vec = \000}, {vec = \000}, {vec 
=
\200}, {vec = \005}, {vec = \200}, {vec = \000}, {vec = \000\b}}
tspecial = {vec = \200}
tterrain_near = {0x81af9a0, 0x81af9a0, 0x81af780, 0x81af9a0, 0x81af780,
0x81af340, 0x81af340, 0x81af560}
pterrain = (struct terrain *) 0x81af450
owner = value optimized out
__PRETTY_FUNCTION__ = fill_sprite_array
#7  0x0806e104 in put_one_element (pcanvas=0x9706530, layer=LAYER_OVERLAYS,
ptile=0x9ff854c, pedge=0x0, pcorner=0x0, punit=0x0, pcity=0x0, canvas_x=630,

canvas_y=349, citymode=0x0) at mapview_common.c:913
tile_sprs = {{foggable = false, sprite = 0x96e6bd0, offset_x = 0, 
offset_y =
0}, {foggable = false, sprite = 0x96eaac8, offset_x = 0, offset_y = 0}, {
foggable = false, sprite = 0x9899168, offset_x = 0, offset_y = 0},
{foggable = false, sprite = 0x9455280, offset_x = 0, offset_y = 0}, {foggable
= false, 
sprite = 0x94558e0, offset_x = 0, offset_y = 0}, {foggable = false,
sprite = 0x0, offset_x = 0, offset_y = 0} repeats 13 times, {foggable = 30,

sprite = 0x0, offset_x = 0, offset_y = 0}, {foggable = 115, sprite = 0x0,
offset_x = 0, offset_y = 155231312}, {foggable = 120, sprite = 0xbfdf0078, 
offset_x = -1075904392, offset_y = -1075905048}, {foggable = 23, sprite =
0xbfdf0078, offset_x = 0, offset_y = 0}, {foggable = 120, sprite = 0xb7d70f00,

offset_x = -1075904392, offset_y = -1075905000}, {foggable = 236, sprite
= 0x96f2598, offset_x = 4, offset_y = 155221520}, {foggable = 188, 
sprite = 0xbfdf0078, offset_x = 0, offset_y = 158279064}, {foggable =
120, sprite = 0xbfdf0078, offset_x = 155237408, offset_y = -1075904952}, {
foggable = 137, sprite = 0x940bc20, offset_x = 0, offset_y = 2},
{foggable = 120, sprite = 0xbfdeffac, offset_x = -1210642688, offset_y =
-1075904936}, {
foggable = 120, sprite = 0x940bc20, offset_x = 155237408, offset_y =
-1075904808}, {foggable = 115, sprite = 0x940bc20, offset_x = 1073774594, 
offset_y = 32770}, {foggable = 120, sprite = 0xbfdeffac, offset_x = 132,
offset_y = 155221520}, {foggable = 188, sprite = 0xbfdeffac, 
offset_x = -1075904392, offset_y = 2}, {foggable = false, sprite =
0xbfdf, offset_x = 155237408, offset_y = -1075904840}, {foggable = 137, 
sprite = 0xb749f98e, offset_x = 1, offset_y = -1075904808}, {foggable =
176, sprite = 0x940bc20, offset_x = 32770, offset_y = 0}, {foggable = 120, 
sprite = 0x40008002, offset_x = 155237408, offset_y = 5057}, {foggable =
true, sprite = 0x96f2598, offset_x = 1073774594, offset_y = 32770}, {
foggable = 244, sprite = 0xb74a0fdc, offset_x = -1075904544, offset_y =
-1075904792}, {foggable = false, sprite = 0x1, offset_x = -1220117492, 
offset_y = -1075904744}, {foggable = 244, sprite = 0x9416fb0, offset_x =
0, offset_y = -1075904760}, {foggable = 6, sprite = 0x9416fbc, 
offset_x = -1220117492, offset_y = -1075904744}, {foggable = 144, sprite
= 

[Freeciv-Dev] [bug #13498] client abort in 2.1.9+ GTK

2009-05-07 Thread Madeline Book

Follow-up Comment #1, bug #13498 (project freeciv):

Can you post the savegame where this happens?



解剖しましょう。

___

Reply to this item at:

  http://gna.org/bugs/?13498

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #13498] client abort in 2.1.9+ GTK

2009-05-07 Thread Christian Knoke

Follow-up Comment #2, bug #13498 (project freeciv):

The bug is not reproducible from savegame.

I post the saves before and after the crash.

Unfortunately, one of them has been overwritten due to the save bug.

Christian


(file #5758, file #5759)
___

Additional Item Attachment:

File name: d-T202-Y1510AD.sav.gz  Size:46 KB
File name: d-T203-Y1515AD.sav.gz  Size:46 KB


___

Reply to this item at:

  http://gna.org/bugs/?13498

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev