stl_list crashing on program exit

2 posts / 0 new
Last post
walkero
walkero's picture
Offline
Last seen: 3 months 3 weeks ago
Joined: 2009-05-03 16:54
stl_list crashing on program exit

Hello guys. I need your help and ideas on something I am working on porting.

I am using gcc 8 and I have managed to compile a program, which is written in c++, and having it working pretty well, except one thing, were I need your help.

The problem I am experiencing is that the app crashes when it exits. Even if I execute just the binary with no arguments, it prints out all the help information and then crashes. I tested it with one of its features and reported fine all it had to report, and then it crashed when it finished its work.

I used gstabs to get more info and understand where it crashes and that pointed to stl_list.h which can be seen at https://gcc.gnu.org/onlinedocs/gcc-4.7.2/libstdc++/api/a01472_source.html line 156.

I tried to track down until where it goes before it crashes and gets up to
return EXIT_SUCCESS;
and after that, it crashes.

At the serial I get the following:

  1. Dump of context at 0xEF9E8000
  2.  
  3. Trap type: DSI exception
  4.  
  5. Current kernel stack pointer: 0x022397B0
  6.  
  7. DSISR: 00000000 DAR: 00000008
  8.  
  9. No matching page found
  10.  
  11. Machine State (raw): 0x0002F030
  12.  
  13. Machine State (verbose): [Critical Ints on] [ExtInt on] [User] [IAT on] [DAT on]
  14.  
  15. Instruction pointer: 0x7DD8C5A8
  16.  
  17. Crashed process: cppcheck (0x5C8A8E40)
  18.  
  19. DSI verbose error description: Access to address 0x00000008 not allowed by page protection in user state (protection violation)
  20.  
  21. Access was a load operation
  22.  
  23. Exception Syndrome Register: 0x00000000
  24.  
  25. 0: 7DD8C6F0 54DD0C70 00000002 5EFA8820 54DD0C98 00000000 0000127F 54DD0BD8
  26.  
  27. 8: FFFFFFFF 563F19C0 5EFA8870 5C8A8E40 39553935 5EFB0050 54EF4D80 00000001
  28.  
  29. 16: 551FD9BC 56011BF0 568424F0 00000000 54DD0DA8 7E08BEE0 00000009 54EF4D70
  30.  
  31. 24: 00000000 54EF4D60 00000000 5EFA8820 54DD0C98 5EFA8820 00000000 00000000
  32.  
  33. CR: 59553935 XER: 8000007E CTR: 0183A62C LR: 7DD8C6F0
  34.  
  35. Temporary stack trace:
  36.  
  37. #0: 0x7DD8C5A8
  38.  
  39. #1: 0x7DD8C6F0
  40.  
  41. #2: 0x7DD8CE54
  42.  
  43. #3: in module newlib.library.kmod+0x0000011C (0x01A6757C)
  44.  
  45. #4: in module newlib.library.kmod+0x00002564 (0x01A699C4)
  46.  
  47. #5: in module newlib.library.kmod+0x00003340 (0x01A6A7A0)
  48.  
  49. #6: in module newlib.library.kmod+0x00003864 (0x01A6ACC4)
  50.  
  51. #7: 0x7DD6CB40
  52.  
  53. #8: in module dos.library.kmod+0x00029E18 (0x0195E378)
  54.  
  55. #9: in module kernel+0x0005F21C (0x0185F21C)
  56.  
  57. #10: in module kernel+0x0005F294 (0x0185F294)
  58.  
  59. #11: 0x00000000"hid.usbfd" | "HID Server" | No known RootApps in device
  60.  
  61. [USB] ERROR | "hid.usbfd" | "HID Server" | No known RootApps in device
  62.  
  63. Task 0x5C8A8E40 (Shell Process) bad access @ 0x00000000, pc = 0x7DD8C5B0, lr = 0x7DD8C6F0,
  64.  
  65. Task 0x5C8A8E40 (Shell Process) bad access @ 0x00000008, pc = 0x7DD8C5A8, lr = 0x7DD8C6F0,
  66.  
  67. Task 0x5C8A8E40 (Shell Process) bad access @ 0x00000000, pc = 0x7DD8C5B0, lr = 0x7DD8C6F0,
  68.  
  69. Task 0x5C8A8E40 (Shell Process) bad access @ 0x00000008, pc = 0x7DD8C5A8, lr = 0x7DD8C6F0,
  70.  
  71. Task 0x5C8A8E40 (Shell Process) bad access @ 0x00000000, pc = 0x7DD8C5B0, lr = 0x7DD8C6F0,
  72.  
  73. Task 0x5C8A8E40 (Shell Process) bad access @ 0x00000008, pc = 0x7DD8C5A8, lr = 0x7DD8C6F0,
  74.  
  75. Task 0x5C8A8E40 (Shell Process) bad access @ 0x00000000, pc = 0x7DD8C5B0, lr = 0x7DD8C6F0,
  76.  
  77. Task 0x5C8A8E40 (Shell Process) bad access @ 0x00000008, pc = 0x7DD8C5A8, lr = 0x7DD8C6F0,
  78.  
  79. Task 0x5C8A8E40 (Shell Process) bad access @ 0x00000000, pc = 0x7DD8C5B0, lr = 0x7DD8C6F0,
  80.  
  81. Task 0x5C8A8E40 (Shell Process) bad access @ 0x00000008, pc = 0x7DD8C5A8, lr = 0x7DD8C6F0,
  82.  
  83. Task 0x5C8A8E40 (Shell Process) bad access @ 0x00000000, pc = 0x7DD8C5B0, lr = 0x7DD8C6F0,
  84.  
  85. Task 0x5C8A8E40 (Shell Process) bad access @ 0x00000008, pc = 0x7DD8C5A8, lr = 0x7DD8C6F0,
  86.  
  87. Task 0x5C8A8E40 (Shell Process) bad access @ 0x00000000, pc = 0x7DD8C5B0, lr = 0x7DD8C6F0,
  88.  
  89. Task 0x5C8A8E40 (Shell Process) bad access @ 0x00000008, pc = 0x7DD8C5A8, lr = 0x7DD8C6F0,
  90.  
  91. Task 0x5C8A8E40 (Shell Process) bad access @ 0x00000000, pc = 0x7DD8C5B0, lr = 0x7DD8C6F0,
  92.  
  93. Task 0x5C8A8E40 (Shell Process) bad access @ 0x00000008, pc = 0x7DD8C5A8, lr = 0x7DD8C6F0,

