SHARE
TWEET

Debug when unload the server-time cap module (u5 stucked)

westor Sep 20th, 2019 (edited) 9 in 163 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. =================================================================
  2. ==16034==ERROR: LeakSanitizer: detected memory leaks
  3.  
  4. Direct leak of 1380 byte(s) in 134 object(s) allocated from:
  5.     #0 0x7f6fb3728538 in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x77538)
  6.     #1 0x5590b7535218 in our_strdup /home/westor/unrealircd_5_source/unrealircd/src/support.c:724
  7.     #2 0x5590b74d2ad2 in Module_Create /home/westor/unrealircd_5_source/unrealircd/src/modules.c:401
  8.     #3 0x5590b750d7d8 in _conf_loadmodule /home/westor/unrealircd_5_source/unrealircd/src/conf.c:8748
  9.     #4 0x5590b750d950 in config_loadmodules /home/westor/unrealircd_5_source/unrealircd/src/conf.c:1798
  10.     #5 0x5590b75122e7 in init_conf /home/westor/unrealircd_5_source/unrealircd/src/conf.c:1847
  11.     #6 0x5590b74c7a98 in main /home/westor/unrealircd_5_source/unrealircd/src/ircd.c:1155
  12.     #7 0x7f6fb1e98b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
  13.  
  14. Direct leak of 79 byte(s) in 1 object(s) allocated from:
  15.     #0 0x7f6fb3728538 in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x77538)
  16.     #1 0x5590b7535218 in our_strdup /home/westor/unrealircd_5_source/unrealircd/src/support.c:724
  17.     #2 0x7f6f9d8cd709  (<unknown module>)
  18.     #3 0x5590b74d2b97 in Module_Create /home/westor/unrealircd_5_source/unrealircd/src/modules.c:427
  19.     #4 0x5590b750d7d8 in _conf_loadmodule /home/westor/unrealircd_5_source/unrealircd/src/conf.c:8748
  20.     #5 0x5590b750d950 in config_loadmodules /home/westor/unrealircd_5_source/unrealircd/src/conf.c:1798
  21.     #6 0x5590b75122e7 in init_conf /home/westor/unrealircd_5_source/unrealircd/src/conf.c:1847
  22.     #7 0x5590b74c7a98 in main /home/westor/unrealircd_5_source/unrealircd/src/ircd.c:1155
  23.     #8 0x7f6fb1e98b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
  24.  
  25. Direct leak of 65 byte(s) in 1 object(s) allocated from:
  26.     #0 0x7f6fb3728538 in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x77538)
  27.     #1 0x5590b7535218 in our_strdup /home/westor/unrealircd_5_source/unrealircd/src/support.c:724
  28.     #2 0x5590b74f5244 in postconf_defaults /home/westor/unrealircd_5_source/unrealircd/src/conf.c:1597
  29.     #3 0x5590b74f5700 in postconf /home/westor/unrealircd_5_source/unrealircd/src/conf.c:1706
  30.     #4 0x5590b751241e in init_conf /home/westor/unrealircd_5_source/unrealircd/src/conf.c:1929
  31.     #5 0x5590b74c7a98 in main /home/westor/unrealircd_5_source/unrealircd/src/ircd.c:1155
  32.     #6 0x7f6fb1e98b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
  33.  
  34. Direct leak of 64 byte(s) in 1 object(s) allocated from:
  35.     #0 0x7f6fb378fd38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
  36.     #1 0x5590b753510c in safe_alloc /home/westor/unrealircd_5_source/unrealircd/src/support.c:716
  37.     #2 0x5590b75474e2 in MessageTagHandlerAdd /home/westor/unrealircd_5_source/unrealircd/src/api-messagetag.c:91
  38.     #3 0x7f6f9f953c94  (<unknown module>)
  39.     #4 0x5590b74d2ea5 in Init_all_testing_modules /home/westor/unrealircd_5_source/unrealircd/src/modules.c:492
  40.     #5 0x5590b7512667 in init_conf /home/westor/unrealircd_5_source/unrealircd/src/conf.c:1888
  41.     #6 0x5590b74c7a98 in main /home/westor/unrealircd_5_source/unrealircd/src/ircd.c:1155
  42.     #7 0x7f6fb1e98b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
  43.  
  44. Direct leak of 32 byte(s) in 1 object(s) allocated from:
  45.     #0 0x7f6fb378fd38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
  46.     #1 0x5590b753510c in safe_alloc /home/westor/unrealircd_5_source/unrealircd/src/support.c:716
  47.     #2 0x5590b75449f4 in ISupportAdd /home/westor/unrealircd_5_source/unrealircd/src/api-isupport.c:223
  48.     #3 0x7f6fad7c8b31  (<unknown module>)
  49.     #4 0x5590b74d2ea5 in Init_all_testing_modules /home/westor/unrealircd_5_source/unrealircd/src/modules.c:492
  50.     #5 0x5590b7512667 in init_conf /home/westor/unrealircd_5_source/unrealircd/src/conf.c:1888
  51.     #6 0x5590b74c7a98 in main /home/westor/unrealircd_5_source/unrealircd/src/ircd.c:1155
  52.     #7 0x7f6fb1e98b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
  53.  
  54. Direct leak of 32 byte(s) in 1 object(s) allocated from:
  55.     #0 0x7f6fb378fd38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
  56.     #1 0x5590b753510c in safe_alloc /home/westor/unrealircd_5_source/unrealircd/src/support.c:716
  57.     #2 0x5590b75449f4 in ISupportAdd /home/westor/unrealircd_5_source/unrealircd/src/api-isupport.c:223
  58.     #3 0x7f6fabb5e62e  (<unknown module>)
  59.     #4 0x5590b74d2ea5 in Init_all_testing_modules /home/westor/unrealircd_5_source/unrealircd/src/modules.c:492
  60.     #5 0x5590b7512667 in init_conf /home/westor/unrealircd_5_source/unrealircd/src/conf.c:1888
  61.     #6 0x5590b74c7a98 in main /home/westor/unrealircd_5_source/unrealircd/src/ircd.c:1155
  62.     #7 0x7f6fb1e98b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
  63.  
  64. Direct leak of 32 byte(s) in 1 object(s) allocated from:
  65.     #0 0x7f6fb378fd38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
  66.     #1 0x5590b753510c in safe_alloc /home/westor/unrealircd_5_source/unrealircd/src/support.c:716
  67.     #2 0x5590b75449f4 in ISupportAdd /home/westor/unrealircd_5_source/unrealircd/src/api-isupport.c:223
  68.     #3 0x7f6faa727bca  (<unknown module>)
  69.     #4 0x5590b74d2ea5 in Init_all_testing_modules /home/westor/unrealircd_5_source/unrealircd/src/modules.c:492
  70.     #5 0x5590b7512667 in init_conf /home/westor/unrealircd_5_source/unrealircd/src/conf.c:1888
  71.     #6 0x5590b74c7a98 in main /home/westor/unrealircd_5_source/unrealircd/src/ircd.c:1155
  72.     #7 0x7f6fb1e98b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
  73.  
  74. Direct leak of 16 byte(s) in 1 object(s) allocated from:
  75.     #0 0x7f6fb378fd38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
  76.     #1 0x5590b753510c in safe_alloc /home/westor/unrealircd_5_source/unrealircd/src/support.c:716
  77.     #2 0x7f6fa47ffae8  (<unknown module>)
  78.     #3 0x5590b74d2ea5 in Init_all_testing_modules /home/westor/unrealircd_5_source/unrealircd/src/modules.c:492
  79.     #4 0x5590b7512667 in init_conf /home/westor/unrealircd_5_source/unrealircd/src/conf.c:1888
  80.     #5 0x5590b74c7a98 in main /home/westor/unrealircd_5_source/unrealircd/src/ircd.c:1155
  81.     #6 0x7f6fb1e98b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
  82.  
  83. Indirect leak of 5 byte(s) in 1 object(s) allocated from:
  84.     #0 0x7f6fb3728538 in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x77538)
  85.     #1 0x5590b7535218 in our_strdup /home/westor/unrealircd_5_source/unrealircd/src/support.c:724
  86.     #2 0x5590b7547525 in MessageTagHandlerAdd /home/westor/unrealircd_5_source/unrealircd/src/api-messagetag.c:92
  87.     #3 0x7f6f9f953c94  (<unknown module>)
  88.     #4 0x5590b74d2ea5 in Init_all_testing_modules /home/westor/unrealircd_5_source/unrealircd/src/modules.c:492
  89.     #5 0x5590b7512667 in init_conf /home/westor/unrealircd_5_source/unrealircd/src/conf.c:1888
  90.     #6 0x5590b74c7a98 in main /home/westor/unrealircd_5_source/unrealircd/src/ircd.c:1155
  91.     #7 0x7f6fb1e98b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
  92.  
  93. SUMMARY: AddressSanitizer: 1705 byte(s) leaked in 142 allocation(s).
  94.  
  95. =================================================================
  96. ==18654==ERROR: LeakSanitizer: detected memory leaks
  97.  
  98. Direct leak of 1380 byte(s) in 134 object(s) allocated from:
  99.     #0 0x7f1aff03d538 in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x77538)
  100.     #1 0x559f3685f218 in our_strdup /home/westor/unrealircd_5_source/unrealircd/src/support.c:724
  101.     #2 0x559f367fcad2 in Module_Create /home/westor/unrealircd_5_source/unrealircd/src/modules.c:401
  102.     #3 0x559f368377d8 in _conf_loadmodule /home/westor/unrealircd_5_source/unrealircd/src/conf.c:8748
  103.     #4 0x559f36837950 in config_loadmodules /home/westor/unrealircd_5_source/unrealircd/src/conf.c:1798
  104.     #5 0x559f3683c2e7 in init_conf /home/westor/unrealircd_5_source/unrealircd/src/conf.c:1847
  105.     #6 0x559f367f1a98 in main /home/westor/unrealircd_5_source/unrealircd/src/ircd.c:1155
  106.     #7 0x7f1afd7adb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
  107.  
  108. Direct leak of 79 byte(s) in 1 object(s) allocated from:
  109.     #0 0x7f1aff03d538 in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x77538)
  110.     #1 0x559f3685f218 in our_strdup /home/westor/unrealircd_5_source/unrealircd/src/support.c:724
  111.     #2 0x7f1ae91cd709  (<unknown module>)
  112.     #3 0x559f367fcb97 in Module_Create /home/westor/unrealircd_5_source/unrealircd/src/modules.c:427
  113.     #4 0x559f368377d8 in _conf_loadmodule /home/westor/unrealircd_5_source/unrealircd/src/conf.c:8748
  114.     #5 0x559f36837950 in config_loadmodules /home/westor/unrealircd_5_source/unrealircd/src/conf.c:1798
  115.     #6 0x559f3683c2e7 in init_conf /home/westor/unrealircd_5_source/unrealircd/src/conf.c:1847
  116.     #7 0x559f367f1a98 in main /home/westor/unrealircd_5_source/unrealircd/src/ircd.c:1155
  117.     #8 0x7f1afd7adb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
  118.  
  119. Direct leak of 65 byte(s) in 1 object(s) allocated from:
  120.     #0 0x7f1aff03d538 in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x77538)
  121.     #1 0x559f3685f218 in our_strdup /home/westor/unrealircd_5_source/unrealircd/src/support.c:724
  122.     #2 0x559f3681f244 in postconf_defaults /home/westor/unrealircd_5_source/unrealircd/src/conf.c:1597
  123.     #3 0x559f3681f700 in postconf /home/westor/unrealircd_5_source/unrealircd/src/conf.c:1706
  124.     #4 0x559f3683c41e in init_conf /home/westor/unrealircd_5_source/unrealircd/src/conf.c:1929
  125.     #5 0x559f367f1a98 in main /home/westor/unrealircd_5_source/unrealircd/src/ircd.c:1155
  126.     #6 0x7f1afd7adb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
  127.  
  128. Direct leak of 64 byte(s) in 1 object(s) allocated from:
  129.     #0 0x7f1aff0a4d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
  130.     #1 0x559f3685f10c in safe_alloc /home/westor/unrealircd_5_source/unrealircd/src/support.c:716
  131.     #2 0x559f368714e2 in MessageTagHandlerAdd /home/westor/unrealircd_5_source/unrealircd/src/api-messagetag.c:91
  132.     #3 0x7f1aeb253c94  (<unknown module>)
  133.     #4 0x559f367fcea5 in Init_all_testing_modules /home/westor/unrealircd_5_source/unrealircd/src/modules.c:492
  134.     #5 0x559f3683c667 in init_conf /home/westor/unrealircd_5_source/unrealircd/src/conf.c:1888
  135.     #6 0x559f367f1a98 in main /home/westor/unrealircd_5_source/unrealircd/src/ircd.c:1155
  136.     #7 0x7f1afd7adb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
  137.  
  138. Direct leak of 32 byte(s) in 1 object(s) allocated from:
  139.     #0 0x7f1aff0a4d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
  140.     #1 0x559f3685f10c in safe_alloc /home/westor/unrealircd_5_source/unrealircd/src/support.c:716
  141.     #2 0x559f3686e9f4 in ISupportAdd /home/westor/unrealircd_5_source/unrealircd/src/api-isupport.c:223
  142.     #3 0x7f1af90c8b31  (<unknown module>)
  143.     #4 0x559f367fcea5 in Init_all_testing_modules /home/westor/unrealircd_5_source/unrealircd/src/modules.c:492
  144.     #5 0x559f3683c667 in init_conf /home/westor/unrealircd_5_source/unrealircd/src/conf.c:1888
  145.     #6 0x559f367f1a98 in main /home/westor/unrealircd_5_source/unrealircd/src/ircd.c:1155
  146.     #7 0x7f1afd7adb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
  147.  
  148. Direct leak of 32 byte(s) in 1 object(s) allocated from:
  149.     #0 0x7f1aff0a4d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
  150.     #1 0x559f3685f10c in safe_alloc /home/westor/unrealircd_5_source/unrealircd/src/support.c:716
  151.     #2 0x559f3686e9f4 in ISupportAdd /home/westor/unrealircd_5_source/unrealircd/src/api-isupport.c:223
  152.     #3 0x7f1af745e62e  (<unknown module>)
  153.     #4 0x559f367fcea5 in Init_all_testing_modules /home/westor/unrealircd_5_source/unrealircd/src/modules.c:492
  154.     #5 0x559f3683c667 in init_conf /home/westor/unrealircd_5_source/unrealircd/src/conf.c:1888
  155.     #6 0x559f367f1a98 in main /home/westor/unrealircd_5_source/unrealircd/src/ircd.c:1155
  156.     #7 0x7f1afd7adb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
  157.  
  158. Direct leak of 32 byte(s) in 1 object(s) allocated from:
  159.     #0 0x7f1aff0a4d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
  160.     #1 0x559f3685f10c in safe_alloc /home/westor/unrealircd_5_source/unrealircd/src/support.c:716
  161.     #2 0x559f3686e9f4 in ISupportAdd /home/westor/unrealircd_5_source/unrealircd/src/api-isupport.c:223
  162.     #3 0x7f1af6027bca  (<unknown module>)
  163.     #4 0x559f367fcea5 in Init_all_testing_modules /home/westor/unrealircd_5_source/unrealircd/src/modules.c:492
  164.     #5 0x559f3683c667 in init_conf /home/westor/unrealircd_5_source/unrealircd/src/conf.c:1888
  165.     #6 0x559f367f1a98 in main /home/westor/unrealircd_5_source/unrealircd/src/ircd.c:1155
  166.     #7 0x7f1afd7adb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
  167.  
  168. Direct leak of 16 byte(s) in 1 object(s) allocated from:
  169.     #0 0x7f1aff0a4d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
  170.     #1 0x559f3685f10c in safe_alloc /home/westor/unrealircd_5_source/unrealircd/src/support.c:716
  171.     #2 0x7f1af00ffae8  (<unknown module>)
  172.     #3 0x559f367fcea5 in Init_all_testing_modules /home/westor/unrealircd_5_source/unrealircd/src/modules.c:492
  173.     #4 0x559f3683c667 in init_conf /home/westor/unrealircd_5_source/unrealircd/src/conf.c:1888
  174.     #5 0x559f367f1a98 in main /home/westor/unrealircd_5_source/unrealircd/src/ircd.c:1155
  175.     #6 0x7f1afd7adb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
  176.  
  177. Indirect leak of 5 byte(s) in 1 object(s) allocated from:
  178.     #0 0x7f1aff03d538 in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x77538)
  179.     #1 0x559f3685f218 in our_strdup /home/westor/unrealircd_5_source/unrealircd/src/support.c:724
  180.     #2 0x559f36871525 in MessageTagHandlerAdd /home/westor/unrealircd_5_source/unrealircd/src/api-messagetag.c:92
  181.     #3 0x7f1aeb253c94  (<unknown module>)
  182.     #4 0x559f367fcea5 in Init_all_testing_modules /home/westor/unrealircd_5_source/unrealircd/src/modules.c:492
  183.     #5 0x559f3683c667 in init_conf /home/westor/unrealircd_5_source/unrealircd/src/conf.c:1888
  184.     #6 0x559f367f1a98 in main /home/westor/unrealircd_5_source/unrealircd/src/ircd.c:1155
  185.     #7 0x7f1afd7adb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
  186.  
  187. SUMMARY: AddressSanitizer: 1705 byte(s) leaked in 142 allocation(s).
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top