[Lazarus] Lazarus frozen on F1

Sven Barth pascaldragon at googlemail.com
Wed Feb 8 17:23:44 CET 2012


Am 08.02.2012 16:23, schrieb Felipe Monteiro de Carvalho:
> Hello,
>
> I have a strange issue. I configured chm help and everything was fine
> and nice and then I restarted my IDE and suddenly on pressing F1 my
> IDE froze instead of bringing LHelp. And now it always does that even
> after I restarted the computer =( The IDE remains frozen in this
> syscall:
>
> (gdb) bt
> #0  0xffffe430 in __kernel_vsyscall ()
> #1  0x0805e778 in SYSTEM_FPSYSCALL$LONGINT$LONGINT$LONGINT$LONGINT$$LONGINT ()
> #2  0x0805e8d8 in SYSTEM_FPOPEN$PCHAR$LONGINT$LONGWORD$$LONGINT ()
> #3  0x080fe8da in BASEUNIX_FPOPEN$PCHAR$LONGINT$$LONGINT ()
> #4  0x08092a1a in SYSUTILS_FILEOPEN$ANSISTRING$LONGINT$$LONGINT ()
> #5  0xadcbb768 in ?? ()
> #6  0x087d65dc in SIMPLEIPC_TPIPECLIENTCOMM_$__CONNECT ()
> #7  0x087d7627 in SIMPLEIPC_TSIMPLEIPCCLIENT_$__CONNECT ()
> #8  0x087d7445 in SIMPLEIPC_TSIMPLEIPCCLIENT_$__ACTIVATE ()
> #9  0x087d6f5d in SIMPLEIPC_TSIMPLEIPC_$__SETACTIVE$BOOLEAN ()
> #10 0xae599a38 in ?? ()
> #11 0x0899bf6c in TCHMHELPVIEWER__SHOWNODE (NODE=0xadcbb700,
> ERRMSG=0x0, this=<error reading variable>) at lazchmhelp.pas:425
> #12 0x0878ad28 in THTMLHELPDATABASE__SHOWURL (URL=0xadcd6c88
> 'lcl.chm://comctrls/tstatusbar.html', TITLE=
>      0x90948b0 'LCL - Lazarus Component Library Units', ERRMSG=0x0,
> this=<error reading variable>) at lazhelphtml.pas:211
> #13 0x0873a264 in TFPDOCHTMLHELPDATABASE__SHOWHELP (QUERY=0xadcbb580,
> BASENODE=0x0, NEWNODE=0xb63e6760, QUERYITEM=0xae52f760, ERRMSG=
>      0x0, this=<error reading variable>) at helpfpdoc.pas:174
> #14 0x08785d42 in THELPDATABASES__SHOWHELPFORNODES (QUERY=0xadcbb580,
> NODES=0xae52f7a0, ERRMSG=0x0, this=<error reading variable>)
>      at lazhelpintf.pas:1537
> #15 0x0878691b in THELPDATABASES__SHOWHELPFORPASCALCONTEXTS
> (QUERY=0xadcbb580, ERRMSG=0x0, this=<error reading variable>)
>      at lazhelpintf.pas:1715
> #16 0x08785dc2 in THELPDATABASES__SHOWHELPFORQUERY (QUERY=0xadcbb580,
> AUTOFREEQUERY=true, ERRMSG=0x0, this=<error reading variable>)
>      at lazhelpintf.pas:1546
> #17 0x08293da8 in SHOWHELPFORPASCALCONTEXTS (FILENAME=
>      0xb6060788 '/home/felipe/Programas/lazarus/components/chmhelp/lhelp/httpcontentprovider.pas',
> SOURCEPOSITION=...,
>      LISTOFPASCALHELPCONTEXTLIST=0xae52f780, ERRMSG=0x0) at helpintfs.pas:382
> ---Type<return>  to continue, or q<return>  to quit---
> #18 0x08434ad2 in COLLECTDECLARATIONS (CODEBUFFER=0xae5886a0,
> COMPLETE=true, parentfp=0xbfffe23c) at idehelpmanager.pas:1398
> #19 0x0843486e in TIDEHELPMANAGER__SHOWHELPFORSOURCEPOSITION (FILENAME=
>      0xb6060788 '/home/felipe/Programas/lazarus/components/chmhelp/lhelp/httpcontentprovider.pas',
> CODEPOS=..., ERRMSG=0x0, this=
>      <error reading variable>) at idehelpmanager.pas:1427
> #20 0x08433e85 in TIDEHELPDATABASES__SHOWHELPFORSOURCEPOSITION
> (QUERY=0xb6aa8400, ERRMSG=0x0, this=<error reading variable>)
>      at idehelpmanager.pas:1103
> #21 0x08785e94 in THELPDATABASES__SHOWHELPFORQUERY (QUERY=0xb6aa8400,
> AUTOFREEQUERY=true, ERRMSG=0x0, this=<error reading variable>)
>      at lazhelpintf.pas:1556
> #22 0x08293e32 in SHOWHELPORERRORFORSOURCEPOSITION (FILENAME=
>      0xb6060788 '/home/felipe/Programas/lazarus/components/chmhelp/lhelp/httpcontentprovider.pas',
> SOURCEPOSITION=...)
>      at helpintfs.pas:394
> #23 0x084c0325 in TSOURCEEDITOR__FINDHELPFORSOURCEATCURSOR
> (this=<error reading variable>) at sourceeditor.pp:3622
> #24 0x084be5e7 in TSOURCEEDITOR__PROCESSUSERCOMMAND
> (SENDER=0xae1a42a0, COMMAND=1904, ACHAR=..., DATA=0x0, this=
>      <error reading variable>) at sourceeditor.pp:3006
> #25 0x0865d39b in TCUSTOMSYNEDIT__DOONPROCESSCOMMAND (COMMAND=1904,
> ACHAR=..., DATA=0x0, this=<error reading variable>)
>      at synedit.pp:6223
> #26 0x0865b082 in TCUSTOMSYNEDIT__COMMANDPROCESSOR (COMMAND=1904,
> ACHAR=..., DATA=0x0, this=<error reading variable>)
>      at synedit.pp:5595
> #27 0x0865211c in TCUSTOMSYNEDIT__KEYDOWN (KEY=0, SHIFT=...,
> this=<error reading variable>) at synedit.pp:2575
> #28 0x08205366 in TWINCONTROL__KEYDOWNBEFOREINTERFACE (KEY=0,
> SHIFT=..., this=<error reading variable>)
>      at ./include/wincontrol.inc:5518
> #29 0x08205654 in TWINCONTROL__DOKEYDOWNBEFOREINTERFACE (MESSAGE=...,
> ISRECURSECALL=false, this=<error reading variable>)
>      at ./include/wincontrol.inc:5687
> #30 0x08207ba9 in TWINCONTROL__CNKEYDOWN (MESSAGE=..., this=<error
> reading variable>) at ./include/wincontrol.inc:6977
> #31 0x0806d336 in SYSTEM_TOBJECT_$__DISPATCH$formal ()
> ---Type<return>  to continue, or q<return>  to quit---
> #32 0x08207b90 in RAISELOOP (parentfp=0xbfffe774) at
> ./include/wincontrol.inc:6886
> #33 0x08204b1a in TWINCONTROL__WNDPROC (MESSAGE=..., this=<error
> reading variable>) at ./include/wincontrol.inc:5276
> #34 0x08659ed6 in TCUSTOMSYNEDIT__WNDPROC (MSG=..., this=<error
> reading variable>) at synedit.pp:5194
> #35 0x082af101 in DELIVERMESSAGE (TARGET=0xae1a42a0, AMESSAGE=void) at
> lclmessageglue.pas:113
> #36 0x08279b55 in DELIVERMESSAGE (TARGET=0xae1a42a0, AMESSAGE=void) at
> ./gtk2/gtk2proc.inc:3555
> #37 0x08277d1a in DELIVERKEYMESSAGE (TARGET=0xae1a42a0, AMESSAGE=void,
> parentfp=0xbfffe794) at ./gtk2/gtk2proc.inc:1957
> #38 0x0827722d in HANDLEGTKKEYUPDOWN (AWIDGET=0x9562d10,
> AEVENT=0x95585a0, ADATA=0xae19f120, ABEFOREEVENT=true,
> AHANDLEDOWN=true,
>      AEVENTNAME=0x8ac9880 'key-press-event') at ./gtk2/gtk2proc.inc:2313
> #39 0x081cd3ae in GTK2KEYDOWN (WIDGET=0x9562d10, EVENT=0x95585a0,
> DATA=0xae19f120) at ./gtk2/gtk2widgetset.inc:84
> #40 0xb7b22354 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
> #41 0xb78fa384 in g_closure_invoke () from /lib/libgobject-2.0.so.0
> #42 0xb790cdcc in ?? () from /lib/libgobject-2.0.so.0
> #43 0xb7915d6a in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
> #44 0xb7916103 in g_signal_emit () from /lib/libgobject-2.0.so.0
> #45 0xb7c57f56 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
> #46 0xb7b205b3 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
> #47 0xb7b208df in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
> #48 0xb799579a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
> #49 0xb783d4d9 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
> #50 0xb783dce0 in ?? () from /lib/libglib-2.0.so.0
> #51 0xb783df9a in g_main_context_iteration () from /lib/libglib-2.0.so.0
> #52 0x081d1727 in TGTK2WIDGETSET__APPWAITMESSAGE (this=<error reading
> variable>) at ./gtk2/gtk2widgetset.inc:2513
> #53 0x080a1761 in TAPPLICATION__IDLE (WAIT=true, this=<error reading
> variable>) at ./include/application.inc:417
> #54 0x080a32f0 in TAPPLICATION__HANDLEMESSAGE (this=<error reading
> variable>) at ./include/application.inc:1281
> #55 0x080a36de in TAPPLICATION__RUNLOOP (this=<error reading
> variable>) at ./include/application.inc:1413
> ---Type<return>  to continue, or q<return>  to quit---
> #56 0x08104421 in TWIDGETSET__APPRUN (ALOOP=0x80a36a0
> <TAPPLICATION__RUNLOOP>, this=<error reading variable>)
>      at ./include/interfacebase.inc:60
> #57 0x080a3691 in TAPPLICATION__RUN (this=<error reading variable>) at
> ./include/application.inc:1401
> #58 0x0805e530 in main () at lazarus.pp:119
> (gdb)
>
> Any ideas what could be the problem?

There could be a file left in your /tmp directory. It might be 
'/tmp/lazhelp' if the default is kept (at least that's what I've read by 
looking at the source code of the CHM help package). If that file exists 
then just delete it...

Regards,
Sven




More information about the Lazarus mailing list