[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Instance variables overwritten by other assignments
From: |
Patryk Laurent |
Subject: |
Instance variables overwritten by other assignments |
Date: |
Tue, 24 Dec 2019 20:02:35 -0800 |
Hi,
At Gorm startup I am seeing a problem where Boolean assignments in
-initDefaults are somehow overwriting memory for NSTableView.m’s
_numberOfColumns instance variable. See the output of debug print statements
below.
Does anyone know why this might be happening — and how to fix it?
This is under clang-6.0 on Aarch64.
Thank you,
Patryk
GNUstep-build/apps-gorm/Gorm.app$ ./Gorm
2019-12-25 03:51:47.959 Gorm[4257:4257] Bad palette selection - -1
2019-12-25 03:51:48.002 Gorm[4257:4257] Bad palette selection - -1
2019-12-25 03:51:48.267 Gorm[4257:4257] Bad palette selection - -1
2019-12-25 03:51:48.314 Gorm[4257:4257] NSTableview.m:2012: _isValidating =
NO; // _numberOfColumns is 0
2019-12-25 03:51:48.315 Gorm[4257:4257] NSTableview.m:2013: _drawsGrid =
YES; // _numberOfColumns is 0
2019-12-25 03:51:48.315 Gorm[4257:4257] NSTableview.m:2014: _rowHeight =
16.0; // _numberOfColumns is 0
2019-12-25 03:51:48.315 Gorm[4257:4257] NSTableview.m:2015: _intercellSpacing =
NSMakeSize (5.0, 2.0); // _numberOfColumns is 0
2019-12-25 03:51:48.316 Gorm[4257:4257] NSTableview.m:2016;
ASSIGN(_selectedColumns, [NSMutableIndexSet indexSet]); // _numberOfColumns is 0
2019-12-25 03:51:48.316 Gorm[4257:4257] NSTableview.m:2018:
_allowsEmptySelection = YES; // _numberOfColumns is 256
2019-12-25 03:51:48.317 Gorm[4257:4257] NSTableview.m:2019:
_allowsMultipleSelection = NO; // _numberOfColumns is 256
2019-12-25 03:51:48.317 Gorm[4257:4257] NSTableview.m:2020:
_allowsColumnSelection = YES; // _numberOfColumns is 65792
2019-12-25 03:51:48.317 Gorm[4257:4257] NSTableview.m:2021:
_allowsColumnResizing = YES; // _numberOfColumns is 16843008
2019-12-25 03:51:48.317 Gorm[4257:4257] NSTableview.m:2022:
_allowsColumnReordering = YES; // _numberOfColumns is 4311810304
2019-12-25 03:51:48.317 Gorm[4257:4257] NSTableview.m:2023: // _numberOfColumns
is 4311810304
2019-12-25 03:51:48.317 Gorm[4257:4257] NSTableview.m:2024; _selectingColumns =
NO; // _numberOfColumns is 4311810304
2019-12-25 03:51:48.317 Gorm[4257:4257] NSTableview.m:2025: _verticalMotionDrag
= NO; // _numberOfColumns is 4311810304
2019-12-25 03:51:48.318 Gorm[4257:4257] NSTableview.m:2026:_editedColumn = -1;
_numberOfColumns is 4311810304
2019-12-25 03:51:48.318 Gorm[4257:4257] NSTableview.m:2027: _editedRow = -1; //
_numberOfColumns is 4311810304
2019-12-25 03:51:48.318 Gorm[4257:4257] NSTableview.m:2028: _clickedRow = -1;
// _numberOfColumns is 4311810304
2019-12-25 03:51:48.318 Gorm[4257:4257] NSTableview.m:2029: _clickedColumn =
-1; // _numberOfColumns is 4311810304
2019-12-25 03:51:48.318 Gorm[4257:4257] NSTableview.m:2030: _selectedColumn =
-1; // _numberOfColumns is 4311810304
2019-12-25 03:51:48.318 Gorm[4257:4257] NSTableview.m:2031: _selectedRow = -1;
// _numberOfColumns is 4311810304
2019-12-25 03:51:48.319 Gorm[4257:4257] NSTableview.m:2032:
_highlightedTableColumn = nil; // _numberOfColumns is 4311810304
2019-12-25 03:51:48.319 Gorm[4257:4257] NSTableview.m:2036:
ASSIGN(_sortDescriptors, [NSArray array]); // _numberOfColumns is 4311810304
Segmentation fault
- Instance variables overwritten by other assignments,
Patryk Laurent <=