![]() |
#81 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,863
Donated: $60
![]() |
OK, fixed savefile attached. The saved town was the problem, so when you go back there you will find the layout different; the shop and your home should be unaffected. Let me know if you have any further problems.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#82 |
Adept
Join Date: Oct 2019
Posts: 184
![]() |
|
![]() |
![]() |
![]() |
#83 |
Adept
Join Date: Oct 2019
Posts: 184
![]() |
Are You Stoned?
When I'm hallucinating, if I do things like hit space, escape, browse a book, etc., no time passes but my hallucinations flicker. Shouldn't they only change when time passes? Pretty easy to determine whether something is actually there or not this way.
|
![]() |
![]() |
![]() |
#84 |
Rookie
Join Date: Nov 2019
Posts: 3
![]() |
No luck on my end unfortunately, I still get the chunk_copy() level bounds failed error message.
|
![]() |
![]() |
![]() |
#85 |
Adept
Join Date: Oct 2019
Posts: 184
![]() |
|
![]() |
![]() |
![]() |
#86 |
Prophet
Join Date: Dec 2009
Posts: 8,946
![]() |
|
![]() |
![]() |
![]() |
#87 | |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,863
Donated: $60
![]() |
Quote:
![]() This one should be OK - I recalled back to town from your save.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
|
![]() |
![]() |
![]() |
#88 |
Rookie
Join Date: Nov 2019
Posts: 3
![]() |
|
![]() |
![]() |
![]() |
#89 |
Rookie
Join Date: Aug 2019
Posts: 14
![]() |
Other memory leaks
Other memory leaks reported by XCode's Leaks instrument for Angband 4.2.0:
1) Some "known" versions of objects allocated from the following partial call stacks below (omitting the calls before process_command()) were leaked. mem_alloc() mem_zalloc() object_new() object_split() gear_object_for_use() ranged_helper() do_cmd_fire() process_cmd() mem_alloc() mem_zalloc() object_new() object_see() square_know_pile() square_note_spot() update_one() update_view() move_player() do_cmd_walk() process_command() mem_alloc() mem_zalloc() object_new() object_sense() square_sense_pile() effect_handler_SENSE_OBJECTS() effect_do() use_aux() do_cmd_read_scroll() process_command() The attached file, object-absorb-known-object-leak-patch.txt, patches object_absorb(), but that doesn't eliminate all of those leaks. 2) An object allocated from this partial call stack, mem_alloc() mem_zalloc() object_new() make_object() place_object() alloc_object() alloc_objects() classic_gen() cave_generate() prepare_next_level() , was leaked. 3) The string allocated from this partial call stack, mem_alloc() string_make() cmd_set_arg_string() cmd_get_string() do_cmd_inscribe() process_command() was leaked when inscribing an object. 4) During character creation, there's a leak if the player edits the character background information. The partial call stack for where the allocations occur is mem_realloc() textblock_calculate_lines() edit_text() textui_do_birth() play_game() 5) During character creation, the background or quest information can be leaked, especially if the player backtracks to select a different combination of race and class. The partial call stacks for where the allocations occurred were: string_append() player_generate() do_cmd_choose_race() process_command() string_append() player_generate() do_cmd_choose_class() process_command() string_append() player_generate() do_cmd_birth_reset() process_command() string_append() do_cmd_roll_stats() process_command() string_make() do_cmd_choose_history() process_command() string_append() player_generate() do_cmd_birth_init() process_command() mem_zalloc() player_quests_reset() player_init() do_cmd_birth_reset() process_command() string_make() player_quests_reset() player_init() do_cmd_birth_reset() process_command() The attached file, player-birth-memory-leaks-patch.txt, has patches to plug those leaks and the leak in (4). |
![]() |
![]() |
![]() |
#90 |
Rookie
Join Date: Aug 2019
Posts: 14
![]() |
File not closed in remove_old_dump() if error
In ui-prefs.c's remove_old_dump(), if there is an error opening the new file, the current file won't be closed. The attached patch fixes that.
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bugs with 3.5 | donalde | Vanilla | 10 | February 24, 2014 18:28 |
Bugs: V3.1.2 | Pete Mack | Vanilla | 34 | December 1, 2010 18:18 |
Bugs | Adley | Development | 2 | October 10, 2010 22:11 |
V bugs (3.1.1) | Pete Mack | Vanilla | 3 | January 10, 2010 10:02 |
V 3.9 Bugs | momo125 | Vanilla | 3 | September 11, 2007 16:48 |