'잡동사니'에 해당되는 글 13318건

  1. 2022.01.18 뜬금없이 맥미니(혹은 맥북에어) 사고 싶다!!
  2. 2022.01.18 valgrind 누수 종류
  3. 2022.01.17 weston client 메모리 누수
  4. 2022.01.16 선풍기 수리
  5. 2022.01.15 토요일
  6. 2022.01.14 vaglind 사용
  7. 2022.01.13 wayland buffer
  8. 2022.01.12 수면부족..
  9. 2022.01.11 linux 터미널 pause, resume
  10. 2022.01.10 sd 메모리 지름
개소리 왈왈/컴퓨터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
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 callgrind  (0) 2023.07.07
vaglind 사용  (0) 2022.01.14
valgrind 지원 플랫폼  (0) 2014.10.15
valgrind GUI frontend- kcachegrind / valkyrie  (0) 2014.10.15
Posted by 구차니
프로그램 사용/wayland2022. 1. 17. 17:36

누수는 누수인데 늘어나진 않는 누수인 것 같아서 일단 패스.

 

[링크 : https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/18]

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

wayland wl_fixed_t 변수  (0) 2022.02.07
wayvnc  (0) 2022.01.24
wayland buffer  (0) 2022.01.13
wayland client example  (0) 2022.01.06
weston window transform  (0) 2022.01.06
Posted by 구차니

기동 콘덴서 교체

구매하려다가 아부지가 여분으로 가지고 계셔서 받아오니 교체하고 보니 잘 돌아간다. 

(테스터기 좋은거 쓰셔서 1.2uF 짜리 용량 체크하고 받음)

그래도 아주 강하진 않지만 그런대로 쎄짐

 

그래서 교체한걸 보내드리니 0.8uF로 용량이 줄어있다고 확인해주심.

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

휴가 1일차  (0) 2022.01.29
빔 지름  (0) 2022.01.22
토요일  (0) 2022.01.15
선풍기 기동 콘덴서  (6) 2022.01.09
자동차 에어컨 필터 구매  (4) 2022.01.03
Posted by 구차니

으아아 애들 데리고 멀 하고 놀지!?

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

빔 지름  (0) 2022.01.22
선풍기 수리  (0) 2022.01.16
선풍기 기동 콘덴서  (6) 2022.01.09
자동차 에어컨 필터 구매  (4) 2022.01.03
휴가 끄으으으읕!!  (2) 2022.01.02
Posted by 구차니

 

valgrind --leak-check=full ./run_file

[링크 : https://m.blog.naver.com/cksdn788/220380070991]

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

valgrind callgrind  (0) 2023.07.07
valgrind 누수 종류  (0) 2022.01.18
valgrind 지원 플랫폼  (0) 2014.10.15
valgrind GUI frontend- kcachegrind / valkyrie  (0) 2014.10.15
Posted by 구차니
프로그램 사용/wayland2022. 1. 13. 10:13

wayland screenshooter에서 shared memory를 이용하여

캡쳐한 이미지를 공유하는데 해당 내용에 대한 정리가 잘되어 있어서 링크!

 

[링크 : https://nemoux00.wordpress.com/2014/02/13/wayland-버퍼-관리/]

[링크 : https://wayland-book.com/surfaces/shared-memory.html]

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

wayvnc  (0) 2022.01.24
weston client 메모리 누수  (0) 2022.01.17
wayland client example  (0) 2022.01.06
weston window transform  (0) 2022.01.06
weston-screenshooter 실행에러  (0) 2022.01.05
Posted by 구차니

항상 잠을 잘 못자면..

수면불량인가?

어깨가 아파서 치료를 시작했지만

영 차이가 없네. .ㅠㅠ

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

기절  (0) 2022.02.19
주말인데 야근.  (0) 2022.01.23
SMA TO BNC 도착  (0) 2021.12.17
장난감 겟! (응?)  (0) 2021.11.24
외근  (0) 2021.11.23
Posted by 구차니
Linux2022. 1. 11. 16:20

'Linux' 카테고리의 다른 글

sort 컬럼 별 정렬하기  (0) 2022.02.08
elementary os  (0) 2022.01.28
systemctl TTYPath  (0) 2022.01.06
uniq 카운트  (0) 2021.12.07
grep 바이너리 파일 일치함  (0) 2021.12.06
Posted by 구차니
개소리 왈왈/컴퓨터2022. 1. 10. 21:09

64GB 하나는 돈을 받을까 말까 고민

다른 하나는 어무이 용량 부족하다고 하셨었으니..

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

gtx660 gtx750 gtx1030 hd7950  (0) 2022.02.07
뜬금없이 맥미니(혹은 맥북에어) 사고 싶다!!  (0) 2022.01.18
VGA to HDMI 컨버터 분..해?  (0) 2021.12.20
2760p 써멀 재도포  (0) 2021.10.29
2760p 써멀이 굳었나?  (0) 2021.10.25
Posted by 구차니