On the latest Lazarus revision under FPC 2.0.4, this problem
continues, but with a different reaction at first.

Please note that there is an attempt to touch memory that was not
allocated, or was released before it was needed to.

At first I do have response from the editor, but when I try to move
into the component palate, or object inspector, Lazarus crashes with
the following backtrace:

(gdb) bt
#0  0x00000000004223b5 in SYSTEM_TRY_CONCAT_FREE_CHUNK_FORWARD$PMEMCHUNK_VAR ()
#1  0x00000000004223ed in
SYSTEM_TRY_CONCAT_FREE_CHUNK$PMEMCHUNK_VAR$$PMEMCHUNK_VAR ()
#2  0x0000000000422cc5 in SYSTEM_SYSFREEMEM_VAR$PMEMCHUNK_VAR$$INT64 ()
#3  0x0000000000422d3c in SYSTEM_SYSFREEMEM$POINTER$$INT64 ()
#4  0x00000000004219c2 in SYSTEM_FREEMEM$POINTER$$INT64 ()
#5  0x000000000041561e in SYSTEM_DISPOSEANSISTRING$POINTER ()
#6  0x0000000000415684 in fpc_ansistr_decr_ref ()
#7  0x0000000000504e45 in DRAWLINE (THELINE=Cannot access memory at
address 0x8000ffee5cb8
) at gtkwinapi.inc:2996
#8  0x000000000050479c in TGTKWIDGETSET__DRAWTEXT (DC=Cannot access
memory at address 0x8000ffee5df8
) at gtkwinapi.inc:3054
#9  0x0000000000549752 in DRAWTEXT (DC=Cannot access memory at address
0x8000ffee5e38
) at winapi.inc:186
#10 0x000000000057c3a9 in TCANVAS__TEXTRECT (ARECT=Cannot access
memory at address 0x8000ffee5e70
) at canvas.inc:1036
#11 0x00000000006aa550 in TPROPERTYEDITOR__PROPDRAWVALUE
(ACANVAS=Cannot access memory at address 0x8000ffee5f78
) at propedits.pp:2542
#12 0x00000000006987d9 in TOICUSTOMPROPERTYGRID__PAINTROW (AROW=Cannot
access memory at address 0x8000ffee60dc
) at objectinspector.pp:2148
#13 0x0000000000699b1b in TOICUSTOMPROPERTYGRID__DOPAINT
(PAINTONLYCHANGEDVALUES=Cannot access memory at address 0x8000ffee61dc
) at objectinspector.pp:2230
#14 0x0000000000699e19 in TOICUSTOMPROPERTYGRID__PAINT (this=Cannot
access memory at address 0x8000ffee61f8
) at objectinspector.pp:2255
#15 0x0000000000545634 in TCUSTOMCONTROL__PAINTWINDOW (DC=Cannot
access memory at address 0x8000ffee6298
) at customcontrol.inc:127
#16 0x0000000000533026 in TWINCONTROL__PAINTHANDLER (THEMESSAGE=Cannot
access memory at address 0x8000ffee63a8
) at wincontrol.inc:2992
#17 0x00000000005368b9 in TWINCONTROL__WMPAINT (MSG=Cannot access
memory at address 0x8000ffee64a8
) at wincontrol.inc:4669
#18 0x0000000000545553 in TCUSTOMCONTROL__WMPAINT (MESSAGE=Cannot
access memory at address 0x8000ffee64c8
) at customcontrol.inc:107
#19 0x000000000041b393 in SYSTEM_TOBJECT_$__DISPATCH$formal ()
#20 0x000000000053e32d in TCONTROL__WNDPROC (THEMESSAGE=Cannot access
memory at address 0x8000ffee6558
) at control.inc:1549
#21 0x00000000005340b5 in TWINCONTROL__WNDPROC (MESSAGE=Cannot access
memory at address 0x8000ffee65b8
) at wincontrol.inc:3426
#22 0x0000000000559d46 in DELIVERMESSAGE (TARGET=Cannot access memory
at address 0x8000ffee66c8
) at gtkproc.inc:3602
#23 0x0000000000510336 in TGTKWIDGETSET__SENDMESSAGE (HANDLEWND=Cannot
access memory at address 0x8000ffee6738
) at gtkwinapi.inc:8197
#24 0x00000000004f0c63 in TGTKWIDGETSET__APPPROCESSMESSAGES
(this=Cannot access memory at address 0x8000ffee6778
) at gtkobject.inc:1803
#25 0x00000000004379b0 in TAPPLICATION__HANDLEMESSAGE (this=Cannot
access memory at address 0x8000ffee6798
) at application.inc:904
#26 0x0000000000437e69 in RUNMESSAGE (parentfp=Cannot access memory at
address 0x8000ffee67b8
) at application.inc:1019
#27 0x0000000000437d84 in TAPPLICATION__RUNLOOP (this=Cannot access
memory at address 0x8000ffee68b8
) at application.inc:1029
#28 0x000000000048a03d in TWIDGETSET__APPRUN (ALOOP=Cannot access
memory at address 0x8000ffee68d8
) at interfacebase.inc:42
#29 0x0000000000437d27 in TAPPLICATION__RUN (this=Cannot access memory
at address 0x8000ffee6918
) at application.inc:1008
#30 0x000000000040fb95 in main () at lazarus.pp:99


