bugFreeciv - Bugs: bug #20569, "Trying to put -1 into 16...

 
 
Show feedback again

bug #20569: "Trying to put -1 into 16 bits" in transfer_city

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Wed 27 Feb 2013 08:51:59 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: Operating System: None
Planned Release: 

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 27 Feb 2013 02:33:18 PM UTC, comment #1:

with r22446 I get the message:

1: Trying to put 98979 into 16 bits

98979 is the build_cost for the Leader

Not Given <imhotep>
Wed 27 Feb 2013 08:51:59 AM UTC, original submission:

Noticed in autogame logs. r22453 with patch #3757.

1: Trying to put -1 into 16 bits
2: Backtrace:
2: 0: ./server/freeciv-server() [0x604b3d]
2: 1: ./server/freeciv-server(vdo_log+0x89) [0x6083b9]
2: 2: ./server/freeciv-server(do_log+0x7d) [0x60846d]
2: 3: ./server/freeciv-server(dio_put_uint16+0xaf) [0x539dff]
2: 4: ./server/freeciv-server() [0x57d228]
2: 5: ./server/freeciv-server() [0x49d898]
2: 6: ./server/freeciv-server(transfer_city+0x63e) [0x47ed6e]
2: 7: ./server/freeciv-server(unit_enter_city+0x293) [0x47f4b3]
2: 8: ./server/freeciv-server() [0x450ae1]
2: 9: ./server/freeciv-server(unit_move+0x109) [0x456299]
2: 10: ./server/freeciv-server(unit_move_handling+0x95d) [0x4dacdd]
2: 11: ./server/freeciv-server(dai_unit_attack+0xfb) [0x522d1b]
2: 12: ./server/freeciv-server(adv_unit_execute_path+0x70) [0x460380]
2: 13: ./server/freeciv-server(dai_military_rampage+0x85d) [0x52450d]
2: 14: ./server/freeciv-server() [0x527e4f]
2: 15: ./server/freeciv-server(dai_manage_military+0x66a) [0x5295aa]
2: 16: ./server/freeciv-server(dai_manage_unit+0xcbb) [0x52b10b]
2: 17: ./server/freeciv-server(dai_manage_units+0x446) [0x52da66]
2: 18: ./server/freeciv-server(dai_do_first_activities+0x37) [0x513987]
2: 19: ./server/freeciv-server() [0x43d32a]
2: 20: ./server/freeciv-server(srv_main+0x2b8) [0x43f4a8]
2: 21: ./server/freeciv-server(main+0x21e) [0x43681e]
2: 22: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7f8442e34ead]
2: 23: ./server/freeciv-server() [0x437231]

Marko Lindqvist <cazfi>
Project Administrator

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by imhotep (Posted a comment)
  • -unavailable- added by cazfi (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup