'2022/01/18'에 해당되는 글 2건

  1. 2022.01.18 뜬금없이 맥미니(혹은 맥북에어) 사고 싶다!!
  2. 2022.01.18 valgrind 누수 종류
개소리 왈왈/컴퓨터2022. 1. 18. 14:39

A1369

맥 에어 2011 mid / i5 1.7ghz / 13" 1440x900 / 1.35kg / nvme 제거 7만..

흐음. 아내님 윤허를 받아 일단 지르고

다음달에 nvme 질러서 한번 써볼까?

솔찍히 그냥 맥을 가지고, 써보고 싶다가 가장 큰거라 사서 머하는데 써먹지가 문제네?

 

[링크 : https://cafe.naver.com/joonggonara/892667172]

 

i5-2557m

[링크 : https://m.blog.naver.com/ingyw/120162250616]

[링크 : https://support.apple.com/kb/sp683?locale=ko_KR]

[링크 : https://ark.intel.com/.../intel-core-i5-2557m-processor-3m-cache-up-to-2-70-ghz.html]

 

nvme는 아니고 sata 타입.. 흐음..

[링크 : https://hoile.tistory.com/142]

 

option + 전원 on

[링크 : https://happycode.tistory.com/428] ssd 교치 시 os 설치방법

 

OS 버전은 high sierra 까지 가능하네

[링크 : https://support.apple.com/ko-kr/HT201862]

 

하나하나 조사하면서 지름신이 조금은 물리쳐지는 중 ㅠㅠ

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

컴퓨터 메인보드가 보니.  (0) 2022.02.12
gtx660 gtx750 gtx1030 hd7950  (0) 2022.02.07
뜬금없이 맥미니(혹은 맥북에어) 사고 싶다!!  (0) 2022.01.18
sd 메모리 지름  (0) 2022.01.10
VGA to HDMI 컨버터 분..해?  (0) 2021.12.20
2760p 써멀 재도포  (0) 2021.10.29
Posted by 구차니

댓글을 달아 주세요

상세 내용이 있으나 너무 길어서 눈에 안들어 오는데..

아무튼 요약하면 Direct는 일반 포인터, indirect는 링크드 리스크나 멀티 포인터 인데

이중할당해서 이전 할당을 추적하지 않을 경우라고 보면 될 듯.

     Pointer chain            AAA Leak Case   BBB Leak Case
     -------------            -------------   -------------
(1)  RRR ------------> BBB                    DR
(2)  RRR ---> AAA ---> BBB    DR              IR
(3)  RRR               BBB                    DL
(4)  RRR      AAA ---> BBB    DL              IL
(5)  RRR ------?-----> BBB                    (y)DR, (n)DL
(6)  RRR ---> AAA -?-> BBB    DR              (y)IR, (n)DL
(7)  RRR -?-> AAA ---> BBB    (y)DR, (n)DL    (y)IR, (n)IL
(8)  RRR -?-> AAA -?-> BBB    (y)DR, (n)DL    (y,y)IR, (n,y)IL, (_,n)DL
(9)  RRR      AAA -?-> BBB    DL              (y)IL, (n)DL

Pointer chain legend:
- RRR: a root set node or DR block
- AAA, BBB: heap blocks
- --->: a start-pointer
- -?->: an interior-pointer

Leak Case legend:
- DR: Directly reachable
- IR: Indirectly reachable
- DL: Directly lost
- IL: Indirectly lost
- (y)XY: it's XY if the interior-pointer is a real pointer
- (n)XY: it's XY if the interior-pointer is not a real pointer
- (_)XY: it's XY in either case
Every possible case can be reduced to one of the above nine. Memcheck merges some of these cases in its output, resulting in the following four leak kinds.

"Still reachable". This covers cases 1 and 2 (for the BBB blocks) above. A start-pointer or chain of start-pointers to the block is found. Since the block is still pointed at, the programmer could, at least in principle, have freed it before program exit. "Still reachable" blocks are very common and arguably not a problem. So, by default, Memcheck won't report such blocks individually.

"Definitely lost". This covers case 3 (for the BBB blocks) above. This means that no pointer to the block can be found. The block is classified as "lost", because the programmer could not possibly have freed it at program exit, since no pointer to it exists. This is likely a symptom of having lost the pointer at some earlier point in the program. Such cases should be fixed by the programmer.

"Indirectly lost". This covers cases 4 and 9 (for the BBB blocks) above. This means that the block is lost, not because there are no pointers to it, but rather because all the blocks that point to it are themselves lost. For example, if you have a binary tree and the root node is lost, all its children nodes will be indirectly lost. Because the problem will disappear if the definitely lost block that caused the indirect leak is fixed, Memcheck won't report such blocks individually by default.

"Possibly lost". This covers cases 5--8 (for the BBB blocks) above. This means that a chain of one or more pointers to the block has been found, but at least one of the pointers is an interior-pointer. This could just be a random value in memory that happens to point into a block, and so you shouldn't consider this ok unless you know you have interior-pointers.

[링크 : https://valgrind.org/docs/manual/mc-manual.html#mc-manual.leaks]

 

"still reachable" (memory that is pointed to by a pointer).
"directly lost" (memory that is not pointed to be any live pointer)
"indirectly lost" (memory that is pointed to by a pointer that is in memory that is "directly lost)
"possibly lost" (memory that is pointed to, but the pointer does not point to the start of the memory).

[링크 : https://stackoverflow.com/questions/24201561/valgrind-memory-leak-log]

 

 

'프로그램 사용 > valgrind' 카테고리의 다른 글

valgrind 누수 종류  (0) 2022.01.18
vaglind 사용  (0) 2022.01.14
valgrind 지원 플랫폼  (0) 2014.10.15
valgrind GUI frontend- kcachegrind / valkyrie  (0) 2014.10.15
Posted by 구차니

댓글을 달아 주세요