Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gorm 1.4.0 crash clicking on any image #49

Open
buzzdeee opened this issue Nov 12, 2024 · 0 comments
Open

Gorm 1.4.0 crash clicking on any image #49

buzzdeee opened this issue Nov 12, 2024 · 0 comments

Comments

@buzzdeee
Copy link
Contributor

Starting Gorm, -> Document -> New Module -> New Empty

Then clicking on the "Images" icon to open up all images, Gorm crashes, once clicking on any of the images:

(gdb) r
Starting program: /usr/local/bin/Gorm 

Program received signal SIGSEGV, Segmentation fault.
0x00000b520f4c0f17 in -[GormResourceEditor mouseDown:] (self=0xb5232aa6308, _cmd=0xb52c31b65f8 <.objc_selector_mouseDown:_v240:816>, theEvent=0xb52a4d24408) at GormResourceEditor.m:244
244           if ([cells[row][column] isEnabled])
(gdb) bt
#0  0x00000b520f4c0f17 in -[GormResourceEditor mouseDown:] (self=0xb5232aa6308, _cmd=0xb52c31b65f8 <.objc_selector_mouseDown:_v240:816>, theEvent=0xb52a4d24408) at GormResourceEditor.m:244
#1  0x00000b52c3057204 in -[NSWindow sendEvent:] (self=0xb52d309e408, _cmd=0xb52c31b6a28 <.objc_selector_sendEvent:_v240:816>, theEvent=0xb52a4d24408) at NSWindow.m:4158
#2  0x00000b52c2e1465e in -[NSApplication sendEvent:] (self=0xb52243e01c8, _cmd=0xb52c31b6a28 <.objc_selector_sendEvent:_v240:816>, theEvent=0xb52a4d24408) at NSApplication.m:2151
#3  0x00000b52c2e12d10 in -[NSApplication run] (self=0xb52243e01c8, _cmd=0xb52c31b4668 <objc_selector_run_v160:8>) at NSApplication.m:1588
#4  0x00000b52c2ded10e in NSApplicationMain (argc=1, argv=0x770d9a1f0d38) at Functions.m:119
#5  0x00000b4fd3489c4c in gnustep_base_user_main (argc=1, argv=0x770d9a1f0d38) at main.m:30
#6  0x00000b52444701ab in main (argc=1, argv=0x770d9a1f0d38, env=0x770d9a1f0d48) at NSProcessInfo.m:1018
#7  0x00000b4fd348660b in _start ()
(gdb) frame 0
#0  0x00000b520f4c0f17 in -[GormResourceEditor mouseDown:] (self=0xb5232aa6308, _cmd=0xb52c31b65f8 <.objc_selector_mouseDown:_v240:816>, theEvent=0xb52a4d24408) at GormResourceEditor.m:244
244           if ([cells[row][column] isEnabled])
(gdb) print cells
$2 = (id **) 0x0
(gdb) print row
$3 = 0
(gdb) print column
$4 = 1
(gdb)
buzzdeee added a commit to buzzdeee/apps-gorm that referenced this issue Nov 12, 2024
Looked at Gorm 1.3.1 code, as that was working there. Using _cells
makes Gorm happy for me.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant