Recent

Author Topic: Lazarus project made on Mac OS 12.5.1 crash on MAC OS 10.7.5 [SOLVED]  (Read 1081 times)

Odacir

  • Jr. Member
  • **
  • Posts: 53
Hi,

I need compile a project in lazarus, to run in older 10.7.5 system. On the Monterey (12.5.1) all ok, but on 10.7.5 crash on start.

I tested a simple project without nothing, and the same crash.

Have some compile option to support old system, or something to-do to run on older system?


The details of the report of crash is:

Code: Pascal  [Select][+][-]
  1. Process:         launchd [68384]
  2. Path:            /Users/USER/Documents/*/test_path.app/Contents/MacOS/test_path
  3. Identifier:      com.company.test_path
  4. Version:         ??? (???)
  5. Code Type:       X86-64 (Native)
  6. Parent Process:  launchd [379]
  7.  
  8. Date/Time:       2024-04-16 13:54:00.937 -0300
  9. OS Version:      Mac OS X 10.7.5 (11G63)
  10. Report Version:  9
  11.  
  12. Interval Since Last Report:          34948118 sec
  13. Crashes Since Last Report:           50711
  14. Per-App Crashes Since Last Report:   9
  15. Anonymous UUID:                      6E8BCDDD-A4E0-4A73-9329-57670CD815D1
  16.  
  17. Crashed Thread:  Unknown
  18.  
  19. Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
  20. Exception Codes: KERN_INVALID_ADDRESS at 0x00007fff5fc01028
  21.  
  22. Backtrace not available
  23.  
  24. Unknown thread crashed with X86 Thread State (64-bit):
  25.   rax: 0x0000000000000055  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  26.   rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x0000000000000000  rsp: 0x0000000000000000
  27.    r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000000
  28.   r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000000
  29.   rip: 0x00007fff5fc01028  rfl: 0x0000000000010203  cr2: 0x00007fff5fc01028
  30. Logical CPU: 2
  31.  
  32. Binary images description not available
  33.  
  34.  
  35. External Modification Summary:
  36.   Calls made by other processes targeting this process:
  37.     task_for_pid: 1
  38.     thread_create: 0
  39.     thread_set_state: 0
  40.   Calls made by this process:
  41.     task_for_pid: 0
  42.     thread_create: 0
  43.     thread_set_state: 0
  44.   Calls made by all processes on this machine:
  45.     task_for_pid: 20394575
  46.     thread_create: 0
  47.     thread_set_state: 0
  48.  
  49. Model: iMac12,1, BootROM IM121.0047.B1F, 4 processors, Intel Core i5, 2.5 GHz, 8 GB, SMC 1.71f22
  50. Graphics: AMD Radeon HD 6750M, AMD Radeon HD 6750M, PCIe, 512 MB
  51. Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, 0x0000, 0x484233535530303447464D384D4D44333320
  52. Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1333 MHz, 0x80AD, 0x484D5434353153364D465238432D50422020
  53. AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x9A), Atheros 9380: 4.0.67.5-P2P
  54. Bluetooth: Version 4.0.8f17, 2 service, 18 devices, 1 incoming serial ports
  55. Network Service: Ethernet, Ethernet, en0
  56. Serial ATA Device: ST3500418AS, 500,11 GB
  57. Serial ATA Device: Samsung SSD 850 EVO 1TB, 1 TB
  58. USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x850b, 0xfa200000 / 3
  59. USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfa100000 / 2
  60. USB Device: Dell USB Entry Keyboard, 0x413c  (Dell Inc.), 0x2107, 0xfa120000 / 5
  61. USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 4
  62. USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0xfa111000 / 8
  63. USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfd100000 / 2
  64. USB Device: USB Optical Mouse, 0x046d  (Logitech Inc.), 0xc077, 0xfd130000 / 5
  65. USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0xfd110000 / 4
  66. USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 3
  67.  
« Last Edit: April 16, 2024, 08:59:18 pm by Odacir »

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 1067
Re: Lazarus project made on Mac OS 12.5.1 crash on MAC OS 10.7.5
« Reply #1 on: April 16, 2024, 08:30:31 pm »
You have to compile with the -WM10.7 command line option

Odacir

  • Jr. Member
  • **
  • Posts: 53
Re: Lazarus project made on Mac OS 12.5.1 crash on MAC OS 10.7.5
« Reply #2 on: April 16, 2024, 08:56:58 pm »
You are the best Jonas!!! Solved!!! Thanks a lot!!!!

 

TinyPortal © 2005-2018