[Wesnoth-bugs] [bug #19626] segfaults resizing window

2012-04-08 Thread Matthias Krüger
URL:
  http://gna.org/bugs/?19626

 Summary: segfaults resizing window
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Sun 08 Apr 2012 06:06:33 PM GMT
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group:  None of the others
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: r53861
Operating System: Arch Linux

___

Details:

Compiled using gcc 4.7.
I use awesomeWM and use some flag
 size_hints_honor = false} },
in the config (of the WM).

When I resize the game, it crashes.



___

File Attachments:


---
Date: Sun 08 Apr 2012 06:06:33 PM GMT  Name: wesnoth_resize_segfault.log 
Size: 5kB   By: matthiaskrgr

http://gna.org/bugs/download.php?file_id=15536

___

Reply to this item at:

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

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #19626] segfaults resizing window

2012-04-14 Thread Matthias Krüger
Follow-up Comment #3, bug #19626 (project wesnoth):

Tried the patch with r53929, the game still crashes on resize.

___

Reply to this item at:

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

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #19626] segfaults resizing window

2012-04-23 Thread Matthias Krüger
Follow-up Comment #8, bug #19626 (project wesnoth):

Fix confirmed. Thanks! :)

___

Reply to this item at:

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

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #23601] build fails with gcc 5.1.1 (fedora)

2015-05-18 Thread Matthias Krüger
URL:
  http://gna.org/bugs/?23601

 Summary: build fails with gcc 5.1.1 (fedora)
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Tue 19 May 2015 12:23:05 AM UTC
Category: Bug
Severity: 4 - Important
Priority: 5 - Normal
  Item Group:  None of the others
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

I tried to build wesnoth-git @ c6d6114a8c80f8080252d679a82ec2c24491c3ae (via
cmake) on fedora 22-preview which had gcc 5.1.1 installed, but the build
failed:

[ 78%] Building CXX object src/CMakeFiles/wesnoth.dir/unit_filter.cpp.o
/home/matthias/wesnoth/src/unit_filter.cpp:100:14: error:
‘conditional::warning_suppressor’ defined but not used
[-Werror=unused-variable]
  static TYPE warning_suppressor = string_to_TYPE_default(foo, NOT);
  ^
cc1plus: all warnings being treated as errors
src/CMakeFiles/wesnoth.dir/build.make:9553: recipe for target
'src/CMakeFiles/wesnoth.dir/unit_filter.cpp.o' failed
make[2]: *** [src/CMakeFiles/wesnoth.dir/unit_filter.cpp.o] Error 1
CMakeFiles/Makefile2:242: recipe for target 'src/CMakeFiles/wesnoth.dir/all'
failed
make[1]: *** [src/CMakeFiles/wesnoth.dir/all] Error 2
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2




___

Reply to this item at:

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

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #23606] ASAN: crash starting local game. ( global-buffer-overflow )

2015-05-23 Thread Matthias Krüger
URL:
  http://gna.org/bugs/?23606

 Summary: ASAN: crash starting local game. (
global-buffer-overflow )
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Sun 24 May 2015 12:28:41 AM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: Multiplayer
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

I compiled the game with -g3 -fsanitize=address,undefined under gcc 5:

When I through Multiplayer - Local Game, the game crashes.

This does not happen when I launch a campaign or the tutorial though:

==17574==ERROR: AddressSanitizer: global-buffer-overflow on address
0x198c1990 at pc 0x0247d31f bp 0x7ffd720e7030 sp 0x7ffd720e7020
READ of size 1 at 0x198c1990 thread T0
#0 0x247d31e in __gnu_cxx::char_traitsunsigned char::eq(unsigned char
const, unsigned char const) /usr/include/c++/5.1.0/bits/char_traits.h:97
#1 0x247d31e in __gnu_cxx::char_traitsunsigned char::length(unsigned
char const*) /usr/include/c++/5.1.0/bits/char_traits.h:161
#2 0x247d31e in std::basic_stringunsigned char, std::char_traitsunsigned
char, std::allocatorunsigned char ::basic_string(unsigned char const*,
std::allocatorunsigned char const)
/usr/include/c++/5.1.0/bits/basic_string.tcc:658
#3 0x2443e29 in ng::scenario::create_image_surface(SDL_Rect const)
/home/matthias/vcs/github/wesnoth/src/game_initialization/create_engine.cpp:149
#4 0x38b3977 in mp::create::draw_level_image()
/home/matthias/vcs/github/wesnoth/src/game_initialization/multiplayer_create.cpp:569
#5 0x37fbeb6 in mp::run_lobby_loop(display, mp::ui)
/home/matthias/vcs/github/wesnoth/src/game_initialization/multiplayer.cpp:99
#6 0x37fbeb6 in enter_create_mode
/home/matthias/vcs/github/wesnoth/src/game_initialization/multiplayer.cpp:565
#7 0x2cfea4a in game_launcher::play_multiplayer()
/home/matthias/vcs/github/wesnoth/src/game_launcher.cpp:954
#8 0x7db727 in do_gameloop
/home/matthias/vcs/github/wesnoth/src/wesnoth.cpp:780
#9 0x77f666 in main /home/matthias/vcs/github/wesnoth/src/wesnoth.cpp:994
#10 0x7f9f52e9f78f in __libc_start_main (/usr/lib/libc.so.6+0x2078f)
#11 0x7d1f78 in _start
(/home/matthias/vcs/github/wesnoth/build/wesnoth+0x7d1f78)




___

File Attachments:


---
Date: Sun 24 May 2015 12:28:41 AM UTC  Name: asan1.txt  Size: 4kB   By:
matthiaskrgr

http://gna.org/bugs/download.php?file_id=24532

___

Reply to this item at:

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

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #23607] editor: severe FPS drop in map generation settings

2015-05-23 Thread Matthias Krüger
URL:
  http://gna.org/bugs/?23607

 Summary: editor: severe FPS drop in map generation settings
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Sun 24 May 2015 12:41:27 AM UTC
Category: Bug
Severity: 2 - Minor
Priority: 5 - Normal
  Item Group: Editor
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

open the editor, then go Map - generate Map.
Fps is reported to be 50, and it feels fine.
But when I now hit the Settings button, fps is reported to be 90 however
I'd estimate it is rather 10-15ish.

The bottom text-line which tells the currently selected terrain type gets a
bit darker which makes me assume that things are rendered on top of each other
in a strange way.

@ 464b9a50e9047e46a71195e6a3e544c226bf9c6e




___

Reply to this item at:

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

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #23608] UBSAN: findings while playing tutorial

2015-05-23 Thread Matthias Krüger
URL:
  http://gna.org/bugs/?23608

 Summary: UBSAN: findings while playing tutorial
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Sun 24 May 2015 12:48:25 AM UTC
Category: Bug
Severity: 2 - Minor
Priority: 5 - Normal
  Item Group: Artificial Intelligence
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

Compiled the game with -fsanitize=address,undefined and -g3 under gcc 5 and
played a bit through the tutorial.

The first one appears fairly at game start:

/home/matthias/vcs/github/wesnoth/src/lua/ltable.cpp:81:3: runtime error:
signed integer overflow: 996952458 + 1420850562 cannot be represented in type
'int'


This one appears a few times as soon as the AI does it's turn.
/home/matthias/vcs/github/wesnoth/src/ai/composite/aspect.hpp:258:7: runtime
error: member call on address 0x7ffedb9531f0 which does not point to an object
of type 'readonly_context'
0x7ffedb9531f0: note: object has invalid vptr
 34 7f 00 00  00 b8 89 05 00 00 00 00  80 a2 45 00 a0 61 00 00  98 0a 6f 05 00
00 00 00  98 69 6f 05
  ^~~
  invalid vptr

And some more appear when I ended the scenario.

Full log attached.




___

File Attachments:


---
Date: Sun 24 May 2015 12:48:25 AM UTC  Name: ubsan1.txt  Size: 16kB   By:
matthiaskrgr

http://gna.org/bugs/download.php?file_id=24533

___

Reply to this item at:

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

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #24502] UB showing unit description in 'help'

2016-03-06 Thread Matthias Krüger
URL:
  

 Summary: UB showing unit description in 'help'
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Sun 06 Mar 2016 11:50:35 AM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: User Interface
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

When I click the "Help" button in the main menu and go  Units -> Bats -> Blood
Bat, some UB is reported having previously compiled with
-fsanitize=address,undefined -g3  -fno-omit-frame-pointer

/home/matthias/vcs/github/wesnoth/src/xBRZ/xbrz.cpp:925:27: runtime error:
load of value 3416108528, which is not a valid value for type 'BlendType'
/home/matthias/vcs/github/wesnoth/src/xBRZ/xbrz.cpp:927:24: runtime error:
load of value 9739168, which is not a valid value for type 'BlendType'
/home/matthias/vcs/github/wesnoth/src/xBRZ/xbrz.cpp:931:24: runtime error:
load of value 24672, which is not a valid value for type 'BlendType'
/home/matthias/vcs/github/wesnoth/src/xBRZ/xbrz.cpp:934:31: runtime error:
load of value 32764, which is not a valid value for type 'BlendType'

@ c292f1f1cf321d8dba6f6fc9d9ad48560c5c241c




___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #24502] UB showing unit description in 'help'

2016-03-06 Thread Matthias Krüger
Follow-up Comment #1, bug #24502 (project wesnoth):

Note, it is possible go obtain UBSAN stacktraces via
UBSAN_OPTIONS=print_stacktrace=1 ./wesnoth 

(logs attached)

(file #26940)
___

Additional Item Attachment:

File name: ubsan_traceSize:11 KB


___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #24498] UB in events.cpp when launching wesnoth

2016-03-05 Thread Matthias Krüger
URL:
  

 Summary: UB in events.cpp when launching wesnoth
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Sat 05 Mar 2016 08:03:09 PM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group:  None of the others
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

I built using  -fsanitize=address,undefined -g3  -fno-omit-frame-pointer
whenever I launch the game, gcc (5.3.1) UB-detections says

/home/matthias/vcs/github/wesnoth/src/events.cpp:242:5: runtime error: load of
value 190, which is not a valid value for type 'bool'


@ e9594367e7814d8c259f83b8ce5fb714f3581a44




___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #24499] editor: memleaks

2016-03-05 Thread Matthias Krüger
URL:
  

 Summary: editor: memleaks
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Sat 05 Mar 2016 08:10:24 PM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: Editor
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

Compiled with  -fsanitize=address,undefined -g3  -fno-omit-frame-pointer

When launching the game, starting up the editor from the main menu and leaving
the editor again right after (and quitting the game), some memory leaks (and
some UB) are reported

I attached the log to the ticket.

@ e9594367e7814d8c259f83b8ce5fb714f3581a44



___

File Attachments:


---
Date: Sat 05 Mar 2016 08:10:24 PM UTC  Name: wesnoth_editor_memleaks.txt 
Size: 17kB   By: matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25083] leaks in AI vs AI match

2017-02-16 Thread Matthias Krüger
Additional Item Attachment, bug #25083 (project wesnoth):

File name: old_ai_vs_new_ai_match_leaks_feb_2017.log.gz Size:61 KB


___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #23607] editor: severe FPS drop in map generation settings

2017-02-16 Thread Matthias Krüger
Follow-up Comment #3, bug #23607 (project wesnoth):

I think it works now, at least I didn't notice anything strange :)

___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25504] heap use after free in new addon manager (downloading addon)

2017-02-23 Thread Matthias Krüger
Follow-up Comment #3, bug #25504 (project wesnoth):

Ok, it looks like this is still present / present again.
It seems I can reproduce more or less reliably when downloading an addon of
very small size (sort by size, select something that is <10 kb).

New trace attached.

(file #29850)
___

Additional Item Attachment:

File name: addon_manager_crash_update.log Size:45 KB


___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25088] Random map generation: non-numerical seeds yield different maps

2017-02-24 Thread Matthias Krüger
Follow-up Comment #6, bug #25088 (project wesnoth):

Yeah, can be closed as resolved IMO :)

___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25538] attack prediction: division by zero (test scenario)

2017-02-24 Thread Matthias Krüger
URL:
  

 Summary: attack prediction: division by zero (test scenario)
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Fri 24 Feb 2017 12:17:39 PM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group:  None of the others
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

UBSAN_OPTIONS=print_stacktrace=1 ./build/wesnoth -t
end turn
(on dialogs, just confirm the first preselected option)

/home/matthias/vcs/github/wesnoth/src/attack_prediction.cpp:1282:59: runtime
error: division by zero
/home/matthias/vcs/github/wesnoth/src/attack_prediction.cpp:1284:59: runtime
error: division by zero
/home/matthias/vcs/github/wesnoth/src/ai/contexts.cpp:1136:44: runtime error:
signed integer overflow: 153900 * 2 cannot be represented in type 'int'


I attached full backtraces of the errors.




___

File Attachments:


---
Date: Fri 24 Feb 2017 12:17:39 PM UTC  Name: attack_prediction.log  Size: 22kB
  By: matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25535] hex grid offset sometimes?

2017-02-23 Thread Matthias Krüger
URL:
  

 Summary: hex grid offset sometimes?
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Thu 23 Feb 2017 02:41:21 PM UTC
Category: Bug
Severity: 2 - Minor
Priority: 5 - Normal
  Item Group: User Interface
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

Multiplayer
Local Game
Map: 2p - Den of Onis

game resolution was 1034x861

The hex grid looks kinda offset.

Screenshot attached.



___

File Attachments:


---
Date: Thu 23 Feb 2017 02:41:21 PM UTC  Name: grid.png  Size: 1007kB   By:
matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25534] crash (use after free); assign side to map position (north/south etc)

2017-02-23 Thread Matthias Krüger
URL:
  

 Summary: crash (use after free); assign side to map position
(north/south etc)
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Thu 23 Feb 2017 02:33:24 PM UTC
Category: Bug
Severity: 4 - Important
Priority: 5 - Normal
  Item Group: Multiplayer Lobby
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

Battle for Wesnoth v1.13.6+dev (e24336a-Clean)

Muliplayer
Local Game
select any map
Create Game
now, click on "north" or "south" or whatever position of any player and click
somewhere on the screen again
=> heap use after free

ASAN log attached.



___

File Attachments:


---
Date: Thu 23 Feb 2017 02:33:24 PM UTC  Name: mp_side_crash.log  Size: 26kB  
By: matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25536] MP: exiting from start scenario screen in multiplayer campaign overflows buffer

2017-02-23 Thread Matthias Krüger
URL:
  

 Summary: MP: exiting from start scenario screen in
multiplayer campaign overflows buffer
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Thu 23 Feb 2017 06:03:34 PM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: Multiplayer
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

wesnoth e985315-Clean

multiplayer
local game
select campaigns and LOW
create game 
difficulty: Lord
when choosing the start scenario, press escape
=> heap buffer overflow

log attached



___

File Attachments:


---
Date: Thu 23 Feb 2017 06:03:34 PM UTC  Name: LOW_multiplayer_escape.log  Size:
6kB   By: matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25522] bad terrain transition

2017-02-17 Thread Matthias Krüger
URL:
  

 Summary: bad terrain transition 
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Fri 17 Feb 2017 02:31:25 PM UTC
Category: Bug
Severity: 2 - Minor
Priority: 5 - Normal
  Item Group: Graphics
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

wesnoth v1.13.6+dev (9359a91-Clean)
As seen on arcanclave citadel.

Screenshot attached



___

File Attachments:


---
Date: Fri 17 Feb 2017 02:31:25 PM UTC  Name: arcanclave_citadel.png  Size:
335kB   By: matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25504] heap use after free in new addon manager (downloading addon)

2017-02-11 Thread Matthias Krüger
URL:
  

 Summary: heap use after free in new addon manager
(downloading addon)
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Sat 11 Feb 2017 11:36:50 AM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group:  None of the others
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

wesnoth @ b816136fd782c3e14175da5355ba7ba4d0012470

I just tried to download/install some random addon.

Trace is attached.



___

File Attachments:


---
Date: Sat 11 Feb 2017 11:36:50 AM UTC  Name: addon_manager_crash.log  Size:
47kB   By: matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25504] heap use after free in new addon manager (downloading addon)

2017-02-16 Thread Matthias Krüger
Follow-up Comment #2, bug #25504 (project wesnoth):

Right, seems to be fixed by now.

___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25541] tutorial: hard crash as delfador summons training dummy for konrad.

2017-02-27 Thread Matthias Krüger
Follow-up Comment #3, bug #25541 (project wesnoth):

Right now, I am just getting a lua error:

20170227 14:13:41 error scripting/lua: lua/wml/animate_unit.lua:37: bad
argument #2 to 'is_fogged' (location expected, got number)
stack traceback:
[C]: in field 'is_fogged'
lua/wml/animate_unit.lua:37: in upvalue 'add_animation'
lua/wml/animate_unit.lua:112: in local 'cmd'
lua/wml-utils.lua:145: in field 'handle_event_commands'
lua/wml-flow.lua:6: in function 


but with the asan build I could reproduce this quite reliably.

I used 
CXXFLAGS="-fsanitize=address,undefined -g3 -I/usr/include/boost -Og
-fno-omit-frame-pointer -march=native -fsanitize-address-use-after-scope 
-fno-optimize-sibling-calls"  cmake ..
and clang-dev to compile.

___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25541] tutorial: hard crash as delfador summons training dummy for konrad.

2017-02-27 Thread Matthias Krüger
Follow-up Comment #5, bug #25541 (project wesnoth):

Current failure (still when dummy is supposed to be summoned)

Battle for Wesnoth v1.13.6+dev (de090c1-Clean)
Started on Tue Feb 28 03:21:40 2017

Automatically found a possible data directory at
/home/matthias/vcs/github/wesnoth/build/..

Data directory:   /home/matthias/vcs/github/wesnoth/build/..
User configuration directory: /home/matthias/.config/wesnoth
User data directory:  /home/matthias/.local/share/wesnoth/1.13
Cache directory:  /home/matthias/.cache/wesnoth

Setting mode to 1221x861
Checking lua scripts... ok
20170228 03:22:17 error scripting/lua: lua/wml/animate_unit.lua:94: bad
argument #3 to 'add' (string expected, got nil)
stack traceback:
[C]: in method 'add'
lua/wml/animate_unit.lua:94: in upvalue 'add_animation'
lua/wml/animate_unit.lua:112: in local 'cmd'
lua/wml-utils.lua:145: in field 'handle_event_commands'
lua/wml-flow.lua:6: in function 


___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25546] can't start multiplayer game, missing file

2017-02-27 Thread Matthias Krüger
URL:
  

 Summary: can't start multiplayer game, missing file
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Tue 28 Feb 2017 02:28:46 AM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: Multiplayer
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: all

___

Details:

Multiplayer -> Local game:

20170228 03:27:38 error preprocessor: Macro/file
'multiplayer/maps/2p_Swamp_Of_Dread.map' is missing
at multiplayer/scenarios/2p_Swamp_of_Dread.cfg:9
included from multiplayer/_main.cfg:15
included from _main.cfg:26
20170228 03:27:38 error config: Error loading game configuration files
Macro/file 'multiplayer/maps/2p_Swamp_Of_Dread.map' is missing
at multiplayer/scenarios/2p_Swamp_of_Dread.cfg:9
included from multiplayer/_main.cfg:15
included from _main.cfg:26
20170228 03:27:42 error preprocessor: Macro/file
'multiplayer/maps/2p_Swamp_Of_Dread.map' is missing
at multiplayer/scenarios/2p_Swamp_of_Dread.cfg:9
included from multiplayer/_main.cfg:15
included from _main.cfg:26
20170228 03:27:42 error config: Error loading game configuration files
Macro/file 'multiplayer/maps/2p_Swamp_Of_Dread.map' is missing
at multiplayer/scenarios/2p_Swamp_of_Dread.cfg:9
included from multiplayer/_main.cfg:15
included from _main.cfg:26
caught game::error...
20170228 03:27:43 error general: Error: Macro/file
'multiplayer/maps/2p_Swamp_Of_Dread.map' is missing
at multiplayer/scenarios/2p_Swamp_of_Dread.cfg:9
included from multiplayer/_main.cfg:15
included from _main.cfg:26






___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25285] crash starting campaign

2017-02-28 Thread Matthias Krüger
Follow-up Comment #3, bug #25285 (project wesnoth):

I can still reproduce a crash here if I resize the wesnoth window while the
scenario is loading (== during the loading screen).

___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25161] editor generates invalid map, crash while loading (expand map)

2017-02-28 Thread Matthias Krüger
Follow-up Comment #3, bug #25161 (project wesnoth):

I'm sorry for the delay.
Looks good, please close. :)

___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25393] heap use after free in MP map selection

2017-02-28 Thread Matthias Krüger
Follow-up Comment #2, bug #25393 (project wesnoth):

Well, this is fixed as of right now so it can be closed.
Didn't spot any other issues around this but with {A,UB}SAN.

___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25541] tutorial: hard crash as delfador summons training dummy for konrad.

2017-02-26 Thread Matthias Krüger
URL:
  

 Summary: tutorial: hard crash as delfador summons training
dummy for konrad.
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Mon 27 Feb 2017 01:45:47 AM UTC
Category: Bug
Severity: 5 - Blocker
Priority: 5 - Normal
  Item Group:  None of the others
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

move konrad next to delfador so that the dummy will be spawned
=> crash


log attached



___

File Attachments:


---
Date: Mon 27 Feb 2017 01:45:48 AM UTC  Name: tut_summon_crash.log  Size: 10kB 
 By: matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25542] int overflow: wesnoth -t, end turn

2017-02-26 Thread Matthias Krüger
URL:
  

 Summary: int overflow: wesnoth -t, end turn
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Mon 27 Feb 2017 01:52:18 AM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: Artificial Intelligence
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

launch wesnoth -t, end turn, wait for AI to act
/home/matthias/vcs/github/wesnoth/src/ai/contexts.cpp:1136:44: runtime error:
signed integer overflow: 153900 * 2 cannot be represented in type 'int'

stacktrace attached.



___

File Attachments:


---
Date: Mon 27 Feb 2017 01:52:18 AM UTC  Name: test_ai_sint_overflow.log  Size:
6kB   By: matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25087] create game: error: Image doesn't fit on canvas

2016-09-24 Thread Matthias Krüger
Follow-up Comment #3, bug #25087 (project wesnoth):

There are no issues with 800x600.

And no, I did not have width and height mixed up.
I'm using i3 (tiling wm) which lets me resize windows freely.

>it's not possible to go less than 800 px for width. 
Well, apparently it is, the game did not terminate which might be the "root
cause".

___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25109] terrain: medium water to deep water transitions look terrible

2016-09-24 Thread Matthias Krüger
URL:
  

 Summary: terrain: medium water to deep water transitions look
terrible
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Sat 24 Sep 2016 10:12:15 AM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: Graphics
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

wesnoth b6c7273-Clean

See attached screenshot.



___

File Attachments:


---
Date: Sat 24 Sep 2016 10:12:16 AM UTC  Name: water.png  Size: 235kB   By:
matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25111] tutorial: getting stuck sometimes, have to undo turn or reload

2016-09-24 Thread Matthias Krüger
URL:
  

 Summary: tutorial: getting stuck sometimes, have to undo turn
or reload
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Sat 24 Sep 2016 04:30:07 PM UTC
Category: Bug
Severity: 4 - Important
Priority: 5 - Normal
  Item Group: Campaign
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

For example in the very beginning, when I move konrad into a village, I can't
move him further next to Delfador.
The game does not let me end the turn, I have to undo the move action, newbies
might find this confusing.

Even worse, when I am supposed to move Konrad into the keep to recruit units,
but I attack the dummy instead, I CANNOT UNDO (due to attack action) but I
also cannot end the turn and get stuck.

The only way to resolve is to reload the save/restart




___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25110] invisible standing frame

2016-09-24 Thread Matthias Krüger
URL:
  

 Summary: invisible standing frame
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Sat 24 Sep 2016 04:26:40 PM UTC
Category: Bug
Severity: 4 - Important
Priority: 5 - Normal
  Item Group: Graphics
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

Sometimes, standing frames of units are not rendered.





___

File Attachments:


---
Date: Sat 24 Sep 2016 04:26:40 PM UTC  Name: invisible_units.png  Size: 886kB 
 By: matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25112] ai vs ai game, experimental AI recruits nothing, humans recruit drakes, SNAFU

2016-09-24 Thread Matthias Krüger
URL:
  

 Summary: ai vs ai game, experimental AI recruits nothing,
humans recruit drakes, SNAFU
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Sat 24 Sep 2016 11:46:55 PM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group:  None of the others
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

wesnoth 99a0819-Clean

local game
map: arcanclave citadel
eras: default
random faction matchup: no mirror
game settings:
fog of war: false
shroud: true
turns unlimited
village gold: 2
village support 1
exp. mod. 70
no time limit

player 1:
human / pc / default AI
player 2:
drakes / pc / exp AI

side 1 (humans) will recruit drakes and not humans for some reason.
side 2, the experimental AI will recruit nothing and just capture nearby
villages.






___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25155] editor: division by zero/FPE/crash when clicking on minimap of resized map

2016-10-05 Thread Matthias Krüger
URL:
  

 Summary: editor: division by zero/FPE/crash when clicking on
minimap of resized map
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Wed 05 Oct 2016 15:59:05 UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: Editor
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

Start with the plain default map.
resize to w:200 h:1
resize to w:1  h:200
now click somewhere on the minimap => crash (floating point exception + div by
zero)

Log attached



___

File Attachments:


---
Date: Wed 05 Oct 2016 15:59:05 UTC  Name: zerodiv.log  Size: 3kB   By:
matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25161] editor generates invalid map, crash while loading (expand map)

2016-10-07 Thread Matthias Krüger
URL:
  

 Summary: editor generates invalid map, crash while loading
(expand map)
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Fri 07 Oct 2016 11:44:39 UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group:  None of the others
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

launch editor
reduce map size to 1x1
expand map size to 200x200 (copy edge terrain == true)
=> you will notice that at the very bottom of the map, there are "empty" black
tiles.
save map
try to load map in the game:
=> 20161007 13:42:16 error config: map could not be loaded: Illegal tile in
map: () ''

Selecting "User maps" crashes editor (log  attached)



___

File Attachments:


---
Date: Fri 07 Oct 2016 11:44:39 UTC  Name: invalid_tile.log  Size: 8kB   By:
matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25140] create game: crash when selecting same era twice

2016-10-04 Thread Matthias Krüger
Follow-up Comment #2, bug #25140 (project wesnoth):

When I go  Age of Heros -> Default, it still crashes.
Updated log attached.

(file #28898)
___

Additional Item Attachment:

File name: era_crash.log  Size:12 KB


___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25153] crash when selecting leader in age of heros era

2016-10-04 Thread Matthias Krüger
Follow-up Comment #1, bug #25153 (project wesnoth):

There's no crash when I just leave the scrollbar/list untouched and just click
on one of the leaders without scrolling.

___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25153] crash when selecting leader in age of heros era

2016-10-04 Thread Matthias Krüger
URL:
  

 Summary: crash when selecting leader in age of heros era
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Wed 05 Oct 2016 00:24:13 UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group:  None of the others
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

local game, 2 player random map, age of heros; create game
Select loyalists
Select leader:
move the scroll bar of the leader-list and try to hover any of them => crash

Log attached



___

File Attachments:


---
Date: Wed 05 Oct 2016 00:24:13 UTC  Name: leader_crash_MP.log  Size: 26kB  
By: matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25110] invisible standing frame

2016-10-04 Thread Matthias Krüger
Follow-up Comment #2, bug #25110 (project wesnoth):

Looks good to me now (I don't seem to have privilege to close this issue).

___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25077] memleak in wesnoth help

2016-09-19 Thread Matthias Krüger
URL:
  

 Summary: memleak in wesnoth help
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Mon 19 Sep 2016 01:25:15 PM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group:  None of the others
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

I accessed the wesnoth help from the main menu and clicked a bit through
random entries.

log attached

8508b42bed28a956aa5aa8a120cb17ed9bf8404f



___

File Attachments:


---
Date: Mon 19 Sep 2016 01:25:15 PM UTC  Name: help_memleak.log  Size: 7kB   By:
matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25075] heap use after free when window resolution is changed during launch

2016-09-19 Thread Matthias Krüger
URL:
  

 Summary: heap use after free when window resolution is
changed during launch
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Mon 19 Sep 2016 11:42:51 AM UTC
Category: Bug
Severity: 4 - Important
Priority: 5 - Normal
  Item Group: User Interface
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux/fedora

___

Details:

I compiled the game with asan/ubsan.
When I change the window resolution while the main menu hasn't shown yet, the
game crashes under asan:


Battle for Wesnoth v1.13.5+dev (21f01b0-Clean)
Started on Mon Sep 19 13:40:46 2016

Automatically found a possible data directory at
/home/matthias/vcs/github/wesnoth/build/..

Data directory:   /home/matthias/vcs/github/wesnoth/build/..
User configuration directory: /home/matthias/.config/wesnoth
User data directory:  /home/matthias/.local/share/wesnoth/1.13
Cache directory:  /home/matthias/.cache/wesnoth

Setting mode to 800x600
=
==28153==ERROR: AddressSanitizer: heap-use-after-free on address
0x60c00050c918 at pc 0x059a9bc8 bp 0x7f4f90171a40 sp 0x7f4f90171a30
READ of size 8 at 0x60c00050c918 thread T4
#0 0x59a9bc7 in std::_Rb_tree,
std::pair const, std::vector >
>, std::_Select1st const, std::vector > > >, std::less >,
std::allocator const, std::vector > > > >::size() const
/usr/include/c++/6.1.1/bits/stl_tree.h:916
#1 0x59a9bc7 in std::_Rb_tree,
std::pair const, std::vector >
>, std::_Select1st const, std::vector > > >, std::less >,
std::allocator const, std::vector > > >
>::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator const, std::vector > > >, std::__cxx11::basic_string const&)
/usr/include/c++/6.1.1/bits/stl_tree.h:1908
#2 0x59aa3d6 in
std::_Rb_tree_iterator const, std::vector > > > std::_Rb_tree,
std::pair const, std::vector >
>, std::_Select1st const, std::vector > > >, std::less >,
std::allocator const, std::vector > > >
>::_M_emplace_hint_unique,
std::allocator > const&>, std::tuple<>
>(std::_Rb_tree_const_iterator const, std::vector > > >, std::piecewise_construct_t const&,
std::tuple const&>&&, std::tuple<>&&)
/usr/include/c++/6.1.1/bits/stl_tree.h:2170
#3 0x59abdd5 in std::map, std::vector >, std::less >,
std::allocator const, std::vector > > > >::operator[](std::__cxx11::basic_string const&)
/usr/include/c++/6.1.1/bits/stl_map.h:483
#4 0x5947166 in 

[Wesnoth-bugs] [bug #25075] heap use after free when window resolution is changed during launch

2016-09-19 Thread Matthias Krüger
Additional Item Attachment, bug #25075 (project wesnoth):

File name: startupcrash.log   Size:13 KB


___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25076] memleak: "Multiplayer" windows (from main menu)

2016-09-19 Thread Matthias Krüger
URL:
  

 Summary: memleak: "Multiplayer" windows (from main menu)
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Mon 19 Sep 2016 01:13:58 PM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: User Interface
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

Starting the game and just showing the "Multiplayer" window (without actually
connecting to any lobby server) leaks memory (see attached logfile)

wesnoth @ 8508b42bed28a956aa5aa8a120cb17ed9bf8404f



___

File Attachments:


---
Date: Mon 19 Sep 2016 01:13:59 PM UTC  Name: leak_multiplayer_window.log 
Size: 45kB   By: matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25078] game hangs/freezes in addon screen with git build

2016-09-19 Thread Matthias Krüger
URL:
  

 Summary: game hangs/freezes in addon screen with git build
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Mon 19 Sep 2016 01:34:07 PM UTC
Category: Bug
Severity: 4 - Important
Priority: 5 - Normal
  Item Group:  None of the others
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