On 9/18/06, Andrew Haines <[EMAIL PROTECTED]> wrote:
ik wrote:
> Hi,
>
> I'm using Lazarus from revision 9918 on FPC 2.0.4 on Ubuntu Linux
> x86_64 with gtk 1.2 (and gnome if that matters).
>
> I tried to paste text into Lazarus's editor from the temporary
> clipboard of X using a mouse.
>
> The result caused Lazarus to hang, with high memory usage, and made
> itself to be on top of the list of the top command until I'd killed it
> (after a minute of waiting).
>
> I can recreate it any time i recompile Lazarus and on every run I make
> with Lazarus.
>
> Ido
>
>

Same here. Only affects pasting to a TSynEdit from outside the
application. Here's a backtrace:

0x00002b36a18a62ce in g_hash_table_lookup () from /usr/lib/libglib-1.2.so.0
(gdb) bt
#0  0x00002b36a18a62ce in g_hash_table_lookup () from
/usr/lib/libglib-1.2.so.0
#1  0x00002b36a19e507d in gdk_atom_intern () from /usr/lib/libgdk-1.2.so.0
#2  0x00002b36a1de6b31 in gtk_selection_remove_all ()
   from /usr/lib/libgtk-1.2.so.0
#3  0x00002b36a1de7ce2 in gtk_selection_convert ()
   from /usr/lib/libgtk-1.2.so.0
#4  0x000000000055ee73 in REQUESTSELECTIONDATA (CLIPBOARDWIDGET=Cannot
access me mory at address 0x80000953f0a8
)
    at gtkproc.inc:6705
#5  0x00000000004fd943 in TGTKWIDGETSET__CLIPBOARDGETFORMATS
(CLIPBOARDTYPE=Cann ot access memory at address 0x80000953f1ac
)
    at gtkwinapi.inc:508
#6  0x000000000054c3d2 in CLIPBOARDGETFORMATS (CLIPBOARDTYPE=Cannot
access memor y at address 0x80000953f1dc
)
    at lclintf.inc:80
#7  0x00000000005ea94a in TCLIPBOARD__HASFORMAT (FORMATID=Cannot access
memory a t address 0x80000953f21c
) at clipbrd.inc:609
#8  0x0000000000956006 in TCUSTOMSYNEDIT__PASTEFROMCLIPBOARD
(this=Cannot access  memory at address 0x80000953f408
)
    at synedit.pp:4709
#9  0x0000000000962f87 in TCUSTOMSYNEDIT__EXECUTECOMMAND (COMMAND=Cannot
access memory at address 0x80000953f81c
)
    at synedit.pp:8276
#10 0x000000000095f614 in TCUSTOMSYNEDIT__COMMANDPROCESSOR
(COMMAND=Cannot acces s memory at address 0x80000953f85c
)
    at synedit.pp:7424
#11 0x000000000094f358 in TCUSTOMSYNEDIT__KEYDOWN (KEY=Cannot access
memory at a ddress 0x80000953fa38
) at synedit.pp:2133
#12 0x000000000053494e in TWINCONTROL__KEYDOWNBEFOREINTERFACE
(KEY=Cannot access  memory at address 0x80000953fa68
)
    at wincontrol.inc:3604
#13 0x0000000000534cc9 in TWINCONTROL__DOKEYDOWNBEFOREINTERFACE
(MESSAGE=Cannot access memory at address 0x80000953faa8
)
---Type <return> to continue, or q <return> to quit---
    at wincontrol.inc:3740
#14 0x0000000000536e35 in TWINCONTROL__CNKEYDOWN (MESSAGE=Cannot access
memory at address 0x80000953fac8
)
    at wincontrol.inc:4787
#15 0x000000000041c2f3 in SYSTEM_TOBJECT_$__DISPATCH$formal ()
#16 0x000000000053e375 in TCONTROL__WNDPROC (THEMESSAGE=Cannot access
memory at address 0x80000953fb58
) at control.inc:1552
#17 0x00000000005341e5 in TWINCONTROL__WNDPROC (MESSAGE=Cannot access
memory at address 0x80000953fbb8
)
    at wincontrol.inc:3396
#18 0x000000000095de96 in TCUSTOMSYNEDIT__WNDPROC (MSG=Cannot access
memory at address 0x80000953fbd8
) at synedit.pp:6958
#19 0x0000000000559986 in DELIVERMESSAGE (TARGET=Cannot access memory at
address 0x80000953fce8
) at gtkproc.inc:3613
#20 0x0000000000556935 in HANDLEGTKKEYUPDOWN (WIDGET=Cannot access
memory at address 0x80000953fe18
) at gtkproc.inc:2479
#21 0x0000000000563407 in GTKKEYUPDOWN (WIDGET=Cannot access memory at
address 0x80000953fe48
) at gtkcallback.inc:572
#22 0x00002b36a1db95ce in gtk_marshal_BOOL__POINTER ()
   from /usr/lib/libgtk-1.2.so.0
#23 0x00002b36a1dea4b3 in gtk_signal_connect_while_alive ()
   from /usr/lib/libgtk-1.2.so.0
#24 0x00002b36a1deb147 in gtk_signal_emit_stop_by_name ()
   from /usr/lib/libgtk-1.2.so.0
#25 0x00002b36a1dec13b in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#26 0x00002b36a1e25a6c in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#27 0x00002b36a1db90a8 in gtk_propagate_event () from
/usr/lib/libgtk-1.2.so.0
#28 0x00002b36a1db928f in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#29 0x00002b36a19db8d2 in gdk_event_get () from /usr/lib/libgdk-1.2.so.0
#30 0x00002b36a18a9c52 in g_get_current_time () from
/usr/lib/libglib-1.2.so.0
---Type <return> to continue, or q <return> to quit---
#31 0x00002b36a18aa866 in g_main_add_poll () from /usr/lib/libglib-1.2.so.0
#32 0x00002b36a1db8128 in gtk_main_iteration_do ()
   from /usr/lib/libgtk-1.2.so.0
#33 0x00000000004f104e in TGTKWIDGETSET__APPWAITMESSAGE (this=Cannot
access memory at address 0x8000095406b8
)
    at gtkobject.inc:1822
#34 0x0000000000459a2a in TAPPLICATION__IDLE (WAIT=Cannot access memory
at address 0x8000095406ec
) at application.inc:282
#35 0x000000000045b191 in TAPPLICATION__HANDLEMESSAGE (this=Cannot
access memory at address 0x800009540708
)
    at application.inc:905
#36 0x000000000045b631 in RUNMESSAGE (parentfp=Cannot access memory at
address 0x800009540728
) at application.inc:1019
#37 0x000000000045b54c in TAPPLICATION__RUNLOOP (this=Cannot access
memory at address 0x800009540828
) at application.inc:1029
#38 0x00000000004ab485 in TWIDGETSET__APPRUN (ALOOP=Cannot access memory
at address 0x800009540848
) at interfacebase.inc:42
#39 0x000000000045b4ef in TAPPLICATION__RUN (this=Cannot access memory
at address 0x800009540888
) at application.inc:1008
#40 0x0000000000410af5 in main () at lazarus.pp:99





--
http://ik.homelinux.org/

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to