Welcome to the Builder Academy

Question Fight.c crash

More
21 Dec 2016 21:19 #6443 by thomas
Replied by thomas on topic Fight.c crash
... if you're using autorun (without the .sh) you alter that one instead :)

Did it make a file i can edit to see everything ?

With autorun it will append to the syslog.

And do i just startup the mud like and did and shutdown right away or let it run for hours ?

I'd try it out. Start small, then expand.

Please Log in or Create an account to join the conversation.

More
21 Dec 2016 21:57 - 21 Dec 2016 21:58 #6444 by JTP
Replied by JTP on topic Fight.c crash
Ok here is 1 mins of running, maybe to short time:
Code:
==3599== at 0x4005B83: malloc (vg_replace_malloc.c:195) ==3599== by 0x3295DF: strdup (in /lib/libc-2.5.so) ==3599== by 0x812B109: load_char (players.c:360) ==3599== by 0x80FA69D: nanny (interpreter.c:1442) ==3599== by 0x80AEB6B: game_loop (comm.c:885) ==3599== by 0x80AFC66: main (comm.c:535) ==3599== ==3599== 12 bytes in 1 blocks are still reachable in loss record 2 of 3 ==3599== at 0x4004EC2: calloc (vg_replace_malloc.c:418) ==3599== by 0x80FE5DA: create_list (lists.c:28) ==3599== by 0x80BA0A7: boot_db (db.c:665) ==3599== by 0x80AFB6A: main (comm.c:520) ==3599== ==3599== 440 bytes in 5 blocks are still reachable in loss record 3 of 3 ==3599== at 0x4004EC2: calloc (vg_replace_malloc.c:418) ==3599== by 0x809BEFB: load_banned (ban.c:61) ==3599== by 0x80BA27F: boot_db (db.c:739) ==3599== by 0x80AFB6A: main (comm.c:520) ==3599== ==3599== LEAK SUMMARY: ==3599== definitely lost: 1 bytes in 1 blocks ==3599== indirectly lost: 0 bytes in 0 blocks ==3599== possibly lost: 0 bytes in 0 blocks ==3599== still reachable: 452 bytes in 6 blocks ==3599== suppressed: 0 bytes in 0 blocks ==3599== ==3599== For counts of detected and suppressed errors, rerun with: -v ==3599== Use --track-origins=yes to see where uninitialised values come from ==3599== ERROR SUMMARY: 1103 errors from 57 contexts (suppressed: 13 from 8) autoscript terminated Wed Dec 21 14:44:22 MST 2016
Last edit: 21 Dec 2016 21:58 by JTP.

Please Log in or Create an account to join the conversation.

More
22 Dec 2016 13:27 #6445 by JTP
Replied by JTP on topic Fight.c crash
I cant seem to be able to run for very long, then i run out of Space.

So far the stuff i see is shown below and looks like stock code, i havent come to anything iwe made:
Code:
==21866== Conditional jump or move depends on uninitialised value(s) ==21866== at 0x80B2129: fread_string (db.c:2824) ==21866== by 0x814636C: parse_quest (quest.c:161) ==21866== by 0x80B72E1: discrete_load (db.c:1119) ==21866== by 0x80B79D7: index_boot (db.c:1046) ==21866== by 0x80B9944: boot_world (db.c:466) ==21866== by 0x80BA1AA: boot_db (db.c:689) ==21866== by 0x80AFB6A: main (comm.c:520) ==21866== ==21866== Conditional jump or move depends on uninitialised value(s) ==21866== at 0x80B21BA: fread_string (db.c:2823) ==21866== by 0x8146388: parse_quest (quest.c:162) ==21866== by 0x80B72E1: discrete_load (db.c:1119) ==21866== by 0x80B79D7: index_boot (db.c:1046) ==21866== by 0x80B9944: boot_world (db.c:466) ==21866== by 0x80BA1AA: boot_db (db.c:689) ==21866== by 0x80AFB6A: main (comm.c:520) ==21866== ==21866== Conditional jump or move depends on uninitialised value(s) ==21866== at 0x80B21AC: fread_string (db.c:2823) ==21866== by 0x8146388: parse_quest (quest.c:162) ==21866== by 0x80B72E1: discrete_load (db.c:1119) ==21866== by 0x80B79D7: index_boot (db.c:1046) ==21866== by 0x80B9944: boot_world (db.c:466) ==21866== by 0x80BA1AA: boot_db (db.c:689) ==21866== by 0x80AFB6A: main (comm.c:520) ==21866== ==21866== Conditional jump or move depends on uninitialised value(s) ==21866== at 0x80B2129: fread_string (db.c:2824) ==21866== by 0x8146388: parse_quest (quest.c:162) ==21866== by 0x80B72E1: discrete_load (db.c:1119) ==21866== by 0x80B79D7: index_boot (db.c:1046) ==21866== by 0x80B9944: boot_world (db.c:466) ==21866== by 0x80BA1AA: boot_db (db.c:689) ==21866== by 0x80AFB6A: main (comm.c:520)

Please Log in or Create an account to join the conversation.

Time to create page: 0.206 seconds