From main menu:

Addons -> connect to add-ons.wesnoth.org ->
message: "There are no add-ons matching the specified criteria on this
server." (probably version incompatibility with git) -> click "Options" =>
game hangs/ screen does not update

@ 8508b42




___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25100] crash when trying to create

2016-09-21 Thread Matthias Krüger
URL:
  

 Summary: crash when trying to create 
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Wed 21 Sep 2016 08:17:48 PM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: Multiplayer
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

wesnoth c1ca0e3-Clean

Multiplayer -> Local Game -> 
select scenarios and 2p - Dark Forecast (Survival) 
Create game -> crash

Battle for Wesnoth v1.13.5+dev (c1ca0e3-Clean)
Started on Wed Sep 21 22:15:02 2016

Automatically found a possible data directory at
/home/matthias/vcs/github/wesnoth/build/..

Data directory:   /home/matthias/vcs/github/wesnoth/build/..
User configuration directory: /home/matthias/.config/wesnoth
User data directory:  /home/matthias/.local/share/wesnoth/1.13
Cache directory:  /home/matthias/.cache/wesnoth

Setting mode to 1024x861
Checking lua scripts... ok
wesnoth:
/home/matthias/vcs/github/wesnoth/src/gui/widgets/menu_button.cpp:169: void
gui2::tmenu_button::set_values(const std::vector&, int): Assertion
`static_cast(selected) < values.size()' failed.
zsh: abort  ./build/wesnoth





___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25101] game create screen not shown when window not big enough

2016-09-21 Thread Matthias Krüger
URL:
  

 Summary: game create screen not shown when window not big
enough
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Wed 21 Sep 2016 08:27:01 PM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: User Interface
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

window size is 812x861

When trying setting up a multiplayer game and hitting "Create game", there is
an error

20160921 22:23:10 error gui/layout: tgrid [] place: Failed to place a grid, we
have 821,540 space but we need 831,78 space. This happened at a grid with the
id '' in a 'N4gui28tlistboxE' with the id 'side_list' in a 'N4gui25tgridE'
with the id '' in a
'N4gui210tgeneratorINS_6policy17minimum_selection5tnoneENS1_17maximum_selection9tinfiniteENS1_9placement12tindependentENS1_13select_action5tshowEEE'
with the id '_content_grid' in a 'N4gui25tgridE' with the id '' in a
'N4gui215tstacked_widgetE' with the id '' in a 'N4gui25tgridE' with the id ''
in a 'N4gui25tgridE' with the id '' in a 'N4gui25tgridE' with the id
'_window_content_grid' in a 'N4gui25tgridE' with the id '_content_grid' in a
'N4gui216tscrollbar_panelE' with the id '' in a 'N4gui25tgridE' with the id ''
in a 'N4gui27twindowE' with the id 'mp_staging'.

and the ui where you can assign slots to players is missing.


The ui elements appear when I increase size to around 1100x800 px (but they
stay when I make the window smaller again after that, strange).

Battle for Wesnoth v1.13.5+dev (c1ca0e3-Clean)





___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25083] leaks in AI vs AI match

2016-09-19 Thread Matthias Krüger
URL:
  

 Summary: leaks in AI vs AI match
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Mon 19 Sep 2016 03:02:54 PM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: Artificial Intelligence
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

I was having a local multiplayer match where 2 AIs fought.
wesnoth @ 8508b42bed28a956aa5aa8a120cb17ed9bf8404f 




___

File Attachments:


---
Date: Mon 19 Sep 2016 03:02:54 PM UTC  Name: AI_leaks.log  Size: 86kB   By:
matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25082] UB in tutorial start

2016-09-19 Thread Matthias Krüger
URL:
  

 Summary: UB in tutorial start
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Mon 19 Sep 2016 02:14:16 PM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group:  None of the others
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

There is some UB showing up when starting the tutorial and having clicked
through all the mandatory popups.

log attached,  @  8508b42bed28a956aa5aa8a120cb17ed9bf8404f

The font one is most likely this one:  http://gna.org/bugs/?25079





___

File Attachments:


---
Date: Mon 19 Sep 2016 02:14:16 PM UTC  Name: UB_tutorial.log  Size: 15kB   By:
matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25081] memleaks in tutorial start

2016-09-19 Thread Matthias Krüger
URL:
  

 Summary: memleaks in tutorial start
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Mon 19 Sep 2016 01:59:40 PM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: Units
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

Just launch the tutorial from the main menu and quit as soon as the map loaded
and you got through the mandatory popup windows.

wesnoth @ 8508b42bed28a956aa5aa8a120cb17ed9bf8404f 



___

File Attachments:


---
Date: Mon 19 Sep 2016 01:59:40 PM UTC  Name: leaks_tutorial.log  Size: 14kB  
By: matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25079] UB in font code

2016-09-19 Thread Matthias Krüger
URL:
  

 Summary: UB in font code
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Mon 19 Sep 2016 01:41:50 PM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: User Interface
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

through several paths it is possible to trigger this UB in font code, the
easiest is to just launch the wesnoth help from the main menu

log attached



___

File Attachments:


---
Date: Mon 19 Sep 2016 01:41:50 PM UTC  Name: UB_font.log  Size: 8kB   By:
matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25080] UB in map resize window

2016-09-19 Thread Matthias Krüger
URL:
  

 Summary: UB in map resize window
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Mon 19 Sep 2016 01:53:14 PM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: Editor
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

There is some UB that shows up when the map resize window of the editor is
shown.

log attached

@ 8508b42-Clean



___

File Attachments:


---
Date: Mon 19 Sep 2016 01:53:14 PM UTC  Name: UB_editor_resize_map.log  Size:
4kB   By: matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25092] memleak when music is playing in main menu

2016-09-20 Thread Matthias Krüger
URL:
  

 Summary: memleak when music is playing in main menu
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Tue 20 Sep 2016 06:06:45 PM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: Sound and music
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

This memleak happens when just starting to main menu and quitting afterwards,
however music has to be enabled.

Direct leak of 32 byte(s) in 1 object(s) allocated from:
#0 0x7fe91d05ce20 in malloc (/lib64/libasan.so.3+0xc6e20)
#1 0x7fe91b33e9a8 in Mix_LoadMUSType_RW
(/lib64/libSDL2_mixer-2.0.so.0+0xa9a8)
#2 0x5f4faf7 in events::pump()
/home/matthias/vcs/github/wesnoth/src/events.cpp:603
#3 0x15febb5 in gui2::twindow::show(bool, unsigned int)
/home/matthias/vcs/github/wesnoth/src/gui/widgets/window.cpp:639
#4 0x392c790 in gui2::tdialog::show(CVideo&, unsigned int)
/home/matthias/vcs/github/wesnoth/src/gui/dialogs/dialog.cpp:66
#5 0x4018f0f in gui2::ttitle_screen::display(game_launcher&)
/home/matthias/vcs/github/wesnoth/src/gui/dialogs/title_screen.cpp:483
#6 0x7e5295 in do_gameloop
/home/matthias/vcs/github/wesnoth/src/wesnoth.cpp:773
#7 0x7e5295 in main
/home/matthias/vcs/github/wesnoth/src/wesnoth.cpp:1042
#8 0x7fe916fc2730 in __libc_start_main (/lib64/libc.so.6+0x20730)


wesnoth 42cb2af-Clean 



___

File Attachments:


---
Date: Tue 20 Sep 2016 06:06:45 PM UTC  Name: memleak_music.log  Size: 913B  
By: matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25088] random map generation: identical seeds yield different maps

2016-09-20 Thread Matthias Krüger
Follow-up Comment #2, bug #25088 (project wesnoth):

Turned out I entered strings/letters but it expected numbers (it works with
numbers, tested floats and negative numbers as well).

Yeah, I noticed I unfortunately messed up the git hash in a couple of tickets,
but I usually am up to date so the git commit can be roughly guessed from the
date of ticket creation.

___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25096] heap use after free when "reset to beginning" test map save replay

2016-09-20 Thread Matthias Krüger
URL:
  

 Summary: heap use after free when "reset to beginning" test
map save replay
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Tue 20 Sep 2016 10:22:06 PM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: Unit Tests
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

start wesnoth -t
save the game
load the fresh savegame (make sure to have "Show replay" ticket)
when you now, in the replay controls, hit "reset to beginning", the game will
experience a use after free.

Log attached




___

File Attachments:


---
Date: Tue 20 Sep 2016 10:22:06 PM UTC  Name:
testscenario_replay_reset_to_beginning.log  Size: 14kB   By: matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25093] editor: heap buffer overflow editing side of scenario

2016-09-20 Thread Matthias Krüger
URL:
  

 Summary: editor: heap buffer overflow editing side of
scenario
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Tue 20 Sep 2016 06:57:19 PM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: Editor
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

launch editor
new scenario
side -> add new side
side -> edit side -> "ok"  => crash





___

File Attachments:


---
Date: Tue 20 Sep 2016 06:57:19 PM UTC  Name: editor_side_buffer_overflow.log 
Size: 5kB   By: matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25095] wesnoth -t: "reload & exec lua code" segfaults

2016-09-20 Thread Matthias Krüger
URL:
  

 Summary: wesnoth -t: "reload & exec lua code" segfaults
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Tue 20 Sep 2016 08:11:03 PM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: Unit Tests
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

wesnoth 0bbcd40-Clean

start wesnoth -t
right click somewhere and select "Reload and execute Lua code"
=> game crashes



___

File Attachments:


---
Date: Tue 20 Sep 2016 08:11:03 PM UTC  Name: lua_exec_crash.log  Size: 5kB  
By: matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25094] heap-use-after-free in test scenario (wesnoth -t)

2016-09-20 Thread Matthias Krüger
URL:
  

 Summary: heap-use-after-free in test scenario (wesnoth -t)
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Tue 20 Sep 2016 07:37:59 PM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: Unit Tests
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

When I use Kaleh to step onto the "Memory phone" trigger, the game crashes
with heap use after free after the dialog.

log attached. 




___

File Attachments:


---
Date: Tue 20 Sep 2016 07:37:59 PM UTC  Name: scenario_crash.log  Size: 22kB  
By: matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25097] heap buffer overflow when using planning mode

2016-09-20 Thread Matthias Krüger
URL:
  

 Summary: heap buffer overflow when using planning mode
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Wed 21 Sep 2016 12:28:55 AM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group:  None of the others
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linuc

___

Details:

When trying to place down a marker in plannig mode, there is a heap buffer
overflow.

log attached.



___

File Attachments:


---
Date: Wed 21 Sep 2016 12:28:55 AM UTC  Name: planning_mode__heap_overflow.log 
Size: 17kB   By: matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25086] bunch of problems with (almost) empty maps; UB/hang/crash when terminating

2016-09-20 Thread Matthias Krüger
URL:
  

 Summary: bunch of problems with (almost) empty maps;
UB/hang/crash when terminating
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Tue 20 Sep 2016 01:10:35 PM UTC
Category: Bug
Severity: 2 - Minor
Priority: 5 - Normal
  Item Group: Multiplayer
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

While trying to crash the game, I used a plain map from the editor which I
resized to 1x1, the map looked like this:

Gg, Gg, Gg
Gg, Gg, Gg
Gg, Gg, Gg


and loaded tried to start a multiplayer match on it.

There was some UB

/usr/include/c++/6.1.1/bits/stl_vector.h:796:41: runtime error: reference
binding to null pointer of type 'const struct value_type'
/home/matthias/vcs/github/wesnoth/src/units/drawer.cpp:48:33: runtime error:
reference binding to null pointer of type 'const struct team'
/usr/include/c++/6.1.1/bits/stl_vector.h:796:41: runtime error: reference
binding to null pointer of type 'const struct value_type'
/home/matthias/vcs/github/wesnoth/src/units/drawer.cpp:48:33: runtime error:
reference binding to null pointer of type 'const struct team'
/usr/include/c++/6.1.1/bits/stl_vector.h:781:41: runtime error: reference
binding to null pointer of type 'struct value_type'
/home/matthias/vcs/github/wesnoth/src/playsingle_controller.cpp:623:65:
runtime error: reference binding to null pointer of type 'const struct team'
20160920 15:05:03 error engine: Playing game with 0 teams.


and the game appeared to have locked up.
The UI was updating but it didn't react to any clicks.
When I ctrl+c'ed it in the terminal, a heap use after free showed up (see
logs).





___

File Attachments:


---
Date: Tue 20 Sep 2016 01:10:35 PM UTC  Name: empty_map_ub_crash.log  Size:
42kB   By: matthiaskrgr


---
Date: Tue 20 Sep 2016 01:10:35 PM UTC  Name: empty.map  Size: 33B   By:
matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25087] create game: error: Image doesn't fit on canvas

2016-09-20 Thread Matthias Krüger
URL:
  

 Summary: create game: error: Image doesn't fit on canvas 
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Tue 20 Sep 2016 01:25:22 PM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: User Interface
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

Window resolutions was:
  Width: 638
  Height: 861

When I went  Multiplayer -> Local Game, I got

20160920 15:21:16 error general: An error due to possibly invalid WML
occurred
The error message is :
Image doesn't fit on canvas.
 
When reporting the bug please include the following error message :
Condition 'static_cast(x) >= 0' failed at
/home/matthias/vcs/github/wesnoth/src/gui/core/canvas.cpp:1066 in function
'draw'. Extra development information: Image
'dialogs/multi_create/background.png', x = -82.



wesnoth 5c1834b-Clean




___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25090] load game filter does not reset when empty

2016-09-20 Thread Matthias Krüger
URL:
  

 Summary: load game filter does not reset when empty
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Tue 20 Sep 2016 02:54:12 PM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: User Interface
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

When removing all characters from the filter in the "Load Game" screen, only
one savegame is shown instead of all.

The only way to fully reset the filter is to go back to main menu and reopen
the load game window.

wesnoth @ 09248c7deae83673aac4dc8e980cf8824028b6d9




___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25088] random map generation: identical seeds yield different maps

2016-09-20 Thread Matthias Krüger
URL:
  

 Summary: random map generation: identical seeds yield
different maps
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Tue 20 Sep 2016 02:14:48 PM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: Editor
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

wesnoth f3e9540-Clean

Generating two maps with the same seed results in two different maps.
Looks like the seed does not work.




___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25089] editor: buffer overflow while expanding map

2016-09-20 Thread Matthias Krüger
URL:
  

 Summary: editor: buffer overflow while expanding map
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Tue 20 Sep 2016 02:27:14 PM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: Editor
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

wesnoth f3e9540-Clean
Start editor
expand the default map to 200x200 with
copy edge terrain == true
click the middle grid field of the 9x9 grid.
When resizing the map now, ASAN reports a buffer oveflow

log attached.



___

File Attachments:


---
Date: Tue 20 Sep 2016 02:27:14 PM UTC  Name: editor_buffer_overflow.log  Size:
6kB   By: matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25140] create game: crash when selecting same era twice

2016-10-03 Thread Matthias Krüger
URL:
  

 Summary: create game: crash when selecting same era twice
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Mon 03 Oct 2016 09:37:46 UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: User Interface
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

Game crashes when selecting the same era twice.

Log attached.



___

File Attachments:


---
Date: Mon 03 Oct 2016 09:37:46 UTC  Name: select_era_twice.log  Size: 14kB  
By: matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25144] LoW: crash when trying to launch multiplayer campaign.

2016-10-03 Thread Matthias Krüger
Follow-up Comment #1, bug #25144 (project wesnoth):

Update: this also happens when launching a regular offline campaign game. 

___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25144] LoW: crash when trying to start campaign

2016-10-03 Thread Matthias Krüger
Follow-up Comment #2, bug #25144 (project wesnoth):

Added crashlog of normal campaign.

The tutorial still works for some reason.

(file #28849)
___

Additional Item Attachment:

File name: offline_campaign_crash.log Size:22 KB


___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25142] mp_staging: reference binding to nullptr (UB)

2016-10-03 Thread Matthias Krüger
URL:
  

 Summary: mp_staging: reference binding to nullptr (UB)
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Mon 03 Oct 2016 09:45:37 UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: Multiplayer Lobby
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

wesnoth 99e114a-Clean

running with UBSAN_OPTIONS=print_stacktrace=1 ./build/wesnoth 

Multiplayer -> Local game -> Create Game
This was showing up:

/home/matthias/vcs/github/wesnoth/src/gui/dialogs/multiplayer/mp_staging.cpp:256:30:
runtime error: reference binding to null pointer of type 'struct
twesnothd_connection'
#0 0x3f0d578 in gui2::tmp_staging::pre_show(gui2::twindow&)
/home/matthias/vcs/github/wesnoth/src/gui/dialogs/multiplayer/mp_staging.cpp:256
#1 0x38f7338 in gui2::tdialog::show(CVideo&, unsigned int)
/home/matthias/vcs/github/wesnoth/src/gui/dialogs/dialog.cpp:64
#2 0x45f23ad in enter_connect_mode
/home/matthias/vcs/github/wesnoth/src/game_initialization/multiplayer.cpp:500
#3 0x45f3513 in enter_create_mode
/home/matthias/vcs/github/wesnoth/src/game_initialization/multiplayer.cpp:575
#4 0x45f3b73 in mp::start_local_game(CVideo&, config const&, saved_game&)
/home/matthias/vcs/github/wesnoth/src/game_initialization/multiplayer.cpp:782
#5 0x366f2ff in
game_launcher::play_multiplayer(game_launcher::mp_selection)
/home/matthias/vcs/github/wesnoth/src/game_launcher.cpp:839
#6 0x7e5708 in do_gameloop
/home/matthias/vcs/github/wesnoth/src/wesnoth.cpp:807
#7 0x7e5708 in main
/home/matthias/vcs/github/wesnoth/src/wesnoth.cpp:1053
#8 0x7f923b913730 in __libc_start_main (/lib64/libc.so.6+0x20730)
#9 0x85ae98 in _start
(/home/matthias/vcs/github/wesnoth/build/wesnoth+0x85ae98)




___

File Attachments:


---
Date: Mon 03 Oct 2016 09:45:37 UTC  Name: UB.log  Size: 2kB   By: matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25143] MP: buffer overflow while assigning slots

2016-10-03 Thread Matthias Krüger
URL:
  

 Summary: MP: buffer overflow while assigning slots
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Mon 03 Oct 2016 09:56:05 UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: Multiplayer Lobby
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

Wesnot 99e114a-Clean

Get to the player-assigning screen of a MP game with 2 player map and play
around with the slots a bit. Unfortunately I failed to come up with a
reproducible patter, it just seemed to just fail after a few tries to assign
things.

crash log attached.







___

File Attachments:


---
Date: Mon 03 Oct 2016 09:56:05 UTC  Name: slotcrash.log  Size: 13kB   By:
matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25144] LoW: crash when trying to launch multiplayer campaign.

2016-10-03 Thread Matthias Krüger
URL:
  

 Summary: LoW: crash when trying to launch multiplayer
campaign.
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Mon 03 Oct 2016 10:03:03 UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group:  None of the others
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

There is a heap use after free before the slot-selection screen is reached.


(Multplayer -> Local Game -> Campaigns (select LOW) -> Create Game -> select
middle difficulty -> boom

Wesnoth 99e114a-Clean



___

File Attachments:


---
Date: Mon 03 Oct 2016 10:03:03 UTC  Name: LoW_online.log  Size: 12kB   By:
matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25111] tutorial: getting stuck sometimes, have to undo turn or reload

2016-09-28 Thread Matthias Krüger
Follow-up Comment #2, bug #25111 (project wesnoth):

Yes, but usually you can end you turn whenever you want but the tutorial keeps
you from doing so.

___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25111] tutorial: getting stuck sometimes, have to undo turn or reload

2016-09-28 Thread Matthias Krüger
Follow-up Comment #4, bug #25111 (project wesnoth):

It's completely unrelated to regular (non-tutorial) gameplay.

It only affects the tutorial.
The problem is not that units can no longer move after attacking/capturing
villages.

The problem is that the tutorial, and only the tutorial, requires the player
to do exactly as planned. If a player plays around a bit or misclicks and
accidentally moves the unit somewhere where the tutorial did not foresee it,
which can totally happen since new player are new to the game, they will get
into a situation where you no longer progress unless by doing (for new people)
advanced things like undoing actions (in the best case) or completely
reloading a turn (in the worst case).

People are NOT supposed to get frustrated in the tutorial already, they might
just quit the game forever.

Did you actually try to reproduce this ingame?

___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25132] Building failure with Clang C++ compiler

2016-09-28 Thread Matthias Krüger
Follow-up Comment #3, bug #25132 (project wesnoth):

In your ticket you wrote you have "boost 1.16.1", are you sure about that?
Boost 1.16 is from 2000, wesnoth requires boost 1.48.0 as can be read in the
INSTALL file.

I had similar problem with boost 1.60.0 though.

As you can see from the output you posted, the compilation failure happens in
boost and not wesnoth itself so this is actually a boost bug which happens to
affect wesnoth.

There were some changes made here:
https://github.com/boostorg/bind/commit/3c56630b5400c43d1a4393d685a407e68a69ce9e

Laster boost version might have this fixed.

The easiest solution might be to just compile with gcc or upgrade/downgrade
boost.

___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25227] assertion failure when normal/planned moves conflict

2016-10-25 Thread Matthias Krüger
Follow-up Comment #2, bug #25227 (project wesnoth):

Your reproducing description sounds about right to me and I was able to
reproduce the assertion failure and heap use after free with that. I don't
understand why it doesn't crash though :/

(file #29148)
___

Additional Item Attachment:

File name: use_after_free_conflicting_planningmode_and_movement.log Size:50 KB


___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25277] assertion failure: future move + shroud + planning mode

2016-11-09 Thread Matthias Krüger
URL:
  

 Summary: assertion failure: future move + shroud + planning
mode
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Thu 10 Nov 2016 00:16:14 UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group:  None of the others
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release:  v1.13.6+dev (bf0f1b4-Clean)
Operating System: linux

___

Details:

have map with shroud
make sure shroud updates are delayed
move unit to farthest edge of shroud it can reach in 2 turns
start planning mode
=>
wesnoth: /home/matthias/vcs/github/wesnoth/src/actions/undo.cpp:488: bool
actions::undo_list::apply_shroud_changes() const: Assertion
`synced_context::is_synced()' failed.






