Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LeakSanitizer crash on 32 bit #1554

Open
memfissoftware opened this issue Jul 22, 2022 · 2 comments
Open

LeakSanitizer crash on 32 bit #1554

memfissoftware opened this issue Jul 22, 2022 · 2 comments

Comments

@memfissoftware
Copy link

memfissoftware commented Jul 22, 2022

==4414==Processing thread 4360.
==4414==Stack at 0xff5a1000-0xffda1000 (SP = 0xffd9cce0).
==4414==TLS at 0xf1b5c000-0xf1b63820.
Tracer caught signal 11: addr=0xe9d00000 pc=0x80c1dd0 sp=0xeb4ffd60
==4360==LeakSanitizer has encountered a fatal error.
==4360==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1
==4360==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc)

i have tried to close tls
with this but result is same.

export LSAN_OPTIONS=verbosity=1:log_threads=1:intercept_tls_get_addr=0:fast_unwind_on_malloc=1:use_tls=0:abort_on_error=1 UBSAN_OPTIONS=print_stacktrace=1

after I enable log_pointers I get following output:
==4043==Ignored: chunk 0xee001a20-0xee001ad0 of size 176.
==4043==Ignored: chunk 0xee001d90-0xee001e40 of size 176.
==4043==Scanning GLOBAL range 0x081d99e0-0x081e1240.
==4043==0x081ddc70: found 0xf060cb60 pointing into chunk 0xf060cb60-0xf060cb74 of size 20.
==4043==0x081de3f0: found 0xf0600480 pointing into chunk 0xf0600480-0xf0600494 of size 20.
==4043==Scanning GLOBAL range 0x08203100-0x0862fc60.
==4043==Scanning GLOBAL range 0xf7713000-0xf7717874.
==4043==Scanning GLOBAL range 0xf76420e4-0xf7643f38.
==4043==Scanning GLOBAL range 0xf75cc000-0xf7610c60.
==4043==0xf760ce48: found 0xe9a96929 pointing into chunk 0xe9a96920-0xe9ee6965 of size 4522053.
==4043==0xf760d320: found 0xeea5b500 pointing into chunk 0xeea5b500-0xeea5b508 of size 8.
==4043==0xf760ddb0: found 0xeea5bc90 pointing into chunk 0xeea5bc90-0xeea5bc94 of size 4.
==4043==0xf760dde0: found 0xeea5c620 pointing into chunk 0xeea5c620-0xeea5c624 of size 4.
==4043==0xf760dde4: found 0xeea5c410 pointing into chunk 0xeea5c410-0xeea5c414 of size 4.
==4043==0xf760ec1c: found 0xe6201a60 pointing into chunk 0xe6201a60-0xe6201a67 of size 7.
==4043==0xf760f7c4: found 0xefe00f40 pointing into chunk 0xefe00f40-0xefe00f74 of size 52.
==4043==0xf760fc14: found 0xf001b4e0 pointing into chunk 0xf001b4e0-0xf001b504 of size 36.
==4043==0xf760fc18: found 0xee86aa40 pointing into chunk 0xee86aa40-0xee86aa60 of size 32.
==4043==0xf7610880: found 0xefe00f00 pointing into chunk 0xefe00f00-0xefe00f34 of size 52.
==4043==Scanning GLOBAL range 0xf6e30a54-0xf6e30c38.
==4043==Scanning GLOBAL range 0xf6e269f8-0xf6e28d30.
==4043==Scanning GLOBAL range 0xf6e0bc38-0xf6e0efb0.
==4043==0xf6e0ced8: found 0xed203000 pointing into chunk 0xed203000-0xed203800 of size 2048.
==4043==0xf6e0eb08: found 0xee8579e0 pointing into chunk 0xee8579e0-0xee857a00 of size 32.
==4043==0xf6e0eb14: found 0xece00ff5 pointing into chunk 0xece00000-0xece01ff0 of size 8176.
==4043==0xf6e0eb60: found 0xee867640 pointing into chunk 0xee867640-0xee867660 of size 32.
==4043==0xf6e0eb70: found 0xee8652a0 pointing into chunk 0xee8652a0-0xee8652c0 of size 32.
==4043==0xf6e0eb74: found 0xf0018c60 pointing into chunk 0xf0018c60-0xf0018c90 of size 48.
==4043==0xf6e0eb78: found 0xf0018d20 pointing into chunk 0xf0018d20-0xf0018d50 of size 48.
==4043==0xf6e0eb7c: found 0xf001a820 pointing into chunk 0xf001a820-0xf001a841 of size 33.
==4043==0xf6e0eb80: found 0xeea5ca40 pointing into chunk 0xeea5ca40-0xeea5ca48 of size 8.
==4043==0xf6e0eb84: found 0xee867860 pointing into chunk 0xee867860-0xee867880 of size 32.
==4043==0xf6e0eba0: found 0xee8678c0 pointing into chunk 0xee8678c0-0xee8678d4 of size 20.
==4043==0xf6e0ece0: found 0xed203800 pointing into chunk 0xed203800-0xed204000 of size 2048.
==4043==0xf6e0ed0c: found 0xeea5be70 pointing into chunk 0xeea5be70-0xeea5be7c of size 12.
==4043==0xf6e0ed10: found 0xeea5c3d0 pointing into chunk 0xeea5c3d0-0xeea5c3dc of size 12.
==4043==0xf6e0ef60: found 0xeea5d1b0 pointing into chunk 0xeea5d1b0-0xeea5d1b4 of size 4.
==4043==Scanning GLOBAL range 0xf6cf1000-0xf6cf17e0.
==4043==0xf6cf17d8: found 0xeea5bfb0 pointing into chunk 0xeea5bfb0-0xeea5bfbc of size 12.
==4043==Scanning GLOBAL range 0xf6cdeeb0-0xf6cdf074.
==4043==Scanning GLOBAL range 0xf6cd9000-0xf6cda8d4.
==4043==Scanning GLOBAL range 0xf6c5a000-0xf6c619c0.
==4043==Scanning GLOBAL range 0xf6887a30-0xf68d8c40.
==4043==0xf68ccc00: found 0xe8284d20 pointing into chunk 0xe8284d20-0xe8284d50 of size 48.
==4043==0xf68ccc10: found 0xe7676800 pointing into chunk 0xe7676800-0xe7676810 of size 16.
==4043==Scanning GLOBAL range 0xf552575c-0xf5538de4.
==4043==0xf553656c: found 0xf0696a40 pointing into chunk 0xf0696a40-0xf0696a54 of size 20.
==4043==0xf5536570: found 0xf0697980 pointing into chunk 0xf0697980-0xf0697994 of size 20.
==4043==Scanning GLOBAL range 0xf4d2634c-0xf4d29c34.
==4043==Scanning GLOBAL range 0xf4c815e8-0xf4c81cb8.
==4043==Scanning GLOBAL range 0xf4c6dd7c-0xf4c70d94.
==4043==Scanning GLOBAL range 0xf4ba449c-0xf4ba66e0.
==4043==Scanning GLOBAL range 0xf4b1d628-0xf4b3fb38.
==4043==Scanning GLOBAL range 0xf42627ec-0xf4264ac4.
==4043==Scanning GLOBAL range 0xf41ee000-0xf41eed7c.
==4043==Scanning GLOBAL range 0xf41cd434-0xf41d28dc.
==4043==Scanning GLOBAL range 0xf4056000-0xf4059da0.
==4043==Scanning GLOBAL range 0xf3f6e620-0xf3f73960.
==4043==Scanning GLOBAL range 0xf3e34000-0xf3e38f78.
==4043==Scanning GLOBAL range 0xf3cd36cc-0xf3cd7b7c.
==4043==Scanning GLOBAL range 0xf3bcf070-0xf3bdee2c.
==4043==Scanning GLOBAL range 0xf3a21000-0xf3a275e0.
==4043==Scanning GLOBAL range 0xf3958000-0xf395ae24.
==4043==Scanning GLOBAL range 0xf3893064-0xf3897fc4.
==4043==Scanning GLOBAL range 0xf374d878-0xf374dc60.
==4043==Scanning GLOBAL range 0xf3731628-0xf3732d7c.
==4043==Scanning GLOBAL range 0xf36da118-0xf36dce54.
==4043==Scanning GLOBAL range 0xf3637ed8-0xf363bfe8.
==4043==Scanning GLOBAL range 0xf3529644-0xf3537df4.
==4043==Scanning GLOBAL range 0xf3205000-0xf32056f0.
==4043==Scanning GLOBAL range 0xf31f37dc-0xf31f5c7c.
==4043==Scanning GLOBAL range 0xf314f000-0xf318791c.
==4043==Scanning GLOBAL range 0xf24d79f8-0xf255db08.
==4043==Scanning GLOBAL range 0xf20cfec8-0xf20d0234.
==4043==Scanning GLOBAL range 0xf20c6ed8-0xf20c7080.
==4043==Scanning GLOBAL range 0xf209ad90-0xf209d1e0.
==4043==Scanning GLOBAL range 0xf20827c8-0xf2082b08.
==4043==Scanning GLOBAL range 0xf20601cc-0xf2065988.
==4043==0xf206235c: found 0xeea51008 pointing into chunk 0xeea51000-0xeea5100c of size 12.
==4043==0xf20629b4: found 0xeea51010 pointing into chunk 0xeea51010-0xeea5101c of size 12.
==4043==0xf2062ca4: found 0xeea50fc0 pointing into chunk 0xeea50fc0-0xeea50fd0 of size 16.
==4043==0xf2062ca8: found 0xef403480 pointing into chunk 0xef403480-0xef4035b8 of size 312.
==4043==0xf2063ae0: found 0xeea50fe0 pointing into chunk 0xeea50fe0-0xeea50fed of size 13.
==4043==0xf2063ae4: found 0xeea50ff0 pointing into chunk 0xeea50ff0-0xeea50ff4 of size 4.
==4043==Scanning GLOBAL range 0xf7738c60-0xf77398f8.
==4043==Scanning GLOBAL range 0xf1ecc000-0xf1ecdde8.
==4043==Scanning GLOBAL range 0xf1e4a000-0xf1e4acf0.
==4043==Scanning GLOBAL range 0xf1e32518-0xf1e327a0.
==4043==Scanning GLOBAL range 0xf1e23000-0xf1e2328c.
==4043==Scanning GLOBAL range 0xf1e1a1a8-0xf1e1a3a0.
==4043==Scanning GLOBAL range 0xf1e0f000-0xf1e0f2a8.
==4043==Scanning GLOBAL range 0xf1e05588-0xf1e05740.
==4043==Scanning GLOBAL range 0xf1e02398-0xf1e02824.
==4043==0xf1e02820: found 0xeee02f20 pointing into chunk 0xeee02f20-0xeee02fe4 of size 196.
==4043==Scanning GLOBAL range 0xf1dea000-0xf1ded620.
==4043==Scanning GLOBAL range 0xf1d54940-0xf1d55964.
==4043==0xf1d556a8: found 0xed603c00 pointing into chunk 0xed603c00-0xed603e90 of size 656.
==4043==0xf1d556e0: found 0xee855fe0 pointing into chunk 0xee855fe0-0xee856000 of size 32.
==4043==0xf1d55860: found 0xeea5bac0 pointing into chunk 0xeea5bac0-0xeea5bacc of size 12.
==4043==0xf1d55868: found 0xeea5c710 pointing into chunk 0xeea5c710-0xeea5c71c of size 12.
==4043==0xf1d5586c: found 0xeea5bfd0 pointing into chunk 0xeea5bfd0-0xeea5bfdc of size 12.
==4043==0xf1d55870: found 0xeea5c6f0 pointing into chunk 0xeea5c6f0-0xeea5c6fc of size 12.
==4043==0xf1d55874: found 0xeea5b9e0 pointing into chunk 0xeea5b9e0-0xeea5b9ec of size 12.
==4043==0xf1d55878: found 0xeea539a0 pointing into chunk 0xeea539a0-0xeea539ac of size 12.
==4043==0xf1d55880: found 0xeea547d0 pointing into chunk 0xeea547d0-0xeea547dc of size 12.
==4043==0xf1d55884: found 0xeea5b540 pointing into chunk 0xeea5b540-0xeea5b54c of size 12.
==4043==0xf1d55898: found 0xeea5c7c0 pointing into chunk 0xeea5c7c0-0xeea5c7cc of size 12.
==4043==0xf1d5589c: found 0xeea55250 pointing into chunk 0xeea55250-0xeea5525c of size 12.
==4043==0xf1d558a0: found 0xeea5c7a0 pointing into chunk 0xeea5c7a0-0xeea5c7ac of size 12.
==4043==0xf1d558a8: found 0xeea5bae0 pointing into chunk 0xeea5bae0-0xeea5baec of size 12.
==4043==0xf1d558ac: found 0xeea5bfc0 pointing into chunk 0xeea5bfc0-0xeea5bfcc of size 12.
==4043==0xf1d558b0: found 0xeea5c000 pointing into chunk 0xeea5c000-0xeea5c00c of size 12.
==4043==0xf1d558b4: found 0xeea5c790 pointing into chunk 0xeea5c790-0xeea5c79c of size 12.
==4043==0xf1d558b8: found 0xeea5c800 pointing into chunk 0xeea5c800-0xeea5c80c of size 12.
==4043==0xf1d558c0: found 0xeea5b920 pointing into chunk 0xeea5b920-0xeea5b92c of size 12.
==4043==0xf1d558c8: found 0xeea5bcc0 pointing into chunk 0xeea5bcc0-0xeea5bccc of size 12.
==4043==0xf1d558cc: found 0xeea54180 pointing into chunk 0xeea54180-0xeea5418c of size 12.
==4043==0xf1d558d0: found 0xeea5c6d0 pointing into chunk 0xeea5c6d0-0xeea5c6dc of size 12.
==4043==0xf1d558d4: found 0xeea5b930 pointing into chunk 0xeea5b930-0xeea5b93c of size 12.
==4043==0xf1d558d8: found 0xeea5b9f0 pointing into chunk 0xeea5b9f0-0xeea5b9fc of size 12.
==4043==0xf1d558e0: found 0xee862860 pointing into chunk 0xee862860-0xee862880 of size 32.
==4043==0xf1d558e4: found 0xee864400 pointing into chunk 0xee864400-0xee86441b of size 27.
==4043==0xf1d558e8: found 0xee863c20 pointing into chunk 0xee863c20-0xee863c36 of size 22.
==4043==0xf1d558ec: found 0xee8635c0 pointing into chunk 0xee8635c0-0xee8635dc of size 28.
==4043==0xf1d558f0: found 0xee863900 pointing into chunk 0xee863900-0xee863915 of size 21.
==4043==0xf1d558f4: found 0xee864020 pointing into chunk 0xee864020-0xee864034 of size 20.
==4043==0xf1d558f8: found 0xee8643e0 pointing into chunk 0xee8643e0-0xee8643f8 of size 24.
==4043==0xf1d558fc: found 0xee8639a0 pointing into chunk 0xee8639a0-0xee8639b5 of size 21.
==4043==0xf1d55900: found 0xee863a40 pointing into chunk 0xee863a40-0xee863a52 of size 18.
==4043==0xf1d55904: found 0xee863120 pointing into chunk 0xee863120-0xee863131 of size 17.
==4043==0xf1d55908: found 0xee8625a0 pointing into chunk 0xee8625a0-0xee8625ba of size 26.
==4043==0xf1d5590c: found 0xf001a160 pointing into chunk 0xf001a160-0xf001a185 of size 37.
==4043==0xf1d55910: found 0xee862820 pointing into chunk 0xee862820-0xee86283e of size 30.
==4043==0xf1d55914: found 0xf001a100 pointing into chunk 0xf001a100-0xf001a121 of size 33.
==4043==0xf1d55918: found 0xee854e60 pointing into chunk 0xee854e60-0xee854e7a of size 26.
==4043==0xf1d5591c: found 0xee863f40 pointing into chunk 0xee863f40-0xee863f5b of size 27.
==4043==0xf1d55920: found 0xee8630c0 pointing into chunk 0xee8630c0-0xee8630d7 of size 23.
==4043==0xf1d55924: found 0xee8626c0 pointing into chunk 0xee8626c0-0xee8626d8 of size 24.
==4043==0xf1d55928: found 0xee863840 pointing into chunk 0xee863840-0xee863857 of size 23.
==4043==0xf1d5592c: found 0xee8629e0 pointing into chunk 0xee8629e0-0xee8629fd of size 29.
==4043==0xf1d55930: found 0xee863ca0 pointing into chunk 0xee863ca0-0xee863cbf of size 31.
==4043==0xf1d55934: found 0xee856e60 pointing into chunk 0xee856e60-0xee856e76 of size 22.
==4043==0xf1d55938: found 0xee864cc0 pointing into chunk 0xee864cc0-0xee864cdc of size 28.
==4043==0xf1d5593c: found 0xee863620 pointing into chunk 0xee863620-0xee863639 of size 25.
==4043==0xf1d55940: found 0xee863960 pointing into chunk 0xee863960-0xee863979 of size 25.
==4043==0xf1d55944: found 0xee8638a0 pointing into chunk 0xee8638a0-0xee8638b6 of size 22.
==4043==0xf1d55948: found 0xee856e80 pointing into chunk 0xee856e80-0xee856e91 of size 17.
==4043==0xf1d5594c: found 0xf001a190 pointing into chunk 0xf001a190-0xf001a1b1 of size 33.
==4043==0xf1d55950: found 0xee864760 pointing into chunk 0xee864760-0xee86477d of size 29.
==4043==0xf1d55954: found 0xee862fa0 pointing into chunk 0xee862fa0-0xee862fb7 of size 23.
==4043==0xf1d55958: found 0xee8637e0 pointing into chunk 0xee8637e0-0xee863800 of size 32.
==4043==0xf1d5595c: found 0xef601c20 pointing into chunk 0xef601c20-0xef601c6c of size 76.
==4043==Scanning GLOBAL range 0xf1d16888-0xf1d1f6b8.
==4043==0xf1d1d1f8: found 0xf0800000 pointing into chunk 0xf0800000-0xf0804a00 of size 18944.
==4043==Scanning GLOBAL range 0xf1b3d37c-0xf1b3d5a4.
==4043==Scanning GLOBAL range 0xf1b38000-0xf1b38308.
==4043==Scanning GLOBAL range 0xf1b14000-0xf1b17298.
==4043==Scanning GLOBAL range 0xf1ad3518-0xf1ad3680.
==4043==Scanning GLOBAL range 0xf1ad0000-0xf1ad0188.
==4043==Scanning GLOBAL range 0xf1acb4d8-0xf1acb5f8.
==4043==Scanning GLOBAL range 0xf1ac9000-0xf1ac9a88.
==4043==Scanning GLOBAL range 0xf1ab1000-0xf1ab11c0.
==4043==Scanning GLOBAL range 0xf1aab61c-0xf1aabd28.
==4043==Scanning GLOBAL range 0xf1a9ee78-0xf1a9fc04.
==4043==Scanning GLOBAL range 0xf1a7d398-0xf1a80914.
==4043==Scanning GLOBAL range 0xf1a237c4-0xf1a24ffc.
==4043==Scanning GLOBAL range 0xf19fcac0-0xf19fcc44.
==4043==0xf19fcc40: found 0xee855c80 pointing into chunk 0xee855c80-0xee855c97 of size 23.
==4043==Processing thread 3979.
==4043==Scanning REGISTERS range 0xf0dcc000-0xf0dcc044.
==4043==Stack at 0xff03f000-0xff83f000 (SP = 0xff83aed0).
==4043==Scanning STACK range 0xff83aed0-0xff83f000.
==4043==Scanning HEAP range 0xee855c80-0xee855c97.
==4043==Scanning HEAP range 0xf0800000-0xf0804a00.
==4043==Scanning HEAP range 0xef601c20-0xef601c6c.
==4043==0xef601c20: found 0xeea5bb50 pointing into chunk 0xeea5bb50-0xeea5bb60 of size 16.
==4043==0xef601c24: found 0xeea5bf10 pointing into chunk 0xeea5bf10-0xeea5bf1c of size 12.
==4043==0xef601c28: found 0xeea5ba80 pointing into chunk 0xeea5ba80-0xeea5ba90 of size 16.
==4043==0xef601c2c: found 0xeea5bbf0 pointing into chunk 0xeea5bbf0-0xeea5bc00 of size 16.
==4043==0xef601c30: found 0xeea5ba70 pointing into chunk 0xeea5ba70-0xeea5ba80 of size 16.
==4043==0xef601c34: found 0xeea5c7e0 pointing into chunk 0xeea5c7e0-0xeea5c7ec of size 12.
==4043==0xef601c38: found 0xeea5ce00 pointing into chunk 0xeea5ce00-0xeea5ce0c of size 12.
==4043==0xef601c3c: found 0xeea545a0 pointing into chunk 0xeea545a0-0xeea545ac of size 12.
==4043==0xef601c44: found 0xeea5b990 pointing into chunk 0xeea5b990-0xeea5b9a0 of size 16.
==4043==0xef601c48: found 0xeea5b4a0 pointing into chunk 0xeea5b4a0-0xeea5b4b0 of size 16.
==4043==0xef601c4c: found 0xeea53d30 pointing into chunk 0xeea53d30-0xeea53d3c of size 12.
==4043==0xef601c50: found 0xeea5c020 pointing into chunk 0xeea5c020-0xeea5c02c of size 12.
==4043==0xef601c54: found 0xeea5ba10 pointing into chunk 0xeea5ba10-0xeea5ba1c of size 12.
==4043==0xef601c68: found 0xed001000 pointing into chunk 0xed001000-0xed001ff8 of size 4088.
==4043==Scanning HEAP range 0xed001000-0xed001ff8.
==4043==0xed001000: found 0xed003000 pointing into chunk 0xed003000-0xed003ff8 of size 4088.
==4043==0xed00100c: found 0xf0019e38 pointing into chunk 0xf0019e30-0xf0019e52 of size 34.
==4043==0xed001024: found 0xee865f08 pointing into chunk 0xee865f00-0xee865f1b of size 27.
==4043==0xed001030: found 0xee864968 pointing into chunk 0xee864960-0xee86497a of size 26.
==4043==0xed00103c: found 0xee866a08 pointing into chunk 0xee866a00-0xee866a16 of size 22.
==4043==0xed001048: found 0xee8669e8 pointing into chunk 0xee8669e0-0xee8669fa of size 26.
==4043==0xed001054: found 0xee8669c8 pointing into chunk 0xee8669c0-0xee8669d6 of size 22.
==4043==0xed001060: found 0xee863568 pointing into chunk 0xee863560-0xee86357c of size 28.
==4043==0xed001078: found 0xee862be8 pointing into chunk 0xee862be0-0xee862bfc of size 28.
==4043==0xed0010b4: found 0xee8649c8 pointing into chunk 0xee8649c0-0xee8649e0 of size 32.
==4043==0xed0010cc: found 0xee8669a8 pointing into chunk 0xee8669a0-0xee8669b9 of size 25.
==4043==0xed0010d8: found 0xee8649a8 pointing into chunk 0xee8649a0-0xee8649b4 of size 20.
==4043==0xed0010f0: found 0xee8609a8 pointing into chunk 0xee8609a0-0xee8609ba of size 26.
==4043==0xed0010fc: found 0xee865e68 pointing into chunk 0xee865e60-0xee865e76 of size 22.
==4043==0xed001108: found 0xee865e28 pointing into chunk 0xee865e20-0xee865e3a of size 26.
==4043==0xed001114: found 0xee865e08 pointing into chunk 0xee865e00-0xee865e1b of size 27.
==4043==0xed001120: found 0xee865de8 pointing into chunk 0xee865de0-0xee865df8 of size 24.
==4043==0xed00112c: found 0xee865dc8 pointing into chunk 0xee865dc0-0xee865dda of size 26.
==4043==0xed001138: found 0xee865da8 pointing into chunk 0xee865da0-0xee865dbb of size 27.
==4043==0xed001144: found 0xee865d88 pointing into chunk 0xee865d80-0xee865d9b of size 27.
==4043==0xed001150: found 0xee865d68 pointing into chunk 0xee865d60-0xee865d7a of size 26.
==4043==0xed00115c: found 0xee865d48 pointing into chunk 0xee865d40-0xee865d59 of size 25.
==4043==0xed001168: found 0xee865d28 pointing into chunk 0xee865d20-0xee865d39 of size 25.
==4043==0xed001174: found 0xee865d08 pointing into chunk 0xee865d00-0xee865d1a of size 26.
==4043==0xed001180: found 0xee865ce8 pointing into chunk 0xee865ce0-0xee865cf8 of size 24.
==4043==0xed00118c: found 0xee865cc8 pointing into chunk 0xee865cc0-0xee865cd2 of size 18.
==4043==0xed001198: found 0xee865ca8 pointing into chunk 0xee865ca0-0xee865cbc of size 28.
==4043==0xed0011a4: found 0xee865c88 pointing into chunk 0xee865c80-0xee865c9a of size 26.
==4043==0xed0011b0: found 0xee865c68 pointing into chunk 0xee865c60-0xee865c79 of size 25.
==4043==0xed0011bc: found 0xee865c48 pointing into chunk 0xee865c40-0xee865c58 of size 24.
==4043==0xed0011c8: found 0xee865c28 pointing into chunk 0xee865c20-0xee865c32 of size 18.
==4043==0xed001504: found 0xee866948 pointing into chunk 0xee866940-0xee866958 of size 24.
==4043==0xed001558: found 0xee865f88 pointing into chunk 0xee865f80-0xee865f96 of size 22.
==4043==0xed001564: found 0xee866928 pointing into chunk 0xee866920-0xee86693b of size 27.
==4043==0xed001570: found 0xee8648e8 pointing into chunk 0xee8648e0-0xee8648f4 of size 20.
==4043==0xed00157c: found 0xee866908 pointing into chunk 0xee866900-0xee866914 of size 20.
==4043==0xed001594: found 0xee8668e8 pointing into chunk 0xee8668e0-0xee866900 of size 32.
==4043==0xed0015a0: found 0xee865ee8 pointing into chunk 0xee865ee0-0xee865ef6 of size 22.
==4043==0xed0015d0: found 0xee864bc8 pointing into chunk 0xee864bc0-0xee864bd5 of size 21.
==4043==0xed0015e8: found 0xee856668 pointing into chunk 0xee856660-0xee85667b of size 27.
==4043==0xed00160c: found 0xee8668c8 pointing into chunk 0xee8668c0-0xee8668d5 of size 21.
==4043==0xed001618: found 0xee8668a8 pointing into chunk 0xee8668a0-0xee8668b7 of size 23.
==4043==0xed001624: found 0xee866888 pointing into chunk 0xee866880-0xee86689b of size 27.
==4043==0xed001630: found 0xee866868 pointing into chunk 0xee866860-0xee866875 of size 21.
==4043==0xed00163c: found 0xee866848 pointing into chunk 0xee866840-0xee866853 of size 19.
==4043==0xed001648: found 0xee866828 pointing into chunk 0xee866820-0xee866837 of size 23.
==4043==0xed001654: found 0xee866a28 pointing into chunk 0xee866a20-0xee866a3d of size 29.
==4043==0xed001660: found 0xee865fa8 pointing into chunk 0xee865fa0-0xee865fbb of size 27.
==4043==0xed001960: found 0xee864b28 pointing into chunk 0xee864b20-0xee864b32 of size 18.
==4043==0xed00196c: found 0xee864b88 pointing into chunk 0xee864b80-0xee864b96 of size 22.
==4043==0xed001978: found 0xee8667c8 pointing into chunk 0xee8667c0-0xee8667d5 of size 21.
==4043==0xed001984: found 0xee8667a8 pointing into chunk 0xee8667a0-0xee8667b5 of size 21.
==4043==0xed0019b4: found 0xee864948 pointing into chunk 0xee864940-0xee864955 of size 21.
==4043==0xed0019c0: found 0xee866748 pointing into chunk 0xee866740-0xee86675d of size 29.
==4043==0xed0019cc: found 0xee866728 pointing into chunk 0xee866720-0xee86673a of size 26.
==4043==0xed001a2c: found 0xee8648c8 pointing into chunk 0xee8648c0-0xee8648d5 of size 21.
==4043==0xed001a38: found 0xee866688 pointing into chunk 0xee866680-0xee866696 of size 22.
==4043==0xed001a44: found 0xee866648 pointing into chunk 0xee866640-0xee866652 of size 18.
==4043==0xed001a50: found 0xee8665c8 pointing into chunk 0xee8665c0-0xee8665d2 of size 18.
==4043==0xed001a5c: found 0xee865608 pointing into chunk 0xee865600-0xee865612 of size 18.
==4043==0xed001a74: found 0xee866480 pointing into chunk 0xee866480-0xee8664a0 of size 32.
==4043==0xed001a98: found 0xee8654a8 pointing into chunk 0xee8654a0-0xee8654b4 of size 20.
==4043==0xed001ab0: found 0xee866408 pointing into chunk 0xee866400-0xee866413 of size 19.
==4043==0xed001ad4: found 0xee866388 pointing into chunk 0xee866380-0xee866391 of size 17.
==4043==Scanning HEAP range 0xee866380-0xee866391.
==4043==0xee866380: found 0xefe05440 pointing into chunk 0xefe05440-0xefe05474 of size 52.
==4043==Scanning HEAP range 0xefe05440-0xefe05474.
==4043==0xefe05440: found 0xee86ea00 pointing into chunk 0xee86ea00-0xee86ea18 of size 24.
==4043==Scanning HEAP range 0xee86ea00-0xee86ea18.
==4043==0xee86ea00: found 0xefe06bc0 pointing into chunk 0xefe06bc0-0xefe06bf8 of size 56.
==4043==Scanning HEAP range 0xefe06bc0-0xefe06bf8.
==4043==0xefe06bc0: found 0xefe06a40 pointing into chunk 0xefe06a40-0xefe06a78 of size 56.
==4043==Scanning HEAP range 0xefe06a40-0xefe06a78.
==4043==0xefe06a40: found 0xf001c0b0 pointing into chunk 0xf001c0b0-0xf001c0d1 of size 33.
==4043==Scanning HEAP range 0xf001c0b0-0xf001c0d1.
==4043==0xf001c0b0: found 0xf001bff0 pointing into chunk 0xf001bff0-0xf001c013 of size 35.
==4043==Scanning HEAP range 0xf001bff0-0xf001c013.
==4043==0xf001bff0: found 0xefe06040 pointing into chunk 0xefe06040-0xefe0607a of size 58.
==4043==Scanning HEAP range 0xefe06040-0xefe0607a.
==4043==Scanning HEAP range 0xee866400-0xee866413.
==4043==0xee866400: found 0xee86d020 pointing into chunk 0xee86d020-0xee86d033 of size 19.
==4043==Scanning HEAP range 0xee86d020-0xee86d033.
==4043==0xee86d020: found 0xee86ec60 pointing into chunk 0xee86ec60-0xee86ec74 of size 20.
==4043==Scanning HEAP range 0xee86ec60-0xee86ec74.
==4043==0xee86ec60: found 0xefe05200 pointing into chunk 0xefe05200-0xefe05234 of size 52.
==4043==Scanning HEAP range 0xefe05200-0xefe05234.
==4043==0xefe05200: found 0xefe04fc0 pointing into chunk 0xefe04fc0-0xefe04ffa of size 58.
==4043==Scanning HEAP range 0xefe04fc0-0xefe04ffa.
==4043==0xefe04fc0: found 0xef6039d0 pointing into chunk 0xef6039d0-0xef603a12 of size 66.
==4043==Scanning HEAP range 0xef6039d0-0xef603a12.
==4043==0xef6039d0: found 0xefe06c40 pointing into chunk 0xefe06c40-0xefe06c78 of size 56.
==4043==Scanning HEAP range 0xefe06c40-0xefe06c78.
==4043==0xefe06c44: found 0xe9cb03da pointing into chunk 0xe9cb03c0-0xe9cb0421 of size 97.
==4043==Scanning HEAP range 0xe9cb03c0-0xe9cb0421.
==4043==Scanning HEAP range 0xee8654a0-0xee8654b4.
==4043==Scanning HEAP range 0xee866480-0xee8664a0.
==4043==Scanning HEAP range 0xee865600-0xee865612.
==4043==0xee865600: found 0xee863d40 pointing into chunk 0xee863d40-0xee863d58 of size 24.
==4043==Scanning HEAP range 0xee863d40-0xee863d58.
==4043==0xee863d40: found 0xf001a070 pointing into chunk 0xf001a070-0xf001a092 of size 34.
==4043==Scanning HEAP range 0xf001a070-0xf001a092.
==4043==0xf001a070: found 0xee863a60 pointing into chunk 0xee863a60-0xee863a75 of size 21.
==4043==Scanning HEAP range 0xee863a60-0xee863a75.
==4043==Scanning HEAP range 0xee8665c0-0xee8665d2.
==4043==0xee8665c0: found 0xee86dec0 pointing into chunk 0xee86dec0-0xee86ded4 of size 20.
==4043==Scanning HEAP range 0xee86dec0-0xee86ded4.
==4043==0xee86dec0: found 0xee86e360 pointing into chunk 0xee86e360-0xee86e37e of size 30.
==4043==Scanning HEAP range 0xee86e360-0xee86e37e.
==4043==0xee86e360: found 0xefe06800 pointing into chunk 0xefe06800-0xefe06838 of size 56.
==4043==Scanning HEAP range 0xefe06800-0xefe06838.
==4043==0xefe06804: found 0xe9cb739a pointing into chunk 0xe9cb7380-0xea3773f3 of size 7078003.
==4043==Scanning HEAP range 0xe9cb7380-0xea3773f3.
Tracer caught signal 11: addr=0xe9d00000 pc=0x80c1eb0 sp=0xeb2ffd60
==3979==LeakSanitizer has encountered a fatal error.
==3979==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1
==3979==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc)

@memfissoftware
Copy link
Author

and debugging output is:

1 0xf1fabb11 in raise () from /lib/libc.so.6
#2 0xf1fad3ea in abort () from /lib/libc.so.6
#3 0x080b6766 in __sanitizer::Abort() () at /workspace/eans/clang/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp:155
#4 0x080b4659 in __sanitizer::Die() () at /workspace/eans/clang/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_termination.cpp:58
#5 0x080c5eb5 in __lsan::CheckForLeaks() () at /workspace/eans/clang/llvm/projects/compiler-rt/lib/lsan/lsan_common.cpp:582
#6 0x080c5ef4 in __lsan::DoLeakCheck() () at /workspace/eans/clang/llvm/projects/compiler-rt/lib/lsan/lsan_common.cpp:613
#7 0xf1faf14f in exit () from /lib/libc.so.6
#8 0xf1f97cee in __libc_start_main () from /lib/libc.so.6
#9 0x08099741 in _start ()

(gdb) x/5i 0xe9d00000
0xe9d00000: add %al,(%eax)
0xe9d00002: add %al,(%eax)
0xe9d00004: subb $0x0,0xeb(,%eiz,2)
0xe9d0000c: add $0x0,%al
0xe9d0000e: add %al,(%eax)
(gdb)

@memfissoftware
Copy link
Author

memfissoftware commented Jul 24, 2022

I tried to attach another app to gdb under roor user but nothing has changed.

Detaching after fork from child process 2157.
==2158==Could not attach to thread 2149 (errno 1).
==2158==Failed suspending threads.
==2149==LeakSanitizer has encountered a fatal error.
==2149==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1
==2149==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc)

Program received signal SIGABRT, Aborted.
0xf7fdd430 in __kernel_vsyscall ()
Missing separate debuginfos, use: debuginfo-install libxmlqt-1.0.4-main-1.0.4-1.i386 qt5-5.6.0-5.6.0-8.el6.i686 glib2-2.22.5-7.el6.i686 glibc-2.12-1.107.el6_4.2.i686 libXau-1.0.6-4.el6.i686 libXdamage-1.1.3-4.el6.i686 libXext-1.3.1-2.el6.i686 libXfixes-5.0-3.el6.i686 libXxf86vm-1.1.2-2.el6.i686 libdrm-2.4.39-1.el6.i686 libicu-4.2.1-9.1.el6_2.i686 libpng-1.2.49-1.el6_2.i686 libselinux-2.0.94-5.3.el6_4.1.i686 libxcb-1.8.1-1.el6.i686 mesa-dri-drivers-9.0-0.8.el6_4.3.i686 mesa-libGL-9.0-0.8.el6_4.3.i686 zlib-1.2.3-29.el6.i686
(gdb) backtrace
#0 0xf7fdd430 in __kernel_vsyscall ()
#1 0xf5856b11 in raise () from /lib/libc.so.6
#2 0xf58583ea in abort () from /lib/libc.so.6
#3 0x08068c96 in __sanitizer::Abort() ()
at /workspace/eans/clang/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp:155
#4 0x08066b89 in __sanitizer::Die() ()
at /workspace/eans/clang/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_termination.cpp:58
#5 0x080783e5 in __lsan::CheckForLeaks() ()
at /workspace/eans/clang/llvm/projects/compiler-rt/lib/lsan/lsan_common.cpp:582
#6 0x08078424 in __lsan::DoLeakCheck() ()
at /workspace/eans/clang/llvm/projects/compiler-rt/lib/lsan/lsan_common.cpp:613
#7 0xf585a14f in exit () from /lib/libc.so.6
#8 0xf5842cee in __libc_start_main () from /lib/libc.so.6
#9 0x0804bc11 in _start ()
(gdb)

