Recent

Author Topic: Crash on Intel Mac Mini  (Read 9545 times)

ovidius

  • New Member
  • *
  • Posts: 21
Crash on Intel Mac Mini
« on: November 01, 2006, 10:54:19 am »
Hi,

I have installed Lazarus, Freepascal, gdk-pixbuf and so on, like told in the wiki, on an Intel Mac Mini running Mac OS X 10.4.8.  I have used the daily snapshots for mac i386 for this. The installation works fine, but Lazarus chrashes just a second after the windows are opened. Since I expericenced this behaviour for quite some time, I am asking for help in the most polite way, since I know that the snapshot are experimental.

BTW I have successfully installed and run Lazarus on my iBook, so I doubt that it is a problem of a false installation procedure. At the moment I am using my iBook installation with the ported fink tree under Rosetta, but this is not the optimal solution.

If this is really a known bug I apologize. If not, where to commit it to?

Thank You

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
RE: Crash on Intel Mac Mini
« Reply #1 on: November 01, 2006, 12:31:42 pm »
This seems like a bug to me.

Can you create a back trace.

ovidius

  • New Member
  • *
  • Posts: 21
Crash on Intel Mac Mini
« Reply #2 on: November 01, 2006, 05:00:32 pm »
I am not sure if it is good to post this here, but nevertheless...

Code: [Select]

gdb ./lazarus
GNU gdb 6.3.50-20050815 (Apple version gdb-563) (Wed Jul 19 05:10:58 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) run
Starting program: /Users/ingolf/test/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'
TMainIDE.DoNewEditorFile end unit1.pas

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x0000004f
0x0019409e in GTKAPIWIDGETCLIENT_DRAWCARET (CLIENT=0x4d38e00, CALLEDBYTIMER=false) at gtkwinapiwindow.pp:730
730     gtkwinapiwindow.pp: No such file or directory.
        in gtkwinapiwindow.pp
(gdb) bt
#0  0x0019409e in GTKAPIWIDGETCLIENT_DRAWCARET (CLIENT=0x4d38e00, CALLEDBYTIMER=false) at gtkwinapiwindow.pp:730
#1  0x001936f1 in GTKAPIWIDGETCLIENT_HIDECARET (CLIENT=0x4d38e00, OLDVISIBLE=true) at gtkwinapiwindow.pp:594
#2  0x00194646 in GTKAPIWIDGETCLIENT_SETCARETPOS (CLIENT=0x4d38e00, AX=45, AY=1) at gtkwinapiwindow.pp:850
#3  0x00194ab5 in GTKAPIWIDGET_SETCARETPOS (APIWIDGET=0x4d38a50, X=45, Y=1) at gtkwinapiwindow.pp:1082
#4  0x000d1668 in TGTKWIDGETSET__SETCARETPOSEX (HANDLE=80972368, X=45, Y=1, this=0x3e97020) at gtkwinapi.inc:8399
#5  0x00100e34 in SETCARETPOSEX (HANDLE=80972368, X=45, Y=1) at winapi.inc:703
#6  0x00445894 in TCUSTOMSYNEDIT__UPDATECARET (this=0x58771b0) at synedit.pp:5690
#7  0x00449b0a in TCUSTOMSYNEDIT__INITIALIZECARET (this=0x58771b0) at synedit.pp:7447
#8  0x00445dd4 in TCUSTOMSYNEDIT__WMSETFOCUS (MSG={MSG = 7, FOCUSEDWND = 0, UNUSED = 0, RESULT = 0}, this=0x58771b0) at synedit.pp:5885
#9  0x0000d76a in SYSTEM_TOBJECT_$__DISPATCH$formal () at baseideintf.pas:44
#10 0x000f5bac in TCONTROL__WNDPROC (THEMESSAGE={MSG = 7, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, LPARAMLO = 0, LPARAMHI = 0, RESULTLO = 0, RESULTHI = 0}, this=0x58771b0) at control.inc:1543
#11 0x000ed0b4 in TWINCONTROL__WNDPROC (MESSAGE={MSG = 7, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, LPARAMLO = 0, LPARAMHI = 0, RESULTLO = 0, RESULTHI = 0}, this=0x58771b0) at wincontrol.inc:3459
#12 0x00448d6e in TCUSTOMSYNEDIT__WNDPROC (MSG={MSG = 7, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, LPARAMLO = 0, LPARAMHI = 0, RESULTLO = 0, RESULTHI = 0}, this=0x58771b0) at synedit.pp:7151
#13 0x0010ca8b in DELIVERMESSAGE (TARGET=0x58771b0, AMESSAGE={formal} 0xbfffece4) at gtkproc.inc:3605
#14 0x001157de in GTKFOCUSCBAFTER (WIDGET=0x4d38e00, EVENT=0xbffff184, DATA=0x58771b0) at gtkcallback.inc:693
#15 0x04880ffa in gtk_marshal_BOOL__POINTER (object=0x4d38e00, func=0x1157a0 <GTKFOCUSCBAFTER>, func_data=0x58771b0, args=0xbfffee5c) at gtkmarshal.c:28
#16 0x048b4011 in gtk_handlers_run (handlers=0x4d38e70, signal=0xbfffedbc, object=0x4d38e00, params=0xbfffee5c, after=1) at gtksignal.c:1917
#17 0x048b4fc1 in gtk_signal_real_emit (object=0x4d38e00, signal_id=32, params=0xbfffee5c) at gtksignal.c:1516
#18 0x048b5779 in gtk_signal_emit (object=0x4d38e00, signal_id=32) at gtksignal.c:552
#19 0x048f3909 in gtk_widget_event (widget=0x4d38e00, event=0xbffff184) at gtkwidget.c:2864
#20 0x048f9c6e in gtk_window_focus_in_event (widget=0x4d368f0, event=0x500f618) at gtkwindow.c:1416
#21 0x04880ffa in gtk_marshal_BOOL__POINTER (object=0x4d368f0, func=0x48f9ba4 <gtk_window_focus_in_event>, func_data=0x0, args=0xbffff2ac) at gtkmarshal.c:28
#22 0x048b5035 in gtk_signal_real_emit (object=0x4d368f0, signal_id=32, params=0xbffff2ac) at gtksignal.c:1492
#23 0x048b5779 in gtk_signal_emit (object=0x4d368f0, signal_id=32) at gtksignal.c:552
#24 0x048f3909 in gtk_widget_event (widget=0x4d368f0, event=0x500f618) at gtkwidget.c:2864
#25 0x04880daa in gtk_main_do_event (event=0x500f618) at gtkmain.c:834
#26 0x03c14100 in gdk_event_dispatch (source_data=0x0, current_time=0xbffff6c4, user_data=0x0) at gdkevents.c:2139
#27 0x03a43184 in g_main_dispatch (dispatch_time=0xbffff6c4) at gmain.c:656
#28 0x03a43c13 in g_main_iterate (block=0, dispatch=1) at gmain.c:877
#29 0x0487fa72 in gtk_main_iteration_do (blocking=0) at gtkmain.c:616
#30 0x000b6539 in TGTKWIDGETSET__APPPROCESSMESSAGES (this=0x3e97020) at gtkobject.inc:1773
#31 0x00024fc9 in TAPPLICATION__HANDLEMESSAGE (this=0x3e6f020) at application.inc:897
#32 0x000253e4 in RUNMESSAGE (parentfp=0xbffff7e8) at application.inc:1012
#33 0x00025331 in TAPPLICATION__RUNLOOP (this=0x3e6f020) at application.inc:1022
#34 0x000659d3 in TWIDGETSET__APPRUN (ALOOP=0x252f0 <TAPPLICATION__RUNLOOP>, this=0x3e97020) at interfacebase.inc:42
#35 0x000252ea in TAPPLICATION__RUN (this=0x3e6f020) at application.inc:1001
#36 0x000023c4 in PASCALMAIN () at lazarus.pp:102
#37 0x0001945e in SYSTEM_FPC_SYSTEMMAIN$LONGINT$PPCHAR$PPCHAR () at baseideintf.pas:44
#38 0x00002292 in _start () at baseideintf.pas:44
#39 0x000021b9 in start () at baseideintf.pas:44
Current language:  auto; currently pascal

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Crash on Intel Mac Mini
« Reply #3 on: November 01, 2006, 07:39:32 pm »
Thanks for the back trace.

This looks like a bug indeed. Please create a bug report.

ovidius

  • New Member
  • *
  • Posts: 21
Crash on Intel Mac Mini
« Reply #4 on: November 01, 2006, 09:26:18 pm »
Done. Thanks.

ovidius

  • New Member
  • *
  • Posts: 21
Crash on Intel Mac Mini
« Reply #5 on: November 02, 2006, 08:51:32 pm »
Whow. Already fixed in SVN and working great I just checked. You guys are great! Thank you very much.  :D

 

TinyPortal © 2005-2018