___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25277] assertion failure: future move + shroud + planning mode

2016-11-10 Thread Matthias Krüger
Additional Item Attachment, bug #25277 (project wesnoth):

File name: assert_failure_shroud.log  Size:6 KB


___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25077] memleak in wesnoth help

2016-10-19 Thread Matthias Krüger
Follow-up Comment #2, bug #25077 (project wesnoth):

Looks good as of 166809e8f73542982f30d6057cc5820c96fa22fc

___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25203] leak when changing multiplayer/chat lines in settings

2016-10-19 Thread Matthias Krüger
URL:
  

 Summary: leak when changing multiplayer/chat lines in
settings
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Thu 20 Oct 2016 00:32:57 UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group:  None of the others
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

Preferences
Multiplayer
=> change "chat lines"
quit

ASAN reports memleaks.

log attached.



___

File Attachments:


---
Date: Thu 20 Oct 2016 00:32:57 UTC  Name: settings_scroll_memleak.log  Size:
45kB   By: matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25204] use after free when advancing unit in test scenario

2016-10-20 Thread Matthias Krüger
URL:
  

 Summary: use after free when advancing unit in test scenario
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Thu 20 Oct 2016 07:18:21 UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group:  None of the others
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

launch wesnoth -t
Select the peasant (slightly south to the castle (9,8 on the map).
move him to the "earn 100 XP" hex (7,20)
select spearmen => boom

log attached



___

File Attachments:


---
Date: Thu 20 Oct 2016 07:18:21 UTC  Name: test_scen_crash_unitadvancement.log 
Size: 20kB   By: matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #24502] UB showing unit description in 'help'

2016-10-20 Thread Matthias Krüger
Follow-up Comment #3, bug #24502 (project wesnoth):

I can't reproduce anymore.

___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25079] UB in font code

2016-10-20 Thread Matthias Krüger
Follow-up Comment #2, bug #25079 (project wesnoth):

Still happening (updated log attached).

If it is nothing of relevance feel free to close.

(file #29068)
___

Additional Item Attachment:

File name: font_UB_Oct20th.logSize:7 KB


___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25089] editor: buffer overflow while expanding map

2016-10-20 Thread Matthias Krüger
Follow-up Comment #4, bug #25089 (project wesnoth):

I could not longer reproduce; resizing seems to work now.

Here and there the editor still crashed due to invalid terrain being accessed
but this is a different issue (  https://gna.org/bugs/index.php?25161 ).



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25079] UB in font code

2016-10-22 Thread Matthias Krüger
Follow-up Comment #8, bug #25079 (project wesnoth):

Can confirm that the one in src/font/text_surface.cpp no longer occurs.

Do you want to keep this open until similar functions are fixed?

___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25112] ai vs ai game, experimental AI recruits nothing, humans recruit drakes, SNAFU

2016-10-22 Thread Matthias Krüger
Follow-up Comment #3, bug #25112 (project wesnoth):

Ok I think I might have had some faction settings messed up.

There are still leaks which might be caused by different parts of the game
(ui/ai or whatever), I'll try to make new tickets about more isolated issues
in the future (like https://gna.org/bugs/index.php?25203 ).

Feel free to close.

___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25214] crashes when dividing by 0 in test scenario

2016-10-22 Thread Matthias Krüger
Follow-up Comment #2, bug #25214 (project wesnoth):

It is still possible to cheat around the fix by doing something like

x / (1-1)


___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25081] memleaks in tutorial start

2016-10-22 Thread Matthias Krüger
Follow-up Comment #2, bug #25081 (project wesnoth):

updated leak log

(file #29103, file #29104)
___

Additional Item Attachment:

File name: tut_leaks_oct22.logSize:8 KB
File name: tut_leaks_oct22.logSize:8 KB


___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25218] UB when TOD progresses

2016-10-23 Thread Matthias Krüger
URL:
  

 Summary: UB when TOD progresses 
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Sun 23 Oct 2016 09:39:36 UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group:  None of the others
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

this:
/home/matthias/vcs/github/wesnoth/src/tod_manager.hpp:182:12: runtime error:
load of value 190, which is not a valid value for type 'bool'

shows up as soon as the TOD progresses.

Full trace attached.



___

File Attachments:


---
Date: Sun 23 Oct 2016 09:39:36 UTC  Name: TOD_UB.log  Size: 2kB   By:
matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25220] UB: integer overflow (ai) in test scenario

2016-10-23 Thread Matthias Krüger
URL:
  

 Summary: UB: integer overflow (ai) in test scenario
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Sun 23 Oct 2016 10:13:29 UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group:  None of the others
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

start wesnoth -t
end turn
when the game asks for selections in dialogs, just select the topmost option.

At some point during the AI turn, you should encounter

/home/matthias/vcs/github/wesnoth/src/ai/contexts.cpp:1138:44: runtime error:
signed integer overflow: 153900 * 2 cannot be represented in type 'int
[6]'


Log attached.





___

File Attachments:


---
Date: Sun 23 Oct 2016 10:13:29 UTC  Name: int_overflow_UB.log  Size: 5kB   By:
matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25223] planning mode: don't allow planning of movement after planning of attack

2016-10-23 Thread Matthias Krüger
URL:
  

 Summary: planning mode: don't allow planning of movement
after planning of attack
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Sun 23 Oct 2016 11:17:13 UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group:  None of the others
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: v1.13.5+dev
Operating System: all

___

Details:

It's possible to first plan a unit to attack something and then plan the same
unit to move afterwards which makes no sense since the move is not going to be
executed after the attack in non-planned gameplay.




___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25218] UB when TOD progresses

2016-10-23 Thread Matthias Krüger
Follow-up Comment #3, bug #25218 (project wesnoth):

Looks good.

___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25221] MP slot selection becomes black

2016-10-23 Thread Matthias Krüger
URL:
  

 Summary: MP slot selection becomes black
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Sun 23 Oct 2016 10:28:01 UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group:  None of the others
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

Multiplayer
Local game
create game
=> hover cursor between team color selector and background of the widget(?)

the background will become darker every time until text is completely
unreadable




___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25095] wesnoth -t: "reload & exec lua code" segfaults

2016-10-23 Thread Matthias Krüger
Follow-up Comment #2, bug #25095 (project wesnoth):

There is some lua error showing up but the game no longer crashes, so works
for me.

___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25217] unit moves on impassible terrain

2016-10-23 Thread Matthias Krüger
URL:
  

 Summary: unit moves on impassible terrain
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Sun 23 Oct 2016 07:47:59 UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group:  None of the others
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

in last turn, see attached replay.



___

File Attachments:


---
Date: Sun 23 Oct 2016 07:47:59 UTC  Name:
2p_—_Dark_Forecast_(Survival)_replay.gz  Size: 10kB   By: matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25222] crash in planning mode, moving planned recruit

2016-10-23 Thread Matthias Krüger
URL:
  

 Summary: crash in planning mode, moving planned recruit
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Sun 23 Oct 2016 10:40:46 UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group:  None of the others
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

start game on sablestone delta with FoW but no shroud as undead
move leader to keep
start planning mode
in planning mode:
recruit skeleton
select planned recruit skeleton and move it to the lower right corner of the
map

There was an assertion failure:
wesnoth:
/home/matthias/vcs/github/wesnoth/src/whiteboard/side_actions.cpp:163:
wb::side_actions_container::iterator wb::side_actions_container::queue(size_t,
wb::action_ptr): Assertion `turn_num <= num_turns() || future_only' failed.







___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25192] reference binding to nullpointer when clicking unit recruited in planning mode

2016-10-18 Thread Matthias Krüger
Follow-up Comment #3, bug #25192 (project wesnoth):

The game crashes now when hovering a unit.

new log attached



(file #29049)
___

Additional Item Attachment:

File name: hovercrash.log Size:2 KB


___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25214] crashes when dividing by 0 in test scenario

2016-10-21 Thread Matthias Krüger
URL:
  

 Summary: crashes when dividing by 0 in test scenario
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Fri 21 Oct 2016 22:57:19 UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group:  None of the others
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

launch wesnoth -t
move unit to "open sesame" to unlock math foo
move unit to "math test"
hit enter to set number to 0
select "divide by something" in the dialog
enter 0
=> crash



___

File Attachments:


---
Date: Fri 21 Oct 2016 22:57:19 UTC  Name: zeroDiv.log  Size: 3kB   By:
matthiaskrgr



___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25227] assertion failure when normal/planned moves conflict

2016-10-24 Thread Matthias Krüger
URL:
  

 Summary: assertion failure when normal/planned moves conflict
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Mon 24 Oct 2016 14:00:32 UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group:  None of the others
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: v1.13.5+dev (f4870a8-Clean)
Operating System: linux

___

Details:

Have unit
Also make a regular movement lasting severl turns to some hex on the map.
Enter planning mode, make a planned movement to some other hex in planning
mode.

End turn.
=> on the next turn of that unit, the game will crash:

wesnoth:
/home/matthias/vcs/github/wesnoth/src/whiteboard/side_actions.cpp:228:
wb::side_actions_container::iterator
wb::side_actions_container::erase(wb::side_actions_container::iterator):
Assertion `turn_of_position == 0' failed.


Might be related: https://gna.org/bugs/index.php?25222




___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25204] use after free when advancing unit in test scenario

2016-10-20 Thread Matthias Krüger
Follow-up Comment #2, bug #25204 (project wesnoth):

Looks good.

___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25192] reference binding to nullpointer when clicking unit recruited in planning mode

2016-10-18 Thread Matthias Krüger
Follow-up Comment #4, bug #25192 (project wesnoth):

Was fixed via
https://github.com/wesnoth/wesnoth/commit/4b9ec1bce1b13f08d58a20394a3d10b954e59d0e

(I can no longer reproduce the crash or the nullptr)

Thanks!

___

Reply to this item at:

  

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


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


  1   2   >