FLTK logo

Re: [fltk/fltk] Fluid: potential memory leaks (Issue #552)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [fltk/fltk] Fluid: potential memory leaks (Issue #552) Albrecht Schlosser Nov 23, 2022  
 

Thanks for fixing "3 and 4" and for clarification.

FTR: the remaining "non-leaks" found by ASAN are reported:

Direct leak of 28 byte(s) in 1 object(s) allocated from:
    #0 0x7f501287c3ed in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cc:445
    #1 0x5620f95745fd in Fl_Posix_System_Driver::strdup(char const*) ../../src/drivers/Unix/../Posix/Fl_Posix_System_Driver.H:84
    #2 0x5620f955cf04 in fl_strdup ../../src/fl_string_functions.cxx:33
    #3 0x5620f94ba455 in Fl_Preferences::get(char const*, char*&, char const*) ../../src/Fl_Preferences.cxx:795
    #4 0x5620f942ddc2 in shell_prefs_get() ../../fluid/shell_command.cxx:55
    #5 0x5620f941d703 in make_main_window() ../../fluid/fluid.cxx:1504
    #6 0x5620f94203c4 in main ../../fluid/fluid.cxx:1963
    #7 0x7f5011dc5082 in __libc_start_main ../csu/libc-start.c:308

Direct leak of 28 byte(s) in 1 object(s) allocated from:
    #0 0x7f501287c3ed in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cc:445
    #1 0x5620f95745fd in Fl_Posix_System_Driver::strdup(char const*) ../../src/drivers/Unix/../Posix/Fl_Posix_System_Driver.H:84
    #2 0x5620f955cf04 in fl_strdup ../../src/fl_string_functions.cxx:33
    #3 0x5620f942df5c in shell_settings_read() ../../fluid/shell_command.cxx:92
    #4 0x5620f9416470 in read_file(char const*, int, Strategy) ../../fluid/file.cxx:665
    #5 0x5620f942051a in main ../../fluid/fluid.cxx:1983
    #6 0x7f5011dc5082 in __libc_start_main ../csu/libc-start.c:308

Thanks. Closing the issue as completed.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/issues/552/1325168229@github.com>

Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.