Guest User

pilight debug segm fault

a guest
Mar 7th, 2015
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.68 KB | None | 0 0
  1. root@raspberrypi:/home/pi/pilight# gdb pilight-daemon
  2. GNU gdb (GDB) 7.4.1-debian
  3. Copyright (C) 2012 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. For bug reporting instructions, please see:
  10. <http://www.gnu.org/software/gdb/bugs/>...
  11. Reading symbols from /usr/local/sbin/pilight-daemon...done.
  12. (gdb) run -D
  13. Starting program: /usr/local/sbin/pilight-daemon -D
  14. [Thread debugging using libthread_db enabled]
  15. Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
  16. [Mar 07 22:15:39:802787] pilight-daemon: DEBUG: loaded protocol newdatetime.so v1.7-niek
  17. [Mar 07 22:15:39:837624] pilight-daemon: DEBUG: loaded operator plustime.so v0.2
  18. [Mar 07 22:15:39:873307] pilight-daemon: DEBUG: loaded operator minustime.so v0.2
  19. [Mar 07 22:15:39:910091] pilight-daemon: DEBUG: loaded operator random.so v1.0
  20. [Mar 07 22:15:39:960616] pilight-daemon: INFO: version 6.0, commit v6.0-11-g8ecc790
  21. [Mar 07 22:15:39:962138] pilight-daemon: DEBUG: ssdp sent search
  22. [ Mar 07 22:15:40:61838] pilight-daemon: NOTICE: no pilight daemon found, daemonizing
  23. [ Mar 07 22:15:40:63549] pilight-daemon: INFO: daemon listening to port: 48547
  24. [New Thread 0xb6c3b470 (LWP 10825)]
  25. [New Thread 0xb643b470 (LWP 10826)]
  26. [ Mar 07 22:15:40:87445] pilight-daemon: DEBUG: running on a raspberrypi
  27. [New Thread 0xb5c3b470 (LWP 10827)]
  28. [Mar 07 22:15:40:105665] pilight-daemon: DEBUG: new thread lirc, 1 thread running
  29. [New Thread 0xb543b470 (LWP 10828)]
  30. [Mar 07 22:15:40:115947] pilight-daemon: DEBUG: new thread cpu_temp, 2 threads running
  31. [New Thread 0xb4c3b470 (LWP 10829)]
  32. [Mar 07 22:15:40:125660] pilight-daemon: DEBUG: new thread openweathermap, 3 threads running
  33. [New Thread 0xb443b470 (LWP 10830)]
  34. [Mar 07 22:15:40:135582] pilight-daemon: DEBUG: new thread sunriseset, 4 threads running
  35. [New Thread 0xb3c3b470 (LWP 10831)]
  36. [Mar 07 22:15:40:162123] pilight-daemon: DEBUG: new thread newdatetime, 5 threads running
  37. [New Thread 0xb33a4470 (LWP 10832)]
  38. [Mar 07 22:15:40:182163] pilight-daemon: DEBUG: new thread socket, 6 threads running
  39. [Mar 07 22:15:40:183624] pilight-daemon: INFO: new client, ip: 127.0.0.1, port: 33947
  40. [Mar 07 22:15:40:184675] pilight-daemon: DEBUG: client fd: 13
  41. [Mar 07 22:15:40:185878] pilight-daemon: DEBUG: client id: 1
  42. [New Thread 0xb2ba4470 (LWP 10833)]
  43. [Mar 07 22:15:40:202161] pilight-daemon: DEBUG: new thread ssdp, 7 threads running
  44. [New Thread 0xb23a4470 (LWP 10834)]
  45. [Mar 07 22:15:40:222161] pilight-daemon: DEBUG: new thread sender, 8 threads running
  46. [New Thread 0xb1ba4470 (LWP 10835)]
  47. [Mar 07 22:15:40:236401] pilight-daemon: DEBUG: loading timezone database...
  48. [Mar 07 22:15:40:237521] pilight-daemon: DEBUG: new thread broadcaster, 9 threads running
  49. [Mar 07 22:15:40:240727] pilight-daemon: DEBUG: webserver listening to port 5001
  50. [New Thread 0xb13a4470 (LWP 10836)]
  51. [Mar 07 22:15:40:272314] pilight-daemon: DEBUG: new thread 433gpio, 10 threads running
  52. [New Thread 0xb09ff470 (LWP 10837)]
  53. [Mar 07 22:15:40:292160] pilight-daemon: DEBUG: new thread receive parser, 11 threads running
  54. [New Thread 0xb01ff470 (LWP 10838)]
  55. [Mar 07 22:15:40:312143] pilight-daemon: DEBUG: new thread events client, 12 threads running
  56. [Mar 07 22:15:40:313815] pilight-daemon: DEBUG: ssdp sent search
  57. [Mar 07 22:15:40:315034] pilight-daemon: DEBUG: ssdp sent notify
  58. [New Thread 0xaf9ff470 (LWP 10839)]
  59. [Mar 07 22:15:40:326864] pilight-daemon: DEBUG: socket write succeeded: {"action":"identify","options":{"config":1},"media":"all"}
  60.  
  61. [Mar 07 22:15:40:328191] pilight-daemon: INFO: new client, ip: 10.0.0.31, port: 55823
  62. [Mar 07 22:15:40:328957] pilight-daemon: DEBUG: client fd: 18
  63. [Mar 07 22:15:40:329653] pilight-daemon: DEBUG: client id: 2
  64. [Mar 07 22:15:40:330870] pilight-daemon: DEBUG: socket recv: {"action":"identify","options":{"config":1},"media":"all"}
  65. [Mar 07 22:15:40:332411] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}
  66.  
  67. [Mar 07 22:15:40:342744] pilight-daemon: DEBUG: new thread events loop, 13 threads running
  68. [New Thread 0xaf1ff470 (LWP 10840)]
  69. [Mar 07 22:15:40:362091] pilight-daemon: DEBUG: new thread webserver worker #0, 14 threads running
  70. [New Thread 0xae9ff470 (LWP 10841)]
  71. [Mar 07 22:15:40:384355] pilight-daemon: DEBUG: cpu: 0.000000%, ram: 0.908311%
  72. [Mar 07 22:15:40:385944] pilight-daemon: DEBUG: new thread webserver client, 15 threads running
  73. [Mar 07 22:15:40:387734] pilight-daemon: DEBUG: ssdp sent search
  74. [Mar 07 22:15:40:388761] pilight-daemon: DEBUG: ssdp sent notify
  75. [New Thread 0xae1ff470 (LWP 10842)]
  76. [Mar 07 22:15:40:400355] pilight-daemon: DEBUG: socket write succeeded: {"action":"identify","options":{"config":1,"core":1},"media":"web"}
  77.  
  78. [Mar 07 22:15:40:401985] pilight-daemon: INFO: new client, ip: 10.0.0.31, port: 55824
  79. [Mar 07 22:15:40:403044] pilight-daemon: DEBUG: client fd: 20
  80. [Mar 07 22:15:40:403747] pilight-daemon: DEBUG: client id: 3
  81. [Mar 07 22:15:40:404552] pilight-daemon: DEBUG: socket recv: {"action":"identify","options":{"config":1,"core":1},"media":"web"}
  82. [Mar 07 22:15:40:405903] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}
  83.  
  84. [Mar 07 22:15:40:412656] pilight-daemon: DEBUG: new thread webserver broadcast, 16 threads running
  85. [New Thread 0xad9ff470 (LWP 10843)]
  86. [Mar 07 22:15:40:432148] pilight-daemon: DEBUG: new thread firmware upgrader, 17 threads running
  87. [Mar 07 21:15:41:121380] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":3,"uuid":"0000-00-00-3e-79ede4","devices":["CPU"],"values":{"timestamp":1425762941,"temperature":41.160}}
  88.  
  89. [Mar 07 21:15:41:123645] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":3,"uuid":"0000-00-00-3e-79ede4","devices":["CPU"],"values":{"timestamp":1425762941,"temperature":41.160}}
  90. [Mar 07 21:15:41:126798] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":3,"uuid":"0000-00-00-3e-79ede4","devices":["CPU"],"values":{"timestamp":1425762941,"temperature":41.160}}
  91.  
  92. [Mar 07 21:15:41:169305] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":3,"uuid":"0000-00-00-3e-79ede4","devices":["CPU"],"values":{"timestamp":1425762941,"temperature":41.160}}
  93. [Mar 07 21:15:41:173538] pilight-daemon: DEBUG: broadcasted: {"message":{"id":1,"temperature":41.160},"origin":"receiver","protocol":"cpu_temp","uuid":"0000-00-00-3e-79ede4"}
  94. [Mar 07 21:15:41:435676] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":3,"devices":["outside"],"values":{"timestamp":1425762941,"humidity":57.00,"temperature":8.93,"sunrise":7.11,"sunset":18.30,"sun":"set","update":0}}
  95.  
  96. [Mar 07 21:15:41:436539] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":3,"devices":["outside"],"values":{"timestamp":1425762941,"humidity":57.00,"temperature":8.93,"sunrise":7.11,"sunset":18.30,"sun":"set","update":0}}
  97. [Mar 07 21:15:41:440296] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":3,"devices":["outside"],"values":{"timestamp":1425762941,"humidity":57.00,"temperature":8.93,"sunrise":7.11,"sunset":18.30,"sun":"set","update":0}}
  98.  
  99. [Mar 07 21:15:41:441131] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":3,"devices":["outside"],"values":{"timestamp":1425762941,"humidity":57.00,"temperature":8.93,"sunrise":7.11,"sunset":18.30,"sun":"set","update":0}}
  100. [Mar 07 21:15:41:445976] pilight-daemon: DEBUG: broadcasted: {"message":{"location":"waalwijk","country":"nl","temperature":8.93,"humidity":57.00,"update":0,"sunrise":7.11,"sunset":18.30,"sun":"set"},"origin":"receiver","protocol":"openweathermap","uuid":"0000-00-00-3e-79ede4"}
  101. [Mar 07 21:15:41:511830] pilight-daemon: DEBUG: 5.127000:52.754000 seems to be in timezone: Europe/Amsterdam
  102. [Mar 07 21:15:41:523790] pilight-daemon: DEBUG: 5.127000:52.754000 seems to be in timezone: Europe/Amsterdam
  103.  
  104. Program received signal SIGSEGV, Segmentation fault.
  105. [Switching to Thread 0xb3c3b470 (LWP 10831)]
  106. 0xb6fd0a08 in memset () from /usr/lib/arm-linux-gnueabihf/libcofi_rpi.so
  107. (gdb) backtrace
  108. #0 0xb6fd0a08 in memset () from /usr/lib/arm-linux-gnueabihf/libcofi_rpi.so
  109. #1 0xb6ee1ca4 in host2ip () from /usr/local/lib/libpilight.so
  110. #2 0xb6fc5260 in getntptime () from /usr/local/lib/pilight/protocols/newdatetime.so
  111. #3 0xb6fc5820 in newdatetimeParse () from /usr/local/lib/pilight/protocols/newdatetime.so
  112. #4 0xb6e27bfc in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0
  113. #5 0xb6d4a968 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
  114. #6 0xb6d4a968 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
  115. Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  116. (gdb)
Advertisement
Add Comment
Please, Sign In to add comment