Opened 8 weeks ago
Last modified 7 weeks ago
#70817 new defect
lazarus with GTK backend fails to start due to Access violation
Reported by: | barracuda156 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.1 |
Keywords: | Cc: | kamischi (Karl-Michael Schindler) | |
Port: | lazarus |
Description
36-242% /opt/local/share/lazarus/lazarus [FORMS.PP] ExceptionOccurred Sender=EAccessViolation Exception=Access violation Stack trace: $00043368 $82AA50CE $00000010 $00000001 $00000001 TApplication.HandleException: EAccessViolation Access violation Stack trace: $00043368 $82AA50CE $00000010 $00000001 $00000001 Exception at 00043368: EAccessViolation: Access violation. [FORMS.PP] ExceptionOccurred Sender=EAccessViolation Exception=Access violation Stack trace: $00043368 $00000255 TApplication.HandleException: EAccessViolation Access violation Stack trace: $00043368 $00000255 Exception at 00043368: EAccessViolation: Access violation. 36-242% /opt/local/share/lazarus/startlazarus [FORMS.PP] ExceptionOccurred Sender=EAccessViolation Exception=Access violation Stack trace: $00043508 $C24BC195
Apparently the issue is not unique: https://forum.lazarus.freepascal.org/index.php?topic=65960.0 And here a specific mention of GTK: https://forum.lazarus.freepascal.org/index.php/topic,50050.msg364511.html#msg364511
But no solution.
Change History (5)
comment:1 Changed 8 weeks ago by barracuda156
comment:2 Changed 8 weeks ago by barracuda156
On a side note, it probably should not use an archaic system libiconv
, when MacPorts has a new one.
36-242% otool -L /opt/local/share/lazarus/lazarus /opt/local/share/lazarus/lazarus: /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 117.0.0) /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) /opt/local/lib/libgtk-x11-2.0.0.dylib (compatibility version 2401.0.0, current version 2401.33.0) /opt/local/lib/libgdk-x11-2.0.0.dylib (compatibility version 2401.0.0, current version 2401.33.0) /opt/local/lib/libpango-1.0.0.dylib (compatibility version 5201.0.0, current version 5201.2.0) /opt/local/lib/libglib-2.0.0.dylib (compatibility version 7801.0.0, current version 7801.4.0) /opt/local/lib/libgobject-2.0.0.dylib (compatibility version 7801.0.0, current version 7801.4.0) /opt/local/lib/libgdk_pixbuf-2.0.0.dylib (compatibility version 4201.0.0, current version 4201.12.0) /opt/local/lib/libatk-1.0.0.dylib (compatibility version 23810.0.0, current version 23810.1.0) /opt/local/lib/libgthread-2.0.0.dylib (compatibility version 7801.0.0, current version 7801.4.0) /opt/local/lib/libpangocairo-1.0.0.dylib (compatibility version 5201.0.0, current version 5201.2.0) /opt/local/lib/libcairo.2.dylib (compatibility version 11709.0.0, current version 11709.0.0) /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 227.0.0) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 150.0.0) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 711.1.0) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 14.0.0) /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore (compatibility version 1.2.0, current version 1.6.0) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 988.3.0) /System/Library/Frameworks/Security.framework/Versions/A/Security (compatibility version 1.0.0, current version 34772.0.0) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 511.1.0)
comment:3 Changed 8 weeks ago by barracuda156
qt4
backend builds, but also crashes on launch:
36-242% otool -L /opt/local/share/lazarus/lazarus /opt/local/share/lazarus/lazarus: /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 117.0.0) /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 227.0.0) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 150.0.0) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 711.1.0) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 14.0.0) /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore (compatibility version 1.2.0, current version 1.6.0) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 988.3.0) /opt/local/libexec/qt4/lib/Qt4Pas.framework/Versions/5/Qt4Pas (compatibility version 5.2.0, current version 5.2.5) /System/Library/Frameworks/Security.framework/Versions/A/Security (compatibility version 1.0.0, current version 34772.0.0) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 511.1.0) 36-242% /opt/local/share/lazarus/startlazarus [FORMS.PP] ExceptionOccurred Sender=EAccessViolation Exception=Access violation Stack trace: $00042CB8 36-242% /opt/local/share/lazarus/lazarus [FORMS.PP] ExceptionOccurred Sender=EAccessViolation Exception=Access violation Stack trace: $00043128 $82AA50CE $00000010 $00000001 $00000001 TApplication.HandleException: EAccessViolation Access violation Stack trace: $00043128 $82AA50CE $00000010 $00000001 $00000001 Exception at 00043128: EAccessViolation: Access violation. [FORMS.PP] ExceptionOccurred Sender=EAccessViolation Exception=Access violation Stack trace: $00043128 $0000024B TApplication.HandleException: EAccessViolation Access violation Stack trace: $00043128 $0000024B Exception at 00043128: EAccessViolation: Access violation.
comment:4 Changed 7 weeks ago by barracuda156
Opened an issue with upstream: https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/41153
comment:5 Changed 7 weeks ago by barracuda156
Command-line seems to work, I can use lazarus
to build its dependents. However, GUI does not, whether with lazarus
itself or dependents.
Note: See
TracTickets for help on using
tickets.
So we need to use some other backend.