The last lines continue endlessly.

If I use gdb I get the following, although I am not sure how well gdb works on X5000:

  1. Program received signal SIGSEGV, Segmentation fault.
  2. std::_List_iterator<Check*>::operator++ (this=0x549a0c34)
  3. at /MDH1/SDK/gcc/include/c++/8.4.0/bits/stl_list.h:219
  4. 219 /MDH1/SDK/gcc/include/c++/8.4.0/bits/stl_list.h: No such file or directory.
  5. in /MDH1/SDK/gcc/include/c++/8.4.0/bits/stl_list.h
  6. (gdb) bt
  7. #0 std::_List_iterator<Check*>::operator++ (this=0x549a0c34)
  8. at /MDH1/SDK/gcc/include/c++/8.4.0/bits/stl_list.h:219
  9. trad_frame_addr_p: 0
  10. trad_frame_realreg_p: 1
  11. trad_frame_value_p: 0
  12. alt 2, regnum: 64 realreg: 67
  13. #1 0x7ef64590 in std::__cxx11::list<Check*, std::allocator<Check*> >::remove
  14. () at /MDH1/SDK/gcc/include/c++/8.4.0/bits/list.tcc:334
  15. trad_frame_addr_p: 0
  16. trad_frame_realreg_p: 1
  17. trad_frame_value_p: 0
  18. alt 2, regnum: 64 realreg: 67
  19. trad_frame_addr_p: 0
  20. trad_frame_realreg_p: 1
  21. trad_frame_value_p: 0
  22. alt 2, regnum: 67 realreg: 67
  23. #2 0x7ef64590 in std::__cxx11::list<Check*, std::allocator<Check*> >::remove
  24. () at /MDH1/SDK/gcc/include/c++/8.4.0/bits/list.tcc:334
  25. trad_frame_addr_p: 0
  26. trad_frame_realreg_p: 1
  27. trad_frame_value_p: 0
  28. alt 2, regnum: 64 realreg: 67
  29. trad_frame_addr_p: 0
  30. trad_frame_realreg_p: 1
  31. trad_frame_value_p: 0
  32. alt 2, regnum: 67 realreg: 67
  33. trad_frame_addr_p: 0
  34. trad_frame_realreg_p: 1
  35. trad_frame_value_p: 0
  36. alt 2, regnum: 67 realreg: 67
  37. #3 0x7ef64590 in std::__cxx11::list<Check*, std::allocator<Check*> >::remove
  38. () at /MDH1/SDK/gcc/include/c++/8.4.0/bits/list.tcc:334
  39. trad_frame_addr_p: 0
  40. trad_frame_realreg_p: 1
  41. trad_frame_value_p: 0
  42. alt 2, regnum: 64 realreg: 67
  43. trad_frame_addr_p: 0
  44. trad_frame_realreg_p: 1
  45. trad_frame_value_p: 0
  46. alt 2, regnum: 67 realreg: 67
  47. trad_frame_addr_p: 0
  48. trad_frame_realreg_p: 1
  49. trad_frame_value_p: 0
  50. alt 2, regnum: 67 realreg: 67
  51. trad_frame_addr_p: 0
  52. trad_frame_realreg_p: 1
  53. trad_frame_value_p: 0
  54. alt 2, regnum: 67 realreg: 67
  55. #4 0x7ef64590 in std::__cxx11::list<Check*, std::allocator<Check*> >::remove
  56. () at /MDH1/SDK/gcc/include/c++/8.4.0/bits/list.tcc:334
  57. trad_frame_addr_p: 0
  58. trad_frame_realreg_p: 1
  59. trad_frame_value_p: 0
  60. alt 2, regnum: 64 realreg: 67
  61. trad_frame_addr_p: 0
  62. trad_frame_realreg_p: 1
  63. trad_frame_value_p: 0
  64. alt 2, regnum: 67 realreg: 67
  65. trad_frame_addr_p: 0
  66. trad_frame_realreg_p: 1
  67. trad_frame_value_p: 0
  68. alt 2, regnum: 67 realreg: 67
  69. trad_frame_addr_p: 0
  70. trad_frame_realreg_p: 1
  71. trad_frame_value_p: 0
  72. alt 2, regnum: 67 realreg: 67
  73. trad_frame_addr_p: 0
  74. trad_frame_realreg_p: 1
  75. trad_frame_value_p: 0
  76. alt 2, regnum: 67 realreg: 67
  77. #5 0x7ef64590 in std::__cxx11::list<Check*, std::allocator<Check*> >::remove
  78. () at /MDH1/SDK/gcc/include/c++/8.4.0/bits/list.tcc:334
  79. trad_frame_addr_p: 0
  80. trad_frame_realreg_p: 1
  81. trad_frame_value_p: 0
  82. alt 2, regnum: 64 realreg: 67
  83. trad_frame_addr_p: 0
  84. trad_frame_realreg_p: 1
  85. trad_frame_value_p: 0
  86. alt 2, regnum: 67 realreg: 67
  87. trad_frame_addr_p: 0
  88. trad_frame_realreg_p: 1
  89. trad_frame_value_p: 0
  90. alt 2, regnum: 67 realreg: 67
  91. trad_frame_addr_p: 0
  92. trad_frame_realreg_p: 1
  93. trad_frame_value_p: 0
  94. alt 2, regnum: 67 realreg: 67
  95. trad_frame_addr_p: 0
  96. trad_frame_realreg_p: 1
  97. trad_frame_value_p: 0
  98. alt 2, regnum: 67 realreg: 67
  99. trad_frame_addr_p: 0
  100. trad_frame_realreg_p: 1
  101. trad_frame_value_p: 0
  102. alt 2, regnum: 67 realreg: 67
  103. #6 0x7ef64590 in std::__cxx11::list<Check*, std::allocator<Check*> >::remove
  104. () at /MDH1/SDK/gcc/include/c++/8.4.0/bits/list.tcc:334
  105. trad_frame_addr_p: 0
  106. trad_frame_realreg_p: 1
  107. trad_frame_value_p: 0
  108. alt 2, regnum: 64 realreg: 67
  109. trad_frame_addr_p: 0
  110. trad_frame_realreg_p: 1
  111. trad_frame_value_p: 0
  112. alt 2, regnum: 67 realreg: 67
  113. trad_frame_addr_p: 0
  114. trad_frame_realreg_p: 1
  115. trad_frame_value_p: 0
  116. alt 2, regnum: 67 realreg: 67
  117. trad_frame_addr_p: 0
  118. trad_frame_realreg_p: 1
  119. trad_frame_value_p: 0
  120. alt 2, regnum: 67 realreg: 67
  121. trad_frame_addr_p: 0
  122. trad_frame_realreg_p: 1
  123. trad_frame_value_p: 0
  124. alt 2, regnum: 67 realreg: 67
  125. trad_frame_addr_p: 0
  126. trad_frame_realreg_p: 1
  127. trad_frame_value_p: 0
  128. alt 2, regnum: 67 realreg: 67
  129. trad_frame_addr_p: 0
  130. trad_frame_realreg_p: 1
  131. trad_frame_value_p: 0
  132. alt 2, regnum: 67 realreg: 67
  133. #7 0x7ef64590 in std::__cxx11::list<Check*, std::allocator<Check*> >::remove
  134. () at /MDH1/SDK/gcc/include/c++/8.4.0/bits/list.tcc:334
  135. trad_frame_addr_p: 0
  136. trad_frame_realreg_p: 1
  137. trad_frame_value_p: 0
  138. alt 2, regnum: 64 realreg: 67
  139. trad_frame_addr_p: 0
  140. trad_frame_realreg_p: 1
  141. trad_frame_value_p: 0
  142. alt 2, regnum: 67 realreg: 67
  143. trad_frame_addr_p: 0
  144. trad_frame_realreg_p: 1
  145. trad_frame_value_p: 0
  146. alt 2, regnum: 67 realreg: 67
  147. trad_frame_addr_p: 0
  148. trad_frame_realreg_p: 1
  149. trad_frame_value_p: 0
  150. alt 2, regnum: 67 realreg: 67
  151. trad_frame_addr_p: 0
  152. trad_frame_realreg_p: 1
  153. trad_frame_value_p: 0
  154. alt 2, regnum: 67 realreg: 67
  155. trad_frame_addr_p: 0
  156. trad_frame_realreg_p: 1
  157. trad_frame_value_p: 0
  158. alt 2, regnum: 67 realreg: 67
  159. trad_frame_addr_p: 0
  160. trad_frame_realreg_p: 1
  161. trad_frame_value_p: 0
  162. alt 2, regnum: 67 realreg: 67
  163. trad_frame_addr_p: 0
  164. trad_frame_realreg_p: 1
  165. trad_frame_value_p: 0
  166. alt 2, regnum: 67 realreg: 67
  167. #8 0x7ef64590 in std::__cxx11::list<Check*, std::allocator<Check*> >::remove
  168. () at /MDH1/SDK/gcc/include/c++/8.4.0/bits/list.tcc:334
  169. trad_frame_addr_p: 0
  170. trad_frame_realreg_p: 1
  171. trad_frame_value_p: 0
  172. alt 2, regnum: 64 realreg: 67
  173. trad_frame_addr_p: 0
  174. trad_frame_realreg_p: 1
  175. trad_frame_value_p: 0
  176. alt 2, regnum: 67 realreg: 67
  177. trad_frame_addr_p: 0
  178. trad_frame_realreg_p: 1
  179. trad_frame_value_p: 0
  180. alt 2, regnum: 67 realreg: 67
  181. trad_frame_addr_p: 0
  182. trad_frame_realreg_p: 1
  183. trad_frame_value_p: 0
  184. alt 2, regnum: 67 realreg: 67
  185. trad_frame_addr_p: 0
  186. trad_frame_realreg_p: 1
  187. trad_frame_value_p: 0
  188. alt 2, regnum: 67 realreg: 67
  189. trad_frame_addr_p: 0
  190. trad_frame_realreg_p: 1
  191. trad_frame_value_p: 0
  192. alt 2, regnum: 67 realreg: 67
  193. trad_frame_addr_p: 0
  194. trad_frame_realreg_p: 1
  195. trad_frame_value_p: 0
  196. alt 2, regnum: 67 realreg: 67
  197. trad_frame_addr_p: 0
  198. trad_frame_realreg_p: 1
  199. trad_frame_value_p: 0
  200. alt 2, regnum: 67 realreg: 67
  201. trad_frame_addr_p: 0
  202. trad_frame_realreg_p: 1
  203. trad_frame_value_p: 0
  204. alt 2, regnum: 67 realreg: 67
  205. #9 0x7ef64590 in std::__cxx11::list<Check*, std::allocator<Check*> >::remove
  206. () at /MDH1/SDK/gcc/include/c++/8.4.0/bits/list.tcc:334
  207. trad_frame_addr_p: 0
  208. trad_frame_realreg_p: 1
  209. trad_frame_value_p: 0
  210. alt 2, regnum: 64 realreg: 67
  211. trad_frame_addr_p: 0
  212. trad_frame_realreg_p: 1
  213. trad_frame_value_p: 0
  214. alt 2, regnum: 67 realreg: 67
  215. trad_frame_addr_p: 0
  216. trad_frame_realreg_p: 1
  217. trad_frame_value_p: 0
  218. alt 2, regnum: 67 realreg: 67
  219. trad_frame_addr_p: 0
  220. trad_frame_realreg_p: 1
  221. trad_frame_value_p: 0
  222. alt 2, regnum: 67 realreg: 67
  223. trad_frame_addr_p: 0
  224. trad_frame_realreg_p: 1
  225. trad_frame_value_p: 0
  226. alt 2, regnum: 67 realreg: 67
  227. trad_frame_addr_p: 0
  228. trad_frame_realreg_p: 1
  229. trad_frame_value_p: 0
  230. alt 2, regnum: 67 realreg: 67
  231. trad_frame_addr_p: 0
  232. trad_frame_realreg_p: 1
  233. trad_frame_value_p: 0
  234. alt 2, regnum: 67 realreg: 67
  235. trad_frame_addr_p: 0
  236. trad_frame_realreg_p: 1
  237. trad_frame_value_p: 0
  238. alt 2, regnum: 67 realreg: 67
  239. trad_frame_addr_p: 0
  240. trad_frame_realreg_p: 1
  241. trad_frame_value_p: 0
  242. alt 2, regnum: 67 realreg: 67
  243. trad_frame_addr_p: 0
  244. trad_frame_realreg_p: 1
  245. trad_frame_value_p: 0
  246. alt 2, regnum: 67 realreg: 67
  247. #10 0x7ef64590 in std::__cxx11::list<Check*, std::allocator<Check*> >::remove
  248. () at /MDH1/SDK/gcc/include/c++/8.4.0/bits/list.tcc:334
  249. trad_frame_addr_p: 0
  250. trad_frame_realreg_p: 1
  251. trad_frame_value_p: 0
  252. alt 2, regnum: 64 realreg: 67
  253. trad_frame_addr_p: 0
  254. trad_frame_realreg_p: 1
  255. trad_frame_value_p: 0
  256. alt 2, regnum: 67 realreg: 67
  257. trad_frame_addr_p: 0
  258. trad_frame_realreg_p: 1
  259. trad_frame_value_p: 0
  260. alt 2, regnum: 67 realreg: 67
  261. trad_frame_addr_p: 0
  262. trad_frame_realreg_p: 1
  263. trad_frame_value_p: 0
  264. alt 2, regnum: 67 realreg: 67
  265. trad_frame_addr_p: 0
  266. trad_frame_realreg_p: 1
  267. trad_frame_value_p: 0
  268. alt 2, regnum: 67 realreg: 67
  269. trad_frame_addr_p: 0
  270. trad_frame_realreg_p: 1
  271. trad_frame_value_p: 0
  272. alt 2, regnum: 67 realreg: 67
  273. trad_frame_addr_p: 0
  274. trad_frame_realreg_p: 1
  275. trad_frame_value_p: 0
  276. alt 2, regnum: 67 realreg: 67
  277. trad_frame_addr_p: 0
  278. trad_frame_realreg_p: 1
  279. trad_frame_value_p: 0
  280. alt 2, regnum: 67 realreg: 67
  281. trad_frame_addr_p: 0
  282. trad_frame_realreg_p: 1
  283. trad_frame_value_p: 0
  284. alt 2, regnum: 67 realreg: 67
  285. trad_frame_addr_p: 0
  286. trad_frame_realreg_p: 1
  287. trad_frame_value_p: 0
  288. alt 2, regnum: 67 realreg: 67
  289. trad_frame_addr_p: 0
  290. trad_frame_realreg_p: 1
  291. trad_frame_value_p: 0
  292. alt 2, regnum: 67 realreg: 67
  293. #11 0x7ef64590 in std::__cxx11::list<Check*, std::allocator<Check*> >::remove
  294. () at /MDH1/SDK/gcc/include/c++/8.4.0/bits/list.tcc:334
  295. trad_frame_addr_p: 0
  296. trad_frame_realreg_p: 1
  297. trad_frame_value_p: 0
  298. alt 2, regnum: 64 realreg: 67
  299. trad_frame_addr_p: 0
  300. trad_frame_realreg_p: 1
  301. trad_frame_value_p: 0
  302. alt 2, regnum: 67 realreg: 67
  303. trad_frame_addr_p: 0
  304. trad_frame_realreg_p: 1
  305. trad_frame_value_p: 0
  306. alt 2, regnum: 67 realreg: 67
  307. trad_frame_addr_p: 0
  308. trad_frame_realreg_p: 1
  309. trad_frame_value_p: 0
  310. alt 2, regnum: 67 realreg: 67
  311. trad_frame_addr_p: 0
  312. trad_frame_realreg_p: 1
  313. trad_frame_value_p: 0
  314. alt 2, regnum: 67 realreg: 67
  315. trad_frame_addr_p: 0
  316. trad_frame_realreg_p: 1
  317. trad_frame_value_p: 0
  318. alt 2, regnum: 67 realreg: 67
  319. trad_frame_addr_p: 0
  320. trad_frame_realreg_p: 1
  321. trad_frame_value_p: 0
  322. alt 2, regnum: 67 realreg: 67
  323. trad_frame_addr_p: 0
  324. trad_frame_realreg_p: 1
  325. trad_frame_value_p: 0
  326. alt 2, regnum: 67 realreg: 67
  327. trad_frame_addr_p: 0
  328. trad_frame_realreg_p: 1
  329. trad_frame_value_p: 0
  330. alt 2, regnum: 67 realreg: 67
  331. trad_frame_addr_p: 0
  332. trad_frame_realreg_p: 1
  333. trad_frame_value_p: 0
  334. alt 2, regnum: 67 realreg: 67
  335. trad_frame_addr_p: 0
  336. trad_frame_realreg_p: 1
  337. trad_frame_value_p: 0
  338. alt 2, regnum: 67 realreg: 67
  339. trad_frame_addr_p: 0
  340. trad_frame_realreg_p: 1
  341. trad_frame_value_p: 0
  342. alt 2, regnum: 67 realreg: 67
  343. #12 0x7ef64590 in std::__cxx11::list<Check*, std::allocator<Check*> >::remove
  344. () at /MDH1/SDK/gcc/include/c++/8.4.0/bits/list.tcc:334
  345. trad_frame_addr_p: 0
  346. trad_frame_realreg_p: 1
  347. trad_frame_value_p: 0
  348. alt 2, regnum: 64 realreg: 67
  349. trad_frame_addr_p: 0
  350. trad_frame_realreg_p: 1
  351. trad_frame_value_p: 0
  352. alt 2, regnum: 67 realreg: 67
  353. trad_frame_addr_p: 0
  354. trad_frame_realreg_p: 1
  355. trad_frame_value_p: 0
  356. alt 2, regnum: 67 realreg: 67
  357. trad_frame_addr_p: 0
  358. trad_frame_realreg_p: 1
  359. trad_frame_value_p: 0
  360. alt 2, regnum: 67 realreg: 67
  361. trad_frame_addr_p: 0
  362. trad_frame_realreg_p: 1
  363. trad_frame_value_p: 0
  364. alt 2, regnum: 67 realreg: 67
  365. trad_frame_addr_p: 0
  366. trad_frame_realreg_p: 1
  367. trad_frame_value_p: 0
  368. alt 2, regnum: 67 realreg: 67
  369. trad_frame_addr_p: 0
  370. trad_frame_realreg_p: 1
  371. trad_frame_value_p: 0
  372. alt 2, regnum: 67 realreg: 67
  373. trad_frame_addr_p: 0
  374. trad_frame_realreg_p: 1
  375. trad_frame_value_p: 0
  376. alt 2, regnum: 67 realreg: 67
  377. trad_frame_addr_p: 0
  378. trad_frame_realreg_p: 1
  379. trad_frame_value_p: 0
  380. alt 2, regnum: 67 realreg: 67
  381. trad_frame_addr_p: 0
  382. trad_frame_realreg_p: 1
  383. trad_frame_value_p: 0
  384. alt 2, regnum: 67 realreg: 67
  385. trad_frame_addr_p: 0
  386. trad_frame_realreg_p: 1
  387. trad_frame_value_p: 0
  388. alt 2, regnum: 67 realreg: 67
  389. trad_frame_addr_p: 0
  390. trad_frame_realreg_p: 1
  391. trad_frame_value_p: 0
  392. alt 2, regnum: 67 realreg: 67
  393. trad_frame_addr_p: 0
  394. trad_frame_realreg_p: 1
  395. trad_frame_value_p: 0
  396. alt 2, regnum: 67 realreg: 67
  397. #13 0x7ef64590 in std::__cxx11::list<Check*, std::allocator<Check*> >::remove
  398. () at /MDH1/SDK/gcc/include/c++/8.4.0/bits/list.tcc:334
  399. trad_frame_addr_p: 0
  400. trad_frame_realreg_p: 1
  401. trad_frame_value_p: 0
  402. alt 2, regnum: 64 realreg: 67
  403. trad_frame_addr_p: 0
  404. trad_frame_realreg_p: 1
  405. trad_frame_value_p: 0
  406. alt 2, regnum: 67 realreg: 67
  407. trad_frame_addr_p: 0
  408. trad_frame_realreg_p: 1
  409. trad_frame_value_p: 0
  410. alt 2, regnum: 67 realreg: 67
  411. trad_frame_addr_p: 0
  412. trad_frame_realreg_p: 1
  413. trad_frame_value_p: 0
  414. alt 2, regnum: 67 realreg: 67
  415. trad_frame_addr_p: 0
  416. trad_frame_realreg_p: 1
  417. trad_frame_value_p: 0
  418. alt 2, regnum: 67 realreg: 67
  419. trad_frame_addr_p: 0
  420. trad_frame_realreg_p: 1
  421. trad_frame_value_p: 0
  422. alt 2, regnum: 67 realreg: 67
  423. trad_frame_addr_p: 0
  424. trad_frame_realreg_p: 1
  425. trad_frame_value_p: 0
  426. alt 2, regnum: 67 realreg: 67
  427. trad_frame_addr_p: 0
  428. trad_frame_realreg_p: 1
  429. trad_frame_value_p: 0
  430. alt 2, regnum: 67 realreg: 67
  431. trad_frame_addr_p: 0
  432. trad_frame_realreg_p: 1
  433. trad_frame_value_p: 0
  434. alt 2, regnum: 67 realreg: 67
  435. trad_frame_addr_p: 0
  436. trad_frame_realreg_p: 1
  437. trad_frame_value_p: 0
  438. alt 2, regnum: 67 realreg: 67
  439. trad_frame_addr_p: 0
  440. trad_frame_realreg_p: 1
  441. trad_frame_value_p: 0
  442. alt 2, regnum: 67 realreg: 67
  443. trad_frame_addr_p: 0
  444. trad_frame_realreg_p: 1
  445. trad_frame_value_p: 0
  446. alt 2, regnum: 67 realreg: 67
  447. trad_frame_addr_p: 0
  448. trad_frame_realreg_p: 1
  449. trad_frame_value_p: 0
  450. alt 2, regnum: 67 realreg: 67
  451. trad_frame_addr_p: 0
  452. trad_frame_realreg_p: 1
  453. trad_frame_value_p: 0
  454. alt 2, regnum: 67 realreg: 67
  455. #14 0x7ef64590 in std::__cxx11::list<Check*, std::allocator<Check*> >::remove
  456. () at /MDH1/SDK/gcc/include/c++/8.4.0/bits/list.tcc:334
  457. Previous frame inner to this frame (corrupt stack?)

Also, I tried before run it to increase the stack of the shell even up to 1000000, but that didn't help at all.

Has anyone ever had same experience?

walkero
walkero's picture
Offline
Last seen: 3 months 3 weeks ago
Joined: 2009-05-03 16:54
Re: stl_list crashing on program exit

With the help of the original developers we found that it seems that destructors are called in wrong order which causes a segmentation fault. We applied a fix that ensures pointer remains valid and reachable until program terminates.

Log in or register to post comments