Thematic crash with horizontal menu
Riccardo Mottola <[email protected]>
| Newsgroups | gmane.comp.lib.gnustep.devel |
|---|---|
| Organization | GNUstep |
| Message-ID | <04948eaf8d637c20013c710c7c679609@T510i> |
Hi all, during debugging of NSMenu last day with Fred and running Thematic, I noticed that a specific theme (WinClassic) makes consistently crash Thematic just as it loads it. Since I was playing with Valgrind anyway, I had a look at that and here we get some interesting output. ==1475== Conditional jump or move depends on uninitialised value(s) ==1475== at 0x52670E4: NSEqualPoints (NSGeometry.m:499) ==1475== by 0x4BA4C0E: _i_NSMenuView__mouseDown_ (NSMenuView.m:2012) ==1475== by 0x4C9FFF8: _i_NSWindow__sendEvent_ (NSWindow.m:4154) ==1475== by 0x4AA041F: _i_NSApplication__sendEvent_ (NSApplication.m:2148) ==1475== by 0x4A9EB9E: _i_NSApplication__run (NSApplication.m:1585) ==1475== by 0x4A7B58D: NSApplicationMain (Functions.m:123) ==1475== by 0x584EDFC: (below main) (in /lib64/libc-2.32.so) ==1475== ==1475== Conditional jump or move depends on uninitialised value(s) ==1475== at 0x52670E6: NSEqualPoints (NSGeometry.m:499) ==1475== by 0x4BA4C0E: _i_NSMenuView__mouseDown_ (NSMenuView.m:2012) ==1475== by 0x4C9FFF8: _i_NSWindow__sendEvent_ (NSWindow.m:4154) ==1475== by 0x4AA041F: _i_NSApplication__sendEvent_ (NSApplication.m:2148) ==1475== by 0x4A9EB9E: _i_NSApplication__run (NSApplication.m:1585) ==1475== by 0x4A7B58D: NSApplicationMain (Functions.m:123) ==1475== by 0x584EDFC: (below main) (in /lib64/libc-2.32.so) ==1475== 2020-11-29 00:26:01.980 Thematic[1475:1475] Ignore bottom offset change from 1 to 23 2020-11-29 00:26:02.027 Thematic[1475:1475] Reparent was with offset 0 22 2020-11-29 00:26:02.028 Thematic[1475:1475] Parent border,width,height 1,352,505 ==1475== ==1475== HEAP SUMMARY: ==1475== in use at exit: 8,296,487 bytes in 54,006 blocks ==1475== total heap usage: 373,800 allocs, 319,794 frees, 48,873,893 bytes allocated ==1475== ==1475== LEAK SUMMARY: ==1475== definitely lost: 40,773 bytes in 562 blocks ==1475== indirectly lost: 87,747 bytes in 3,812 blocks ==1475== possibly lost: 4,052,223 bytes in 16,390 blocks ==1475== still reachable: 4,115,360 bytes in 33,241 blocks ==1475== suppressed: 384 bytes in 1 blocks ==1475== Rerun with --leak-check=full to see details of leaked memory ==1475==