
So yeah, it cannot happen normally and it's just a potential issue.
/* No persistent levels of this type for now */ if (OPT(p, birth_levels_persist)) return NULL;

/* No persistent levels of this type for now */ if (OPT(p, birth_levels_persist)) return NULL;
/* Enforce minimum dimensions */
h = MAX(h, min_height);
w = MAX(w, min_width);
/* Enforce maximum dimensions */
h = MIN(h, z_info->dungeon_hgt - 3);
w = MIN(w, z_info->dungeon_wid - 3);
struct chunk *labyrinth_gen(struct player *p, int min_height, int min_width)
int h = 15 + randint0(p->depth / 10) * 2; int w = 51 + randint0(p->depth / 10) * 2;
/* Enforce minimum dimensions */ h = MAX(h, min_height); w = MAX(w, min_width);
struct chunk *c = cave_new(h + 2, w + 2);
/* Enforce minimum dimensions */ h = MAX(h, min_height - 2); w = MAX(w, min_width - 2);
Program received signal SIGSEGV, Segmentation fault.
0x000000000047ff76 in remove_contradictory (art=0xa6d3f8) at obj-randart.c:2348
2348 art->curses[i] = 0;
(gdb) print i
$1 = 15
(gdb) print *art
$2 = {name = 0x9da108 "of Agorian",
text = 0x8b4ee8 "This wondrous suit of fine-linked chain shimmers as though of pure silver. It stands untouched amidst the fury of the elements, and a power of concealment rests within.", aidx = 97, next = 0xa6d538, tval = 9,
sval = 14, to_h = -12, to_d = -13, to_a = 0, ac = 0, dd = 6, ds = 5,
weight = 180, cost = 105000, flags = "\000@\000\002", modifiers = {
0 <repeats 14 times>}, el_info = {{res_level = 0, flags = 2 '\002'}, {
res_level = 0, flags = 2 '\002'}, {res_level = 0, flags = 2 '\002'}, {
res_level = 0, flags = 2 '\002'}, {res_level = 0, flags = 0 '\000'}, {
res_level = 0, flags = 0 '\000'}, {res_level = 0, flags = 0 '\000'}, {
res_level = 0, flags = 0 '\000'}, {res_level = 0, flags = 0 '\000'}, {
res_level = 0, flags = 0 '\000'}, {res_level = 0, flags = 0 '\000'}, {
res_level = 1, flags = 0 '\000'}, {res_level = 0,
flags = 0 '\000'} <repeats 13 times>}, brands = 0x0, slays = 0x9d6288,
curses = 0x0, level = 40, alloc_prob = 30, alloc_min = 55, alloc_max = 127,
created = false, seen = false, everseen = false, activation = 0x0,
alt_msg = 0x0, time = {base = 2, dice = 0, sides = 0, m_bonus = 0}}
(gdb) bt
#0 0x000000000047ff76 in remove_contradictory (art=0xa6d3f8)
at obj-randart.c:2348
#1 0x000000000047ffea in add_ability (art=0xa6d3f8, target_power=181,
freq=0x7fffffffd380, data=0x8ba298) at obj-randart.c:2370
#2 0x0000000000480b1f in design_artifact (data=0x8ba298, tv=9,
aidx=0x7fffffffd55c) at obj-randart.c:2620
#3 0x0000000000480f45 in create_artifact_set (data=0x8ba298)
at obj-randart.c:2722
#4 0x00000000004818a3 in do_randart (randart_seed=84580334, create_file=true)
at obj-randart.c:2919
#5 0x000000000048a35c in do_cmd_accept_character (
cmd=0x755820 <cmd_queue+704>) at player-birth.c:1159
#6 0x000000000040e054 in process_command (ctx=CMD_BIRTH,
cmd=0x755820 <cmd_queue+704>) at cmd-core.c:222
#7 0x000000000040e14d in cmdq_pop (c=CMD_BIRTH) at cmd-core.c:250
#8 0x000000000040e1f6 in cmdq_execute (ctx=CMD_BIRTH) at cmd-core.c:291
#9 0x00000000004a9ff9 in textui_do_birth () at ui-birth.c:1246
#10 0x00000000004b4bd7 in start_game (new_game=false) at ui-game.c:404
#11 0x00000000004b4c49 in play_game (new_game=false) at ui-game.c:428
#12 0x00000000004ed5bd in main (argc=1, argv=0x7fffffffdbf8) at main.c:524
(gdb)
Leave a comment: