Recent

Author Topic: Lazarus crash when starting on MacBook intel OS X  (Read 7461 times)

heikemat

  • Newbie
  • Posts: 3
Lazarus crash when starting on MacBook intel OS X
« on: November 03, 2006, 04:15:19 pm »
The Lazarus was going up fine, but craching 3 secs later with the following Error Message:
#:~/pascal/lazarus heikemat$ ./lazarus
TApplication.IconChanged - TODO: convert this message...no implementation in gtk or win32
Note: environment config file not found - using defaults
NOTE: editor options config file not found - using defaults
NOTE: miscellaneous options file not found - using defaults
NOTE: codetools config file not found - using defaults
NOTE: help options config file not found - using defaults
TMainIDE.DoNewProject A
TMainIDE.DoNewEditorFile A NewFilename=
[TCustomFormEditor.CreateComponent] Class='TForm'
TMainIDE.DoNewEditorFile end unit1.pas
TApplication.HandleException Access violation
Stack trace:
  $00000000
TApplication.HandleException: there was another exception during showing the first exception
Note: GetTextBuf is overridden for:     Ð8ü¼
                                            ðîöö_
lazarus.pp - unhandled exception
[FORMS.PP] ExceptionOccurred

Have trying different ways tackling the problem.
- Wikipedia Help and tutorials
- Installing Fink and libraries...
- Compiling from source svn packages
- Installing from snapshots
- Checking Access Rights and so on.

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
RE: Lazarus crash when starting on MacBook intel OS X
« Reply #1 on: November 03, 2006, 04:27:23 pm »
Did yoyu try to create a back trace (see http://wiki.lazarus.freepascal.org/Creating_a_Backtrace_with_GDB).

Is this the same problem as the other MacIntel user had yesterday http://www.lazarus.freepascal.org/index.php?name=PNphpBB2&file=viewtopic&p=14026 ?

heikemat

  • Newbie
  • Posts: 3
Lazarus crash when starting on MacBook intel OS X
« Reply #2 on: November 03, 2006, 07:05:06 pm »
Thank you for your response!

Here is the backtrace report. Hoping it will give you some hints about whats going wrong.

I'm quite new on this but intresting subject, so I would appreciate any further assistance.

========================================
mattih2:~/pascal/lazarus heikemat$ gdb lazarus
GNU gdb 6.1-20040303 (Apple version gdb-437) (Fri Jan 13 18:45:48 GMT 2006)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-apple-darwin"...Reading symbols for shared libraries .......... done

(gdb) break fpc_raiseexception
Breakpoint 1 at 0x20df96: file baseideintf.pas, line 44.
(gdb) run
Starting program: /Users/heikemat/pascal/lazarus/lazarus
Reading symbols for shared libraries ..+...+++ done
TApplication.IconChanged - TODO: convert this message...no implementation in gtk or win32
Note: environment config file not found - using defaults
NOTE: editor options config file not found - using defaults
NOTE: miscellaneous options file not found - using defaults
NOTE: codetools config file not found - using defaults
NOTE: help options config file not found - using defaults
TMainIDE.DoNewProject A
TMainIDE.DoNewEditorFile A NewFilename=
[TCustomFormEditor.CreateComponent] Class='TForm'

Breakpoint 1, $0020df96 in SORTGRIDROWS (ITEM1=$3f5bfa0, ITEM2=$583fe40) at objectinspector.pp:695
695     objectinspector.pp: No such file or directory.
        in objectinspector.pp
(gdb)

Regards Matti

heikemat

  • Newbie
  • Posts: 3
Lazarus crash when starting on MacBook intel OS X
« Reply #3 on: November 03, 2006, 08:36:23 pm »
Hi, it's working now!

After downloading todays snapshot (lazarus-0.9.19-20061103-i386-macosx.dmg) and before running Lazarus I wrote on the command line:
#:/usr/local/share/lazarus $ sudo chmod -R 777 lazarus

But I still wonder why the svn source -compiled package crached in first run?

Anyway, thank you very much.

 

TinyPortal © 2005-2018