then I have disabled abort_on_error=0. I got following output:
Detaching after fork from child process 20851.
==20852==Could not attach to thread 20826 (errno 1).
==20852==Failed suspending threads.
==20826==LeakSanitizer has encountered a fatal error.
==20826==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1
==20826==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc)

Program exited with code 027.
Missing separate debuginfos, use: debuginfo-install qt3-3.3.8.4-3.3.8.4-11.el6.i686 expat-2.0.1-11.el6_2.i686 fontconfig-2.8.0-3.el6.i686 freetype-2.3.11-14.el6_3.1.i686 glibc-2.12-1.107.el6_4.2.i686 libICE-1.0.6-1.el6.i686 libSM-1.2.1-2.el6.i686 libXau-1.0.6-4.el6.i686 libXcursor-1.1.13-2.el6.i686 libXdamage-1.1.3-4.el6.i686 libXext-1.3.1-2.el6.i686 libXfixes-5.0-3.el6.i686 libXft-2.3.1-2.el6.i686 libXi-1.6.1-3.el6.i686 libXinerama-1.1.2-2.el6.i686 libXmu-1.1.1-2.el6.i686 libXrandr-1.4.0-1.el6.i686 libXrender-0.9.7-2.el6.i686 libXt-1.1.3-1.el6.i686 libXxf86vm-1.1.2-2.el6.i686 libdrm-2.4.39-1.el6.i686 libselinux-2.0.94-5.3.el6_4.1.i686 libuuid-2.17.2-12.9.el6_4.3.i686 libxcb-1.8.1-1.el6.i686 mesa-dri-drivers-9.0-0.8.el6_4.3.i686 mesa-libGL-9.0-0.8.el6_4.3.i686

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant