Recent

Author Topic: Wrong bitmap bit count  (Read 974 times)

clhamilto

  • New Member
  • *
  • Posts: 13
Wrong bitmap bit count
« on: October 10, 2025, 06:08:05 am »
I’ve recently built fpc and Lazarus on FreeBSD PowerPC64.  Upon running Lazarus I get an error “Wrong Bitmap Bit Count: 153”.  Actually the number in the pop up error changes.

I believe this to be an endianness error, caused by the code in fcl-image.  I would appreciate any help in resolving this issue.
« Last Edit: October 10, 2025, 02:52:51 pm by clhamilto »

Thaddy

  • Hero Member
  • *****
  • Posts: 18376
  • Here stood a man who saw the Elbe and jumped it.
Re: Wrong bitmap bit count
« Reply #1 on: October 10, 2025, 06:48:33 am »
Actually the number in the pop up error changes.
Then it is less likely to be an endian problem and more like a memory problem: is your hardware still OK? Condensors still the right color <chuckle>, took me quite some soldering?
Can you give us some more elaborate hardware specs (machine, make, date, original OS, BSD version?)
BE systems are quite rare in the community, but I still have one so maybe testable.(No promises)
Otherwise, set up a VM and test on that.
« Last Edit: October 10, 2025, 06:58:47 am by Thaddy »
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

clhamilto

  • New Member
  • *
  • Posts: 13
Re: Wrong bitmap bit count
« Reply #2 on: October 10, 2025, 02:19:14 pm »
Hardware/software configuration:
Raptor Blackbird Power9(4 cores), 32GB Ram, Radeon HD9770
FreeBSD 14.2
FPC 3.3.1(Developer)
Lazarus GTK3 4.99(Developer)


I know for a fact this is an endian issue, because everything works perfectly running in little endian mode. I guess I should have said this earlier.
« Last Edit: October 10, 2025, 02:27:56 pm by clhamilto »

Thaddy

  • Hero Member
  • *****
  • Posts: 18376
  • Here stood a man who saw the Elbe and jumped it.
Re: Wrong bitmap bit count
« Reply #3 on: October 10, 2025, 03:00:54 pm »
Quite an exotic. Sorry can't help you there. You need a specialist, I am merely a user/collector.
Still: endianness is an unlikely issue if it changes.
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

cdbc

  • Hero Member
  • *****
  • Posts: 2477
    • http://www.cdbc.dk
Re: Wrong bitmap bit count
« Reply #4 on: October 10, 2025, 03:51:27 pm »
Hi
Ahemmmm.... 
Quote
GTK3
...IS KNOWN TO BE BUGGY! (even if @zeljko and others have put a lot of effort into it)
Try QT6 or GTK2
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6 -> FPC 3.2.2 -> Lazarus 4.0 up until Jan 2025 from then on it's both above &: KDE6/QT6 -> FPC 3.3.1 -> Lazarus 4.99

wp

  • Hero Member
  • *****
  • Posts: 13228
Re: Wrong bitmap bit count
« Reply #5 on: October 10, 2025, 04:02:14 pm »
I’ve recently built fpc and Lazarus on FreeBSD PowerPC64.  Upon running Lazarus I get an error “Wrong Bitmap Bit Count: 153”. 
When does this happen? When you build FPC? When you build Lazarus? When you run Lazarus? When you compile the default Lazarus LCL application (empty form)? When you run this application? etc, etc ...

Please be more specific. We cannot know what you are doing.

clhamilto

  • New Member
  • *
  • Posts: 13
Re: Wrong bitmap bit count
« Reply #6 on: October 10, 2025, 04:18:38 pm »
I’ve tried QT5, QT6 and GTK2, all with the same results.

The errors occurred when running Lazarus. They pop up when the form window appears.

Thaddy

  • Hero Member
  • *****
  • Posts: 18376
  • Here stood a man who saw the Elbe and jumped it.
Re: Wrong bitmap bit count
« Reply #7 on: October 10, 2025, 05:58:50 pm »
Comes to mind: Lazarus shows and compiles, so can not be an important endian issue.
If it is it must be in something else like the font renderer or the font itself. Can you change your font?
(Yes, fonts can be Be/Le). On my old PowerPC I never experienced issues.
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12538
  • FPC developer.
Re: Wrong bitmap bit count
« Reply #8 on: October 10, 2025, 06:00:55 pm »
Also, Lazarus has run on big endian machines before. That is not really specific to that machine.

 

