Delphi runtime error 231

I am trying to run a sample Firemonkey app on a Mac, but I am getting this message in the mac: dyld: Library not loaded: @rpath/libcgunwind.1.0.dylib Referenced from: /Users/nobre/Applications/

I am trying to run a sample Firemonkey app on a Mac, but I am getting this message in the mac:

dyld: Library not loaded: @rpath/libcgunwind.1.0.dylib
  Referenced from: /Users/nobre/Applications/Embarcadero/PAServer/scratch-dir/rafael_colucci-Nobre/Project37.app/Contents/MacOS/Project37
  Reason: image not found
dyld: Library not loaded: @rpath/libcgunwind.1.0.dylib
  Referenced from: /Users/nobre/Applications/Embarcadero/PAServer/scratch-dir/rafael_colucci-Nobre/Project37.app/Contents/MacOS/Project37
  Reason: image not found
dyld: Library not loaded: @rpath/libcgunwind.1.0.dylib
  Referenced from: /Users/nobre/Applications/Embarcadero/PAServer/scratch-dir/rafael_colucci-Nobre/Project37.app/Contents/MacOS/Project37
  Reason: image not found

I used this tutorial to add a OSX platform:

New Mac and Rad Studio XE2

EDIT

More info about the error:

Process:         Teste2 [34270]
Path:            /Users/User/Applications/Embarcadero/PAServer/scratch-dir/rafael_colucci-VM/Teste2.app/Contents/MacOS/Teste2
Identifier:      Teste2
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  launchd [94]

Date/Time:       2011-09-01 19:36:26.246 +0100
OS Version:      Mac OS X 10.6.8 (10K540)
Report Version:  6

Interval Since Last Report:          3908 sec
Crashes Since Last Report:           4
Per-App Crashes Since Last Report:   4
Anonymous UUID:                      58C242CA-C324-4A23-86ED-96D93C7C1A84

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Dyld Error Message:
  Library not loaded: @rpath/libcgunwind.1.0.dylib
  Referenced from: /Users/User/Applications/Embarcadero/PAServer/scratch-dir/rafael_colucci-VM/Teste2.app/Contents/MacOS/Teste2
  Reason: image not found

Binary Images:
0x8fe00000 - 0x8fe4163b  dyld 132.1 (???) <4CDE4F04-0DD6-224E-ACE5-3C06E169A801> /usr/lib/dyld

Model: VMware Virtual Platform, BootROM 6.00, 1 processor, 30 GHz, 1 GB, SMC 1.30f3
Graphics: VMware SVGA II, VMware SVGA II, PCI, 16 MB
Network Service: Ethernet, Ethernet, en0
Parallel ATA Device: VMware Virtual IDE CDROM Drive
SCSI Device: SCSI Target Device @ 0
USB Device: VMware Virtual USB Hub, 0x0e0f  (VMWare, Inc.), 0x0002, 0x00200000 / 3
USB Device: VMware Virtual USB Keyboard, 0x05ac  (Apple Inc.), 0x020b, 0x00210000 / 4
USB Device: VMware Virtual USB Mouse, 0x0e0f  (VMWare, Inc.), 0x0003, 0x00100000 / 2

EDIT

Some screenshots:

App config

PaServer running

Рекомендовать в новости

0

06.04.2012 — 08:59


Код ошибки: 231 (0x00E7)
Все копии канала заняты.

Кто знает что за каналы?

Служба написана на XE2 x64 (работает с сетью через Indy) выдает иногда (зависимостей не нашел) такую ошибку и падает.

Если компилить в x32 режиме — то все нормально, а если x64, то проявляется от 5 минуд до несольких суток. Т.е. может и 5 мин проработать, а может и 2 дня не падать. От нагрузки не зависит.

Где искать не понятно, т.к. суть ошибки не ясна :(

Вобщем нужны мысли.

1

06.04.2012 — 18:12

Если верить гуглу то это проблемы с pipe. Опять таки если ему продолжать верить, то они могут быть связаны:
с косяками программы или что значительно чаще с фокусами антивирусов.

2

07.04.2012 — 09:29

2, тоже вроде так вычитал, но pipes не используются нигде в программе ни в компонентах…
Антивируса тоже нет. 32х битная скомпилированая версия пашет идеально.
Пока роюсь, руки не сложил, но что-то устал :(

How to disable exceptions or Runtime error 231?  

I have a server console application wich is crashing down with "Runtime
error 231. Too many nested exception"
All the exceptions are been treated, but looks like delphi counts the number
of exception occurred, not untreated.
I need to disable delphi exception counter. Is possible to do this?
There is another way to solve this problem?

Thanks
Flavio



Re: How to disable exceptions or Runtime error 231?  

In article <3f7aef7a@newsgroups.borland.com>, Flavio Tobias wrote:
> I have a server console application wich is crashing down with "Runtime
> error 231. Too many nested exception"
> All the exceptions are been treated, 

But obviously not correctly. You should never allow an exception to be raised 
inside an exception handler, for example.

> but looks like delphi counts the number
> of exception occurred, not untreated.
> I need to disable delphi exception counter. Is possible to do this?
> There is another way to solve this problem?

Of course: find the source of the errors and fix that. Programming with a 
band-aid is never a good solution.


--
Peter Below (TeamB)  
Use the newsgroup archives :
http://www.mers.com/searchsite.html
http://www.tamaracka.com/search.htm
http://groups.google.com
http://www.prolix.be



Im Zweifelsfalle:

Erstelle das Programm neu mit ausf�hrlicher MAP-Datei.

Starte es und warte auf den Fehler.

Nimm den Hexadezimalwert aus Deiner Fehlermeldung (RuntimeError 231 at 0000000000410787) hier also 410787 und suche diesen Wert in der MAP-Datei. Mit ein bisserl Gl�ck bekommst Du dort die Angabe zu einer Klasse und der Methode, in der der Fehler auftritt.

�berpr�fe die Methode und ggfls. die Routinen, die ihren Aufruf enthalten.

Ansonsten: Programm im Debugger starten und auf den Fehler warten. Damit solltest Du zumindest in die N�he der Fehlerquelle kommen und dort musst Du dann den Quelltext auf m�gliche Fehler �berpr�fen.

Oder von den Jedis die Komponente TJvDebugHandler benutzen.

Oder: http://docwiki.embarcadero.com/RADSt…lte_Exceptions

Typische Ursache f�r diesen Fehler:

Fehler in der Fehlerbehandlung. Die Verarbeitung einer Exception l�st eine weitere Exception aus, deren Behandlung eine Exception ausl�st, wobei deren Behandlung eine Exception ausl�st, …

Pr�fe bitte mal die Fehlerbehandlung in Deinem Programm und stelle dort innerhalb der Fehlerbehandlung Fehlerfreiheit sicher.

cpprioli

Posts: 4
Joined: 14 Jul 2021, 18:42
Location: Pitman, NJ USA

Runtime Error 231 on Windows 10 64-bit

#1

Post

by cpprioli » 23 Jul 2021, 12:19

Using Windows 10 64-bit with 64-bit version of DipTrace 4.1.3.1 (July 1, 2021 release) I continually get a Runtime Error 231 whenever I launch Component Editor. This was preceded by an inability to access certain libraries, reporting that the library had been blocked from change by me. This is the only PC on which I have DipTrace installed, and a single instance of the app was running, though I did have Schematic Capture and Component Editor running at the same time. Just before the first crash, Component Editor reported that a specific number — the part number of a component that I had just DL’d from SnapEDA, was not a valid integer.

Any ideas out there?

——————————————————————————-

-ChrisP

«Getting there is half the fun…»


cpprioli

Posts: 4
Joined: 14 Jul 2021, 18:42
Location: Pitman, NJ USA

Re: Runtime Error 231 on Windows 10 64-bit

#2

Post

by cpprioli » 23 Jul 2021, 16:17

Update — at a closer look, the very first errmess that occurs is a divide by zero error. It appears that htis only happens with the Component Editor module…

——————————————————————————-

-ChrisP

«Getting there is half the fun…»


Alex

Technical Support
Posts: 3749
Joined: 14 Jun 2010, 06:43

Re: Runtime Error 231 on Windows 10 64-bit

#3

Post

by Alex » 26 Jul 2021, 05:03

Please open regedit, find HKEY_CURRENT_USERSOFTWARENovarmDipTrace registry tree and export it to a file. Please send the file to DipTrace support. Then find default.reg in DipTrace folder and run it. That will reset DipTrace settings in Windows registry to default. It should solve the problem.


Понравилась статья? Поделить с друзьями:

Читайте также:

  • Delete failed internal error adb
  • Del ошибка на стиральной машине lg
  • Deh 1500ubg amp error
  • Deftones error перевод песни
  • Deftones error lyrics

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии