Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-02

Lazarus frozen on F1

16 messages · 7 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

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?

thanks,

Felipe Monteiro de Carvalho

Reply by email

Everton Vieira
to Felipe Monteiro de Carvalho

For sure the help system could be improved.
But about this error i don`t have any single idea.

Felipe Monteiro de Carvalho wrote 140 lines
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? thanks, -- Felipe Monteiro de Carvalho -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Sven Barth
to Felipe Monteiro de Carvalho: I have a strange issue. I configured chm help and everything was fine and nice and then I…
Felipe Monteiro de Carvalho wrote 130 lines
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

Reply by email

Felipe Monteiro de Carvalho
to Sven Barth
Sven Barth wrote
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...

Bingo =) It was /tmp/lazhelp which caused the problem

Felipe Monteiro de Carvalho

Reply by email

Mattias Gaertner
to Felipe Monteiro de Carvalho
Show quoted text 7 lines
On Wed, Feb 8, 2012 at 5:23 PM, Sven Barth wrote: > 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... Bingo =) It was /tmp/lazhelp which caused the problem

Can it be deleted automatically?
Or at least ask the user that there is still a connection and if he wants to delete it.

Who maintains this package?

Mattias

Reply by email

Sven Barth
to Mattias Gaertner
Mattias Gaertner wrote 16 lines
On Wed, 8 Feb 2012 17:26:23 +0100 Felipe Monteiro de Carvalho wrote: > On Wed, Feb 8, 2012 at 5:23 PM, Sven Barth wrote: >> 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... > > Bingo =) It was /tmp/lazhelp which caused the problem Can it be deleted automatically? Or at least ask the user that there is still a connection and if he wants to delete it. Who maintains this package?

I think this is more a problem of SimpleIPC which is the one that created the file. I don't know why the file was left though (maybe lhelp crashed and thus the file was not cleaned...).

Regards,
Sven

Reply by email

Graeme Geldenhuys
to Felipe Monteiro de Carvalho: Bingo =) It was /tmp/lazhelp which caused the problem Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote
Bingo =) It was /tmp/lazhelp which caused the problem

You said you did a reboot? Linux automatically clears out the /tmp directory on a reboot, so the problem should have been fixed automatically after the reboot.

But then, why did the problem occur in the first place? That's a bug that needs to be fixed.

Regards, ? - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net

Reply by email

Sven Barth
to Graeme Geldenhuys
Graeme Geldenhuys wrote 8 lines
On 8 February 2012 18:26, Felipe Monteiro de Carvalho wrote: > > Bingo =) It was /tmp/lazhelp which caused the problem You said you did a reboot? Linux automatically clears out the /tmp directory on a reboot, so the problem should have been fixed automatically after the reboot.

This is not true. Maybe on your system (and mine as well) "/tmp" is mounted as a ramfs (or tmpfs), but on Felipe's system it might be a normal directory on an e.g. ext3 filesystem...

But then, why did the problem occur in the first place? That's a bug that needs to be fixed.

That's what I'd like to know as well. If it occured because of a crash though than there might not be much that can be done.

Regards,
Sven

Reply by email

Felipe Monteiro de Carvalho
to Sven Barth
Sven Barth wrote
This is not true. Maybe on your system (and mine as well) "/tmp" is mounted as a ramfs (or tmpfs), but on Felipe's system it might be a normal directory on an e.g. ext3 filesystem...

Yep, on Mageia it is mounted on ext3

That's what I'd like to know as well. If it occured because of a crash though than there might not be much that can be done.

I don't remember anymore, but still I don't remember any other program which would do such a thing, freeze due to a file lock. Throw an error message saying that I may have to clean the file lock, sure, like subversion and truecrypt do, but freeze?

Felipe Monteiro de Carvalho

Reply by email

Graeme Geldenhuys
to Sven Barth: This is not true. Maybe on your system (and mine as well) "/tmp" is mounted as a ramfs…
Sven Barth wrote
This is not true. Maybe on your system (and mine as well) "/tmp" is mounted as a ramfs (or tmpfs), but on Felipe's system it might be a normal directory on an e.g. ext3 filesystem...

Well, here /tmp is a normal directory on a JFS filesystem. It does *not* use ramfs or tmpfs. I'm using Ubuntu 10.04 and Slackware 13.37 home I'm using Ubuntu 8.04 on a ext3 partition, and it works the same there.

Regards, ? - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net

Reply by email

Graeme Geldenhuys
to Felipe Monteiro de Carvalho: Yep, on Mageia it is mounted on ext3 I don't remember anymore, but still I don't remember…
Felipe Monteiro de Carvalho wrote 7 lines
> That's what I'd like to know as well. If it occured because of a crash > though than there might not be much that can be done. I don't remember anymore, but still I don't remember any other program which would do such a thing, freeze due to a file lock. Throw an error message saying that I may have to clean the file lock, sure, like subversion and truecrypt do, but freeze?

Maybe setup LHelp via the External Tools menu. ;-) [sorry, I couldn't resist]

On Topic:
I agree that the freezing is a bit harsh. It should have thrown an error instead.

Regards, ? - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net

Reply by email

Sven Barth
to Graeme Geldenhuys: Well, here /tmp is a normal directory on a JFS filesystem. It does *not* use ramfs or…
Graeme Geldenhuys wrote 13 lines
On 9 February 2012 11:23, Sven Barth wrote: > > This is not true. Maybe on your system (and mine as well) "/tmp" is mounted > as a ramfs (or tmpfs), but on Felipe's system it might be a normal directory > on an e.g. ext3 filesystem... Well, here /tmp is a normal directory on a JFS filesystem. It does *not* use ramfs or tmpfs. I'm using Ubuntu 10.04 and Slackware 13.37 home I'm using Ubuntu 8.04 on a ext3 partition, and it works the same there.

Next try: It's not Linux itself that does this, but some part of the Distro you are using. Here is a little article I found just now: http://www.cyberciti.biz/faq/debian-ubuntu-removes-files-at-boot-time/

So maybe then Felipe's distro doesn't seem to do this by default.

Regards,
Sven

Reply by email

Sven Barth
to Graeme Geldenhuys: Maybe setup LHelp via the External Tools menu. ;-) [sorry, I couldn't resist] On Topic:…
Graeme Geldenhuys wrote 17 lines
On 9 February 2012 11:27, Felipe Monteiro de Carvalho wrote: >> That's what I'd like to know as well. If it occured because of a crash >> though than there might not be much that can be done. > > I don't remember anymore, but still I don't remember any other program > which would do such a thing, freeze due to a file lock. Throw an error > message saying that I may have to clean the file lock, sure, like > subversion and truecrypt do, but freeze? Maybe setup LHelp via the External Tools menu. ;-) [sorry, I couldn't resist] On Topic: I agree that the freezing is a bit harsh. It should have thrown an error instead.

I don't know currently how SimpleIPC works exactly, but you might try to implement a small testcase (two programs, a server and a client) which tries to reproduce the problem (e.g. crash the server and restart it) and report that as a bug...

Regards,
Sven

Reply by email

William Oliveira Ferreira
to Sven Barth: Next try: It's not Linux itself that does this, but some part of the Distro you are…

as mageia is a fork of madriva, a big distro, i've found this: http://lists.mandriva.com/bugs/2010-06/msg00502.php ________________________________
William de Oliveira Ferreira
Bacharel em Sistemas de Informa??o

2012/2/9 Sven Barth

Show quoted text 36 lines
Am 09.02.2012 10:32, schrieb Graeme Geldenhuys: On 9 February 2012 11:23, Sven Barth wrote: > >> >> This is not true. Maybe on your system (and mine as well) "/tmp" is >> mounted >> as a ramfs (or tmpfs), but on Felipe's system it might be a normal >> directory >> on an e.g. ext3 filesystem... >> > > > Well, here /tmp is a normal directory on a JFS filesystem. It does > *not* use ramfs or tmpfs. I'm using Ubuntu 10.04 and Slackware 13.37 > home I'm using Ubuntu 8.04 on a ext3 partition, and > it works the same there. > > > Next try: It's not Linux itself that does this, but some part of the Distro you are using. Here is a little article I found just now: http://www.cyberciti.biz/faq/**debian-ubuntu-removes-files-**at-boot-time/<http://www.cyberciti.biz/faq/debian-ubuntu-removes-files-at-boot-time/> So maybe then Felipe's distro doesn't seem to do this by default. Regards, Sven -- ______________________________**_________________ Lazarus mailing list .**freepascal.org http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarus<http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120209/3ebaf292/attachment.html>

Reply by email

Graeme Geldenhuys
to Sven Barth: Next try: It's not Linux itself that does this, but some part of the Distro you are…
Sven Barth wrote
Next try: It's not Linux itself that does this, but some part of the Distro you are using. Here is a little article I found just now: http://www.cyberciti.biz/faq/debian-ubuntu-removes-files-at-boot-time/

Thanks, a useful link.

The wikipedia page also describes the FHS. /tmp is normally cleared between reboots. /var/tmp is not. :)

http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard

But then, what Linux distro believes in any standards!!

Regards, ? - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net

Reply by email

Andrew Haines
to Felipe Monteiro de Carvalho: I have a strange issue. I configured chm help and everything was fine and nice and then I…
Felipe Monteiro de Carvalho wrote 7 lines
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:

I sent a patch to mantis which should resolve this issue in the future. It is caused by a program with a running TSimpleIPCServer killed or crashed that leaves a stale named pipe in the file system.

http://bugs.freepascal.org/view.php?id=21289

Regards,

Andrew Haines

Reply by email