pastebin - collaborative debugging tool
eckelmann.kpaste.net RSS


Quantron "Service_task", ALL thread stack traces
Posted by Anonymous on Wed 16th Jan 2019 13:56
raw | new post

  1. Quantron codesysruntime hangs in Service_task:
  2. ---- snip ----
  3. # ps -T -p 1049                   rol 1049
  4.   PID  SPID TTY          TIME CMD
  5.  1049  1049 ttymxc4  00:03:08 codesyscontrol
  6.  1049  1051 ttymxc4  00:00:04 VTThread
  7.  1049  1052 ttymxc4  00:00:41 Thread SPI 1
  8.  1049  1053 ttymxc4  00:00:47 HW-CC-Thread
  9.  1049  1061 ttymxc4  00:00:00 SW-CC-Thread
  10.  1049  1068 ttymxc4  00:01:07 SchedProcessorL
  11.  1049  1069 ttymxc4  00:00:00 SchedException
  12.  1049  1070 ttymxc4  00:00:00 CAAEventTask
  13.  1049  1074 ttymxc4  00:03:17 Control_task
  14.  1049  1075 ttymxc4  00:00:00 Service_task
  15.  1049  1079 ttymxc4  00:00:00 GwCommDrvTcp
  16.  1049  1080 ttymxc4  00:00:04 BlkDrvTcp
  17.  1049  1081 ttymxc4  00:00:11 BlkDrvUdp
  18.  1049  1083 ttymxc4  00:00:08 LinRxThread
  19.  1049  1084 ttymxc4  00:01:15 LinMasterThread
  20.  1049  1085 ttymxc4  00:00:00 ASCPThread
  21. ---- snip ----
  22.  
  23.  
  24. Stack traces of all threads, thread tid=1975 is the "offending" "Service_task":
  25. ---- snip ----
  26. (gdb) thread apply all bt 50
  27.  
  28. Thread 16 (Thread 0xb5f02470 (LWP 1051)):
  29. #0  0xb6d954ec in syscall () from /lib/libc.so.6
  30. #1  0xb5fa27d4 in QMutexPrivate::wait(int) () from /usr/lib/libQtCore.so.4
  31. #2  0xb5f9eb9c in QMutex::lockInternal() () from /usr/lib/libQtCore.so.4
  32. #3  0xb6ac54c4 in ?? () from /usr/lib/libvt.so
  33. #4  0xb6ac5754 in vt_check() () from /usr/lib/libvt.so
  34. #5  0xb6ac501c in EDataMngr::processISO_Msg() () from /usr/lib/libvt.so
  35. #6  0xb6ac52c0 in EDataMngr::event(QEvent*) () from /usr/lib/libvt.so
  36. #7  0xb6419310 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
  37. #8  0xb641d51c in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
  38. #9  0xb608f02c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
  39. #10 0xb6092040 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
  40. #11 0xffff0fc0 in ?? ()
  41. Cannot access memory at address 0x0
  42. #12 0xffff0fc0 in ?? ()
  43. Cannot access memory at address 0x0
  44. Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  45.  
  46. Thread 15 (Thread 0xb5e96470 (LWP 1052)):
  47. #0  0xb6e16ba8 in clock_nanosleep (clock_id=1, flags=1, req=0x22c1d0, rem=0x0) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:48
  48. #1  0x001614c0 in SysTaskWaitInterval ()
  49. #2  0xb6b32d5c in threadSPI1(tagSYS_TASK_PARAM*) () from /usr/lib/libIODriver.so
  50. #3  0x00000000 in ?? ()
  51.  
  52. Thread 14 (Thread 0xb5e76470 (LWP 1053)):
  53. #0  0xb6e3cbd0 in nanosleep () from /lib/libpthread.so.0
  54. #1  0x00161238 in SysTaskWaitSleep ()
  55. #2  0xb6b32304 in threadCC(tagSYS_TASK_PARAM*) () from /usr/lib/libIODriver.so
  56. #3  0x00160af0 in SysTaskFrame ()
  57. #4  0xb6e33f88 in start_thread (arg=0xb5e76470) at pthread_create.c:310
  58. #5  0xb6d98f48 in ?? () from /lib/libc.so.6
  59. #6  0xb6d98f48 in ?? () from /lib/libc.so.6
  60. Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  61.  
  62. Thread 13 (Thread 0xb5aff470 (LWP 1061)):
  63. #0  0xb6d8f63c in __GI_ppoll (fds=0xb5afedd8, nfds=1, timeout=<optimized out>, sigmask=<optimized out>) at ../sysdeps/unix/sysv/linux/ppoll.c:57
  64. #1  0xb6cb2a48 in cppgpio::gpio::gpioGuardThreadHandler(void*) () from /usr/lib/libcommon.so.1
  65. #2  0xb6e33f88 in start_thread (arg=0xb5aff470) at pthread_create.c:310
  66. #3  0xb6d98f48 in ?? () from /lib/libc.so.6
  67. #4  0xb6d98f48 in ?? () from /lib/libc.so.6
  68. #5  0xb6d98f48 in ?? () from /lib/libc.so.6
  69. #6  0xb6d98f48 in ?? () from /lib/libc.so.6
  70. #7  0xb6d98f48 in ?? () from /lib/libc.so.6
  71. #8  0xb6d98f48 in ?? () from /lib/libc.so.6
  72. #9  0xb6d98f48 in ?? () from /lib/libc.so.6
  73. #10 0xb6d98f48 in ?? () from /lib/libc.so.6
  74. #11 0xb6d98f48 in ?? () from /lib/libc.so.6
  75. #12 0xb6d98f48 in ?? () from /lib/libc.so.6
  76. #13 0xb6d98f48 in ?? () from /lib/libc.so.6
  77. #14 0xb6d98f48 in ?? () from /lib/libc.so.6
  78. #15 0xb6d98f48 in ?? () from /lib/libc.so.6
  79. #16 0xb6d98f48 in ?? () from /lib/libc.so.6
  80. #17 0xb6d98f48 in ?? () from /lib/libc.so.6
  81. #18 0xb6d98f48 in ?? () from /lib/libc.so.6
  82. #19 0xb6d98f48 in ?? () from /lib/libc.so.6
  83. #20 0xb6d98f48 in ?? () from /lib/libc.so.6
  84. #21 0xb6d98f48 in ?? () from /lib/libc.so.6
  85. #22 0xb6d98f48 in ?? () from /lib/libc.so.6
  86. #23 0xb6d98f48 in ?? () from /lib/libc.so.6
  87. #24 0xb6d98f48 in ?? () from /lib/libc.so.6
  88. #25 0xb6d98f48 in ?? () from /lib/libc.so.6
  89. #26 0xb6d98f48 in ?? () from /lib/libc.so.6
  90. #27 0xb6d98f48 in ?? () from /lib/libc.so.6
  91. #28 0xb6d98f48 in ?? () from /lib/libc.so.6
  92. #29 0xb6d98f48 in ?? () from /lib/libc.so.6
  93. #30 0xb6d98f48 in ?? () from /lib/libc.so.6
  94. #31 0xb6d98f48 in ?? () from /lib/libc.so.6
  95. #32 0xb6d98f48 in ?? () from /lib/libc.so.6
  96. #33 0xb6d98f48 in ?? () from /lib/libc.so.6
  97. #34 0xb6d98f48 in ?? () from /lib/libc.so.6
  98. #35 0xb6d98f48 in ?? () from /lib/libc.so.6
  99. #36 0xb6d98f48 in ?? () from /lib/libc.so.6
  100. #37 0xb6d98f48 in ?? () from /lib/libc.so.6
  101. #38 0xb6d98f48 in ?? () from /lib/libc.so.6
  102. #39 0xb6d98f48 in ?? () from /lib/libc.so.6
  103. #40 0xb6d98f48 in ?? () from /lib/libc.so.6
  104. #41 0xb6d98f48 in ?? () from /lib/libc.so.6
  105. #42 0xb6d98f48 in ?? () from /lib/libc.so.6
  106. #43 0xb6d98f48 in ?? () from /lib/libc.so.6
  107. #44 0xb6d98f48 in ?? () from /lib/libc.so.6
  108. #45 0xb6d98f48 in ?? () from /lib/libc.so.6
  109. #46 0xb6d98f48 in ?? () from /lib/libc.so.6
  110. #47 0xb6d98f48 in ?? () from /lib/libc.so.6
  111. #48 0xb6d98f48 in ?? () from /lib/libc.so.6
  112. #49 0xb6d98f48 in ?? () from /lib/libc.so.6
  113. (More stack frames follow...)
  114.  
  115. Thread 12 (Thread 0xb5e24470 (LWP 1068)):
  116. #0  0xb6e3aed4 in do_futex_wait (isem=isem@entry=0x23d8e8) at ../nptl/sysdeps/unix/sysv/linux/sem_wait.c:48
  117. #1  0xb6e3afa0 in __new_sem_wait (sem=0x23d8e8) at ../nptl/sysdeps/unix/sysv/linux/sem_wait.c:69
  118. #2  0x0013f0d4 in SysEventWait ()
  119. #3  0x000fe8c4 in ProcessorLoadTask ()
  120. #4  0x00160af0 in SysTaskFrame ()
  121. #5  0xb6e33f88 in start_thread (arg=0xb5e24470) at pthread_create.c:310
  122. #6  0xb6d98f48 in ?? () from /lib/libc.so.6
  123. #7  0xb6d98f48 in ?? () from /lib/libc.so.6
  124. Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  125.  
  126. Thread 11 (Thread 0xb5c3b470 (LWP 1069)):
  127. #0  0xb6e3aed4 in do_futex_wait (isem=isem@entry=0x23d9f8) at ../nptl/sysdeps/unix/sysv/linux/sem_wait.c:48
  128. #1  0xb6e3afa0 in __new_sem_wait (sem=0x23d9f8) at ../nptl/sysdeps/unix/sysv/linux/sem_wait.c:69
  129. #2  0x0013f0d4 in SysEventWait ()
  130. #3  0x001523d0 in SysMsgQRecv ()
  131. #4  0x000fa12c in SchedExceptionTask ()
  132. #5  0x00160af0 in SysTaskFrame ()
  133. #6  0xb6e33f88 in start_thread (arg=0xb5c3b470) at pthread_create.c:310
  134. #7  0xb6d98f48 in ?? () from /lib/libc.so.6
  135. #8  0xb6d98f48 in ?? () from /lib/libc.so.6
  136. Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  137.  
  138. Thread 10 (Thread 0xb52ff470 (LWP 1070)):
  139. #0  0xb6e3aed4 in do_futex_wait (isem=isem@entry=0x23b970) at ../nptl/sysdeps/unix/sysv/linux/sem_wait.c:48
  140. #1  0xb6e3afa0 in __new_sem_wait (sem=0x23b970) at ../nptl/sysdeps/unix/sysv/linux/sem_wait.c:69
  141. #2  0x0013f0d4 in SysEventWait ()
  142. #3  0x00073bf4 in AsyncEventTask ()
  143. #4  0x00160af0 in SysTaskFrame ()
  144. #5  0xb6e33f88 in start_thread (arg=0xb52ff470) at pthread_create.c:310
  145. #6  0xb6d98f48 in ?? () from /lib/libc.so.6
  146. #7  0xb6d98f48 in ?? () from /lib/libc.so.6
  147. Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  148.  
  149. Thread 9 (Thread 0xb51df470 (LWP 1074)):
  150. #0  0xb6e16ba8 in clock_nanosleep (clock_id=1, flags=1, req=0x22e500, rem=0x0) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:48
  151. #1  0x001614c0 in SysTaskWaitInterval ()
  152. #2  0x000fe100 in Schedule ()
  153. #3  0x000fe6e4 in SchedIecTask ()
  154. #4  0x00160af0 in SysTaskFrame ()
  155. #5  0xb6e33f88 in start_thread (arg=0xb51df470) at pthread_create.c:310
  156. #6  0xb6d98f48 in ?? () from /lib/libc.so.6
  157. #7  0xb6d98f48 in ?? () from /lib/libc.so.6
  158. Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  159.  
  160. Thread 8 (Thread 0xb51bf470 (LWP 1075)):
  161. #0  0xb6d954ec in syscall () from /lib/libc.so.6
  162. #1  0xb5fa27d4 in QMutexPrivate::wait(int) () from /usr/lib/libQtCore.so.4
  163. #2  0xb5f9eb9c in QMutex::lockInternal() () from /usr/lib/libQtCore.so.4
  164. #3  0xb6ac5b48 in data_in(char*, int) () from /usr/lib/libvt.so
  165. #4  0xb6a8dbec in codesys_send () from /usr/lib/libvt.so
  166. #5  0xb6b567a0 in IsoVtLib_NumericValue () from /usr/lib/libIsobus.so
  167. #6  0xb6b55574 in isocmd_numericvalue () from /usr/lib/libIsobus.so
  168. #7  0xb52799a0 in ?? ()
  169. #8  0xb52799a0 in ?? ()
  170. Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  171.  
  172. Thread 7 (Thread 0xb519f470 (LWP 1079)):
  173. #0  0xb6d920f4 in select () from /lib/libc.so.6
  174. #1  0x00158e30 in SysSockSelect ()
  175. #2  0x000a4a68 in CommunicationThread ()
  176. #3  0x00160af0 in SysTaskFrame ()
  177. #4  0xb6e33f88 in start_thread (arg=0xb519f470) at pthread_create.c:310
  178. #5  0xb6d98f48 in ?? () from /lib/libc.so.6
  179. #6  0xb6d98f48 in ?? () from /lib/libc.so.6
  180. Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  181.  
  182. Thread 6 (Thread 0xb517f470 (LWP 1080)):
  183. #0  0xb6e3cbd0 in nanosleep () from /lib/libpthread.so.0
  184. #1  0x00161238 in SysTaskWaitSleep ()
  185. #2  0x00069dbc in BlkDrvTcpCommunicationThread ()
  186. #3  0x00160af0 in SysTaskFrame ()
  187. #4  0xb6e33f88 in start_thread (arg=0xb517f470) at pthread_create.c:310
  188. #5  0xb6d98f48 in ?? () from /lib/libc.so.6
  189. #6  0xb6d98f48 in ?? () from /lib/libc.so.6
  190. Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  191.  
  192. Thread 5 (Thread 0xb515f470 (LWP 1081)):
  193. #0  0xb6d920f4 in select () from /lib/libc.so.6
  194. #1  0x00158e30 in SysSockSelect ()
  195. #2  0x0006d960 in CommunicationThread ()
  196. #3  0x00160af0 in SysTaskFrame ()
  197. #4  0xb6e33f88 in start_thread (arg=0xb515f470) at pthread_create.c:310
  198. #5  0xb6d98f48 in ?? () from /lib/libc.so.6
  199. #6  0xb6d98f48 in ?? () from /lib/libc.so.6
  200. Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  201.  
  202. Thread 4 (Thread 0xb4dac470 (LWP 1083)):
  203. #0  0xb6e3c170 in read () from /lib/libpthread.so.0
  204. #1  0xb6b12e40 in lin_rx_thread () from /usr/lib/libLinbus.so
  205. #2  0x00160af0 in SysTaskFrame ()
  206. #3  0xb6e33f88 in start_thread (arg=0xb4dac470) at pthread_create.c:310
  207. #4  0xb6d98f48 in ?? () from /lib/libc.so.6
  208. #5  0xb6d98f48 in ?? () from /lib/libc.so.6
  209. Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  210.  
  211. Thread 3 (Thread 0xb4d8c470 (LWP 1084)):
  212. #0  0xb6d677b0 in nanosleep () from /lib/libc.so.6
  213. #1  0xb6d9296c in usleep (useconds=<optimized out>) at ../sysdeps/unix/sysv/linux/usleep.c:32
  214. #2  0xb6b12dbc in lin_recv () from /usr/lib/libLinbus.so
  215. #3  0xb6b12f2c in lin_recv_message.constprop.6 () from /usr/lib/libLinbus.so
  216. #4  0xb6b1337c in lin_face_value () from /usr/lib/libLinbus.so
  217. #5  0xb6b139c4 in lin_master_thread () from /usr/lib/libLinbus.so
  218. #6  0x00160af0 in SysTaskFrame ()
  219. #7  0xb6e33f88 in start_thread (arg=0xb4d8c470) at pthread_create.c:310
  220. #8  0xb6d98f48 in ?? () from /lib/libc.so.6
  221. #9  0xb6d98f48 in ?? () from /lib/libc.so.6
  222. Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  223.  
  224. Thread 2 (Thread 0xb4d6c470 (LWP 1085)):
  225. #0  0xb6e3c170 in read () from /lib/libpthread.so.0
  226. #1  0x00137ccc in SysComRead ()
  227. #2  0xb6afc3bc in ASCP_Thread () from /usr/lib/libASCP.so
  228. #3  0x00160af0 in SysTaskFrame ()
  229. #4  0xb6e33f88 in start_thread (arg=0xb4d6c470) at pthread_create.c:310
  230. #5  0xb6d98f48 in ?? () from /lib/libc.so.6
  231. Cannot access memory at address 0x84
  232. ---- snip ----

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}





All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at