[Freeciv-Dev] [bug #16865] segfault in sdl client - copy_chars_to_string16()

2010-10-19 Thread pepeto

Update of bug #16865 (project freeciv):

  Status:  Ready For Test => Fixed  
 Open/Closed:Open => Closed 


___

Reply to this item at:

  

___
  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 #16865] segfault in sdl client - copy_chars_to_string16()

2010-10-15 Thread pepeto

Update of bug #16865 (project freeciv):

  Status:None => Ready For Test 
 Assigned to:None => pepeto 

___

Follow-up Comment #2:

Confirmed.


(file #10799)
___

Additional Item Attachment:

File name: trunk_sdl_plrdlg_info_label.diff Size:0 KB


___

Reply to this item at:

  

___
  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 #16865] segfault in sdl client - copy_chars_to_string16()

2010-10-15 Thread pepeto

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

Probably "pPlayer0->string16" should be "pPlayer0->info_label".


___

Reply to this item at:

  

___
  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 #16865] segfault in sdl client - copy_chars_to_string16()

2010-10-13 Thread Matthias Pfafferodt

URL:
  

 Summary: segfault in sdl client - copy_chars_to_string16()
 Project: Freeciv
Submitted by: syntron
Submitted on: Mittwoch 13.10.2010 um 19:23
Category: client-sdl
Severity: 2 - Minor
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 
 Discussion Lock: Any
Operating System: None
 Planned Release: 2.3.0

___

Details:

I did found the following segfault in the sdl client while testing the mapimg
patches. This is a patched version of freeciv but the mapimg patches do only
touch color related parts of the sdl code. Thus, it should be reproducedable
on the trunk version.

How to reproduce: start the game and visit the nation dialog.


#0  0x7faf1f32492b in raise () from /lib64/libpthread.so.0
No symbol table info available.
#1  0x0056b5cf in fc_assert_fail (file=0x5849d8 "gui_string.c",
function=0x584d70 "copy_chars_to_string16", line=196, assertion=, message=0x0)
at log.c:476
level = LOG_FATAL
#2  0x00420685 in copy_chars_to_string16 (pString=0x0,
pCharString=0x43081b0 "Name: Ulugh Beg\nNation: Uzbek\nScore: 99\nTeam:
Team 0\nAI: No\nAttitude: -\nEmbassy: -\nDipl.State: -\nVision: \nState:
moving") at gui_string.c:196
n = 
__FUNCTION__ = "copy_chars_to_string16"
#3  0x0044c1e6 in real_players_dialog_update () at plrdlg.c:232
pPlayer0 = (struct widget *) 0x4312e90
pPlayer1 = (struct widget *) 0x7f5100
pPlayer = (struct player *) 0x3d18b60
astr = {
  _private_str_ = 0x43081b0 "Name: Ulugh Beg\nNation: Uzbek\nScore: 99\nTeam:
Team 0\nAI: No\nAttitude: -\nEmbassy: -\nDipl.State: -\nVision: \nState:
moving", _private_n_ = 120, _private_n_alloc_ = 124}
#4  0x0049ba43 in update_unqueue (data=) at
update_queue.c:189
MY_it_iter = (struct iterator *) 0x7fffb691c210
#5  0x004061bd in gui_event_loop (pData=0x0, loop_action=0,
key_down_handler=0x4058c0 ,
key_up_handler=0x405470 ,
mouse_button_down_handler=0x405800 ,
mouse_button_up_handler=0x4057a0 ,
mouse_motion_handler=0x4054a0 ) at
gui_main.c:734
ID = 
t_current = 
t_last_unit_anim = 10673
t_last_map_scrolling = 10769
real_timer_next_call = 10836
tv = {tv_sec = 0, tv_usec = 0}
civfdset = {fds_bits = {0 }}
result = 0
schot_nr = 0
schot = '\0' 
__FUNCTION__ = "gui_event_loop"


I could produce another one using trunk (svn16977)


#0  0x0041114e in redraw_widget_info_label (rect=0x0) at
widget.c:489
pText = (SDL_Surface *) 0x0
pBcgd = 
srcrect = {x = -16174, y = 0, w = 0, h = 0}
dstrect = {x = 0, y = 0, w = 0, h = 0}
pWidget = (struct widget *) 0x7f7430d9af20
#1  0x00405dbd in gui_event_loop (pData=0x0, loop_action=0,
key_down_handler=0x405170 ,
key_up_handler=0x404d20 ,
mouse_button_down_handler=0x4050b0 ,
mouse_button_up_handler=0x405050 ,
mouse_motion_handler=0x404d50 ) at
gui_main.c:705
ID = 0
t_current = 
t_last_unit_anim = 48875
t_last_map_scrolling = 48936
real_timer_next_call = 49362
tv = {tv_sec = 0, tv_usec = 0}
civfdset = {fds_bits = {0 }}
result = 0
schot_nr = 0
schot = '\0' 
__FUNCTION__ = "gui_event_loop"





___

Reply to this item at:

  

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


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