<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
    <title></title>
  </head>

  <body>
    <p style="margin: 0px;"><span> </span></p>

    <p style="margin: 0px;"> </p>

    <div style="margin: 5px 0px 5px 0px;">
      <br/>
       Torsten Bonde Christiansen <tc@epidata.dk> hat am 14. Juli 2011 um 11:27 geschrieben:<br/>
      <br/>

      <blockquote style="margin-left: 0px; padding-left: 10px; border-left: solid 1px blue;" type="cite">
        On 2011-07-14 11:06, Mattias Gaertner wrote: 

        <blockquote type="cite">
          <p style="margin: 0px;"><span> </span></p>

          <p style="margin: 0px;"> </p>

          <div style="margin: 5px 0px;">
            Torsten Bonde Christiansen <a href="mailto:tc@epidata.dk"><tc@epidata.dk></a> hat am 14. Juli 2011 um 10:45 geschrieben:<br/>
            <br/>
             > Hi List.<br/>
             ><br/>
             > I was trying to check out my form with the .lfm view mode of lazarus,<br/>
             > but there seems to be a bug. This is with the latest svn revision:<br/>
             > Lazarus 0.9.31 r31694M FPC 2.4.2 x86_64-linux-gtk 2
          </div>

          <p style="margin: 0px;"> </p>

          <p style="margin: 0px;">What do you mean with '.lfm view mode'?</p>
        </blockquote>The feature: Right click form -> View source (.lfm)
      </blockquote>
    </div>

    <p style="margin: 0px;"> </p>

    <p style="margin: 0px;">That simply opens a file. It works here. </p>

    <p style="margin: 0px;">Maybe related to the gtk2 bug of wrong OnMouseDown event. </p>

    <p style="margin: 0px;"> </p>

    <p style="margin: 0px;"> </p>

    <div style="margin: 5px 0px 5px 0px;">
      <blockquote style="margin-left: 0px; padding-left: 10px; border-left: solid 1px blue;" type="cite">
        <blockquote type="cite">
          <div style="margin: 5px 0px;">
            >[...]<br/>
             > TApplication.HandleException Access violation<br/>
             >    Stack trace:<br/>
             >    $00000000005C37C0 line 415 of ../inc/objpas.inc
          </div><br/>

          <p style="margin: 0px;"> </p>

          <p style="margin: 0px;">Can you start the IDE in gdb and create a backtrace?</p>
        </blockquote>This is the best I could get - it's from Lazarus own call stack window. Taken right<br/>
         after the error occured.<br/>
        <br/>
         #0 INHERITSFROM(0x8948d07d8948ffff, 0x14227f8) at ../inc/objpas.inc:416<br/>
         #1 fpc_do_is(0x8948d07d8948ffff, 0x8948d07d8948ffff) at ../inc/objpas.inc:40<br/>
         #2 ?? at pthread_mutex_lock.c:201<br/>
         #3 GTKWSPOPUPDELAYEDCLOSE(0x7fffee99c860, 0x7fffee99c860) at gtk2/gtk2wsmenus.pp:603
      </blockquote>
    </div>

    <p style="margin: 0px;"> </p>

    <p style="margin: 0px;">Thanks. Maybe Zeljko can help. </p>

    <p style="margin: 0px;"> </p>

    <div style="margin: 5px 0px 5px 0px;">
      <blockquote style="margin-left: 0px; padding-left: 10px; border-left: solid 1px blue;" type="cite">
        #4 g_main_context_dispatch at :0<br/>
         #5 ?? at :0<br/>
         #6 g_main_context_iteration at :0<br/>
         #7 APPPROCESSMESSAGES(0x7ffff7dffc30) at gtk2/gtk2widgetset.inc:2397<br/>
         #8 POPUP(0x7fffeebcc3b0, 0x7fffee99c860, 633, 509) at gtk2/gtk2wsmenus.pp:661<br/>
         #9 POPUP(0x7fffee99c860, 633, 509) at include/popupmenu.inc:87<br/>
         #10 MOUSEUPONCONTROL(0x7ffff7ff4bc0, 0x7fffeb812250, @0x7fffffffdde0: {MSG = 517, KEYS = 2, XPOS = 97, YPOS = 81, POS = {X = 97, Y = 81}, DUMMY = 5308513, RESULT = 0}) at ../designer/designer.pp:2188<br/>
         #11 ISDESIGNMSG(0x7ffff7ff4bc0, 0x7fffeb812250, @0x7fffffffdde0: {MSG = 517, UNUSEDMSG = 0, WPARAM = 2, LPARAM = 5308513, RESULT = 0}) at ../designer/designer.pp:2623<br/>
         #12 WNDPROC(0x7fffeb812250, @0x7fffffffdde0: {MSG = 517, UNUSEDMSG = 0, WPARAM = 2, LPARAM = 5308513, RESULT = 0}) at include/control.inc:1594<br/>
         #13 WNDPROC(0x7fffeb812250, @0x7fffffffdde0: {MSG = 517, UNUSEDMSG = 0, WPARAM = 2, LPARAM = 5308513, RESULT = 0}) at include/wincontrol.inc:5243<br/>
         #14 WNDPROC(0x7fffeb812250, @0x7fffffffdde0: {MSG = 517, UNUSEDMSG = 0, WPARAM = 2, LPARAM = 5308513, RESULT = 0}) at include/customform.inc:1368<br/>
         #15 DELIVERMESSAGE(0x7fffeb812250, @0x7fffffffdde0: 0) at lclmessageglue.pas:111<br/>
         #16 DELIVERMESSAGE(0x7fffeb812250, @0x7fffffffdde0: 0) at gtk2/gtk2proc.inc:3628<br/>
         #17 DELIVERMOUSEUPMESSAGE(0x1c9dac0, 0x1e2de50, 0x7fffeb812250) at gtk2/gtk2callback.inc:1920<br/>
         #18 GTKMOUSEBTNRELEASE(0x1c9dac0, 0x1e2de50, 0x7fffeb812250) at gtk2/gtk2callback.inc:1977<br/>
        [...]
      </blockquote>
    </div><br/>
    <br/>
    Mattias<br/>
    <br/>
  </body>
</html>