dominus

Untitled

Mar 20th, 2023
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.63 KB | None | 0 0
  1. Process 71747 launched: '/Users/Dominus/Code/snapshots/exult/exult' (x86_64)
  2. Exult version 1.9.0git
  3. Built at: Mar 20 2023 20:52:02
  4. Compile-time options: DEBUG, USE_FMOPL_MIDI, HAVE_ZIP_SUPPORT
  5. Compiler: GCC Apple LLVM 14.0.0 (clang-1400.0.29.202)
  6.  
  7. Platform: Mac OS X
  8. Unrecognized system path '<HOME>' in path '<HOME>'.
  9. Process 71747 stopped
  10. * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  11. frame #0: 0x00000001004fff97 exult`setup_data_dir(data_path="/Library/Application Support/Exult/data", runpath="/Users/Dominus/Code/snapshots/exult/exult") at utils.cc:721:119
  12. 718 ) {
  13. 719 #if defined(MACOSX) || defined(__IPHONEOS__)
  14. 720 // Can we try from the bundle?
  15. -> 721 std::unique_ptr<std::remove_pointer<CFURLRef>::type, CFDeleter> fileUrl {std::move(CFBundleCopyResourcesDirectoryURL(CFBundleGetMainBundle()))};
  16. 722 if (fileUrl) {
  17. 723 unsigned char buf[MAXPATHLEN];
  18. 724 if (CFURLGetFileSystemRepresentation(fileUrl.get(), true, buf, sizeof(buf))) {
  19. Target 0: (exult) stopped.
  20. (lldb) n
  21. Process 71747 stopped
  22. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  23. frame #0: 0x00000001004fffc6 exult`setup_data_dir(data_path="/Library/Application Support/Exult/data", runpath="/Users/Dominus/Code/snapshots/exult/exult") at utils.cc:722:6
  24. 719 #if defined(MACOSX) || defined(__IPHONEOS__)
  25. 720 // Can we try from the bundle?
  26. 721 std::unique_ptr<std::remove_pointer<CFURLRef>::type, CFDeleter> fileUrl {std::move(CFBundleCopyResourcesDirectoryURL(CFBundleGetMainBundle()))};
  27. -> 722 if (fileUrl) {
  28. 723 unsigned char buf[MAXPATHLEN];
  29. 724 if (CFURLGetFileSystemRepresentation(fileUrl.get(), true, buf, sizeof(buf))) {
  30. 725 string path(reinterpret_cast<const char *>(buf));
  31. Target 0: (exult) stopped.
  32. (lldb) n
  33. Process 71747 stopped
  34. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  35. frame #0: 0x00000001004fffe6 exult`setup_data_dir(data_path="/Library/Application Support/Exult/data", runpath="/Users/Dominus/Code/snapshots/exult/exult") at utils.cc:724:48
  36. 721 std::unique_ptr<std::remove_pointer<CFURLRef>::type, CFDeleter> fileUrl {std::move(CFBundleCopyResourcesDirectoryURL(CFBundleGetMainBundle()))};
  37. 722 if (fileUrl) {
  38. 723 unsigned char buf[MAXPATHLEN];
  39. -> 724 if (CFURLGetFileSystemRepresentation(fileUrl.get(), true, buf, sizeof(buf))) {
  40. 725 string path(reinterpret_cast<const char *>(buf));
  41. 726 path += "/data";
  42. 727 add_system_path("<BUNDLE>", path);
  43. Target 0: (exult) stopped.
  44. (lldb) n
  45. Process 71747 stopped
  46. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  47. frame #0: 0x000000010050002b exult`setup_data_dir(data_path="/Library/Application Support/Exult/data", runpath="/Users/Dominus/Code/snapshots/exult/exult") at utils.cc:725:11
  48. 722 if (fileUrl) {
  49. 723 unsigned char buf[MAXPATHLEN];
  50. 724 if (CFURLGetFileSystemRepresentation(fileUrl.get(), true, buf, sizeof(buf))) {
  51. -> 725 string path(reinterpret_cast<const char *>(buf));
  52. 726 path += "/data";
  53. 727 add_system_path("<BUNDLE>", path);
  54. 728 if (!U7exists(BUNDLE_EXULT_FLX))
  55. Target 0: (exult) stopped.
  56. (lldb) n
  57. Process 71747 stopped
  58. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  59. frame #0: 0x0000000100500035 exult`setup_data_dir(data_path="/Library/Application Support/Exult/data", runpath="/Users/Dominus/Code/snapshots/exult/exult") at utils.cc:726:9
  60. 723 unsigned char buf[MAXPATHLEN];
  61. 724 if (CFURLGetFileSystemRepresentation(fileUrl.get(), true, buf, sizeof(buf))) {
  62. 725 string path(reinterpret_cast<const char *>(buf));
  63. -> 726 path += "/data";
  64. 727 add_system_path("<BUNDLE>", path);
  65. 728 if (!U7exists(BUNDLE_EXULT_FLX))
  66. 729 clear_system_path("<BUNDLE>");
  67. Target 0: (exult) stopped.
  68. (lldb) n
  69. Process 71747 stopped
  70. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  71. frame #0: 0x000000010050004d exult`setup_data_dir(data_path="/Library/Application Support/Exult/data", runpath="/Users/Dominus/Code/snapshots/exult/exult") at utils.cc:727:20
  72. 724 if (CFURLGetFileSystemRepresentation(fileUrl.get(), true, buf, sizeof(buf))) {
  73. 725 string path(reinterpret_cast<const char *>(buf));
  74. 726 path += "/data";
  75. -> 727 add_system_path("<BUNDLE>", path);
  76. 728 if (!U7exists(BUNDLE_EXULT_FLX))
  77. 729 clear_system_path("<BUNDLE>");
  78. 730 }
  79. Target 0: (exult) stopped.
  80. (lldb) n
  81. Process 71747 stopped
  82. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  83. frame #0: 0x0000000100500089 exult`setup_data_dir(data_path="/Library/Application Support/Exult/data", runpath="/Users/Dominus/Code/snapshots/exult/exult") at utils.cc:728:9
  84. 725 string path(reinterpret_cast<const char *>(buf));
  85. 726 path += "/data";
  86. 727 add_system_path("<BUNDLE>", path);
  87. -> 728 if (!U7exists(BUNDLE_EXULT_FLX))
  88. 729 clear_system_path("<BUNDLE>");
  89. 730 }
  90. 731 }
  91. Target 0: (exult) stopped.
  92. (lldb) n
  93. Process 71747 stopped
  94. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  95. frame #0: 0x0000000100500161 exult`setup_data_dir(data_path="/Library/Application Support/Exult/data", runpath="/Users/Dominus/Code/snapshots/exult/exult") at utils.cc:730:3
  96. 727 add_system_path("<BUNDLE>", path);
  97. 728 if (!U7exists(BUNDLE_EXULT_FLX))
  98. 729 clear_system_path("<BUNDLE>");
  99. -> 730 }
  100. 731 }
  101. 732 #endif
  102. 733 #ifdef __IPHONEOS__
  103. Target 0: (exult) stopped.
  104. (lldb) n
  105. Process 71747 stopped
  106. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  107. frame #0: 0x0000000100500183 exult`setup_data_dir(data_path="/Library/Application Support/Exult/data", runpath="/Users/Dominus/Code/snapshots/exult/exult") at utils.cc:731:2
  108. 728 if (!U7exists(BUNDLE_EXULT_FLX))
  109. 729 clear_system_path("<BUNDLE>");
  110. 730 }
  111. -> 731 }
  112. 732 #endif
  113. 733 #ifdef __IPHONEOS__
  114. 734 if (is_system_path_defined("<BUNDLE>")) {
  115. Target 0: (exult) stopped.
  116. (lldb) n
  117. Process 71747 stopped
  118. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  119. frame #0: 0x0000000100500188 exult`setup_data_dir(data_path="/Library/Application Support/Exult/data", runpath="/Users/Dominus/Code/snapshots/exult/exult") at utils.cc:745:18
  120. 742 #endif
  121. 743
  122. 744 // First, try the cfg value:
  123. -> 745 add_system_path("<DATA>", data_path);
  124. 746 if (U7exists(EXULT_FLX))
  125. 747 return;
  126. 748
  127. Target 0: (exult) stopped.
  128. (lldb) n
  129. Process 71747 stopped
  130. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  131. frame #0: 0x00000001005001c4 exult`setup_data_dir(data_path="/Library/Application Support/Exult/data", runpath="/Users/Dominus/Code/snapshots/exult/exult") at utils.cc:746:6
  132. 743
  133. 744 // First, try the cfg value:
  134. 745 add_system_path("<DATA>", data_path);
  135. -> 746 if (U7exists(EXULT_FLX))
  136. 747 return;
  137. 748
  138. 749 // Now, try default -- if warranted.
  139. Target 0: (exult) stopped.
  140. (lldb) n
  141. Process 71747 stopped
  142. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  143. frame #0: 0x0000000100500220 exult`setup_data_dir(data_path="/Library/Application Support/Exult/data", runpath="/Users/Dominus/Code/snapshots/exult/exult") at utils.cc:750:6
  144. 747 return;
  145. 748
  146. 749 // Now, try default -- if warranted.
  147. -> 750 if (data_path != EXULT_DATADIR) {
  148. 751 add_system_path("<DATA>", EXULT_DATADIR);
  149. 752 if (U7exists(EXULT_FLX))
  150. 753 return;
  151. Target 0: (exult) stopped.
  152. (lldb) n
  153. Process 71747 stopped
  154. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  155. frame #0: 0x0000000100500324 exult`setup_data_dir(data_path="/Library/Application Support/Exult/data", runpath="/Users/Dominus/Code/snapshots/exult/exult") at utils.cc:757:18
  156. 754 }
  157. 755
  158. 756 // Try "data" subdirectory for current working directory:
  159. -> 757 add_system_path("<DATA>", "data");
  160. 758 if (U7exists(EXULT_FLX))
  161. 759 return;
  162. 760
  163. Target 0: (exult) stopped.
  164. (lldb) n
  165. Process 71747 stopped
  166. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  167. frame #0: 0x0000000100500384 exult`setup_data_dir(data_path="/Library/Application Support/Exult/data", runpath="/Users/Dominus/Code/snapshots/exult/exult") at utils.cc:758:6
  168. 755
  169. 756 // Try "data" subdirectory for current working directory:
  170. 757 add_system_path("<DATA>", "data");
  171. -> 758 if (U7exists(EXULT_FLX))
  172. 759 return;
  173. 760
  174. 761 // Try "data" subdirectory for exe directory:
  175. Target 0: (exult) stopped.
  176. (lldb) n
  177. Process 71747 stopped
  178. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  179. frame #0: 0x00000001005003b8 exult`setup_data_dir(data_path="/Library/Application Support/Exult/data", runpath="/Users/Dominus/Code/snapshots/exult/exult") at utils.cc:759:3
  180. 756 // Try "data" subdirectory for current working directory:
  181. 757 add_system_path("<DATA>", "data");
  182. 758 if (U7exists(EXULT_FLX))
  183. -> 759 return;
  184. 760
  185. 761 // Try "data" subdirectory for exe directory:
  186. 762 const char *sep = std::strrchr(runpath, '/');
  187. Target 0: (exult) stopped.
  188. (lldb) n
  189. Process 71747 stopped
  190. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  191. frame #0: 0x0000000100500808 exult`setup_data_dir(data_path="/Library/Application Support/Exult/data", runpath="/Users/Dominus/Code/snapshots/exult/exult") at utils.cc:787:1
  192. 784 std::cerr << "and the Exult data path is specified in the configuration file." << std::endl;
  193. 785 std::cerr << "(See the README file for more information)" << std::endl;
  194. 786 exit(-1);
  195. -> 787 }
  196. 788
  197. 789 static string Get_config_dir(const string& home_dir) {
  198. 790 #ifdef __IPHONEOS__
  199. Target 0: (exult) stopped.
  200. (lldb) n
  201. Process 71747 stopped
  202. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  203. frame #0: 0x0000000100097936 exult`exult_main(runpath="/Users/Dominus/Code/snapshots/exult/exult") at exult.cc:507:2
  204. 504 // Setup virtual directories
  205. 505 string data_path;
  206. 506 config->value("config/disk/data_path", data_path, EXULT_DATADIR);
  207. -> 507 setup_data_dir(data_path, runpath);
  208. 508
  209. 509 const std::string default_music = get_system_path("<DATA>/music");
  210. 510 config->value("config/disk/music_path", music_path, default_music.c_str());
  211. Target 0: (exult) stopped.
  212. (lldb) n
  213. Process 71747 stopped
  214. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  215. frame #0: 0x000000010009793b exult`exult_main(runpath="/Users/Dominus/Code/snapshots/exult/exult") at exult.cc:509:52
  216. 506 config->value("config/disk/data_path", data_path, EXULT_DATADIR);
  217. 507 setup_data_dir(data_path, runpath);
  218. 508
  219. -> 509 const std::string default_music = get_system_path("<DATA>/music");
  220. 510 config->value("config/disk/music_path", music_path, default_music.c_str());
  221. 511
  222. 512 add_system_path("<MUSIC>", music_path);
  223. Target 0: (exult) stopped.
  224. (lldb) n
  225. Process 71747 stopped
  226. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  227. frame #0: 0x0000000100097977 exult`exult_main(runpath="/Users/Dominus/Code/snapshots/exult/exult") at exult.cc:510:2
  228. 507 setup_data_dir(data_path, runpath);
  229. 508
  230. 509 const std::string default_music = get_system_path("<DATA>/music");
  231. -> 510 config->value("config/disk/music_path", music_path, default_music.c_str());
  232. 511
  233. 512 add_system_path("<MUSIC>", music_path);
  234. 513 add_system_path("<STATIC>", "static");
  235. Target 0: (exult) stopped.
  236. (lldb) n
  237. Process 71747 stopped
  238. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  239. frame #0: 0x00000001000979b0 exult`exult_main(runpath="/Users/Dominus/Code/snapshots/exult/exult") at exult.cc:512:18
  240. 509 const std::string default_music = get_system_path("<DATA>/music");
  241. 510 config->value("config/disk/music_path", music_path, default_music.c_str());
  242. 511
  243. -> 512 add_system_path("<MUSIC>", music_path);
  244. 513 add_system_path("<STATIC>", "static");
  245. 514 add_system_path("<GAMEDAT>", "gamedat");
  246. 515 add_system_path("<PATCH>", "patch");
  247. Target 0: (exult) stopped.
  248. (lldb) n
  249. Process 71747 stopped
  250. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  251. frame #0: 0x00000001000979e9 exult`exult_main(runpath="/Users/Dominus/Code/snapshots/exult/exult") at exult.cc:513:18
  252. 510 config->value("config/disk/music_path", music_path, default_music.c_str());
  253. 511
  254. 512 add_system_path("<MUSIC>", music_path);
  255. -> 513 add_system_path("<STATIC>", "static");
  256. 514 add_system_path("<GAMEDAT>", "gamedat");
  257. 515 add_system_path("<PATCH>", "patch");
  258. 516 // add_system_path("<SAVEGAME>", "savegame");
  259. Target 0: (exult) stopped.
  260. (lldb) n
  261. Process 71747 stopped
  262. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  263. frame #0: 0x0000000100097a49 exult`exult_main(runpath="/Users/Dominus/Code/snapshots/exult/exult") at exult.cc:514:18
  264. 511
  265. 512 add_system_path("<MUSIC>", music_path);
  266. 513 add_system_path("<STATIC>", "static");
  267. -> 514 add_system_path("<GAMEDAT>", "gamedat");
  268. 515 add_system_path("<PATCH>", "patch");
  269. 516 // add_system_path("<SAVEGAME>", "savegame");
  270. 517 add_system_path("<SAVEGAME>", ".");
  271. Target 0: (exult) stopped.
  272. (lldb) n
  273. Process 71747 stopped
  274. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  275. frame #0: 0x0000000100097aa9 exult`exult_main(runpath="/Users/Dominus/Code/snapshots/exult/exult") at exult.cc:515:18
  276. 512 add_system_path("<MUSIC>", music_path);
  277. 513 add_system_path("<STATIC>", "static");
  278. 514 add_system_path("<GAMEDAT>", "gamedat");
  279. -> 515 add_system_path("<PATCH>", "patch");
  280. 516 // add_system_path("<SAVEGAME>", "savegame");
  281. 517 add_system_path("<SAVEGAME>", ".");
  282. 518 add_system_path("<MODS>", "mods");
  283. Target 0: (exult) stopped.
  284. (lldb) n
  285. Process 71747 stopped
  286. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  287. frame #0: 0x0000000100097b09 exult`exult_main(runpath="/Users/Dominus/Code/snapshots/exult/exult") at exult.cc:517:18
  288. 514 add_system_path("<GAMEDAT>", "gamedat");
  289. 515 add_system_path("<PATCH>", "patch");
  290. 516 // add_system_path("<SAVEGAME>", "savegame");
  291. -> 517 add_system_path("<SAVEGAME>", ".");
  292. 518 add_system_path("<MODS>", "mods");
  293. 519
  294. 520 std::cout << "Exult path settings:" << std::endl;
  295. Target 0: (exult) stopped.
  296. (lldb) n
  297. Process 71747 stopped
  298. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  299. frame #0: 0x0000000100097b69 exult`exult_main(runpath="/Users/Dominus/Code/snapshots/exult/exult") at exult.cc:518:18
  300. 515 add_system_path("<PATCH>", "patch");
  301. 516 // add_system_path("<SAVEGAME>", "savegame");
  302. 517 add_system_path("<SAVEGAME>", ".");
  303. -> 518 add_system_path("<MODS>", "mods");
  304. 519
  305. 520 std::cout << "Exult path settings:" << std::endl;
  306. 521 #ifdef __IPHONEOS__
  307. Target 0: (exult) stopped.
  308. (lldb) n
  309. Process 71747 stopped
  310. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  311. frame #0: 0x0000000100097bc9 exult`exult_main(runpath="/Users/Dominus/Code/snapshots/exult/exult") at exult.cc:520:12
  312. 517 add_system_path("<SAVEGAME>", ".");
  313. 518 add_system_path("<MODS>", "mods");
  314. 519
  315. -> 520 std::cout << "Exult path settings:" << std::endl;
  316. 521 #ifdef __IPHONEOS__
  317. 522 std::cout << "Bundle : " << get_system_path("<BUNDLE>") << std::endl;
  318. 523 #endif
  319. Target 0: (exult) stopped.
  320. (lldb) n
  321. Exult path settings:
  322. Process 71747 stopped
  323. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  324. frame #0: 0x0000000100097c00 exult`exult_main(runpath="/Users/Dominus/Code/snapshots/exult/exult") at exult.cc:524:12
  325. 521 #ifdef __IPHONEOS__
  326. 522 std::cout << "Bundle : " << get_system_path("<BUNDLE>") << std::endl;
  327. 523 #endif
  328. -> 524 std::cout << "Data : " << get_system_path("<DATA>") << std::endl;
  329. 525 std::cout << "Digital music : " << get_system_path("<MUSIC>") << std::endl;
  330. 526 std::cout << std::endl;
  331. 527
  332. Target 0: (exult) stopped.
  333. (lldb) n
  334. Data : data
  335. Process 71747 stopped
  336. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  337. frame #0: 0x0000000100097c9e exult`exult_main(runpath="/Users/Dominus/Code/snapshots/exult/exult") at exult.cc:525:12
  338. 522 std::cout << "Bundle : " << get_system_path("<BUNDLE>") << std::endl;
  339. 523 #endif
  340. 524 std::cout << "Data : " << get_system_path("<DATA>") << std::endl;
  341. -> 525 std::cout << "Digital music : " << get_system_path("<MUSIC>") << std::endl;
  342. 526 std::cout << std::endl;
  343. 527
  344. 528 // Check CRCs of our .flx files
  345. Target 0: (exult) stopped.
  346. (lldb) n
  347. Digital music : data/music
  348. Process 71747 stopped
  349. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  350. frame #0: 0x0000000100097d3c exult`exult_main(runpath="/Users/Dominus/Code/snapshots/exult/exult") at exult.cc:526:12
  351. 523 #endif
  352. 524 std::cout << "Data : " << get_system_path("<DATA>") << std::endl;
  353. 525 std::cout << "Digital music : " << get_system_path("<MUSIC>") << std::endl;
  354. -> 526 std::cout << std::endl;
  355. 527
  356. 528 // Check CRCs of our .flx files
  357. 529 bool crc_ok = true;
  358. Target 0: (exult) stopped.
  359. (lldb) n
  360.  
  361. Process 71747 stopped
  362. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  363. frame #0: 0x0000000100097d54 exult`exult_main(runpath="/Users/Dominus/Code/snapshots/exult/exult") at exult.cc:529:7
  364. 526 std::cout << std::endl;
  365. 527
  366. 528 // Check CRCs of our .flx files
  367. -> 529 bool crc_ok = true;
  368. 530 const char *flexname = BUNDLE_CHECK(BUNDLE_EXULT_FLX, EXULT_FLX);
  369. 531 const uint32 crc = crc32(flexname);
  370. 532 if (crc != EXULT_FLX_CRC32) {
  371. Target 0: (exult) stopped.
  372. (lldb) n
  373. Process 71747 stopped
  374. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  375. frame #0: 0x0000000100097d5b exult`exult_main(runpath="/Users/Dominus/Code/snapshots/exult/exult") at exult.cc:530:25
  376. 527
  377. 528 // Check CRCs of our .flx files
  378. 529 bool crc_ok = true;
  379. -> 530 const char *flexname = BUNDLE_CHECK(BUNDLE_EXULT_FLX, EXULT_FLX);
  380. 531 const uint32 crc = crc32(flexname);
  381. 532 if (crc != EXULT_FLX_CRC32) {
  382. 533 crc_ok = false;
  383. Target 0: (exult) stopped.
  384. (lldb) n
  385. Process 71747 stopped
  386. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  387. frame #0: 0x0000000100097e0a exult`exult_main(runpath="/Users/Dominus/Code/snapshots/exult/exult") at exult.cc:531:27
  388. 528 // Check CRCs of our .flx files
  389. 529 bool crc_ok = true;
  390. 530 const char *flexname = BUNDLE_CHECK(BUNDLE_EXULT_FLX, EXULT_FLX);
  391. -> 531 const uint32 crc = crc32(flexname);
  392. 532 if (crc != EXULT_FLX_CRC32) {
  393. 533 crc_ok = false;
  394. 534 cerr << "exult.flx has a wrong checksum!" << endl;
  395. Target 0: (exult) stopped.
  396. (lldb) n
  397. Process 71747 stopped
  398. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  399. frame #0: 0x0000000100097e2d exult`exult_main(runpath="/Users/Dominus/Code/snapshots/exult/exult") at exult.cc:532:10
  400. 529 bool crc_ok = true;
  401. 530 const char *flexname = BUNDLE_CHECK(BUNDLE_EXULT_FLX, EXULT_FLX);
  402. 531 const uint32 crc = crc32(flexname);
  403. -> 532 if (crc != EXULT_FLX_CRC32) {
  404. 533 crc_ok = false;
  405. 534 cerr << "exult.flx has a wrong checksum!" << endl;
  406. 535 }
  407. Target 0: (exult) stopped.
  408. (lldb) n
  409. Process 71747 stopped
  410. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  411. frame #0: 0x000000010009808f exult`exult_main(runpath="/Users/Dominus/Code/snapshots/exult/exult") at exult.cc:536:13
  412. 533 crc_ok = false;
  413. 534 cerr << "exult.flx has a wrong checksum!" << endl;
  414. 535 }
  415. -> 536 flexname = BUNDLE_CHECK(BUNDLE_EXULT_BG_FLX, EXULT_BG_FLX);
  416. 537 if (crc32(flexname) != EXULT_BG_FLX_CRC32) {
  417. 538 crc_ok = false;
  418. 539 cerr << "exult_bg.flx has a wrong checksum!" << endl;
  419. Target 0: (exult) stopped.
  420. (lldb) n
  421. Process 71747 stopped
  422. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  423. frame #0: 0x0000000100098130 exult`exult_main(runpath="/Users/Dominus/Code/snapshots/exult/exult") at exult.cc:537:12
  424. 534 cerr << "exult.flx has a wrong checksum!" << endl;
  425. 535 }
  426. 536 flexname = BUNDLE_CHECK(BUNDLE_EXULT_BG_FLX, EXULT_BG_FLX);
  427. -> 537 if (crc32(flexname) != EXULT_BG_FLX_CRC32) {
  428. 538 crc_ok = false;
  429. 539 cerr << "exult_bg.flx has a wrong checksum!" << endl;
  430. 540 }
  431. Target 0: (exult) stopped.
  432. (lldb) n
  433. Process 71747 stopped
  434. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  435. frame #0: 0x00000001000981b8 exult`exult_main(runpath="/Users/Dominus/Code/snapshots/exult/exult") at exult.cc:541:13
  436. 538 crc_ok = false;
  437. 539 cerr << "exult_bg.flx has a wrong checksum!" << endl;
  438. 540 }
  439. -> 541 flexname = BUNDLE_CHECK(BUNDLE_EXULT_SI_FLX, EXULT_SI_FLX);
  440. 542 if (crc32(flexname) != EXULT_SI_FLX_CRC32) {
  441. 543 crc_ok = false;
  442. 544 cerr << "exult_si.flx has a wrong checksum!" << endl;
  443. Target 0: (exult) stopped.
  444. (lldb) n
  445. Process 71747 stopped
  446. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  447. frame #0: 0x0000000100098259 exult`exult_main(runpath="/Users/Dominus/Code/snapshots/exult/exult") at exult.cc:542:12
  448. 539 cerr << "exult_bg.flx has a wrong checksum!" << endl;
  449. 540 }
  450. 541 flexname = BUNDLE_CHECK(BUNDLE_EXULT_SI_FLX, EXULT_SI_FLX);
  451. -> 542 if (crc32(flexname) != EXULT_SI_FLX_CRC32) {
  452. 543 crc_ok = false;
  453. 544 cerr << "exult_si.flx has a wrong checksum!" << endl;
  454. 545 }
  455. Target 0: (exult) stopped.
  456. (lldb) n
  457. Process 71747 stopped
  458. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  459. frame #0: 0x00000001000982e1 exult`exult_main(runpath="/Users/Dominus/Code/snapshots/exult/exult") at exult.cc:548:2
  460. 545 }
  461. 546
  462. 547 bool config_ignore_crc;
  463. -> 548 config->value("config/disk/no_crc", config_ignore_crc);
  464. 549 ignore_crc |= config_ignore_crc;
  465. 550
  466. 551 if (!ignore_crc && !crc_ok) {
  467. Target 0: (exult) stopped.
  468. (lldb) n
  469. Process 71747 stopped
  470. * thread #1, queue = 'com.apple.main-thread', stop reason = step over
  471. frame #0: 0x0000000100098302 exult`exult_main(runpath="/Users/Dominus/Code/snapshots/exult/exult") at exult.cc:549:16
  472. 546
  473. 547 bool config_ignore_crc;
  474. 548 config->value("config/disk/no_crc", config_ignore_crc);
  475. -> 549 ignore_crc |= config_ignore_crc;
  476. 550
  477. 551 if (!ignore_crc && !crc_ok) {
  478. 552 cerr << "This usually means the file(s) mentioned above are "
  479. Target 0: (exult) stopped.
  480. (lldb)
  481.  
Add Comment
Please, Sign In to add comment