[vz-dev] vzlogger 0.3.3 stürzt nach 5 - 10 min ab

Wilhelm Eßt wilhelm.esst at tsv-gersthofen.de
Fri Mar 30 15:32:40 CEST 2012


So ich weiß nicht so recht warum, aber jetzt hat der bt full was geliefert:

Stand ist nach wie vor, dass vzlogger früher oder später mit einem SIGSEGV 
hängen bleibt.

Hier nochmal der letzte Teil der Konsolen-Ausgabe

[...]
[Mar 30 13:02:19][mtr0] Reading: id=1-0:15.7.0*255 value=362.10 
ts=1333105339.473
[Mar 30 13:02:19][mtr0] Reading: id=129-129:199.130.5*255 value=0.00 
ts=1333105339.473
[Mar 30 13:02:19][mtr0] Reading: id=0-0:0.0.0*0 value=0.00 ts=0.000
[Mar 30 13:02:19][ch0]  Adding reading to queue (value=362.10 
ts=1333105339.473)
[Mar 30 13:02:19][ch0]  Buffer dump (size=1 keep=0): {362.10!}
[Mar 30 13:02:19][ch0]  JSON request body: [ [ 1333105339472.918945, 
362.100000 ] ]
[Mar 30 13:02:19][ch0]  CURL: Re-using existing connection! (#0) with host 
(nil)
[Mar 30 13:02:19][ch0]  CURL: Connected to (nil) (127.0.0.1) port 80 (#0)
[Mar 30 13:02:19][ch0]  CURL: Sent 40 bytes.. 
[Mar 30 13:02:19][ch0]  CURL: upload completely sent off: 40 out of 40 bytes
[Mar 30 13:02:19][ch0]  CURL: additional stuff not fine transfer.c:1037: 0 0
[Mar 30 13:02:19][ch0]  CURL: HTTP 1.1 or later with persistent connection, 
pipelining supported
[Mar 30 13:02:19][ch0]  CURL: Received 17 bytes
[Mar 30 13:02:19][ch0]  CURL: Connection #0 to host (nil) left intact
[Mar 30 13:02:19][ch0]  Request succeeded with code: 200
*** Program received signal SIGSEGV (Segmentation fault) ***

Im Kdevelop war es nun möglich den bt full auszuführen; hier das Ergebnis:

(gdb) bt full
bt full
#0 *__GI___libc_free (mem=0xa) at malloc.c:3709
ar_ptr = <optimized out>
p = 0x2
#1 0x0805543c in sml_number_free (np=0xa) at src/sml_number.c:120
No locals.
#2 0x08055fc1 in sml_status_free (status=0x807eeb8) at src/sml_status.c:73
No locals.
#3 0x08055f25 in sml_status_parse (buf=0x806cb68) at src/sml_status.c:55
max = 1
type = 16
byte = 27 '\033'
status = 0x807eeb8
#4 0x080559b2 in sml_list_entry_parse (buf=0x806cb68) at src/sml_list.c:124
l = 0x807ee40
#5 0x08055b61 in sml_list_parse (buf=0x806cb68) at src/sml_list.c:175
first = 0x8080a38
last = 0x807eee8
elems = 4
#6 0x08052add in sml_get_list_response_parse (buf=0x806cb68) at 
src/sml_get_list_response.c:54
msg = 0x807feb0
#7 0x080514bd in sml_message_body_parse (buf=0x806cb68) at 
src/sml_message.c:165
msg_body = 0x807f2f0
#8 0x08050fb2 in sml_message_parse (buf=0x806cb68) at src/sml_message.c:56
msg = 0x807f1c8
#9 0x080502d7 in sml_file_parse (buffer=0xb67aa1b8 "v\a", buffer_len=460) at 
src/sml_file.c:50
file = 0x806d358
buf = 0x806cb68
msg = 0x807f1e0
#10 0x0804f8d2 in meter_read_sml (meter=0x806c7e0, rds=0x806d548, n=32) at 
protocols/sml.c:163
handle = 0x806c7f0
buffer = 
"\033\033\033\033\001\001\001\001v\a\000\r\000\314ksb\000b\000rc\001\001v\001\001\a\000\r\000a#\321\v\006EMH\001\002q\\\022\270\001\001c\376\032\000v\a\000\r\000\314ktb\000b\000rc\a\001w\001\v\006EMH\001\002q\\\022\270\001rb\001e\000aB\tww\a\201\201�\202\003\377\001\001\001\001\004EMH\001w\a\001\000\000\000\t\377\001\001\001\001\v\006EMH\001\002q\\\022\270\001w\a\001\000\001\b\000\377c\001\202\001b\036R\377V\000\000#\020\305\001w\a\001\000\001\b\033\033\033\033\001\001\001\001v\a\000\r\000\314kyb\000b\000rc\001\001v\001\001\a\000\r\000a#\323\v\006EMH\001\002q\\\022\270\001\001cͪ\000v\a\000\r\000\314kzb\000"...
bytes = <optimized out>
m = 0
file = <optimized out>
body = <optimized out>
entry = <optimized out>
#11 0x0804c627 in reading_thread (arg=0x806c7e0) at threads.c:62
__it_83 = <optimized out>
__cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {896, -1233466512, 
4001536, -1233468360, -297511227, 307038649}, __mask_was_saved = 0}}, __pad = 
{0xb67ac3f4, 0x0, 0x0, 0x0}}
__cancel_routine = 0x804c570 <reading_thread_cleanup>
__cancel_arg = 0x806d548
__not_first_call = <optimized out>
rds = 0x806d548
mapping = 0x806c7e0
mtr = 0x806c7e0
last = 1333105337
delta = <optimized out>
details = 0x8058968
n = <optimized out>
bytes = 1333105337
#12 0xb7fa3c39 in start_thread (arg=0xb67acb70) at pthread_create.c:304
__res = <optimized out>
__ignore1 = <optimized out>
__ignore2 = <optimized out>
pd = 0xb67acb70
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1208270860, 0, 4001536, 
-1233468360, -297789755, -272718650}, mask_was_saved = 0}}, priv = {pad = 
{0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#13 0xb7e6712e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.
Backtrace stopped: Not enough registers or memory available to unwind further

Hilft das jemandem weiter?

Im oben genannten Fall hat vzlogger ca. 7 Stunden Werte abgeliefert und sich 
dann verabschiedet.

Gruß
-- 
Wilhelm Eßt



More information about the volkszaehler-dev mailing list