quakeman

pikrellcam gdb

Jan 10th, 2017
137
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@raspberrypi:~# gdb pikrellcam 3389
  2. GNU gdb (Raspbian 7.7.1+dfsg-5+rpi1) 7.7.1
  3. Copyright (C) 2014 Free Software Foundation, Inc.
  4. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  5. This is free software: you are free to change and redistribute it.
  6. There is NO WARRANTY, to the extent permitted by law. Type "show copying"
  7. and "show warranty" for details.
  8. This GDB was configured as "arm-linux-gnueabihf".
  9. Type "show configuration" for configuration details.
  10. For bug reporting instructions, please see:
  11. <http://www.gnu.org/software/gdb/bugs/>.
  12. Find the GDB manual and other documentation resources online at:
  13. <http://www.gnu.org/software/gdb/documentation/>.
  14. For help, type "help".
  15. Type "apropos word" to search for commands related to "word"...
  16. Reading symbols from pikrellcam...done.
  17. Attaching to program: /usr/local/bin/pikrellcam, process 3389
  18. Reading symbols from /usr/lib/arm-linux-gnueabihf/libarmmem.so...(no debugging symbols found)...done.
  19. Loaded symbols for /usr/lib/arm-linux-gnueabihf/libarmmem.so
  20. Reading symbols from /opt/vc/lib/libbcm_host.so...(no debugging symbols found)...done.
  21. Loaded symbols for /opt/vc/lib/libbcm_host.so
  22. Reading symbols from /opt/vc/lib/libvcos.so...done.
  23. Loaded symbols for /opt/vc/lib/libvcos.so
  24. Reading symbols from /opt/vc/lib/libmmal.so...done.
  25. Loaded symbols for /opt/vc/lib/libmmal.so
  26. Reading symbols from /opt/vc/lib/libmmal_core.so...done.
  27. Loaded symbols for /opt/vc/lib/libmmal_core.so
  28. Reading symbols from /opt/vc/lib/libmmal_util.so...done.
  29. Loaded symbols for /opt/vc/lib/libmmal_util.so
  30. Reading symbols from /opt/vc/lib/libmmal_vc_client.so...(no debugging symbols found)...done.
  31. Loaded symbols for /opt/vc/lib/libmmal_vc_client.so
  32. Reading symbols from /lib/arm-linux-gnueabihf/libm.so.6...(no debugging symbols found)...done.
  33. Loaded symbols for /lib/arm-linux-gnueabihf/libm.so.6
  34. Reading symbols from /lib/arm-linux-gnueabihf/libpthread.so.0...(no debugging symbols found)...done.
  35. [New LWP 3579]
  36. [New LWP 3578]
  37. [New LWP 3577]
  38. [New LWP 3576]
  39. [New LWP 3575]
  40. [New LWP 3574]
  41. [New LWP 3393]
  42. [New LWP 3392]
  43. [New LWP 3391]
  44. [New LWP 3390]
  45. [Thread debugging using libthread_db enabled]
  46. Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
  47. Loaded symbols for /lib/arm-linux-gnueabihf/libpthread.so.0
  48. Reading symbols from /lib/arm-linux-gnueabihf/libc.so.6...(no debugging symbols found)...done.
  49. Loaded symbols for /lib/arm-linux-gnueabihf/libc.so.6
  50. Reading symbols from /opt/vc/lib/libvchiq_arm.so...(no debugging symbols found)...done.
  51. Loaded symbols for /opt/vc/lib/libvchiq_arm.so
  52. Reading symbols from /lib/arm-linux-gnueabihf/libdl.so.2...(no debugging symbols found)...done.
  53. Loaded symbols for /lib/arm-linux-gnueabihf/libdl.so.2
  54. Reading symbols from /lib/arm-linux-gnueabihf/librt.so.1...(no debugging symbols found)...done.
  55. Loaded symbols for /lib/arm-linux-gnueabihf/librt.so.1
  56. Reading symbols from /opt/vc/lib/libmmal_components.so...done.
  57. Loaded symbols for /opt/vc/lib/libmmal_components.so
  58. Reading symbols from /opt/vc/lib/libvcsm.so...(no debugging symbols found)...done.
  59. Loaded symbols for /opt/vc/lib/libvcsm.so
  60. Reading symbols from /opt/vc/lib/libcontainers.so...done.
  61. Loaded symbols for /opt/vc/lib/libcontainers.so
  62. Reading symbols from /lib/ld-linux-armhf.so.3...(no debugging symbols found)...done.
  63. Loaded symbols for /lib/ld-linux-armhf.so.3
  64. Reading symbols from /lib/arm-linux-gnueabihf/libnss_compat.so.2...(no debugging symbols found)...done.
  65. Loaded symbols for /lib/arm-linux-gnueabihf/libnss_compat.so.2
  66. Reading symbols from /lib/arm-linux-gnueabihf/libnsl.so.1...(no debugging symbols found)...done.
  67. Loaded symbols for /lib/arm-linux-gnueabihf/libnsl.so.1
  68. Reading symbols from /lib/arm-linux-gnueabihf/libnss_nis.so.2...(no debugging symbols found)...done.
  69. Loaded symbols for /lib/arm-linux-gnueabihf/libnss_nis.so.2
  70. Reading symbols from /lib/arm-linux-gnueabihf/libnss_files.so.2...(no debugging symbols found)...done.
  71. Loaded symbols for /lib/arm-linux-gnueabihf/libnss_files.so.2
  72. 0xb6cc8360 in nanosleep () from /lib/arm-linux-gnueabihf/libc.so.6
  73. (gdb) bt
  74. #0 0xb6cc8360 in nanosleep () from /lib/arm-linux-gnueabihf/libc.so.6
  75. #1 0xb6d07da4 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
  76. Cannot access memory at address 0x0
  77. #2 0x00029e48 in ?? ()
  78. Cannot access memory at address 0x0
  79. Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  80. (gdb) info threads
  81. Id Target Id Frame
  82. 11 Thread 0xb6926460 (LWP 3390) "VCHIQ completio" 0xb6cf2f2c in ioctl () from /lib/arm-linux-gnueabihf/libc.so.6
  83. 10 Thread 0xb6126460 (LWP 3391) "HDispmanx Notif" 0xb6d77a40 in do_futex_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0
  84. 9 Thread 0xb5926460 (LWP 3392) "HTV Notify" 0xb6d77a40 in do_futex_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0
  85. 8 Thread 0xb5126460 (LWP 3393) "HCEC Notify" 0xb6d77a40 in do_futex_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0
  86. 7 Thread 0xb2ef6460 (LWP 3574) "vc.ril.camera" 0xb6d77a40 in do_futex_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0
  87. 6 Thread 0xb26f6460 (LWP 3575) "vc.ril.resize" 0xb6d77a40 in do_futex_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0
  88. 5 Thread 0xb1ef6460 (LWP 3576) "vc.ril.image_en" 0xb6d77a40 in do_futex_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0
  89. 4 Thread 0xb1526460 (LWP 3577) "vc.ril.image_en" 0xb6d77a40 in do_futex_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0
  90. 3 Thread 0xb0d26460 (LWP 3578) "vc.ril.video_en" 0xb6d77a40 in do_futex_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0
  91. 2 Thread 0xb0526460 (LWP 3579) "pikrellcam" 0xb6cf3964 in select () from /lib/arm-linux-gnueabihf/libc.so.6
  92. * 1 Thread 0xb6f08000 (LWP 3389) "pikrellcam" 0xb6cc8360 in nanosleep () from /lib/arm-linux-gnueabihf/libc.so.6
  93. (gdb) thread 11
  94. [Switching to thread 11 (Thread 0xb6926460 (LWP 3390))]
  95. #0 0xb6cf2f2c in ioctl () from /lib/arm-linux-gnueabihf/libc.so.6
  96. (gdb) bt
  97. #0 0xb6cf2f2c in ioctl () from /lib/arm-linux-gnueabihf/libc.so.6
  98. #1 0xb6c15010 in completion_thread () from /opt/vc/lib/libvchiq_arm.so
  99. #2 0xb6e7bcc4 in vcos_thread_entry (arg=0xb6c28318 <vchiq_instance+16>) at /home/dc4/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
  100. #3 0xb6d70e90 in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0
  101. Cannot access memory at address 0xa4f922f8
  102. (gdb) thread 10
  103. [Switching to thread 10 (Thread 0xb6126460 (LWP 3391))]
  104. #0 0xb6d77a40 in do_futex_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0
  105. (gdb) bt
  106. #0 0xb6d77a40 in do_futex_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0
  107. #1 0xb6d77af4 in sem_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
  108. #2 0xb6ea1b2c in dispmanx_notify_func () from /opt/vc/lib/libbcm_host.so
  109. #3 0xb6e7bcc4 in vcos_thread_entry (arg=0xb6eb88a0 <dispmanx_notify_task>) at /home/dc4/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
  110. #4 0xb6d70e90 in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0
  111. #5 0xb6cfa598 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
  112. Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  113. (gdb) thread 9
  114. [Switching to thread 9 (Thread 0xb5926460 (LWP 3392))]
  115. #0 0xb6d77a40 in do_futex_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0
  116. (gdb) bt
  117. #0 0xb6d77a40 in do_futex_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0
  118. #1 0xb6d77af4 in sem_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
  119. #2 0xb6e9daa0 in tvservice_notify_func () from /opt/vc/lib/libbcm_host.so
  120. #3 0xb6e7bcc4 in vcos_thread_entry (arg=0xb6eb6cf0 <tvservice_notify_task>) at /home/dc4/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
  121. #4 0xb6d70e90 in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0
  122. #5 0xb6cfa598 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
  123. Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  124. (gdb) thread 8
  125. [Switching to thread 8 (Thread 0xb5126460 (LWP 3393))]
  126. #0 0xb6d77a40 in do_futex_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0
  127. (gdb) bt
  128. #0 0xb6d77a40 in do_futex_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0
  129. #1 0xb6d77af4 in sem_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
  130. #2 0xb6e9e620 in cecservice_notify_func () from /opt/vc/lib/libbcm_host.so
  131. #3 0xb6e7bcc4 in vcos_thread_entry (arg=0xb6eb7a78 <cecservice_notify_task>) at /home/dc4/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
  132. #4 0xb6d70e90 in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0
  133. #5 0xb6cfa598 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
  134. Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  135. (gdb) thread 7
  136. [Switching to thread 7 (Thread 0xb2ef6460 (LWP 3574))]
  137. #0 0xb6d77a40 in do_futex_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0
  138. (gdb) bt
  139. #0 0xb6d77a40 in do_futex_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0
  140. #1 0xb6d77af4 in sem_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
  141. #2 0xb6e4f950 in mmal_component_action_thread_func () from /opt/vc/lib/libmmal_core.so
  142. #3 0xb6e7bcc4 in vcos_thread_entry (arg=0x1ef2350) at /home/dc4/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
  143. #4 0xb6d70e90 in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0
  144. #5 0xb6cfa598 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
  145. Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  146. (gdb) thread 6
  147. [Switching to thread 6 (Thread 0xb26f6460 (LWP 3575))]
  148. #0 0xb6d77a40 in do_futex_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0
  149. (gdb) bt
  150. #0 0xb6d77a40 in do_futex_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0
  151. #1 0xb6d77af4 in sem_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
  152. #2 0xb6e4f9b0 in mmal_component_action_thread_func () from /opt/vc/lib/libmmal_core.so
  153. #3 0xb6e7bcc4 in vcos_thread_entry (arg=0x1ef53f0) at /home/dc4/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
  154. #4 0xb6d70e90 in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0
  155. #5 0xb6cfa598 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
  156. Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  157. (gdb) thread 5
  158. [Switching to thread 5 (Thread 0xb1ef6460 (LWP 3576))]
  159. #0 0xb6d77a40 in do_futex_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0
  160. (gdb) bt
  161. #0 0xb6d77a40 in do_futex_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0
  162. #1 0xb6d77af4 in sem_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
  163. #2 0xb6e4f9b0 in mmal_component_action_thread_func () from /opt/vc/lib/libmmal_core.so
  164. #3 0xb6e7bcc4 in vcos_thread_entry (arg=0x1ef78d0) at /home/dc4/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
  165. #4 0xb6d70e90 in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0
  166. #5 0xb6cfa598 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
  167. Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  168. (gdb) thread 4
  169. [Switching to thread 4 (Thread 0xb1526460 (LWP 3577))]
  170. #0 0xb6d77a40 in do_futex_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0
  171. (gdb) bt
  172. #0 0xb6d77a40 in do_futex_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0
  173. #1 0xb6d77af4 in sem_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
  174. #2 0xb6e4f950 in mmal_component_action_thread_func () from /opt/vc/lib/libmmal_core.so
  175. #3 0xb6e7bcc4 in vcos_thread_entry (arg=0x1efa9a0) at /home/dc4/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
  176. #4 0xb6d70e90 in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0
  177. #5 0xb6cfa598 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
  178. Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  179. (gdb) thread 3
  180. [Switching to thread 3 (Thread 0xb0d26460 (LWP 3578))]
  181. #0 0xb6d77a40 in do_futex_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0
  182. (gdb) bt
  183. #0 0xb6d77a40 in do_futex_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0
  184. #1 0xb6d77af4 in sem_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
  185. #2 0xb6e4f9b0 in mmal_component_action_thread_func () from /opt/vc/lib/libmmal_core.so
  186. #3 0xb6e7bcc4 in vcos_thread_entry (arg=0x1f112f0) at /home/dc4/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
  187. #4 0xb6d70e90 in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0
  188. #5 0xb6cfa598 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
  189. Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  190. (gdb) thread 2
  191. [Switching to thread 2 (Thread 0xb0526460 (LWP 3579))]
  192. #0 0xb6cf3964 in select () from /lib/arm-linux-gnueabihf/libc.so.6
  193. (gdb) bt
  194. #0 0xb6cf3964 in select () from /lib/arm-linux-gnueabihf/libc.so.6
  195. #1 0xb6d07da4 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
  196. #2 0x00000000 in ?? ()
  197. (gdb) thread 1
  198. [Switching to thread 1 (Thread 0xb6f08000 (LWP 3389))]
  199. #0 0xb6cc8360 in nanosleep () from /lib/arm-linux-gnueabihf/libc.so.6
  200. (gdb) bt
  201. #0 0xb6cc8360 in nanosleep () from /lib/arm-linux-gnueabihf/libc.so.6
  202. #1 0xb6d07da4 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
  203. Cannot access memory at address 0x0
  204. #2 0x00029e48 in ?? ()
  205. Cannot access memory at address 0x0
  206. Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  207. (gdb) quit
  208. A debugging session is active.
  209.  
  210. Inferior 1 [process 3389] will be detached.
  211.  
  212. Quit anyway? (y or n) y
  213. Detaching from program: /usr/local/bin/pikrellcam, process 3389
RAW Paste Data