5730 Memcheck memory error detector 5730 Copyright 2002-2007 and GNU G

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
==5730== Memcheck, a memory error detector.
==5730== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==5730== Using LibVEX rev 1732, a library for dynamic binary translation.
==5730== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==5730== Using valgrind-3.2.3, a dynamic binary instrumentation framework.
==5730== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==5730==
==5730== My PID = 5730, parent PID = 2986. Prog and args are:
==5730== ./sdcpserver
==5730==
--5730--
--5730-- Command line
--5730-- ./sdcpserver
--5730-- Startup, with flags:
--5730-- -v
--5730-- --log-file-exactly=valgrind2.log
--5730-- Contents of /proc/version:
--5730-- Linux version 2.6.18-std-smp-alt12 (builder@apiary.armor.altlinux.org) (gcc version 4.1.1 20070105 (ALT Linux, build 4.1.1-alt12)) #1 SMP Mon Feb 11 00:44:54 MSK 2008
--5730-- Arch and hwcaps: X86, x86-sse1-sse2
--5730-- Page sizes: currently 4096, max supported 4096
--5730-- Valgrind library directory: /usr/lib/valgrind
--5730-- Reading syms from /lib/ld-2.5.1.so (0x4000000)
--5730-- Reading syms from /home/alex/repo/sdcpserver (0x8048000)
--5730-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0x38000000)
--5730-- object doesn't have a symbol table
--5730-- object doesn't have a dynamic symbol table
--5730-- Reading suppressions file: /usr/lib/valgrind/default.supp
--5730-- REDIR: 0x4013A40 (index) redirected to 0x380219BB (???)
--5730-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so (0x401B000)
--5730-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x401D000)
==5730== WARNING: new redirection conflicts with existing -- ignoring it
--5730-- new: 0x04013A40 (index ) R-> 0x04020130 index
--5730-- REDIR: 0x4013BE0 (strlen) redirected to 0x40201C0 (strlen)
--5730-- Reading syms from /usr/lib/libbluetooth.so.2.9.6 (0x404B000)
--5730-- object doesn't have a symbol table
--5730-- Reading syms from /lib/libz.so.1.2.3 (0x405E000)
--5730-- object doesn't have a symbol table
--5730-- Reading syms from /lib/librt-2.5.1.so (0x4072000)
--5730-- object doesn't have a symbol table
--5730-- Reading syms from /lib/libcrypto.so.0.9.8h (0x407B000)
--5730-- object doesn't have a symbol table
--5730-- Reading syms from /usr/lib/libsqlite3.so.0.8.6 (0x41B1000)
--5730-- object doesn't have a symbol table
--5730-- Reading syms from /usr/lib/debug/libstdc++.so.6.0.8 (0x420B000)
--5730-- Reading syms from /lib/libgcc_s.so.1 (0x42F1000)
--5730-- object doesn't have a symbol table
--5730-- Reading syms from /lib/libc-2.5.1.so (0x42FC000)
--5730-- object doesn't have a symbol table
--5730-- Reading syms from /lib/libpthread-2.5.1.so (0x4424000)
--5730-- Reading syms from /lib/libdl-2.5.1.so (0x443C000)
--5730-- object doesn't have a symbol table
--5730-- REDIR: 0x4366250 (memset) redirected to 0x40204E0 (memset)
--5730-- REDIR: 0x4366750 (memcpy) redirected to 0x4020ED0 (memcpy)
--5730-- REDIR: 0x43653E0 (rindex) redirected to 0x4020050 (rindex)
--5730-- REDIR: 0x4365040 (strlen) redirected to 0x40201A0 (strlen)
--5730-- REDIR: 0x4361AF0 (calloc) redirected to 0x401E8DB (calloc)
--5730-- REDIR: 0x42BD520 (operator new(unsigned)) redirected to 0x401FC0E (operator new(unsigned))
--5730-- REDIR: 0x4361DF0 (malloc) redirected to 0x401F505 (malloc)
--5730-- REDIR: 0x43604A0 (free) redirected to 0x401F143 (free)
--5730-- REDIR: 0x4362200 (realloc) redirected to 0x401F5AF (realloc)
--5730-- REDIR: 0x43661E0 (memmove) redirected to 0x4020500 (memmove)
--5730-- REDIR: 0x42BC070 (operator delete(void*)) redirected to 0x401EE82 (operator delete(void*))
--5730-- REDIR: 0x4364B50 (strcpy) redirected to 0x4021120 (strcpy)
--5730-- REDIR: 0x4365230 (strncmp) redirected to 0x4020200 (strncmp)
--5730-- REDIR: 0x4365D50 (memchr) redirected to 0x4020380 (memchr)
--5730-- REDIR: 0x4364970 (index) redirected to 0x4020110 (index)
--5730-- REDIR: 0x43662B0 (mempcpy) redirected to 0x40209C0 (mempcpy)
==5730== Invalid read of size 4
==5730== at 0x8068BAA: __gnu_cxx::__normal_iterator<SdcpPackage*, std::vector<SdcpPackage, std::allocator<SdcpPackage> > >::__normal_iterator(SdcpPackage* const&) (stl_iterator.h:650)
==5730== by 0x8068BCA: std::vector<SdcpPackage, std::allocator<SdcpPackage> >::begin() (stl_vector.h:333)
==5730== by 0x80688ED: SdcpPackageParser::refresh() (SdcpPackageParser.cpp:15)
==5730== by 0x8059CE9: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:240)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x447D9E4 is 20 bytes inside a block of size 80 free'd
==5730== at 0x401EF02: operator delete(void*) (vg_replace_malloc.c:244)
==5730== by 0x805A4BD: SdcpTcpComm<IPSocketClient>::~SdcpTcpComm() (SdcpTcpComm.h:115)
==5730== by 0x805A343: SdcpTcpComm<IPSocketClient>::close() (SdcpTcpComm.h:169)
==5730== by 0x8062BCF: SdcpHandler::~SdcpHandler() (SdcpHandler.cpp:24)
==5730== by 0x8062A76: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:119)
==5730== by 0x8059CC2: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== Invalid read of size 4
==5730== at 0x8068BAA: __gnu_cxx::__normal_iterator<SdcpPackage*, std::vector<SdcpPackage, std::allocator<SdcpPackage> > >::__normal_iterator(SdcpPackage* const&) (stl_iterator.h:650)
==5730== by 0x8068C25: std::vector<SdcpPackage, std::allocator<SdcpPackage> >::end() (stl_vector.h:351)
==5730== by 0x8068924: SdcpPackageParser::refresh() (SdcpPackageParser.cpp:17)
==5730== by 0x8059CE9: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:240)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x447D9E8 is 24 bytes inside a block of size 80 free'd
==5730== at 0x401EF02: operator delete(void*) (vg_replace_malloc.c:244)
==5730== by 0x805A4BD: SdcpTcpComm<IPSocketClient>::~SdcpTcpComm() (SdcpTcpComm.h:115)
==5730== by 0x805A343: SdcpTcpComm<IPSocketClient>::close() (SdcpTcpComm.h:169)
==5730== by 0x8062BCF: SdcpHandler::~SdcpHandler() (SdcpHandler.cpp:24)
==5730== by 0x8062A76: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:119)
==5730== by 0x8059CC2: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== Invalid read of size 4
==5730== at 0x805178C: std::vector<unsigned char, std::allocator<unsigned char> >::clear() (stl_vector.h:750)
==5730== by 0x8059D32: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:243)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x447DA00 is 48 bytes inside a block of size 80 free'd
==5730== at 0x401EF02: operator delete(void*) (vg_replace_malloc.c:244)
==5730== by 0x805A4BD: SdcpTcpComm<IPSocketClient>::~SdcpTcpComm() (SdcpTcpComm.h:115)
==5730== by 0x805A343: SdcpTcpComm<IPSocketClient>::close() (SdcpTcpComm.h:169)
==5730== by 0x8062BCF: SdcpHandler::~SdcpHandler() (SdcpHandler.cpp:24)
==5730== by 0x8062A76: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:119)
==5730== by 0x8059CC2: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== Invalid read of size 4
==5730== at 0x8051792: std::vector<unsigned char, std::allocator<unsigned char> >::clear() (stl_vector.h:750)
==5730== by 0x8059D32: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:243)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x447D9FC is 44 bytes inside a block of size 80 free'd
==5730== at 0x401EF02: operator delete(void*) (vg_replace_malloc.c:244)
==5730== by 0x805A4BD: SdcpTcpComm<IPSocketClient>::~SdcpTcpComm() (SdcpTcpComm.h:115)
==5730== by 0x805A343: SdcpTcpComm<IPSocketClient>::close() (SdcpTcpComm.h:169)
==5730== by 0x8062BCF: SdcpHandler::~SdcpHandler() (SdcpHandler.cpp:24)
==5730== by 0x8062A76: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:119)
==5730== by 0x8059CC2: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== Invalid read of size 4
==5730== at 0x80517B7: std::vector<unsigned char, std::allocator<unsigned char> >::clear() (stl_vector.h:752)
==5730== by 0x8059D32: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:243)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x447D9FC is 44 bytes inside a block of size 80 free'd
==5730== at 0x401EF02: operator delete(void*) (vg_replace_malloc.c:244)
==5730== by 0x805A4BD: SdcpTcpComm<IPSocketClient>::~SdcpTcpComm() (SdcpTcpComm.h:115)
==5730== by 0x805A343: SdcpTcpComm<IPSocketClient>::close() (SdcpTcpComm.h:169)
==5730== by 0x8062BCF: SdcpHandler::~SdcpHandler() (SdcpHandler.cpp:24)
==5730== by 0x8062A76: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:119)
==5730== by 0x8059CC2: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== Invalid write of size 4
==5730== at 0x80517BC: std::vector<unsigned char, std::allocator<unsigned char> >::clear() (stl_vector.h:752)
==5730== by 0x8059D32: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:243)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x447DA00 is 48 bytes inside a block of size 80 free'd
==5730== at 0x401EF02: operator delete(void*) (vg_replace_malloc.c:244)
==5730== by 0x805A4BD: SdcpTcpComm<IPSocketClient>::~SdcpTcpComm() (SdcpTcpComm.h:115)
==5730== by 0x805A343: SdcpTcpComm<IPSocketClient>::close() (SdcpTcpComm.h:169)
==5730== by 0x8062BCF: SdcpHandler::~SdcpHandler() (SdcpHandler.cpp:24)
==5730== by 0x8062A76: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:119)
==5730== by 0x8059CC2: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== Invalid write of size 1
==5730== at 0x8059D3C: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:244)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x447D9F4 is 36 bytes inside a block of size 80 free'd
==5730== at 0x401EF02: operator delete(void*) (vg_replace_malloc.c:244)
==5730== by 0x805A4BD: SdcpTcpComm<IPSocketClient>::~SdcpTcpComm() (SdcpTcpComm.h:115)
==5730== by 0x805A343: SdcpTcpComm<IPSocketClient>::close() (SdcpTcpComm.h:169)
==5730== by 0x8062BCF: SdcpHandler::~SdcpHandler() (SdcpHandler.cpp:24)
==5730== by 0x8062A76: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:119)
==5730== by 0x8059CC2: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== Invalid write of size 4
==5730== at 0x8059D46: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:245)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x447D9F8 is 40 bytes inside a block of size 80 free'd
==5730== at 0x401EF02: operator delete(void*) (vg_replace_malloc.c:244)
==5730== by 0x805A4BD: SdcpTcpComm<IPSocketClient>::~SdcpTcpComm() (SdcpTcpComm.h:115)
==5730== by 0x805A343: SdcpTcpComm<IPSocketClient>::close() (SdcpTcpComm.h:169)
==5730== by 0x8062BCF: SdcpHandler::~SdcpHandler() (SdcpHandler.cpp:24)
==5730== by 0x8062A76: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:119)
==5730== by 0x8059CC2: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== Invalid read of size 1
==5730== at 0x8059D5B: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:248)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x447DA08 is 56 bytes inside a block of size 80 free'd
==5730== at 0x401EF02: operator delete(void*) (vg_replace_malloc.c:244)
==5730== by 0x805A4BD: SdcpTcpComm<IPSocketClient>::~SdcpTcpComm() (SdcpTcpComm.h:115)
==5730== by 0x805A343: SdcpTcpComm<IPSocketClient>::close() (SdcpTcpComm.h:169)
==5730== by 0x8062BCF: SdcpHandler::~SdcpHandler() (SdcpHandler.cpp:24)
==5730== by 0x8062A76: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:119)
==5730== by 0x8059CC2: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== Invalid read of size 4
==5730== at 0x8059D79: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:248)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x447DA1C is 76 bytes inside a block of size 80 free'd
==5730== at 0x401EF02: operator delete(void*) (vg_replace_malloc.c:244)
==5730== by 0x805A4BD: SdcpTcpComm<IPSocketClient>::~SdcpTcpComm() (SdcpTcpComm.h:115)
==5730== by 0x805A343: SdcpTcpComm<IPSocketClient>::close() (SdcpTcpComm.h:169)
==5730== by 0x8062BCF: SdcpHandler::~SdcpHandler() (SdcpHandler.cpp:24)
==5730== by 0x8062A76: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:119)
==5730== by 0x8059CC2: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== Invalid read of size 4
==5730== at 0x80B5714: SecurityManager::getBlockSize() (SecurityManager.cpp:165)
==5730== by 0x8059D84: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:248)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x447E298 is 8 bytes inside a block of size 1,068 free'd
==5730== at 0x401EF02: operator delete(void*) (vg_replace_malloc.c:244)
==5730== by 0x805A3F9: SdcpTcpComm<IPSocketClient>::~SdcpTcpComm() (SdcpTcpComm.h:115)
==5730== by 0x805A343: SdcpTcpComm<IPSocketClient>::close() (SdcpTcpComm.h:169)
==5730== by 0x8062BCF: SdcpHandler::~SdcpHandler() (SdcpHandler.cpp:24)
==5730== by 0x8062A76: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:119)
==5730== by 0x8059CC2: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== Syscall param socketcall.send(msg) points to uninitialised byte(s)
==5730== at 0x43B8F18: send (in /lib/libc-2.5.1.so)
==5730== by 0x80543F3: SdcpTcpComm<BTSocketServer>::send(SdcpPackageBuilder*) (SdcpTcpComm.h:314)
==5730== by 0x8062366: SdcpHandler::send(SdcpPackageBuilder*) (SdcpHandler.cpp:148)
==5730== by 0x809C10B: Sub1Handler::process(ParsedPackage, bool) (SubHandler.cpp:34)
==5730== by 0x80626C4: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:95)
==5730== by 0x8055388: SdcpTcpComm<BTSocketServer>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x449ADCA is 10 bytes inside a block of size 45 alloc'd
==5730== at 0x401F587: malloc (vg_replace_malloc.c:149)
==5730== by 0x8054806: SdcpTcpComm<BTSocketServer>::send(std::vector<std::vector<unsigned char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned char, std::allocator<unsigned char> > > >) (SdcpTcpComm.h:272)
==5730== by 0x80543F3: SdcpTcpComm<BTSocketServer>::send(SdcpPackageBuilder*) (SdcpTcpComm.h:314)
==5730== by 0x8062366: SdcpHandler::send(SdcpPackageBuilder*) (SdcpHandler.cpp:148)
==5730== by 0x809C10B: Sub1Handler::process(ParsedPackage, bool) (SubHandler.cpp:34)
==5730== by 0x80626C4: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:95)
==5730== by 0x8055388: SdcpTcpComm<BTSocketServer>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== Syscall param socketcall.send(msg) points to uninitialised byte(s)
==5730== at 0x43B8F18: send (in /lib/libc-2.5.1.so)
==5730== by 0x80543F3: SdcpTcpComm<BTSocketServer>::send(SdcpPackageBuilder*) (SdcpTcpComm.h:314)
==5730== by 0x8062366: SdcpHandler::send(SdcpPackageBuilder*) (SdcpHandler.cpp:148)
==5730== by 0x8076978: ServiceHandler::process(ParsedPackage) (ServiceHandler.cpp:85)
==5730== by 0x8062607: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:90)
==5730== by 0x8055388: SdcpTcpComm<BTSocketServer>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x44B4233 is 11 bytes inside a block of size 41 alloc'd
==5730== at 0x401F587: malloc (vg_replace_malloc.c:149)
==5730== by 0x8054806: SdcpTcpComm<BTSocketServer>::send(std::vector<std::vector<unsigned char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned char, std::allocator<unsigned char> > > >) (SdcpTcpComm.h:272)
==5730== by 0x80543F3: SdcpTcpComm<BTSocketServer>::send(SdcpPackageBuilder*) (SdcpTcpComm.h:314)
==5730== by 0x8062366: SdcpHandler::send(SdcpPackageBuilder*) (SdcpHandler.cpp:148)
==5730== by 0x8076978: ServiceHandler::process(ParsedPackage) (ServiceHandler.cpp:85)
==5730== by 0x8062607: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:90)
==5730== by 0x8055388: SdcpTcpComm<BTSocketServer>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== Syscall param socketcall.send(msg) points to uninitialised byte(s)
==5730== at 0x43B8F18: send (in /lib/libc-2.5.1.so)
==5730== by 0x80543F3: SdcpTcpComm<BTSocketServer>::send(SdcpPackageBuilder*) (SdcpTcpComm.h:314)
==5730== by 0x8062366: SdcpHandler::send(SdcpPackageBuilder*) (SdcpHandler.cpp:148)
==5730== by 0x807175C: Service::send(SdcpPackageBuilder*) (Service.cpp:74)
==5730== by 0x806E3B2: Service::establishSecurity(ParsedPackage) (Service.cpp:429)
==5730== by 0x806FF93: Service::process(ParsedPackage) (Service.cpp:128)
==5730== by 0x8076A07: ServiceHandler::process(ParsedPackage) (ServiceHandler.cpp:92)
==5730== by 0x8062607: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:90)
==5730== by 0x8055388: SdcpTcpComm<BTSocketServer>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x44E6BBB is 11 bytes inside a block of size 39 alloc'd
==5730== at 0x401F587: malloc (vg_replace_malloc.c:149)
==5730== by 0x8054806: SdcpTcpComm<BTSocketServer>::send(std::vector<std::vector<unsigned char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned char, std::allocator<unsigned char> > > >) (SdcpTcpComm.h:272)
==5730== by 0x80543F3: SdcpTcpComm<BTSocketServer>::send(SdcpPackageBuilder*) (SdcpTcpComm.h:314)
==5730== by 0x8062366: SdcpHandler::send(SdcpPackageBuilder*) (SdcpHandler.cpp:148)
==5730== by 0x807175C: Service::send(SdcpPackageBuilder*) (Service.cpp:74)
==5730== by 0x806E3B2: Service::establishSecurity(ParsedPackage) (Service.cpp:429)
==5730== by 0x806FF93: Service::process(ParsedPackage) (Service.cpp:128)
==5730== by 0x8076A07: ServiceHandler::process(ParsedPackage) (ServiceHandler.cpp:92)
==5730== by 0x8062607: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:90)
==5730== by 0x8055388: SdcpTcpComm<BTSocketServer>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDBE8: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDBEF: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDBFE: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDC07: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDC1A: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDC21: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDC30: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDC39: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDC4C: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDC53: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDC68: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDC6F: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDC77: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDC7E: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDC8C: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDC94: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== Syscall param socketcall.send(msg) points to uninitialised byte(s)
==5730== at 0x43B8F18: send (in /lib/libc-2.5.1.so)
==5730== by 0x80543F3: SdcpTcpComm<BTSocketServer>::send(SdcpPackageBuilder*) (SdcpTcpComm.h:314)
==5730== by 0x8062366: SdcpHandler::send(SdcpPackageBuilder*) (SdcpHandler.cpp:148)
==5730== by 0x8071667: Service::send(SdcpPackageBuilder*) (Service.cpp:70)
==5730== by 0x807034E: Service::process(ParsedPackage) (Service.cpp:147)
==5730== by 0x806E86C: Service::parseProtectedMessage(std::vector<unsigned char, std::allocator<unsigned char> >) (Service.cpp:307)
==5730== by 0x806F016: Service::processSec(ParsedPackage) (Service.cpp:273)
==5730== by 0x8075CBD: ServiceHandler::process(ParsedPackage) (ServiceHandler.cpp:22)
==5730== by 0x8062607: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:90)
==5730== by 0x8055388: SdcpTcpComm<BTSocketServer>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x44E931B is 11 bytes inside a block of size 77 alloc'd
==5730== at 0x401F587: malloc (vg_replace_malloc.c:149)
==5730== by 0x8054806: SdcpTcpComm<BTSocketServer>::send(std::vector<std::vector<unsigned char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned char, std::allocator<unsigned char> > > >) (SdcpTcpComm.h:272)
==5730== by 0x80543F3: SdcpTcpComm<BTSocketServer>::send(SdcpPackageBuilder*) (SdcpTcpComm.h:314)
==5730== by 0x8062366: SdcpHandler::send(SdcpPackageBuilder*) (SdcpHandler.cpp:148)
==5730== by 0x8071667: Service::send(SdcpPackageBuilder*) (Service.cpp:70)
==5730== by 0x807034E: Service::process(ParsedPackage) (Service.cpp:147)
==5730== by 0x806E86C: Service::parseProtectedMessage(std::vector<unsigned char, std::allocator<unsigned char> >) (Service.cpp:307)
==5730== by 0x806F016: Service::processSec(ParsedPackage) (Service.cpp:273)
==5730== by 0x8075CBD: ServiceHandler::process(ParsedPackage) (ServiceHandler.cpp:22)
==5730== by 0x8062607: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:90)
==5730== by 0x8055388: SdcpTcpComm<BTSocketServer>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730==
==5730== Syscall param socketcall.send(msg) points to uninitialised byte(s)
==5730== at 0x43B8F18: send (in /lib/libc-2.5.1.so)
==5730== by 0x80543F3: SdcpTcpComm<BTSocketServer>::send(SdcpPackageBuilder*) (SdcpTcpComm.h:314)
==5730== by 0x8062366: SdcpHandler::send(SdcpPackageBuilder*) (SdcpHandler.cpp:148)
==5730== by 0x80BDF00: MpdService::processCommand(ParsedPackage) (MpdService.cpp:45)
==5730== by 0x8071410: Service::process(ParsedPackage) (Service.cpp:204)
==5730== by 0x806E86C: Service::parseProtectedMessage(std::vector<unsigned char, std::allocator<unsigned char> >) (Service.cpp:307)
==5730== by 0x806F016: Service::processSec(ParsedPackage) (Service.cpp:273)
==5730== by 0x8075CBD: ServiceHandler::process(ParsedPackage) (ServiceHandler.cpp:22)
==5730== by 0x8062607: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:90)
==5730== by 0x8055388: SdcpTcpComm<BTSocketServer>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x44EEEAB is 11 bytes inside a block of size 39 alloc'd
==5730== at 0x401F587: malloc (vg_replace_malloc.c:149)
==5730== by 0x8054806: SdcpTcpComm<BTSocketServer>::send(std::vector<std::vector<unsigned char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned char, std::allocator<unsigned char> > > >) (SdcpTcpComm.h:272)
==5730== by 0x80543F3: SdcpTcpComm<BTSocketServer>::send(SdcpPackageBuilder*) (SdcpTcpComm.h:314)
==5730== by 0x8062366: SdcpHandler::send(SdcpPackageBuilder*) (SdcpHandler.cpp:148)
==5730== by 0x80BDF00: MpdService::processCommand(ParsedPackage) (MpdService.cpp:45)
==5730== by 0x8071410: Service::process(ParsedPackage) (Service.cpp:204)
==5730== by 0x806E86C: Service::parseProtectedMessage(std::vector<unsigned char, std::allocator<unsigned char> >) (Service.cpp:307)
==5730== by 0x806F016: Service::processSec(ParsedPackage) (Service.cpp:273)
==5730== by 0x8075CBD: ServiceHandler::process(ParsedPackage) (ServiceHandler.cpp:22)
==5730== by 0x8062607: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:90)
==5730== by 0x8055388: SdcpTcpComm<BTSocketServer>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730==
==5730== Syscall param socketcall.send(msg) points to uninitialised byte(s)
==5730== at 0x43B8F18: send (in /lib/libc-2.5.1.so)
==5730== by 0x80543F3: SdcpTcpComm<BTSocketServer>::send(SdcpPackageBuilder*) (SdcpTcpComm.h:314)
==5730== by 0x8062366: SdcpHandler::send(SdcpPackageBuilder*) (SdcpHandler.cpp:148)
==5730== by 0x80BC334: MpdService::sendUI(bool) (MpdService.cpp:106)
==5730== by 0x80BE606: MpdService::updateUI() (MpdService.h:20)
==5730== by 0x80BD63A: MpdService::timerCallback(Timer*) (MpdService.cpp:327)
==5730== by 0x807E74D: Timer::timerCallback() (TimerHandler.cpp:85)
==5730== by 0x807E777: SigHandler(int, siginfo*, void*) (TimerHandler.cpp:7)
==5730== by 0x4323F3F: (within /lib/libc-2.5.1.so)
==5730== by 0x806A8F4: Server::mainLoop() (Server.cpp:87)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x44EFA1B is 11 bytes inside a block of size 58 alloc'd
==5730== at 0x401F587: malloc (vg_replace_malloc.c:149)
==5730== by 0x8054806: SdcpTcpComm<BTSocketServer>::send(std::vector<std::vector<unsigned char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned char, std::allocator<unsigned char> > > >) (SdcpTcpComm.h:272)
==5730== by 0x80543F3: SdcpTcpComm<BTSocketServer>::send(SdcpPackageBuilder*) (SdcpTcpComm.h:314)
==5730== by 0x8062366: SdcpHandler::send(SdcpPackageBuilder*) (SdcpHandler.cpp:148)
==5730== by 0x80BC334: MpdService::sendUI(bool) (MpdService.cpp:106)
==5730== by 0x80BE606: MpdService::updateUI() (MpdService.h:20)
==5730== by 0x80BD63A: MpdService::timerCallback(Timer*) (MpdService.cpp:327)
==5730== by 0x807E74D: Timer::timerCallback() (TimerHandler.cpp:85)
==5730== by 0x807E777: SigHandler(int, siginfo*, void*) (TimerHandler.cpp:7)
==5730== by 0x4323F3F: (within /lib/libc-2.5.1.so)
==5730== by 0x806A8F4: Server::mainLoop() (Server.cpp:87)
==5730== by 0x805B2ED: main (main.cpp:47)
--5730-- REDIR: 0x42BD660 (operator new[](unsigned)) redirected to 0x401F8FA (operator new[](unsigned))
==5730==
==5730== Invalid read of size 4
==5730== at 0x4268F28: std::basic_ios<char, std::char_traits<char> >::clear(std::_Ios_Iostate) (in /usr/lib/debug/libstdc++.so.6.0.8)
==5730== by 0x4265505: std::basic_ofstream<char, std::char_traits<char> >::basic_ofstream(char const*, std::_Ios_Openmode) (in /usr/lib/debug/libstdc++.so.6.0.8)
==5730== by 0x80BB986: MpdService::updateHtml() (MpdService.cpp:246)
==5730== by 0x80BC3B7: MpdService::sendUI(bool) (MpdService.cpp:113)
==5730== by 0x80BE606: MpdService::updateUI() (MpdService.h:20)
==5730== by 0x80BD63A: MpdService::timerCallback(Timer*) (MpdService.cpp:327)
==5730== by 0x807E74D: Timer::timerCallback() (TimerHandler.cpp:85)
==5730== by 0x807E777: SigHandler(int, siginfo*, void*) (TimerHandler.cpp:7)
==5730== by 0x4323F3F: (within /lib/libc-2.5.1.so)
==5730== by 0x806A8F4: Server::mainLoop() (Server.cpp:87)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x353D4D95 is not stack'd, malloc'd or (recently) free'd
==5730==
==5730== Process terminating with default action of signal 11 (SIGSEGV)
==5730== Access not within mapped region at address 0x353D4D95
==5730== at 0x4268F28: std::basic_ios<char, std::char_traits<char> >::clear(std::_Ios_Iostate) (in /usr/lib/debug/libstdc++.so.6.0.8)
==5730== by 0x4265505: std::basic_ofstream<char, std::char_traits<char> >::basic_ofstream(char const*, std::_Ios_Openmode) (in /usr/lib/debug/libstdc++.so.6.0.8)
==5730== by 0x80BB986: MpdService::updateHtml() (MpdService.cpp:246)
==5730== by 0x80BC3B7: MpdService::sendUI(bool) (MpdService.cpp:113)
==5730== by 0x80BE606: MpdService::updateUI() (MpdService.h:20)
==5730== by 0x80BD63A: MpdService::timerCallback(Timer*) (MpdService.cpp:327)
==5730== by 0x807E74D: Timer::timerCallback() (TimerHandler.cpp:85)
==5730== by 0x807E777: SigHandler(int, siginfo*, void*) (TimerHandler.cpp:7)
==5730== by 0x4323F3F: (within /lib/libc-2.5.1.so)
==5730== by 0x806A8F4: Server::mainLoop() (Server.cpp:87)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== ERROR SUMMARY: 68 errors from 34 contexts (suppressed: 31 from 1)
==5730==
==5730== 1 errors in context 1 of 34:
==5730== Invalid read of size 4
==5730== at 0x4268F28: std::basic_ios<char, std::char_traits<char> >::clear(std::_Ios_Iostate) (in /usr/lib/debug/libstdc++.so.6.0.8)
==5730== by 0x4265505: std::basic_ofstream<char, std::char_traits<char> >::basic_ofstream(char const*, std::_Ios_Openmode) (in /usr/lib/debug/libstdc++.so.6.0.8)
==5730== by 0x80BB986: MpdService::updateHtml() (MpdService.cpp:246)
==5730== by 0x80BC3B7: MpdService::sendUI(bool) (MpdService.cpp:113)
==5730== by 0x80BE606: MpdService::updateUI() (MpdService.h:20)
==5730== by 0x80BD63A: MpdService::timerCallback(Timer*) (MpdService.cpp:327)
==5730== by 0x807E74D: Timer::timerCallback() (TimerHandler.cpp:85)
==5730== by 0x807E777: SigHandler(int, siginfo*, void*) (TimerHandler.cpp:7)
==5730== by 0x4323F3F: (within /lib/libc-2.5.1.so)
==5730== by 0x806A8F4: Server::mainLoop() (Server.cpp:87)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x353D4D95 is not stack'd, malloc'd or (recently) free'd
==5730==
==5730== 1 errors in context 2 of 34:
==5730== Syscall param socketcall.send(msg) points to uninitialised byte(s)
==5730== at 0x43B8F18: send (in /lib/libc-2.5.1.so)
==5730== by 0x80543F3: SdcpTcpComm<BTSocketServer>::send(SdcpPackageBuilder*) (SdcpTcpComm.h:314)
==5730== by 0x8062366: SdcpHandler::send(SdcpPackageBuilder*) (SdcpHandler.cpp:148)
==5730== by 0x80BC334: MpdService::sendUI(bool) (MpdService.cpp:106)
==5730== by 0x80BE606: MpdService::updateUI() (MpdService.h:20)
==5730== by 0x80BD63A: MpdService::timerCallback(Timer*) (MpdService.cpp:327)
==5730== by 0x807E74D: Timer::timerCallback() (TimerHandler.cpp:85)
==5730== by 0x807E777: SigHandler(int, siginfo*, void*) (TimerHandler.cpp:7)
==5730== by 0x4323F3F: (within /lib/libc-2.5.1.so)
==5730== by 0x806A8F4: Server::mainLoop() (Server.cpp:87)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x44EFA1B is 11 bytes inside a block of size 58 alloc'd
==5730== at 0x401F587: malloc (vg_replace_malloc.c:149)
==5730== by 0x8054806: SdcpTcpComm<BTSocketServer>::send(std::vector<std::vector<unsigned char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned char, std::allocator<unsigned char> > > >) (SdcpTcpComm.h:272)
==5730== by 0x80543F3: SdcpTcpComm<BTSocketServer>::send(SdcpPackageBuilder*) (SdcpTcpComm.h:314)
==5730== by 0x8062366: SdcpHandler::send(SdcpPackageBuilder*) (SdcpHandler.cpp:148)
==5730== by 0x80BC334: MpdService::sendUI(bool) (MpdService.cpp:106)
==5730== by 0x80BE606: MpdService::updateUI() (MpdService.h:20)
==5730== by 0x80BD63A: MpdService::timerCallback(Timer*) (MpdService.cpp:327)
==5730== by 0x807E74D: Timer::timerCallback() (TimerHandler.cpp:85)
==5730== by 0x807E777: SigHandler(int, siginfo*, void*) (TimerHandler.cpp:7)
==5730== by 0x4323F3F: (within /lib/libc-2.5.1.so)
==5730== by 0x806A8F4: Server::mainLoop() (Server.cpp:87)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== 1 errors in context 3 of 34:
==5730== Syscall param socketcall.send(msg) points to uninitialised byte(s)
==5730== at 0x43B8F18: send (in /lib/libc-2.5.1.so)
==5730== by 0x80543F3: SdcpTcpComm<BTSocketServer>::send(SdcpPackageBuilder*) (SdcpTcpComm.h:314)
==5730== by 0x8062366: SdcpHandler::send(SdcpPackageBuilder*) (SdcpHandler.cpp:148)
==5730== by 0x80BDF00: MpdService::processCommand(ParsedPackage) (MpdService.cpp:45)
==5730== by 0x8071410: Service::process(ParsedPackage) (Service.cpp:204)
==5730== by 0x806E86C: Service::parseProtectedMessage(std::vector<unsigned char, std::allocator<unsigned char> >) (Service.cpp:307)
==5730== by 0x806F016: Service::processSec(ParsedPackage) (Service.cpp:273)
==5730== by 0x8075CBD: ServiceHandler::process(ParsedPackage) (ServiceHandler.cpp:22)
==5730== by 0x8062607: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:90)
==5730== by 0x8055388: SdcpTcpComm<BTSocketServer>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x44EEEAB is 11 bytes inside a block of size 39 alloc'd
==5730== at 0x401F587: malloc (vg_replace_malloc.c:149)
==5730== by 0x8054806: SdcpTcpComm<BTSocketServer>::send(std::vector<std::vector<unsigned char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned char, std::allocator<unsigned char> > > >) (SdcpTcpComm.h:272)
==5730== by 0x80543F3: SdcpTcpComm<BTSocketServer>::send(SdcpPackageBuilder*) (SdcpTcpComm.h:314)
==5730== by 0x8062366: SdcpHandler::send(SdcpPackageBuilder*) (SdcpHandler.cpp:148)
==5730== by 0x80BDF00: MpdService::processCommand(ParsedPackage) (MpdService.cpp:45)
==5730== by 0x8071410: Service::process(ParsedPackage) (Service.cpp:204)
==5730== by 0x806E86C: Service::parseProtectedMessage(std::vector<unsigned char, std::allocator<unsigned char> >) (Service.cpp:307)
==5730== by 0x806F016: Service::processSec(ParsedPackage) (Service.cpp:273)
==5730== by 0x8075CBD: ServiceHandler::process(ParsedPackage) (ServiceHandler.cpp:22)
==5730== by 0x8062607: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:90)
==5730== by 0x8055388: SdcpTcpComm<BTSocketServer>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730==
==5730== 1 errors in context 4 of 34:
==5730== Syscall param socketcall.send(msg) points to uninitialised byte(s)
==5730== at 0x43B8F18: send (in /lib/libc-2.5.1.so)
==5730== by 0x80543F3: SdcpTcpComm<BTSocketServer>::send(SdcpPackageBuilder*) (SdcpTcpComm.h:314)
==5730== by 0x8062366: SdcpHandler::send(SdcpPackageBuilder*) (SdcpHandler.cpp:148)
==5730== by 0x8071667: Service::send(SdcpPackageBuilder*) (Service.cpp:70)
==5730== by 0x807034E: Service::process(ParsedPackage) (Service.cpp:147)
==5730== by 0x806E86C: Service::parseProtectedMessage(std::vector<unsigned char, std::allocator<unsigned char> >) (Service.cpp:308)
==5730== by 0x806F016: Service::processSec(ParsedPackage) (Service.cpp:273)
==5730== by 0x8075CBD: ServiceHandler::process(ParsedPackage) (ServiceHandler.cpp:22)
==5730== by 0x8062607: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:90)
==5730== by 0x8055388: SdcpTcpComm<BTSocketServer>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x44E931B is 11 bytes inside a block of size 77 alloc'd
==5730== at 0x401F587: malloc (vg_replace_malloc.c:149)
==5730== by 0x8054806: SdcpTcpComm<BTSocketServer>::send(std::vector<std::vector<unsigned char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned char, std::allocator<unsigned char> > > >) (SdcpTcpComm.h:272)
==5730== by 0x80543F3: SdcpTcpComm<BTSocketServer>::send(SdcpPackageBuilder*) (SdcpTcpComm.h:314)
==5730== by 0x8062366: SdcpHandler::send(SdcpPackageBuilder*) (SdcpHandler.cpp:148)
==5730== by 0x8071667: Service::send(SdcpPackageBuilder*) (Service.cpp:70)
==5730== by 0x807034E: Service::process(ParsedPackage) (Service.cpp:147)
==5730== by 0x806E86C: Service::parseProtectedMessage(std::vector<unsigned char, std::allocator<unsigned char> >) (Service.cpp:308)
==5730== by 0x806F016: Service::processSec(ParsedPackage) (Service.cpp:273)
==5730== by 0x8075CBD: ServiceHandler::process(ParsedPackage) (ServiceHandler.cpp:22)
==5730== by 0x8062607: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:90)
==5730== by 0x8055388: SdcpTcpComm<BTSocketServer>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730==
==5730== 1 errors in context 5 of 34:
==5730== Syscall param socketcall.send(msg) points to uninitialised byte(s)
==5730== at 0x43B8F18: send (in /lib/libc-2.5.1.so)
==5730== by 0x80543F3: SdcpTcpComm<BTSocketServer>::send(SdcpPackageBuilder*) (SdcpTcpComm.h:314)
==5730== by 0x8062366: SdcpHandler::send(SdcpPackageBuilder*) (SdcpHandler.cpp:148)
==5730== by 0x807175C: Service::send(SdcpPackageBuilder*) (Service.cpp:74)
==5730== by 0x806E3B2: Service::establishSecurity(ParsedPackage) (Service.cpp:429)
==5730== by 0x806FF93: Service::process(ParsedPackage) (Service.cpp:128)
==5730== by 0x8076A07: ServiceHandler::process(ParsedPackage) (ServiceHandler.cpp:92)
==5730== by 0x8062607: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:90)
==5730== by 0x8055388: SdcpTcpComm<BTSocketServer>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x44E6BBB is 11 bytes inside a block of size 39 alloc'd
==5730== at 0x401F587: malloc (vg_replace_malloc.c:149)
==5730== by 0x8054806: SdcpTcpComm<BTSocketServer>::send(std::vector<std::vector<unsigned char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned char, std::allocator<unsigned char> > > >) (SdcpTcpComm.h:272)
==5730== by 0x80543F3: SdcpTcpComm<BTSocketServer>::send(SdcpPackageBuilder*) (SdcpTcpComm.h:314)
==5730== by 0x8062366: SdcpHandler::send(SdcpPackageBuilder*) (SdcpHandler.cpp:148)
==5730== by 0x807175C: Service::send(SdcpPackageBuilder*) (Service.cpp:74)
==5730== by 0x806E3B2: Service::establishSecurity(ParsedPackage) (Service.cpp:429)
==5730== by 0x806FF93: Service::process(ParsedPackage) (Service.cpp:128)
==5730== by 0x8076A07: ServiceHandler::process(ParsedPackage) (ServiceHandler.cpp:92)
==5730== by 0x8062607: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:90)
==5730== by 0x8055388: SdcpTcpComm<BTSocketServer>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== 1 errors in context 6 of 34:
==5730== Syscall param socketcall.send(msg) points to uninitialised byte(s)
==5730== at 0x43B8F18: send (in /lib/libc-2.5.1.so)
==5730== by 0x80543F3: SdcpTcpComm<BTSocketServer>::send(SdcpPackageBuilder*) (SdcpTcpComm.h:314)
==5730== by 0x8062366: SdcpHandler::send(SdcpPackageBuilder*) (SdcpHandler.cpp:148)
==5730== by 0x8076978: ServiceHandler::process(ParsedPackage) (ServiceHandler.cpp:85)
==5730== by 0x8062607: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:90)
==5730== by 0x8055388: SdcpTcpComm<BTSocketServer>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x44B4233 is 11 bytes inside a block of size 41 alloc'd
==5730== at 0x401F587: malloc (vg_replace_malloc.c:149)
==5730== by 0x8054806: SdcpTcpComm<BTSocketServer>::send(std::vector<std::vector<unsigned char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned char, std::allocator<unsigned char> > > >) (SdcpTcpComm.h:272)
==5730== by 0x80543F3: SdcpTcpComm<BTSocketServer>::send(SdcpPackageBuilder*) (SdcpTcpComm.h:314)
==5730== by 0x8062366: SdcpHandler::send(SdcpPackageBuilder*) (SdcpHandler.cpp:148)
==5730== by 0x8076978: ServiceHandler::process(ParsedPackage) (ServiceHandler.cpp:85)
==5730== by 0x8062607: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:90)
==5730== by 0x8055388: SdcpTcpComm<BTSocketServer>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== 1 errors in context 7 of 34:
==5730== Syscall param socketcall.send(msg) points to uninitialised byte(s)
==5730== at 0x43B8F18: send (in /lib/libc-2.5.1.so)
==5730== by 0x80543F3: SdcpTcpComm<BTSocketServer>::send(SdcpPackageBuilder*) (SdcpTcpComm.h:314)
==5730== by 0x8062366: SdcpHandler::send(SdcpPackageBuilder*) (SdcpHandler.cpp:148)
==5730== by 0x809C10B: Sub1Handler::process(ParsedPackage, bool) (SubHandler.cpp:34)
==5730== by 0x80626C4: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:95)
==5730== by 0x8055388: SdcpTcpComm<BTSocketServer>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x449ADCA is 10 bytes inside a block of size 45 alloc'd
==5730== at 0x401F587: malloc (vg_replace_malloc.c:149)
==5730== by 0x8054806: SdcpTcpComm<BTSocketServer>::send(std::vector<std::vector<unsigned char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned char, std::allocator<unsigned char> > > >) (SdcpTcpComm.h:272)
==5730== by 0x80543F3: SdcpTcpComm<BTSocketServer>::send(SdcpPackageBuilder*) (SdcpTcpComm.h:314)
==5730== by 0x8062366: SdcpHandler::send(SdcpPackageBuilder*) (SdcpHandler.cpp:148)
==5730== by 0x809C10B: Sub1Handler::process(ParsedPackage, bool) (SubHandler.cpp:34)
==5730== by 0x80626C4: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:95)
==5730== by 0x8055388: SdcpTcpComm<BTSocketServer>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== 1 errors in context 8 of 34:
==5730== Invalid write of size 4
==5730== at 0x8059D46: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:245)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x447D9F8 is 40 bytes inside a block of size 80 free'd
==5730== at 0x401EF02: operator delete(void*) (vg_replace_malloc.c:244)
==5730== by 0x805A4BD: SdcpTcpComm<IPSocketClient>::~SdcpTcpComm() (SdcpTcpComm.h:115)
==5730== by 0x805A343: SdcpTcpComm<IPSocketClient>::close() (SdcpTcpComm.h:169)
==5730== by 0x8062BCF: SdcpHandler::~SdcpHandler() (SdcpHandler.cpp:24)
==5730== by 0x8062A76: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:119)
==5730== by 0x8059CC2: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== 1 errors in context 9 of 34:
==5730== Invalid write of size 1
==5730== at 0x8059D3C: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:244)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x447D9F4 is 36 bytes inside a block of size 80 free'd
==5730== at 0x401EF02: operator delete(void*) (vg_replace_malloc.c:244)
==5730== by 0x805A4BD: SdcpTcpComm<IPSocketClient>::~SdcpTcpComm() (SdcpTcpComm.h:115)
==5730== by 0x805A343: SdcpTcpComm<IPSocketClient>::close() (SdcpTcpComm.h:169)
==5730== by 0x8062BCF: SdcpHandler::~SdcpHandler() (SdcpHandler.cpp:24)
==5730== by 0x8062A76: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:119)
==5730== by 0x8059CC2: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== 1 errors in context 10 of 34:
==5730== Invalid write of size 4
==5730== at 0x80517BC: std::vector<unsigned char, std::allocator<unsigned char> >::clear() (stl_vector.h:752)
==5730== by 0x8059D32: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:243)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x447DA00 is 48 bytes inside a block of size 80 free'd
==5730== at 0x401EF02: operator delete(void*) (vg_replace_malloc.c:244)
==5730== by 0x805A4BD: SdcpTcpComm<IPSocketClient>::~SdcpTcpComm() (SdcpTcpComm.h:115)
==5730== by 0x805A343: SdcpTcpComm<IPSocketClient>::close() (SdcpTcpComm.h:169)
==5730== by 0x8062BCF: SdcpHandler::~SdcpHandler() (SdcpHandler.cpp:24)
==5730== by 0x8062A76: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:119)
==5730== by 0x8059CC2: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== 1 errors in context 11 of 34:
==5730== Invalid read of size 4
==5730== at 0x80517B7: std::vector<unsigned char, std::allocator<unsigned char> >::clear() (stl_vector.h:752)
==5730== by 0x8059D32: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:243)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x447D9FC is 44 bytes inside a block of size 80 free'd
==5730== at 0x401EF02: operator delete(void*) (vg_replace_malloc.c:244)
==5730== by 0x805A4BD: SdcpTcpComm<IPSocketClient>::~SdcpTcpComm() (SdcpTcpComm.h:115)
==5730== by 0x805A343: SdcpTcpComm<IPSocketClient>::close() (SdcpTcpComm.h:169)
==5730== by 0x8062BCF: SdcpHandler::~SdcpHandler() (SdcpHandler.cpp:24)
==5730== by 0x8062A76: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:119)
==5730== by 0x8059CC2: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== 1 errors in context 12 of 34:
==5730== Invalid read of size 4
==5730== at 0x8051792: std::vector<unsigned char, std::allocator<unsigned char> >::clear() (stl_vector.h:750)
==5730== by 0x8059D32: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:243)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x447D9FC is 44 bytes inside a block of size 80 free'd
==5730== at 0x401EF02: operator delete(void*) (vg_replace_malloc.c:244)
==5730== by 0x805A4BD: SdcpTcpComm<IPSocketClient>::~SdcpTcpComm() (SdcpTcpComm.h:115)
==5730== by 0x805A343: SdcpTcpComm<IPSocketClient>::close() (SdcpTcpComm.h:169)
==5730== by 0x8062BCF: SdcpHandler::~SdcpHandler() (SdcpHandler.cpp:24)
==5730== by 0x8062A76: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:119)
==5730== by 0x8059CC2: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== 1 errors in context 13 of 34:
==5730== Invalid read of size 4
==5730== at 0x805178C: std::vector<unsigned char, std::allocator<unsigned char> >::clear() (stl_vector.h:750)
==5730== by 0x8059D32: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:243)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x447DA00 is 48 bytes inside a block of size 80 free'd
==5730== at 0x401EF02: operator delete(void*) (vg_replace_malloc.c:244)
==5730== by 0x805A4BD: SdcpTcpComm<IPSocketClient>::~SdcpTcpComm() (SdcpTcpComm.h:115)
==5730== by 0x805A343: SdcpTcpComm<IPSocketClient>::close() (SdcpTcpComm.h:169)
==5730== by 0x8062BCF: SdcpHandler::~SdcpHandler() (SdcpHandler.cpp:24)
==5730== by 0x8062A76: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:119)
==5730== by 0x8059CC2: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== 1 errors in context 14 of 34:
==5730== Invalid read of size 4
==5730== at 0x8068BAA: __gnu_cxx::__normal_iterator<SdcpPackage*, std::vector<SdcpPackage, std::allocator<SdcpPackage> > >::__normal_iterator(SdcpPackage* const&) (stl_iterator.h:650)
==5730== by 0x8068C25: std::vector<SdcpPackage, std::allocator<SdcpPackage> >::end() (stl_vector.h:351)
==5730== by 0x8068924: SdcpPackageParser::refresh() (SdcpPackageParser.cpp:17)
==5730== by 0x8059CE9: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:240)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x447D9E8 is 24 bytes inside a block of size 80 free'd
==5730== at 0x401EF02: operator delete(void*) (vg_replace_malloc.c:244)
==5730== by 0x805A4BD: SdcpTcpComm<IPSocketClient>::~SdcpTcpComm() (SdcpTcpComm.h:115)
==5730== by 0x805A343: SdcpTcpComm<IPSocketClient>::close() (SdcpTcpComm.h:169)
==5730== by 0x8062BCF: SdcpHandler::~SdcpHandler() (SdcpHandler.cpp:24)
==5730== by 0x8062A76: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:119)
==5730== by 0x8059CC2: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== 1 errors in context 15 of 34:
==5730== Invalid read of size 4
==5730== at 0x8068BAA: __gnu_cxx::__normal_iterator<SdcpPackage*, std::vector<SdcpPackage, std::allocator<SdcpPackage> > >::__normal_iterator(SdcpPackage* const&) (stl_iterator.h:650)
==5730== by 0x8068BCA: std::vector<SdcpPackage, std::allocator<SdcpPackage> >::begin() (stl_vector.h:333)
==5730== by 0x80688ED: SdcpPackageParser::refresh() (SdcpPackageParser.cpp:15)
==5730== by 0x8059CE9: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:240)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x447D9E4 is 20 bytes inside a block of size 80 free'd
==5730== at 0x401EF02: operator delete(void*) (vg_replace_malloc.c:244)
==5730== by 0x805A4BD: SdcpTcpComm<IPSocketClient>::~SdcpTcpComm() (SdcpTcpComm.h:115)
==5730== by 0x805A343: SdcpTcpComm<IPSocketClient>::close() (SdcpTcpComm.h:169)
==5730== by 0x8062BCF: SdcpHandler::~SdcpHandler() (SdcpHandler.cpp:24)
==5730== by 0x8062A76: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:119)
==5730== by 0x8059CC2: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== 2 errors in context 16 of 34:
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDC8C: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== 2 errors in context 17 of 34:
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDC7E: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== 2 errors in context 18 of 34:
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDC6F: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== 2 errors in context 19 of 34:
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDC68: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== 2 errors in context 20 of 34:
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDC53: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== 2 errors in context 21 of 34:
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDC4C: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== 2 errors in context 22 of 34:
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDC39: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== 2 errors in context 23 of 34:
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDC30: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== 2 errors in context 24 of 34:
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDC21: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== 2 errors in context 25 of 34:
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDC1A: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== 2 errors in context 26 of 34:
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDC07: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== 2 errors in context 27 of 34:
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDBFE: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== 2 errors in context 28 of 34:
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDBEF: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== 2 errors in context 29 of 34:
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDBE8: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== 3 errors in context 30 of 34:
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDC94: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== 3 errors in context 31 of 34:
==5730== Use of uninitialised value of size 4
==5730== at 0x40CDC77: _x86_AES_encrypt (in /lib/libcrypto.so.0.9.8h)
==5730==
==5730== 6 errors in context 32 of 34:
==5730== Invalid read of size 4
==5730== at 0x80B5714: SecurityManager::getBlockSize() (SecurityManager.cpp:165)
==5730== by 0x8059D84: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:248)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x447E298 is 8 bytes inside a block of size 1,068 free'd
==5730== at 0x401EF02: operator delete(void*) (vg_replace_malloc.c:244)
==5730== by 0x805A3F9: SdcpTcpComm<IPSocketClient>::~SdcpTcpComm() (SdcpTcpComm.h:115)
==5730== by 0x805A343: SdcpTcpComm<IPSocketClient>::close() (SdcpTcpComm.h:169)
==5730== by 0x8062BCF: SdcpHandler::~SdcpHandler() (SdcpHandler.cpp:24)
==5730== by 0x8062A76: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:119)
==5730== by 0x8059CC2: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== 6 errors in context 33 of 34:
==5730== Invalid read of size 4
==5730== at 0x8059D79: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:248)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x447DA1C is 76 bytes inside a block of size 80 free'd
==5730== at 0x401EF02: operator delete(void*) (vg_replace_malloc.c:244)
==5730== by 0x805A4BD: SdcpTcpComm<IPSocketClient>::~SdcpTcpComm() (SdcpTcpComm.h:115)
==5730== by 0x805A343: SdcpTcpComm<IPSocketClient>::close() (SdcpTcpComm.h:169)
==5730== by 0x8062BCF: SdcpHandler::~SdcpHandler() (SdcpHandler.cpp:24)
==5730== by 0x8062A76: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:119)
==5730== by 0x8059CC2: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730==
==5730== 7 errors in context 34 of 34:
==5730== Invalid read of size 1
==5730== at 0x8059D5B: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:248)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
==5730== Address 0x447DA08 is 56 bytes inside a block of size 80 free'd
==5730== at 0x401EF02: operator delete(void*) (vg_replace_malloc.c:244)
==5730== by 0x805A4BD: SdcpTcpComm<IPSocketClient>::~SdcpTcpComm() (SdcpTcpComm.h:115)
==5730== by 0x805A343: SdcpTcpComm<IPSocketClient>::close() (SdcpTcpComm.h:169)
==5730== by 0x8062BCF: SdcpHandler::~SdcpHandler() (SdcpHandler.cpp:24)
==5730== by 0x8062A76: SdcpHandler::receiveEvent(SdcpComm*, ParsedPackage) (SdcpHandler.cpp:119)
==5730== by 0x8059CC2: SdcpTcpComm<IPSocketClient>::receive() (SdcpTcpComm.h:239)
==5730== by 0x806A870: Server::mainLoop() (Server.cpp:75)
==5730== by 0x805B2ED: main (main.cpp:47)
--5730--
--5730-- supp: 31 dl-hack3
==5730==
==5730== IN SUMMARY: 68 errors from 34 contexts (suppressed: 31 from 1)
==5730==
==5730== malloc/free: in use at exit: 48,435 bytes in 659 blocks.
==5730== malloc/free: 3,026 allocs, 2,367 frees, 588,460 bytes allocated.
==5730==
==5730== searching for pointers to 659 not-freed blocks.
==5730== checked 279,224 bytes.
==5730==
==5730== LEAK SUMMARY:
==5730== definitely lost: 1,849 bytes in 64 blocks.
==5730== possibly lost: 2,365 bytes in 21 blocks.
==5730== still reachable: 44,221 bytes in 574 blocks.
==5730== suppressed: 0 bytes in 0 blocks.
==5730== Rerun with --leak-check=full to see details of leaked memory.
--5730-- memcheck: sanity checks: 14 cheap, 1 expensive
--5730-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--5730-- memcheck: auxmaps: 0 searches, 0 comparisons
--5730-- memcheck: SMs: n_issued = 31 (496k, 0M)
--5730-- memcheck: SMs: n_deissued = 0 (0k, 0M)
--5730-- memcheck: SMs: max_noaccess = 65535 (1048560k, 1023M)
--5730-- memcheck: SMs: max_undefined = 0 (0k, 0M)
--5730-- memcheck: SMs: max_defined = 319 (5104k, 4M)
--5730-- memcheck: SMs: max_non_DSM = 31 (496k, 0M)
--5730-- memcheck: max sec V bit nodes: 27 (1k, 0M)
--5730-- memcheck: set_sec_vbits8 calls: 1046 (new: 27, updates: 1019)
--5730-- memcheck: max shadow mem size: 801k, 0M
--5730-- translate: fast SP updates identified: 35,486 ( 91.4%)
--5730-- translate: generic_known SP updates identified: 1,707 ( 4.3%)
--5730-- translate: generic_unknown SP updates identified: 1,611 ( 4.1%)
--5730-- tt/tc: 33,789 tt lookups requiring 38,707 probes
--5730-- tt/tc: 33,789 fast-cache updates, 3 flushes
--5730-- transtab: new 13,616 (344,687 -> 6,035,574; ratio 175:10) [0 scs]
--5730-- transtab: dumped 0 (0 -> ??)
--5730-- transtab: discarded 8 (190 -> ??)
--5730-- scheduler: 1,516,982 jumps (bb entries).
--5730-- scheduler: 14/30,543 major/minor sched events.
--5730-- sanity: 15 cheap, 1 expensive checks.
--5730-- exectx: 30,011 lists, 1,615 contexts (avg 0 per list)
--5730-- exectx: 5,434 searches, 3,883 full compares (714 per 1000)
--5730-- exectx: 0 cmp2, 718 cmp4, 0 cmpAll