[Freeciv-Dev] [bug #21900] Segmentation fault in utype_has_flag in Freeciv-web

2014-04-16 Thread Sveinung Kvilhaugsvik
Update of bug #21900 (project freeciv): Status: Ready For Test = Fixed Open/Closed:Open = Closed ___ Reply to this item at:

[Freeciv-Dev] [bug #21900] Segmentation fault in utype_has_flag in Freeciv-web

2014-04-14 Thread Andreas Rosdal
Follow-up Comment #5, bug #21900 (project freeciv): I think I have found a solution to this problem. I have created a patch for Freeciv-web, which can be found here: https://github.com/freeciv/freeciv-web/blob/b9dd9655290207532ca50861e4bb78d2da9be1b2/freeciv/patches/action_prob_crash.patch The

[Freeciv-Dev] [bug #21900] Segmentation fault in utype_has_flag in Freeciv-web

2014-04-14 Thread Sveinung Kvilhaugsvik
Follow-up Comment #6, bug #21900 (project freeciv): I have created a patch for Freeciv-web Thank you. I should obviously have added that return statement when I wrote that code. A new pair of eyes was able to see that it wasn't there. Please remove the comment about it being temporary and

[Freeciv-Dev] [bug #21900] Segmentation fault in utype_has_flag in Freeciv-web

2014-04-14 Thread Andreas Rosdal
Follow-up Comment #7, bug #21900 (project freeciv): patch attached! (file #20514) ___ Additional Item Attachment: File name: action_prob_crash.patchSize:0 KB ___ Reply to

[Freeciv-Dev] [bug #21900] Segmentation fault in utype_has_flag in Freeciv-web

2014-04-14 Thread Sveinung Kvilhaugsvik
Update of bug #21900 (project freeciv): Category: freeciv-web = general Status: In Progress = Ready For Test Release: = TRUNK Planned Release:

[Freeciv-Dev] [bug #21900] Segmentation fault in utype_has_flag in Freeciv-web

2014-04-11 Thread Sveinung Kvilhaugsvik
Update of bug #21900 (project freeciv): Status:None = In Progress Assigned to:None = sveinung ___ Follow-up Comment #3: Any help fixing

[Freeciv-Dev] [bug #21900] Segmentation fault in utype_has_flag in Freeciv-web

2014-04-11 Thread Andreas Rosdal
Follow-up Comment #4, bug #21900 (project freeciv): Thanks! You understood what I meant correctly! ___ Reply to this item at: http://gna.org/bugs/?21900 ___ Message sent via/by Gna!

[Freeciv-Dev] [bug #21900] Segmentation fault in utype_has_flag in Freeciv-web

2014-04-10 Thread Andreas Rosdal
Follow-up Comment #2, bug #21900 (project freeciv): Here's a related stack trace from a segmentation fault crash, also in action_prob() and handle_unit_get_actions() in actions.c Program terminated with signal 11, Segmentation fault. #0 0x08198459 in player_has_real_embassy

[Freeciv-Dev] [bug #21900] Segmentation fault in utype_has_flag in Freeciv-web

2014-04-09 Thread Andreas Rosdal
URL: http://gna.org/bugs/?21900 Summary: Segmentation fault in utype_has_flag in Freeciv-web Project: Freeciv Submitted by: andreasr Submitted on: Wed 09 Apr 2014 04:31:13 PM UTC Category: freeciv-web

[Freeciv-Dev] [bug #21900] Segmentation fault in utype_has_flag in Freeciv-web

2014-04-09 Thread Andreas Rosdal
Follow-up Comment #1, bug #21900 (project freeciv): The crash happens in code introduced in this commit, I think: http://svn.gna.org/viewcvs/freeciv/trunk/common/actions.c?r1=24644r2=24655 Hopefully this will help with finding the cause of the segfault.