Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@raspberrypi:/home/pi/pilight# gdb pilight-daemon
- GNU gdb (GDB) 7.4.1-debian
- Copyright (C) 2012 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law. Type "show copying"
- and "show warranty" for details.
- This GDB was configured as "arm-linux-gnueabihf".
- For bug reporting instructions, please see:
- <http://www.gnu.org/software/gdb/bugs/>...
- Reading symbols from /usr/local/sbin/pilight-daemon...done.
- (gdb) run -D
- Starting program: /usr/local/sbin/pilight-daemon -D
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
- [Mar 07 22:15:39:802787] pilight-daemon: DEBUG: loaded protocol newdatetime.so v1.7-niek
- [Mar 07 22:15:39:837624] pilight-daemon: DEBUG: loaded operator plustime.so v0.2
- [Mar 07 22:15:39:873307] pilight-daemon: DEBUG: loaded operator minustime.so v0.2
- [Mar 07 22:15:39:910091] pilight-daemon: DEBUG: loaded operator random.so v1.0
- [Mar 07 22:15:39:960616] pilight-daemon: INFO: version 6.0, commit v6.0-11-g8ecc790
- [Mar 07 22:15:39:962138] pilight-daemon: DEBUG: ssdp sent search
- [ Mar 07 22:15:40:61838] pilight-daemon: NOTICE: no pilight daemon found, daemonizing
- [ Mar 07 22:15:40:63549] pilight-daemon: INFO: daemon listening to port: 48547
- [New Thread 0xb6c3b470 (LWP 10825)]
- [New Thread 0xb643b470 (LWP 10826)]
- [ Mar 07 22:15:40:87445] pilight-daemon: DEBUG: running on a raspberrypi
- [New Thread 0xb5c3b470 (LWP 10827)]
- [Mar 07 22:15:40:105665] pilight-daemon: DEBUG: new thread lirc, 1 thread running
- [New Thread 0xb543b470 (LWP 10828)]
- [Mar 07 22:15:40:115947] pilight-daemon: DEBUG: new thread cpu_temp, 2 threads running
- [New Thread 0xb4c3b470 (LWP 10829)]
- [Mar 07 22:15:40:125660] pilight-daemon: DEBUG: new thread openweathermap, 3 threads running
- [New Thread 0xb443b470 (LWP 10830)]
- [Mar 07 22:15:40:135582] pilight-daemon: DEBUG: new thread sunriseset, 4 threads running
- [New Thread 0xb3c3b470 (LWP 10831)]
- [Mar 07 22:15:40:162123] pilight-daemon: DEBUG: new thread newdatetime, 5 threads running
- [New Thread 0xb33a4470 (LWP 10832)]
- [Mar 07 22:15:40:182163] pilight-daemon: DEBUG: new thread socket, 6 threads running
- [Mar 07 22:15:40:183624] pilight-daemon: INFO: new client, ip: 127.0.0.1, port: 33947
- [Mar 07 22:15:40:184675] pilight-daemon: DEBUG: client fd: 13
- [Mar 07 22:15:40:185878] pilight-daemon: DEBUG: client id: 1
- [New Thread 0xb2ba4470 (LWP 10833)]
- [Mar 07 22:15:40:202161] pilight-daemon: DEBUG: new thread ssdp, 7 threads running
- [New Thread 0xb23a4470 (LWP 10834)]
- [Mar 07 22:15:40:222161] pilight-daemon: DEBUG: new thread sender, 8 threads running
- [New Thread 0xb1ba4470 (LWP 10835)]
- [Mar 07 22:15:40:236401] pilight-daemon: DEBUG: loading timezone database...
- [Mar 07 22:15:40:237521] pilight-daemon: DEBUG: new thread broadcaster, 9 threads running
- [Mar 07 22:15:40:240727] pilight-daemon: DEBUG: webserver listening to port 5001
- [New Thread 0xb13a4470 (LWP 10836)]
- [Mar 07 22:15:40:272314] pilight-daemon: DEBUG: new thread 433gpio, 10 threads running
- [New Thread 0xb09ff470 (LWP 10837)]
- [Mar 07 22:15:40:292160] pilight-daemon: DEBUG: new thread receive parser, 11 threads running
- [New Thread 0xb01ff470 (LWP 10838)]
- [Mar 07 22:15:40:312143] pilight-daemon: DEBUG: new thread events client, 12 threads running
- [Mar 07 22:15:40:313815] pilight-daemon: DEBUG: ssdp sent search
- [Mar 07 22:15:40:315034] pilight-daemon: DEBUG: ssdp sent notify
- [New Thread 0xaf9ff470 (LWP 10839)]
- [Mar 07 22:15:40:326864] pilight-daemon: DEBUG: socket write succeeded: {"action":"identify","options":{"config":1},"media":"all"}
- [Mar 07 22:15:40:328191] pilight-daemon: INFO: new client, ip: 10.0.0.31, port: 55823
- [Mar 07 22:15:40:328957] pilight-daemon: DEBUG: client fd: 18
- [Mar 07 22:15:40:329653] pilight-daemon: DEBUG: client id: 2
- [Mar 07 22:15:40:330870] pilight-daemon: DEBUG: socket recv: {"action":"identify","options":{"config":1},"media":"all"}
- [Mar 07 22:15:40:332411] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}
- [Mar 07 22:15:40:342744] pilight-daemon: DEBUG: new thread events loop, 13 threads running
- [New Thread 0xaf1ff470 (LWP 10840)]
- [Mar 07 22:15:40:362091] pilight-daemon: DEBUG: new thread webserver worker #0, 14 threads running
- [New Thread 0xae9ff470 (LWP 10841)]
- [Mar 07 22:15:40:384355] pilight-daemon: DEBUG: cpu: 0.000000%, ram: 0.908311%
- [Mar 07 22:15:40:385944] pilight-daemon: DEBUG: new thread webserver client, 15 threads running
- [Mar 07 22:15:40:387734] pilight-daemon: DEBUG: ssdp sent search
- [Mar 07 22:15:40:388761] pilight-daemon: DEBUG: ssdp sent notify
- [New Thread 0xae1ff470 (LWP 10842)]
- [Mar 07 22:15:40:400355] pilight-daemon: DEBUG: socket write succeeded: {"action":"identify","options":{"config":1,"core":1},"media":"web"}
- [Mar 07 22:15:40:401985] pilight-daemon: INFO: new client, ip: 10.0.0.31, port: 55824
- [Mar 07 22:15:40:403044] pilight-daemon: DEBUG: client fd: 20
- [Mar 07 22:15:40:403747] pilight-daemon: DEBUG: client id: 3
- [Mar 07 22:15:40:404552] pilight-daemon: DEBUG: socket recv: {"action":"identify","options":{"config":1,"core":1},"media":"web"}
- [Mar 07 22:15:40:405903] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}
- [Mar 07 22:15:40:412656] pilight-daemon: DEBUG: new thread webserver broadcast, 16 threads running
- [New Thread 0xad9ff470 (LWP 10843)]
- [Mar 07 22:15:40:432148] pilight-daemon: DEBUG: new thread firmware upgrader, 17 threads running
- [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}}
- [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}}
- [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}}
- [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}}
- [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"}
- [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}}
- [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}}
- [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}}
- [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}}
- [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"}
- [Mar 07 21:15:41:511830] pilight-daemon: DEBUG: 5.127000:52.754000 seems to be in timezone: Europe/Amsterdam
- [Mar 07 21:15:41:523790] pilight-daemon: DEBUG: 5.127000:52.754000 seems to be in timezone: Europe/Amsterdam
- Program received signal SIGSEGV, Segmentation fault.
- [Switching to Thread 0xb3c3b470 (LWP 10831)]
- 0xb6fd0a08 in memset () from /usr/lib/arm-linux-gnueabihf/libcofi_rpi.so
- (gdb) backtrace
- #0 0xb6fd0a08 in memset () from /usr/lib/arm-linux-gnueabihf/libcofi_rpi.so
- #1 0xb6ee1ca4 in host2ip () from /usr/local/lib/libpilight.so
- #2 0xb6fc5260 in getntptime () from /usr/local/lib/pilight/protocols/newdatetime.so
- #3 0xb6fc5820 in newdatetimeParse () from /usr/local/lib/pilight/protocols/newdatetime.so
- #4 0xb6e27bfc in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0
- #5 0xb6d4a968 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
- #6 0xb6d4a968 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
- Backtrace stopped: previous frame identical to this frame (corrupt stack?)
- (gdb)
Advertisement
Add Comment
Please, Sign In to add comment