Advertisement
Guest User

Untitled

a guest
Jan 26th, 2020
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.83 KB | None | 0 0
  1. GNU gdb (Ubuntu 8.1-0ubuntu3.2) 8.1.0.20180409-git
  2. Copyright (C) 2018 Free Software Foundation, Inc.
  3. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  4. This is free software: you are free to change and redistribute it.
  5. There is NO WARRANTY, to the extent permitted by law. Type "show copying"
  6. and "show warranty" for details.
  7. This GDB was configured as "x86_64-linux-gnu".
  8. Type "show configuration" for configuration details.
  9. For bug reporting instructions, please see:
  10. <http://www.gnu.org/software/gdb/bugs/>.
  11. Find the GDB manual and other documentation resources online at:
  12. <http://www.gnu.org/software/gdb/documentation/>.
  13. For help, type "help".
  14. Type "apropos word" to search for commands related to "word"...
  15. Reading symbols from bin/circle...done.
  16. [New LWP 27322]
  17. Core was generated by `circle -C3 9000'.
  18. Program terminated with signal SIGSEGV, Segmentation fault.
  19. #0 stop_follower (ch=ch@entry=0x558340e26d40) at utils.c:549
  20. 549 for (k = ch->master->followers; k->next->follower != ch; k = k->next);
  21. (gdb) bt
  22. #0 stop_follower (ch=ch@entry=0x558340e26d40) at utils.c:549
  23. #1 0x000055833e6f1018 in destroy_db () at db.c:512
  24. #2 0x000055833e6943de in main (argc=<optimized out>, argv=<optimized out>) at comm.c:356
  25. (gdb) list
  26. 544 if (ch->master->followers->follower == ch) { /* Head of follower-list? */
  27. 545 k = ch->master->followers;
  28. 546 ch->master->followers = k->next;
  29. 547 free(k);
  30. 548 } else { /* locate follower who is not head of list */
  31. 549 for (k = ch->master->followers; k->next->follower != ch; k = k->next);
  32. 550
  33. 551 j = k->next;
  34. 552 k->next = j->next;
  35. 553 free(j);
  36. (gdb) info local
  37. j = <optimized out>
  38. k = 0x558340cffb80
  39. (gdb) up
  40. #1 0x000055833e6f1018 in destroy_db () at db.c:512
  41. 512 stop_follower(chtmp);
  42. (gdb) list
  43. 507 /* Active Mobiles & Players */
  44. 508 while (character_list) {
  45. 509 chtmp = character_list;
  46. 510 character_list = character_list->next;
  47. 511 if (chtmp->master)
  48. 512 stop_follower(chtmp);
  49. 513 free_char(chtmp);
  50. 514 }
  51. 515
  52. 516 /* Active Objects */
  53. (gdb) info local
  54. cnt = <optimized out>
  55. itr = <optimized out>
  56. chtmp = 0x558340e26d40
  57. objtmp = <optimized out>
  58. (gdb) up
  59. #2 0x000055833e6943de in main (argc=<optimized out>, argv=<optimized out>) at comm.c:356
  60. 356 destroy_db();
  61. (gdb) list
  62. 351 log("Running game on port %d.", port);
  63. 352 init_game(port);
  64. 353 }
  65. 354
  66. 355 log("Clearing game world.");
  67. 356 destroy_db();
  68. 357
  69. 358 if (!scheck) {
  70. 359 log("Clearing other memory.");
  71. 360 free_bufpool(); /* comm.c */
  72. (gdb) info local
  73. pos = <optimized out>
  74. dir = <optimized out>
  75. (gdb) up
  76. Initial frame selected; you cannot go up.
  77. (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement