Unable to open editor options -> access violation
Original Reporter info from Mantis: andi456
-
Reporter name: Andreas Gick
Original Reporter info from Mantis: andi456
- Reporter name: Andreas Gick
Description:
After compiling the latest svn sources of lazarus with fpc 2.1.1, I don't see any syntax highlighting in the editor window, but trying to open the editor options results in a access violation. The corresponding backtrace reads:+
Program received signal SIGSEGV, Segmentation fault.
0x000000000064bb36 in TXMLCONFIG__GETVALUE (APATH=Cannot access memory at address 0x8000ffb1c138
) at laz_xmlcfg.pas:152
152 in laz_xmlcfg.pas
(gdb) bt
#0 0x000000000064bb36 in TXMLCONFIG__GETVALUE (APATH=Cannot access memory at address 0x8000ffb1c138
) at laz_xmlcfg.pas:152
#1 0x000000000064be2c in TXMLCONFIG__GETVALUE (APATH=Cannot access memory at address 0x8000ffb1c1e8
) at laz_xmlcfg.pas:191
#2 0x0000000000767241 in TEDITOROPTIONS__READPASCALCOLORSCHEME (this=Cannot access memory at address 0x8000ffb1c2c8
)
at editoroptions.pp:1545
#3 0x00000000007670bd in TEDITOROPTIONS__READCOLORSCHEME (LANGUAGENAME=Cannot access memory at address 0x8000ffb1c3a8
)
at editoroptions.pp:1538
#4 0x000000000076ec41 in TEDITOROPTIONSFORM__GETCURCOLORSCHEME (LANGUAGENAME=Cannot access memory at address 0x8000ffb1c458
) at editoroptions.pp:3216
#5 0x000000000076acd5 in TEDITOROPTIONSFORM__CREATE (THEOWNER=Cannot access memory at address 0x8000ffb1c538
)
at editoroptions.pp:2405
#6 0x00000000004535b0 in TMAINIDE__MNUENVEDITOROPTIONSCLICKED (SENDER=Cannot access memory at address 0x8000ffb1c5d8
)
at main.pp:3359
#7 0x00000000006a40a3 in TIDEMENUITEM__MENUITEMCLICK (SENDER=Cannot access memory at address 0x8000ffb1c5f8
)
at menuintf.pas:491
#8 0x0000000000571edb in TMENUITEM__CLICK (this=Cannot access memory at address 0x8000ffb1c618
) at menuitem.inc:74
#9 0x0000000000572703 in TMENUITEM__DOCLICKED (MSG=Cannot access memory at address 0x8000ffb1c638
) at menuitem.inc:248
#10 0x000000000041b8fb in TOBJECT__DISPATCH (MESSAGE=Cannot access memory at address 0x8000ffb1c6a8
) at objpas.inc:431
#11 0x000000000054d355 in DELIVERMESSAGE (TARGET=Cannot access memory at address 0x8000ffb1c7b8
) at gtkproc.inc:3443
#12 0x0000000000556692 in GTKACTIVATECB (WIDGET=Cannot access memory at address 0x8000ffb1c808
) at gtkcallback.inc:302
#13 0x00002aaaab106553 in gtk_signal_connect_while_alive ()
from /usr/lib/libgtk-1.2.so.0
#14 0x00002aaaab107434 in gtk_signal_emit_stop_by_name ()
#15 0x00002aaaab10856b in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#16 0x00002aaaab14346a in gtk_widget_activate () from /usr/lib/libgtk-1.2.so.0
#17 0x00002aaaab0dcb52 in gtk_menu_shell_activate_item ()
from /usr/lib/libgtk-1.2.so.0
#18 0x00002aaaab0dcef4 in gtk_menu_shell_activate_item ()
from /usr/lib/libgtk-1.2.so.0
#19 0x00002aaaab0d39fe in gtk_marshal_BOOL__POINTER ()
from /usr/lib/libgtk-1.2.so.0
#20 0x00002aaaab10745f in gtk_signal_emit_stop_by_name ()
from /usr/lib/libgtk-1.2.so.0
#21 0x00002aaaab10856b in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#22 0x00002aaaab146f0e in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#23 0x00002aaaab0d33b7 in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
#24 0x00002aaaab0d36b3 in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#25 0x00002aaaaad0937c in gdk_event_get () from /usr/lib/libgdk-1.2.so.0
#26 0x00002aaaaabd45ff in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#27 0x00002aaaaabd5288 in g_main_add_poll () from /usr/lib/libglib-1.2.so.0
#28 0x00002aaaab0d2548 in gtk_main_iteration_do ()
from /usr/lib/libgtk-1.2.so.0
#29 0x00000000004e994e in TGTKWIDGETSET__APPWAITMESSAGE (this=Cannot access memory at address 0x8000ffb1d7a8
)
at gtkobject.inc:1516
---Type <return> to continue, or q <return> to quit---
#30 0x000000000043684a in TAPPLICATION__IDLE (WAIT=Cannot access memory at address 0x8000ffb1d7dc
) at application.inc:280
#31 0x0000000000438089 in TAPPLICATION__HANDLEMESSAGE (this=Cannot access memory at address 0x8000ffb1d7f8
)
at application.inc:900
#32 0x0000000000438479 in RUNMESSAGE (parentfp=Cannot access memory at address 0x8000ffb1d818
) at application.inc:1016
#33 0x0000000000438394 in TAPPLICATION__RUNLOOP (this=Cannot access memory at address 0x8000ffb1d918
)
at application.inc:1026
#34 0x000000000048807d in TWIDGETSET__APPRUN (ALOOP=Cannot access memory at address 0x8000ffb1d938
) at interfacebase.inc:42
#35 0x0000000000438337 in TAPPLICATION__RUN (this=Cannot access memory at address 0x8000ffb1d978
) at application.inc:1006
#36 0x000000000040f76f in main () at lazarus.pp:88
Steps to reproduce:
start lazarus -> open a project -> select environment -> select editor options
Mantis conversion info:
- Mantis ID: 1499
- OS: gentoo-linux-amd64
- OS Build: latest
- Platform: amd64
- Version: 0.9.11 (SVN)
- Target version: 0.9.12