Vincent Snijders wrote:
Marc Weustink schreef:
Michael Van Canneyt wrote:
Hello,

Clicking the middle mouse button in the Lazarus editor window crashes the IDE with a 'Segmentation fault' if it's compiled for AMD64. The IDE just exits, and prints "Segmentation fault" on the terminal.

The exact same sources, compiled for i386 work fine, and clicking
the middle mouse button pastes the X selection in the editor.
(as I expected it to do).

Tried on Linux-AMD64, SuSE 10.1, today's SVN version of lazarus and FPC.

backtrace ?

AFAIK, none of the laz devels work on a 64 bit machine, so it is a bit hard to test/check


Reproduced using remote access over vnc. To me it looks like major heap corruption.

Backtraces obtained using gdb from the command line.

Vincent


------------------------------------------------------------------------

#0  0x0000000000442d4a in SYSTEM_SYSGETMEM_FIXED$INT64$$POINTER ()
#1  0x0000000000442f7d in SYSTEM_SYSGETMEM$INT64$$POINTER ()
#2  0x0000000000441754 in SYSTEM_GETMEM$POINTER$INT64 ()
#3  0x000000000043a37b in SYSTEM_TOBJECT_$__NEWINSTANCE$$TOBJECT ()
#4  0x000000000043a0e0 in SYSTEM_TOBJECT_$__CREATE$$TOBJECT ()
#5  0x0000000000584345 in DELIVERGTKPAINTMESSAGE (TARGET=0x2b82e3524db0,
    WIDGET=0x1139510, AREA=0x113fa00, REPAINTALL=0 '\0') at gtkcallback.inc:95
#6  0x0000000000584b54 in GTKDRAWAFTER (WIDGET=0x1139510, AREA=0x113fa00,
    DATA=0x2b82e3524db0) at gtkcallback.inc:442

Weird, this wat the result of a middlemouse click ? What does it do ?

Marc (doesn't use the middlemouse for clicking often)


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

Reply via email to