[vz-dev] Dockstar - vzlogger Core Dump

Gerhard Bertelsmann info at gerhard-bertelsmann.de
Thu Jan 5 23:36:55 CET 2012


Hallo,

nach Langer Zeit habe ich mal wieder den vzlogger angeschmissen.
Aber bei mir bricht vzlogger nach ein paar Stunden mit core Dump ab.
Meine Umgebung:

- Dockstar - Debian Wheezy
   root at Stromkasten / # uname -a
   Linux Stromkasten 3.1.0-1-kirkwood #1 Sat Dec 24 14:15:33 UTC 2011
armv5tel GNU/Linux
- Aktueller vzlogger Git
- EMH eHZ
- Middleware auf selben Rechner

root at Stromkasten / # ls -l /core
-rw------- 1 root root 34668544 Jan  5 19:29 /core

root at Stromkasten / # gdb /usr/local/bin/vzlogger -c /core
GNU gdb (GDB) 7.3-debian
Copyright (C) 2011 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-gnueabi".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/vzlogger...done.
[New LWP 22219]
[New LWP 22221]
[New LWP 22222]
[New LWP 22223]
[New LWP 22220]
[Thread debugging using libthread_db enabled]
Core was generated by `vzlogger -d'.
Program terminated with signal 6, Aborted.
#0  0x402f2d78 in raise () from /lib/arm-linux-gnueabi/libc.so.6

Log:
...
[Jan 05 19:29:29][mtr0] Got 8 new readings from meter:
[Jan 05 19:29:29][mtr0] Reading: id=129-129:199.130.3*255 value=0.00
ts=1325788169.087
[Jan 05 19:29:29][mtr0] Reading: id=1-0:0.0.9*255 value=0.00
ts=1325788169.087
[Jan 05 19:29:29][mtr0] Reading: id=1-0:1.8.0*255 value=3472144.00
ts=1325788169.087
[Jan 05 19:29:29][mtr0] Reading: id=1-0:1.8.1*255 value=939264.38
ts=1325788169.087
[Jan 05 19:29:29][mtr0] Reading: id=1-0:1.8.2*255 value=2532879.50
ts=1325788169.087
[Jan 05 19:29:29][mtr0] Reading: id=1-0:15.7.0*255 value=1815.80
ts=1325788169.087
[Jan 05 19:29:29][mtr0] Reading: id=129-129:199.130.5*255 value=0.00
ts=1325788169.087
[Jan 05 19:29:29][mtr0] Reading: id=0-0:0.0.0*0 value=0.00 ts=0.000
[Jan 05 19:29:29][ch0]  Adding reading to queue (value=2532879.50
delta=1.25 ts=1325788169.087)
[Jan 05 19:29:29][ch0]  JSON request body: [ [ 1325788169086.755127,
1.250000 ] ]
[Jan 05 19:29:29][ch0]  CURL: About to connect() to 192.168.0.250 port 80
(#0)
[Jan 05 19:29:29][ch0]  CURL:   Trying 192.168.0.250...
[Jan 05 19:29:29][ch0]  CURL: connected
[Jan 05 19:29:29][ch0]  Buffer dump: |!1.25| (size=1, keep=0)
[Jan 05 19:29:29][ch1]  Adding reading to queue (value=939264.38
delta=0.00 ts=1325788169.087)
[Jan 05 19:29:29][ch0]  CURL: Sent 38 bytes..
[Jan 05 19:29:29][ch0]  CURL: upload completely sent off: 38 out of 38 bytes
[Jan 05 19:29:29][ch0]  CURL: additional stuff not fine transfer.c:1036: 0 0
[Jan 05 19:29:29][ch1]  JSON request body: [ [ 1325788169086.751953,
0.000000 ] ]
[Jan 05 19:29:29][ch1]  CURL: About to connect() to 192.168.0.250 port 80
(#0)
[Jan 05 19:29:29][ch1]  CURL:   Trying 192.168.0.250...
[Jan 05 19:29:29][ch1]  CURL: connected
[Jan 05 19:29:29][ch1]  CURL: Sent 38 bytes..
[Jan 05 19:29:29][ch1]  CURL: upload completely sent off: 38 out of 38 bytes
[Jan 05 19:29:29][ch1]  CURL: additional stuff not fine transfer.c:1036: 0 0
[Jan 05 19:29:29][ch1]  Buffer dump: |!0.00| (size=1, keep=0)
[Jan 05 19:29:29][ch2]  Adding reading to queue (value=3472144.00
delta=1.50 ts=1325788169.087)
[Jan 05 19:29:29][ch2]  JSON request body: [ [ 1325788169086.750000,
1.500000 ] ]
[Jan 05 19:29:29][ch2]  CURL: About to connect() to 192.168.0.250 port 80
(#0)
[Jan 05 19:29:29][ch2]  CURL:   Trying 192.168.0.250...
[Jan 05 19:29:29][ch2]  CURL: connected
[Jan 05 19:29:29][ch2]  CURL: Sent 38 bytes..
[Jan 05 19:29:29][ch2]  CURL: upload completely sent off: 38 out of 38 bytes
[Jan 05 19:29:29][ch2]  CURL: additional stuff not fine transfer.c:1036: 0 0
[Jan 05 19:29:29][ch2]  Buffer dump: |!1.50| (size=1, keep=0)
[Jan 05 19:29:29][ch2]  CURL: HTTP 1.1 or later with persistent
connection, pipelining supported
[Jan 05 19:29:29][ch2]  CURL: Received 17 bytes
[Jan 05 19:29:29][ch2]  CURL: Connection #0 to host 192.168.0.250 left intact
[Jan 05 19:29:29][ch2]  Request succeeded with code: 200
[Jan 05 19:29:29][ch1]  CURL: HTTP 1.1 or later with persistent
connection, pipelining supported
[Jan 05 19:29:29][ch1]  CURL: Received 17 bytes
[Jan 05 19:29:29][ch1]  CURL: Connection #0 to host 192.168.0.250 left intact
[Jan 05 19:29:29][ch1]  Request succeeded with code: 200
[Jan 05 19:29:29][ch0]  CURL: HTTP 1.1 or later with persistent
connection, pipelining supported
[Jan 05 19:29:29][ch0]  CURL: Received 17 bytes
[Jan 05 19:29:29][ch0]  CURL: Connection #0 to host 192.168.0.250 left intact
[Jan 05 19:29:29][ch0]  Request succeeded with code: 200



Config:


root at Stromkasten / # cat /etc/vzlogger.conf

{
"retry" : 30,			/* how long to sleep between failed requests, in seconds */
//"daemon": false,		/* run periodically */
//"foreground" : true,		/* dont run in background (prevents forking) */

"verbosity" : 15,		/* between 0 and 15 */
"log" : "/var/log/vzlogger.log",/* path to logfile, optional */

"local" : {
	"enabled" : false,	/* should we start the local HTTPd for serving live
readings? */
	"port" : 8080,		/* the TCP port for the local HTTPd */
	"index" : true,		/* should we provide a index listing of available
channels? */
	"timeout" : 30,		/* timeout for long polling comet requests, 0 disables
comet, in seconds */
	"buffer" : 600		/* how long to buffer readings for the local interface,
in seconds */
},

"meters" : [{
	"enabled" : true,	/* disabled meters will be ignored */
	"protocol" : "sml",	/* use 'vzlogger -h' for list of available protocols */
	"device" : "/dev/ttyUSB0",
	// "connection" : "/dev/ttyUSB0",
	"channels": [{
		"uuid" : "<geheim>",
		"middleware" : "http://192.168.0.250/middleware.php",
		"identifier" : "1-0:1.8.0",
                "counter" : true,
		}, {
                "uuid" : "<geheim>",
                "middleware" : "http://192.168.0.250/middleware.php",
                "identifier" : "1-0:1.8.1",
                "counter" : true,
		}, {
		"uuid" : "<geheim>",
                "middleware" : "http://192.168.0.250/middleware.php",
                "identifier" : "1-0:1.8.2",
                "counter" : true,
		}]
	}
]}

Hat jemand eine Idee ?

Gruß

Gerd



More information about the volkszaehler-dev mailing list