Forum > General

Unknown exception code 32

(1/2) > >>

lazer:
Hi, I'm using the very flexible uos sound library for sound on Linux.

I had my project working fine building on both Linux and Win32.  Then a system up date seems to have messed stuff up , I had Lazarus complaining about different time stamps, libs newer than compiler and such like, so I reinstalled distro fpc 3.2.2. and used it to do a clean rebuild of my github 3.1.1 fpc.

I then removed the distro fpc, restored /etc/fpc.cfg renewed the symlinks to ppx64 et al removed the duplicate ppu files under fv and tried again.

My program mostly seems fine but crashes when I try to play sound on the dev system ( Fedora 36 ).

'External: Unknown exception code 32'.

I don't find any info googling this error and it is pretty unhelpful.

Here is a screenshot of the code dump.

It's really annoying when this was working fine before. Any ideas on how to chase this down ?

TIA


--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---Lazarus 2.3.0 (rev main-2_3-2165-gc63984efd6) FPC 3.3.1 x86_64-linux-gtk2

Martin_fr:
Try to use the gdb based debugger and see what it reports. Maybe it's more meaningful....

Menu: Tools > Options > Debugger > Debugger Backend

Martin_fr:
Or recompile the IDE with -dDebuglnLinuxDebugEvents  // EDIT: using FpDebug

- Then start the IDE from a terminal (so you can see any output it writes to console)
- Alternatively start the IDE with --debug-log=somefile.txt  to get the output in that file

Then when the issue happens, get the last 50 lines of output, and post them here.

Thaddy:
Error 32 is NOT a Freepascal or Lazarus error....

lazer:
Thanks Martin,

I switched the debugger and set compiler from -gd3 to -g, rebuild and ran with gdb as debugger. Now if I F8 or F9 from that problematic line I no longer crash but get no change :?   I see this on console for each key stroke:


--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---Hint: (lazarus) [TMainIDE.DoRunProject] INITHint: (lazarus) [TMainIDE.DoRunProject] Debugger=TGDBMIDebuggerHint: (lazarus) [TMainIDE.DoRunProject] ENDHint: (lazarus) [TMainIDE.DoRunProject] INITHint: (lazarus) [TMainIDE.DoRunProject] Debugger=TGDBMIDebuggerHint: (lazarus) [TMainIDE.DoRunProject] ENDHint: (lazarus) [TMainIDE.DoRunProject] INITHint: (lazarus) [TMainIDE.DoRunProject] Debugger=TGDBMIDebuggerHint: (lazarus) [TMainIDE.DoRunProject] END
That's all I get in the log file too. :?


Navigation

[0] Message Index

[#] Next page

Go to full version