[Freeciv-Dev] [bug #24957] Segmentation faul in is_action_enabled.constprop

2016-08-10 Thread Andreas Røsdal
URL:
  

 Summary: Segmentation faul in is_action_enabled.constprop 
 Project: Freeciv
Submitted by: andreasr
Submitted on: Wed 10 Aug 2016 07:44:41 PM UTC
Category: freeciv-web
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 
 Discussion Lock: Any
Operating System: GNU/Linux
 Planned Release: 
 Contains string changes: None

___

Details:

Freeciv-web is now has slightly more segmentation faults than normal (about 1%
of games now, it used to be about 0,1%). 
This is Freeciv server svn r33476.

This is a backtrace from a core-dump which was created on the most recent
segmentation fault:

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0055be84 in is_action_enabled.constprop ()
(gdb) bt full
#0  0x0055be84 in is_action_enabled.constprop ()
No symbol table info available.
#1  0x0055e3cc in is_action_enabled_unit_on_city ()
No symbol table info available.
#2  0x004f26e1 in handle_unit_do_action ()
No symbol table info available.
#3  0x0048a8d8 in server_handle_packet ()
No symbol table info available.
#4  0x0040e96d in server_packet_input ()
No symbol table info available.
#5  0x004e2c5e in server_sniff_all_input ()
No symbol table info available.
#6  0x00411935 in srv_main ()
No symbol table info available.
#7  0x004084ce in main ()
No symbol table info available.





___

Reply to this item at:

  

___
  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 #24957] Segmentation faul in is_action_enabled.constprop

2016-08-10 Thread Marko Lindqvist
Update of bug #24957 (project freeciv):

Category: freeciv-web => general
  Status:None => Ready For Test 
 Planned Release: => 3.0.0  

___

Follow-up Comment #1:

Recent changes on that area is passing homecity as parameter... and looking
where that might be unchecked... does attached patch help?

(file #28246)
___

Additional Item Attachment:

File name: HomecityFromNULL.patch Size:0 KB


___

Reply to this item at:

  

___
  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 #24957] Segmentation faul in is_action_enabled.constprop

2016-08-10 Thread Andreas Røsdal
Follow-up Comment #2, bug #24957 (project freeciv):

Yes, the patch has fixed this, based on 0 crashes in 614 games.

___

Reply to this item at:

  

___
  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 #24957] Segmentation faul in is_action_enabled.constprop

2016-08-12 Thread Marko Lindqvist
Update of bug #24957 (project freeciv):

  Status:  Ready For Test => Fixed  
 Assigned to:None => cazfi  
 Open/Closed:Open => Closed 


___

Reply to this item at:

  

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


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