zeljko

  • Hero Member
  • *****
  • Posts: 1797
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Wrong bitmap bit count
« Reply #9 on: October 10, 2025, 06:14:52 pm »
Hardware/software configuration:
Raptor Blackbird Power9(4 cores), 32GB Ram, Radeon HD9770
FreeBSD 14.2
FPC 3.3.1(Developer)
Lazarus GTK3 4.99(Developer)


I know for a fact this is an endian issue, because everything works perfectly running in little endian mode. I guess I should have said this earlier.

GTK3 IDE ? God bless you :)

clhamilto

  • New Member
  • *
  • Posts: 13
Re: Wrong bitmap bit count
« Reply #10 on: October 10, 2025, 06:56:30 pm »
Here's what I get running lazarus, this time QT6, from the command-line:

root@blackbird-powerpc64:/usr/freebsd-ports/editors/lazarus-qt6-devel # lazarus --no-splash-screen --force-new-instance
Info: (startlazarus) [TLazarusManager.Run] starting /usr/local/share/lazarus-4.99/lazarus ...
Info: (startlazarus) [TLazarusManager.Run] exe=/usr/local/share/lazarus-4.99/lazarus Params=[--started-by-startlazarus
--no-splash-screen
--force-new-instance
]
Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] PrimaryConfigPath="/root/.lazarus"
Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] SecondaryConfigPath="/etc/lazarus"
AddDefaultRecentProjects: Adding default projects
NOTE: editor options config file not found - using defaults
Looking for code tools config file:  "/root/.lazarus/codetoolsoptions.xml"
NOTE: codetools config file not found - using defaults
Warning: (lazarus) invalid compiler:  file not found
SearchLazarusDirectoryCandidates Value=. File=/root/.lazarus
SearchLazarusDirectoryCandidates Value=/usr/local/share/lazarus-4.99 File=/usr/local/share/lazarus-4.99
SearchLazarusDirectoryCandidates Value=/usr/share/lazarus File=/usr/share/lazarus
SearchLazarusDirectoryCandidates Value=/usr/local/share/lazarus File=/usr/local/share/lazarus
SearchLazarusDirectoryCandidates Value=/usr/local/lib/lazarus File=/usr/local/lib/lazarus
SearchLazarusDirectoryCandidates Value=/usr/local/lazarus File=/usr/local/lazarus
SearchLazarusDirectoryCandidates Value=/usr/lib/lazarus File=/usr/lib/lazarus
SearchLazarusDirectoryCandidates Value=/usr/lib/lazarus/4.99 File=/usr/lib/lazarus/4.99
SearchLazarusDirectoryCandidates Value=~/pascal/lazarus File=/root/pascal/lazarus
SearchLazarusDirectoryCandidates Value=~/lazarus File=/root/lazarus
SearchLazarusDirectoryCandidates Value=/usr/local/bin File=/usr/local/bin
SearchCompilerCandidates Value=fpc File=/usr/local/share/lazarus-4.99/fpc
SearchCompilerCandidates Value=ppcppc64 File=/usr/local/bin/ppcppc64
Hint: [TPCTargetConfigCache.NeedsUpdate] TargetOS="" TargetCPU="" Subtarget="" WorkDir="" Options="" compiler file changed "/usr/local/bin/ppcppc64" FileAge=1760108042 StoredAge=0
Hint: [TPCTargetConfigCache.Update] /usr/local/bin/ppcppc64 TargetOS= TargetCPU= Subtarget= WorkDir="" CompilerOptions="" ExtraOptions="" PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
Hint: (lazarus) [RunTool] "/usr/local/bin/ppcppc64" "-iWTOTP"
Hint: (lazarus) [RunTool] "/usr/local/bin/ppcppc64" "-va" "/root/.lazarus/compilertest.pas" "-Fr/usr/local/share/lazarus-4.99/components/codetools/fpc.errore.msg", WorkDir="/root/.lazarus/"
Hint: [TPCTargetConfigCache.Update] has changed
SearchCompilerCandidates Value=$(LazarusDir)/fpc/3.3.1/bin/powerpc64-freebsd/fpc File=/usr/local/share/lazarus-4.99/fpc/3.3.1/bin/powerpc64-freebsd/fpc
SearchCompilerCandidates Value=$(LazarusDir)/fpc/bin/powerpc64-freebsd/fpc File=/usr/local/share/lazarus-4.99/fpc/bin/powerpc64-freebsd/fpc
SearchCompilerCandidates Value=/usr/local/bin/fpc File=/usr/local/bin/fpc
Hint: [TPCTargetConfigCache.NeedsUpdate] TargetOS="" TargetCPU="" Subtarget="" WorkDir="" Options="" compiler file changed "/usr/local/bin/fpc" FileAge=1760108041 StoredAge=0
Hint: [TPCTargetConfigCache.Update] /usr/local/bin/fpc TargetOS= TargetCPU= Subtarget= WorkDir="" CompilerOptions="" ExtraOptions="" PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
Hint: (lazarus) [RunTool] "/usr/local/bin/fpc" "-iWTOTP"
Hint: (lazarus) [RunTool] "/usr/local/bin/fpc" "-va" "/root/.lazarus/compilertest.pas" "-Fr/usr/local/share/lazarus-4.99/components/codetools/fpc.errore.msg", WorkDir="/root/.lazarus/"
Hint: [TPCTargetConfigCache.Update] has changed
SearchCompilerCandidates Value=/usr/bin/fpc File=/usr/bin/fpc
SearchCompilerCandidates Value=/opt/fpc/fpc File=/opt/fpc/fpc
Hint: [TPCTargetConfigCache.NeedsUpdate] TargetOS="" TargetCPU="" Subtarget="" WorkDir="" Options="" compiler file changed "/usr/local/bin/ppcppc64" FileAge=1760108042 StoredAge=0
Hint: [TPCTargetConfigCache.Update] /usr/local/bin/ppcppc64 TargetOS= TargetCPU= Subtarget= WorkDir="" CompilerOptions="" ExtraOptions="" PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
Hint: (lazarus) [RunTool] "/usr/local/bin/ppcppc64" "-iWTOTP"
Hint: (lazarus) [RunTool] "/usr/local/bin/ppcppc64" "-va" "/root/.lazarus/compilertest.pas" "-Fr/usr/local/share/lazarus-4.99/components/codetools/fpc.errore.msg", WorkDir="/root/.lazarus/"
Hint: [TPCTargetConfigCache.Update] has changed
Hint: (lazarus) [TBuildManager.SetBuildTarget] Old=powerpc64-freebsd--qt6 New=powerpc64-freebsd--qt6 Changed: OS/CPU=True LCL=False
Hint: [TPCTargetConfigCache.NeedsUpdate] TargetOS="freebsd" TargetCPU="powerpc64" Subtarget="" WorkDir="" Options="" compiler file changed "/usr/local/bin/ppcppc64" FileAge=1760108042 StoredAge=0
Hint: [TPCTargetConfigCache.Update] /usr/local/bin/ppcppc64 TargetOS=freebsd TargetCPU=powerpc64 Subtarget= WorkDir="" CompilerOptions="" ExtraOptions="" PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
Hint: (lazarus) [RunTool] "/usr/local/bin/ppcppc64" "-iWTOTP" "-Ppowerpc64" "-Tfreebsd"
Hint: (lazarus) [RunTool] "/usr/local/bin/ppcppc64" "-va" "/root/.lazarus/compilertest.pas" "-Ppowerpc64" "-Tfreebsd" "-Fr/usr/local/share/lazarus-4.99/components/codetools/fpc.errore.msg", WorkDir="/root/.lazarus/"
Hint: [TPCTargetConfigCache.Update] has changed
SearchFPCSrcDirCandidates Value=$(LazarusDir)/fpc/$(FPCVer)/source File=/usr/local/share/lazarus-4.99/fpc/3.3.1/source/
SearchFPCSrcDirCandidates Value=$Path($(CompPath))/../../source File=/usr/source/
SearchFPCSrcDirCandidates Value=/usr/share/fpcsrc/$(FPCVer) File=/usr/share/fpcsrc/3.3.1/
SearchFPCSrcDirCandidates Value=/usr/local/share/fpcsrc/$(FPCVer) File=/usr/local/share/fpcsrc/3.3.1/
SearchFPCSrcDirCandidates Value=/usr/share/fpcsrc File=/usr/share/fpcsrc/
SearchFPCSrcDirCandidates Value=/usr/local/share/fpcsrc File=/usr/local/share/fpcsrc/
SearchFPCSrcDirCandidates Value=/usr/fpcsrc File=/usr/fpcsrc/
SearchFPCSrcDirCandidates Value=/usr/share/fpc/src File=/usr/share/fpc/src/
SearchFPCSrcDirCandidates Value=/usr/fpc/src File=/usr/fpc/src/
SearchFPCSrcDirCandidates Value=/usr/local/fpc/src File=/usr/local/fpc/src/
SearchFPCSrcDirCandidates Value=/usr/local/share/fpc/src File=/usr/local/share/fpc/src/
SearchFPCSrcDirCandidates Value=/usr/local/src/fpc File=/usr/local/src/fpc/
SearchFPCSrcDirCandidates Value=/usr/lib/fpc/src File=/usr/lib/fpc/src/
SearchFPCSrcDirCandidates Value=/usr/local/lib/fpc/src File=/usr/local/lib/fpc/src/
SearchFPCSrcDirCandidates Value=/vol/fpc/src File=/vol/fpc/src/
SearchFPCSrcDirCandidates Value=/vol/lib/fpc/src File=/vol/lib/fpc/src/
SearchFPCSrcDirCandidates Value=/usr/src/fpc File=/usr/src/fpc/
SearchFPCSrcDirCandidates Value=/vol/src/fpc File=/vol/src/fpc/
SearchMakeExeCandidates Value=gmake File=/usr/local/bin/gmake
qt.core.qobject.connect: QObject::disconnect: No such slot QComboBox::_q_returnPressed()
qt.core.qobject.connect: QObject::disconnect: No such slot QComboBox::_q_returnPressed()
qt.core.qobject.connect: QObject::disconnect: No such slot QComboBox::_q_returnPressed()
qt.core.qobject.connect: QObject::disconnect: No such slot QComboBox::_q_returnPressed()
TFPCSrcScan.Execute START /usr/local/share/lazarus-4.99/
TFPCSrcScan.Execute found some files: True
ApplyFPCSrcFiles /usr/local/share/lazarus-4.99/ FileCount=25703
ApplyFPCSrcFiles SrcCache.Update ...
Hint: [TFPCSourceCache.Update] /usr/local/share/lazarus-4.99 has changed.
ApplyFPCSrcFiles BuildBoss.RescanCompilerDefines ...
TFPCSrcScan.OnFilesGathered closing progress item ...
TFPCSrcScan.OnFilesGathered END
TFPCSrcScan.Execute START /usr/local/share/lazarus-4.99/fpc/3.3.1/source/
TFPCSrcScan.Execute found some files: True
ApplyFPCSrcFiles /usr/local/share/lazarus-4.99/fpc/3.3.1/source/ FileCount=21580
ApplyFPCSrcFiles SrcCache.Update ...
Hint: [TFPCSourceCache.Update] /usr/local/share/lazarus-4.99/fpc/3.3.1/source has changed.
ApplyFPCSrcFiles BuildBoss.RescanCompilerDefines ...
TFPCSrcScan.OnFilesGathered closing progress item ...
TFPCSrcScan.OnFilesGathered END
qt.core.qobject.connect: QObject::disconnect: No such slot QComboBox::_q_returnPressed()
NOTE: help options config file not found - using defaults
Hint: [TPCTargetConfigCache.NeedsUpdate] TargetOS="" TargetCPU="" Subtarget="" WorkDir="" Options=""-Fr/usr/local/share/lazarus-4.99/components/codetools/fpc.errore.msg"" compiler file changed "/usr/local/bin/ppcppc64" FileAge=1760108042 StoredAge=0
Hint: [TPCTargetConfigCache.Update] /usr/local/bin/ppcppc64 TargetOS= TargetCPU= Subtarget= WorkDir="" CompilerOptions=""-Fr/usr/local/share/lazarus-4.99/components/codetools/fpc.errore.msg"" ExtraOptions=""-Fr/usr/local/share/lazarus-4.99/components/codetools/fpc.errore.msg"" PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
Hint: (lazarus) [RunTool] "/usr/local/bin/ppcppc64" "-iWTOTP" "-Fr/usr/local/share/lazarus-4.99/components/codetools/fpc.errore.msg" "-Fr/usr/local/share/lazarus-4.99/components/codetools/fpc.errore.msg"
Hint: (lazarus) [RunTool] "/usr/local/bin/ppcppc64" "-va" "/root/.lazarus/compilertest.pas" "-Fr/usr/local/share/lazarus-4.99/components/codetools/fpc.errore.msg" "-Fr/usr/local/share/lazarus-4.99/components/codetools/fpc.errore.msg", WorkDir="/root/.lazarus/"
Hint: [TPCTargetConfigCache.Update] has changed
TApplication.HandleException: EAccessViolation
Access violation
  Stack trace:
  $000000001005E058
  $000FFFFFBFFFF1AC
  $0000000100000003
LAZARUS END - cleaning up ...
[FORMS.PP] ExceptionOccurred
  Sender=EObjectCheck
  Exception=Object reference is Nil or VMT is damaged
  Stack trace:
  $00000000108FB1F0
  $000000001140C29C
  $000000001018E8C8
  $000000001018E6BC
  $00000000103D19A0
  $000000001037C2AC
  $0000000010364A54
  $000000001037F7A4
  $00000000100CA94C
  $00000000100CC878
  $00000000113EC3A4
  $0000000010040A34
  $00000000113FB3AC
  $00000000113FD54C
  $0000000011404610
  $0000000010040A34
  $00000000100EB328
TApplication.HandleException: EObjectCheck
Object reference is Nil or VMT is damaged
  Stack trace:
  $00000000108FB1F0
  $000000001140C29C
  $000000001018E8C8
  $000000001018E6BC
  $00000000103D19A0
  $000000001037C2AC
  $0000000010364A54
  $000000001037F7A4
  $00000000100CA94C
  $00000000100CC878
  $00000000113EC3A4
  $0000000010040A34
  $00000000113FB3AC
  $00000000113FD54C
  $0000000011404610
  $0000000010040A34
  $00000000100EB328
Exception at 00000000108FB1F0: EObjectCheck:
Object reference is Nil or VMT is damaged.
[FORMS.PP] ExceptionOccurred
  Sender=EAccessViolation
  Exception=Access violation
  Stack trace:
  $000000001005E058
  $000FFFFFBFFFF1AC
  $3880FF7F7C632038
TApplication.HandleException: EAccessViolation
Access violation
  Stack trace:
  $000000001005E058
  $000FFFFFBFFFF1AC
  $3880FF7F7C632038
Exception at 000000001005E058: EAccessViolation:
Access violation.
[FORMS.PP] ExceptionOccurred
  Sender=EAccessViolation
  Exception=Access violation
  Stack trace:
  $000000001005E058
  $000FFFFFBFFFF1AC
TApplication.HandleException: EAccessViolation
Access violation
  Stack trace:
  $000000001005E058
  $000FFFFFBFFFF1AC
Exception at 000000001005E058: EAccessViolation:
Access violation.


Maybe this will help.

clhamilto

  • New Member
  • *
  • Posts: 13
Re: Wrong bitmap bit count
« Reply #11 on: October 10, 2025, 07:19:49 pm »
I forgot to clean the install folder.  Here's the real output:

root@blackbird-powerpc64:/usr/local/share/lazarus-4.99 # lazarus --no-splash-screen --force-new-instance 2>&1|tee lazarus.log
Info: (startlazarus) [TLazarusManager.Run] starting /usr/local/share/lazarus-4.99/lazarus ...
Info: (startlazarus) [TLazarusManager.Run] exe=/usr/local/share/lazarus-4.99/lazarus Params=[--started-by-startlazarus
--no-splash-screen
--force-new-instance
]
Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] PrimaryConfigPath="/root/.lazarus"
Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] SecondaryConfigPath="/etc/lazarus"
AddDefaultRecentProjects: Adding default projects
NOTE: editor options config file not found - using defaults
Looking for code tools config file:  "/root/.lazarus/codetoolsoptions.xml"
NOTE: codetools config file not found - using defaults
Warning: (lazarus) invalid compiler:  file not found
SearchLazarusDirectoryCandidates Value=. File=/root/.lazarus
SearchLazarusDirectoryCandidates Value=/usr/local/share/lazarus-4.99 File=/usr/local/share/lazarus-4.99
SearchLazarusDirectoryCandidates Value=/usr/share/lazarus File=/usr/share/lazarus
SearchLazarusDirectoryCandidates Value=/usr/local/share/lazarus File=/usr/local/share/lazarus
SearchLazarusDirectoryCandidates Value=/usr/local/lib/lazarus File=/usr/local/lib/lazarus
SearchLazarusDirectoryCandidates Value=/usr/local/lazarus File=/usr/local/lazarus
SearchLazarusDirectoryCandidates Value=/usr/lib/lazarus File=/usr/lib/lazarus
SearchLazarusDirectoryCandidates Value=/usr/lib/lazarus/4.99 File=/usr/lib/lazarus/4.99
SearchLazarusDirectoryCandidates Value=~/pascal/lazarus File=/root/pascal/lazarus
SearchLazarusDirectoryCandidates Value=~/lazarus File=/root/lazarus
SearchLazarusDirectoryCandidates Value=/usr/local/bin File=/usr/local/bin
SearchCompilerCandidates Value=fpc File=/usr/local/share/lazarus-4.99/fpc
SearchCompilerCandidates Value=ppcppc64 File=/usr/local/bin/ppcppc64
Hint: [TPCTargetConfigCache.NeedsUpdate] TargetOS="" TargetCPU="" Subtarget="" WorkDir="" Options="" compiler file changed "/usr/local/bin/ppcppc64" FileAge=1760108042 StoredAge=0
Hint: [TPCTargetConfigCache.Update] /usr/local/bin/ppcppc64 TargetOS= TargetCPU= Subtarget= WorkDir="" CompilerOptions="" ExtraOptions="" PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
Hint: (lazarus) [RunTool] "/usr/local/bin/ppcppc64" "-iWTOTP"
Hint: (lazarus) [RunTool] "/usr/local/bin/ppcppc64" "-va" "/root/.lazarus/compilertest.pas" "-Fr/usr/local/share/lazarus-4.99/components/codetools/fpc.errore.msg", WorkDir="/root/.lazarus/"
Hint: [TPCTargetConfigCache.Update] has changed
SearchCompilerCandidates Value=$(LazarusDir)/fpc/3.3.1/bin/powerpc64-freebsd/fpc File=/usr/local/share/lazarus-4.99/fpc/3.3.1/bin/powerpc64-freebsd/fpc
SearchCompilerCandidates Value=$(LazarusDir)/fpc/bin/powerpc64-freebsd/fpc File=/usr/local/share/lazarus-4.99/fpc/bin/powerpc64-freebsd/fpc
SearchCompilerCandidates Value=/usr/local/bin/fpc File=/usr/local/bin/fpc
Hint: [TPCTargetConfigCache.NeedsUpdate] TargetOS="" TargetCPU="" Subtarget="" WorkDir="" Options="" compiler file changed "/usr/local/bin/fpc" FileAge=1760108041 StoredAge=0
Hint: [TPCTargetConfigCache.Update] /usr/local/bin/fpc TargetOS= TargetCPU= Subtarget= WorkDir="" CompilerOptions="" ExtraOptions="" PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
Hint: (lazarus) [RunTool] "/usr/local/bin/fpc" "-iWTOTP"
Hint: (lazarus) [RunTool] "/usr/local/bin/fpc" "-va" "/root/.lazarus/compilertest.pas" "-Fr/usr/local/share/lazarus-4.99/components/codetools/fpc.errore.msg", WorkDir="/root/.lazarus/"
Hint: [TPCTargetConfigCache.Update] has changed
SearchCompilerCandidates Value=/usr/bin/fpc File=/usr/bin/fpc
SearchCompilerCandidates Value=/opt/fpc/fpc File=/opt/fpc/fpc
Hint: [TPCTargetConfigCache.NeedsUpdate] TargetOS="" TargetCPU="" Subtarget="" WorkDir="" Options="" compiler file changed "/usr/local/bin/ppcppc64" FileAge=1760108042 StoredAge=0
Hint: [TPCTargetConfigCache.Update] /usr/local/bin/ppcppc64 TargetOS= TargetCPU= Subtarget= WorkDir="" CompilerOptions="" ExtraOptions="" PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
Hint: (lazarus) [RunTool] "/usr/local/bin/ppcppc64" "-iWTOTP"
Hint: (lazarus) [RunTool] "/usr/local/bin/ppcppc64" "-va" "/root/.lazarus/compilertest.pas" "-Fr/usr/local/share/lazarus-4.99/components/codetools/fpc.errore.msg", WorkDir="/root/.lazarus/"
Hint: [TPCTargetConfigCache.Update] has changed
Hint: (lazarus) [TBuildManager.SetBuildTarget] Old=powerpc64-freebsd--qt6 New=powerpc64-freebsd--qt6 Changed: OS/CPU=True LCL=False
Hint: [TPCTargetConfigCache.NeedsUpdate] TargetOS="freebsd" TargetCPU="powerpc64" Subtarget="" WorkDir="" Options="" compiler file changed "/usr/local/bin/ppcppc64" FileAge=1760108042 StoredAge=0
Hint: [TPCTargetConfigCache.Update] /usr/local/bin/ppcppc64 TargetOS=freebsd TargetCPU=powerpc64 Subtarget= WorkDir="" CompilerOptions="" ExtraOptions="" PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
Hint: (lazarus) [RunTool] "/usr/local/bin/ppcppc64" "-iWTOTP" "-Ppowerpc64" "-Tfreebsd"
Hint: (lazarus) [RunTool] "/usr/local/bin/ppcppc64" "-va" "/root/.lazarus/compilertest.pas" "-Ppowerpc64" "-Tfreebsd" "-Fr/usr/local/share/lazarus-4.99/components/codetools/fpc.errore.msg", WorkDir="/root/.lazarus/"
Hint: [TPCTargetConfigCache.Update] has changed
SearchFPCSrcDirCandidates Value=$(LazarusDir)/fpc/$(FPCVer)/source File=/usr/local/share/lazarus-4.99/fpc/3.3.1/source/
SearchFPCSrcDirCandidates Value=$Path($(CompPath))/../../source File=/usr/source/
SearchFPCSrcDirCandidates Value=/usr/share/fpcsrc/$(FPCVer) File=/usr/share/fpcsrc/3.3.1/
SearchFPCSrcDirCandidates Value=/usr/local/share/fpcsrc/$(FPCVer) File=/usr/local/share/fpcsrc/3.3.1/
SearchFPCSrcDirCandidates Value=/usr/share/fpcsrc File=/usr/share/fpcsrc/
SearchFPCSrcDirCandidates Value=/usr/local/share/fpcsrc File=/usr/local/share/fpcsrc/
SearchFPCSrcDirCandidates Value=/usr/fpcsrc File=/usr/fpcsrc/
SearchFPCSrcDirCandidates Value=/usr/share/fpc/src File=/usr/share/fpc/src/
SearchFPCSrcDirCandidates Value=/usr/fpc/src File=/usr/fpc/src/
SearchFPCSrcDirCandidates Value=/usr/local/fpc/src File=/usr/local/fpc/src/
SearchFPCSrcDirCandidates Value=/usr/local/share/fpc/src File=/usr/local/share/fpc/src/
SearchFPCSrcDirCandidates Value=/usr/local/src/fpc File=/usr/local/src/fpc/
SearchFPCSrcDirCandidates Value=/usr/lib/fpc/src File=/usr/lib/fpc/src/
SearchFPCSrcDirCandidates Value=/usr/local/lib/fpc/src File=/usr/local/lib/fpc/src/
SearchFPCSrcDirCandidates Value=/vol/fpc/src File=/vol/fpc/src/
SearchFPCSrcDirCandidates Value=/vol/lib/fpc/src File=/vol/lib/fpc/src/
SearchFPCSrcDirCandidates Value=/usr/src/fpc File=/usr/src/fpc/
SearchFPCSrcDirCandidates Value=/vol/src/fpc File=/vol/src/fpc/
SearchMakeExeCandidates Value=gmake File=/usr/local/bin/gmake
qt.core.qobject.connect: QObject::disconnect: No such slot QComboBox::_q_returnPressed()
qt.core.qobject.connect: QObject::disconnect: No such slot QComboBox::_q_returnPressed()
qt.core.qobject.connect: QObject::disconnect: No such slot QComboBox::_q_returnPressed()
qt.core.qobject.connect: QObject::disconnect: No such slot QComboBox::_q_returnPressed()
TFPCSrcScan.Execute START /usr/local/share/lazarus-4.99/
TFPCSrcScan.Execute found some files: True
ApplyFPCSrcFiles /usr/local/share/lazarus-4.99/ FileCount=25703
ApplyFPCSrcFiles SrcCache.Update ...
Hint: [TFPCSourceCache.Update] /usr/local/share/lazarus-4.99 has changed.
ApplyFPCSrcFiles BuildBoss.RescanCompilerDefines ...
TFPCSrcScan.OnFilesGathered closing progress item ...
TFPCSrcScan.OnFilesGathered END
TFPCSrcScan.Execute START /usr/local/share/lazarus-4.99/fpc/3.3.1/source/
TFPCSrcScan.Execute found some files: True
ApplyFPCSrcFiles /usr/local/share/lazarus-4.99/fpc/3.3.1/source/ FileCount=21580
ApplyFPCSrcFiles SrcCache.Update ...
Hint: [TFPCSourceCache.Update] /usr/local/share/lazarus-4.99/fpc/3.3.1/source has changed.
ApplyFPCSrcFiles BuildBoss.RescanCompilerDefines ...
TFPCSrcScan.OnFilesGathered closing progress item ...
TFPCSrcScan.OnFilesGathered END
qt.core.qobject.connect: QObject::disconnect: No such slot QComboBox::_q_returnPressed()
NOTE: help options config file not found - using defaults
Hint: [TPCTargetConfigCache.NeedsUpdate] TargetOS="" TargetCPU="" Subtarget="" WorkDir="" Options=""-Fr/usr/local/share/lazarus-4.99/components/codetools/fpc.errore.msg"" compiler file changed "/usr/local/bin/ppcppc64" FileAge=1760108042 StoredAge=0
Hint: [TPCTargetConfigCache.Update] /usr/local/bin/ppcppc64 TargetOS= TargetCPU= Subtarget= WorkDir="" CompilerOptions=""-Fr/usr/local/share/lazarus-4.99/components/codetools/fpc.errore.msg"" ExtraOptions=""-Fr/usr/local/share/lazarus-4.99/components/codetools/fpc.errore.msg"" PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
Hint: (lazarus) [RunTool] "/usr/local/bin/ppcppc64" "-iWTOTP" "-Fr/usr/local/share/lazarus-4.99/components/codetools/fpc.errore.msg" "-Fr/usr/local/share/lazarus-4.99/components/codetools/fpc.errore.msg"
Hint: (lazarus) [RunTool] "/usr/local/bin/ppcppc64" "-va" "/root/.lazarus/compilertest.pas" "-Fr/usr/local/share/lazarus-4.99/components/codetools/fpc.errore.msg" "-Fr/usr/local/share/lazarus-4.99/components/codetools/fpc.errore.msg", WorkDir="/root/.lazarus/"
Hint: [TPCTargetConfigCache.Update] has changed
TApplication.HandleException: EAccessViolation
Access violation
  Stack trace:
  $000000001005E058
  $000FFFFFBFFFF1AC
  $0000000100000003
