FLTK logo

[fltk.coredev] Re: Crash on latest FLTK1.4 on my app

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.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Crash on latest FLTK1.4 on my app Gonzalo Garramuno Aug 25, 2022  
 

> El 25 ago. 2022, a las 20:20, Gonzalo Garramuno <ggarra13@gmail.com> escribió:
> 
> Asan catches a crash on latest FLTK master.
> 
> ==76442==ERROR: AddressSanitizer: SEGV on unknown address (pc 0x00010cf55a78 bp 0x7ff7bbb1ee80 sp 0x7ff7bbb1ee50 T0)
> ==76442==The signal is caused by a READ memory access.
> ==76442==Hint: this fault was caused by a dereference of a high value address (see register values below).  Disassemble the provided pc to learn which register was used.
>    #0 0x10cf55a78 in __asan::Allocator::Deallocate(void*, unsigned long, unsigned long, __sanitizer::BufferedStackTrace*, __asan::AllocType)+0x48 (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x4a78)
>    #1 0x10cf9969d in wrap_free+0x10d (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x4869d)
>    #2 0x105235597 in Fl_Quartz_Graphics_Driver::XDestroyRegion(flCocoaRegion*) Fl_Quartz_Graphics_Driver.cxx:152
>    #3 0x104f7457d in fl_height() fl_draw.H:771
>    #4 0x1052273fa in fl_height(int, int) fl_draw.cxx:457
>    #5 0x1051ff9b5 in Fl_Text_Display::recalc_display() Fl_Text_Display.cxx:506
>    #6 0x1051ff827 in Fl_Text_Display::resize(int, int, int, int) Fl_Text_Display.cxx:481
>    #7 0x1051ff01f in Fl_Text_Display::buffer_modified_cb(int, int, int, int, char const*, void*) Fl_Text_Display.cxx:1749
>    #8 0x1051ff5e6 in Fl_Text_Display::buffer(Fl_Text_Buffer*) Fl_Text_Display.cxx:375
>    #9 0x104fe8d7c in mrv::TextDisplay::TextDisplay(int, int, int, int, char const*) mrvTextDisplay.cpp:48
>    #10 0x104fe8df6 in mrv::TextDisplay::TextDisplay(int, int, int, int, char const*) mrvTextDisplay.cpp:46
>    #11 0x104406572 in AboutUI::make_window(ViewerUI*) AboutUI.cxx:34
>    #12 0x1044084dd in AboutUI::AboutUI(ViewerUI*) AboutUI.cxx:220
>    #13 0x10440850c in AboutUI::AboutUI(ViewerUI*) AboutUI.cxx:218
>    #14 0x1044fccee in ViewerUI::make_window() mrViewer.cxx:3400
>    #15 0x1044fd958 in ViewerUI::ViewerUI() mrViewer.cxx:3415
>    #16 0x1044fd9c4 in ViewerUI::ViewerUI() mrViewer.cxx:3414
>    #17 0x1051295f2 in mrv::parse_command_line(int, char const**, mrv::Options&) mrvCommandLine.cpp:589
>    #18 0x10517b4d6 in main main.cpp:358
>    #19 0x10bffe52d in start+0x1cd (dyld:x86_64+0x552d)
> 

Oh yes, this is on macOS.  Windows and Linux are fine.

—
Gonzalo Garramuno
ggarra13@gmail.com




-- 
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/E8F97F89-FBD0-4F0B-B0E4-1C68C16037E1%40gmail.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'.