TApplication.HandleException: FPImageException
Wrong bitmap bit count: 153
  Stack trace:
  $00000000101D4090
  $00000000101D38F8
  $00000000101D4EF4
  $00000000101B27EC
  $000000001026CBFC
  $0000000010255808
  $0000000010255684
  $000000001026C5BC
  $00000000102711E8
  $000000001026BEE8
  $00000000100DAB98
  $00000000100D9608
  $000000001034BCC4
  $000000001034DB68
  $000000001034E1F4
  $0000000010379DFC
  $0000000010469694
qt.core.qobject.connect: QObject::disconnect: No such slot QComboBox::_q_returnPressed()
qt.core.qobject.connect: QObject::disconnect: No such slot QComboBox::_q_returnPressed()
qt.core.qobject.connect: QObject::disconnect: No such slot QComboBox::_q_returnPressed()
TApplication.HandleException: FPImageException
Wrong bitmap bit count: 175
  Stack trace:
  $00000000101D4090
  $00000000101D38F8
  $00000000101D4EF4
  $00000000101B27EC
  $000000001026CBFC
  $0000000010255808
  $0000000010255684
  $000000001026C5BC
  $00000000102711E8
  $000000001026BEE8
  $00000000100DAB98
  $00000000100D9E38
  $00000000100D9D58
  $00000000100D6318
  $000000001197B44C
  $000000001010A1E0
  $0000000010BB7AAC

clhamilto

  • New Member
  • *
  • Posts: 13
Re: Wrong bitmap bit count
« Reply #12 on: October 11, 2025, 03:35:10 pm »

PascalDragon

  • Hero Member
  • *****
  • Posts: 6195
  • Compiler Developer
Re: Wrong bitmap bit count
« Reply #13 on: October 11, 2025, 06:29:47 pm »
Here's what I get running lazarus, this time QT6, from the command-line:

Please use [code][/code]-blocks. Makes such output better readable and avoids the forum software potentially interpreting it.

 

TinyPortal © 2005-2018