Hi Guys,
I was wondering if you folks got a chance to look into this thing. I
love, LOVE, LLLLOOOVE the clearcase integration--it almost makes me
cry when the thing hangs. At any rate, I don't see anything wrong when
i check the itimers and processes. I use this xemacs+clearcase setup
in a linux environment: [version 21.4.15; February 2005]. My clearcase
version is as follows:
(defconst clearcase-version-stamp "ClearCase-version:
</main/laptop/165>")
(defconst clearcase-version (substring clearcase-version-stamp 19))
perhaps I shouldn't be using this version? If so, what version do I
use and where do I find it?
Also, how I do make sure I don't load old versions of vc-hooks.el?
Where do I look?
Thanks again,
Here's the backtrace:
Lisp backtrace follows:
# (unwind-protect ...)
accept-process-output(#<process "cleartool" pid 19576 state:run> 30)
# bind (timeout proc)
clearcase-ct-accept-process-output(#<process "cleartool" pid 19576
state:run> 30)
# bind (command)
# (unwind-protect ...)
# (unwind-protect ...)
# bind (cmd)
clearcase-ct-blocking-call("unco" "-keep"
"/vobs/someFile/file1.cpp")
apply(clearcase-ct-blocking-call ("unco" "-keep"
"/vobs/someFile/file1.cpp"))
# bind (cmd)
clearcase-ct-cleartool-cmd("unco" "-keep"
"/vobs/someFile/file1.cpp")
apply(clearcase-ct-cleartool-cmd ("unco" "-keep"
"/vobs/someFile/file1.cpp"))
# bind (default-directory)
byte-code("..." [comment-file clearcase-command-messages command
default-directory squeezed file append clearcase-path-native
file-name-directory clearcase-ct-cd message "Running %s..." apply
clearcas
e-ct-cleartool-cmd "Running %s...done" file-exists-p delete-file] 5)
# bind (comment-file camefrom squeezed status flags comment file command)
clearcase-ct-do-cleartool-command("unco" "/vobs/someFile/file1.cpp"
unused "-keep")
# bind (file)
clearcase-uncheckout("/vobs/someFile/file1.cpp")
#<compiled-function nil "...(4)" [buffer-file-name
clearcase-uncheckout] 2
("/usr/share/xemacs/xemacs-packages/lisp/clearcase/clearcase.elc" .
36562) nil>()
call-interactively(clearcase-uncheckout-current-buffer)
# (condition-case ... . error)
# (catch exit ...)
# bind (standard-input standard-output)
# (unwind-protect ...)
recursive-edit()
# bind (inhibit-trace standard-output buffer-read-only)
byte-code("..." [print-escape-newlines print-length debugger-buffer
debugger-value standard-output debugger-args pop-to-buffer
erase-buffer t 50 backtrace debugger-mode re-search-forward "\n[* ]
debug
(" 1 debugger-reenable (lambda debug) "Entering:\n" debug
backtrace-debug 3 delete-char ?* 0 exit "Return value: " prin1 ?\n ?\
error "Signaling: " "Beginning evaluation of function call form:\n"
nil
m
essage "" recursive-edit buffer-read-only inhibit-trace] 3)
# (unwind-protect ...)
# (unwind-protect ...)
# bind (last-command this-command unread-command-event
last-input-event last-input-char last-input-time last-command-event
last-command-char overriding-local-map load-read-function
standard-input
stan
dard-output cursor-in-echo-area)
# (unwind-protect ...)
# bind (debugger-value debug-on-error debug-on-quit debug-on-signal
debugger-buffer debugger-old-buffer debugger-step-after-exit
executing-macro debugger-outer-match-data
debugger-outer-load-read-func
tion debugger-outer-overriding-local-map debugger-outer-last-command
debugger-outer-this-command debugger-outer-unread-command-event
debugger-outer-unread-command-events debugger-outer-last-input-event
debugger-outer-last-input-char debugger-outer-last-input-time
debugger-outer-last-command-event debugger-outer-last-command-char
debugger-outer-standard-input debugger-outer-standard-output
debugger-out
er-cursor-in-echo-area debugger-args)
debug(error (quit))
# (catch debugger ...)
# (unwind-protect ...)
# bind (stack-trace-on-signal debug-on-signal stack-trace-on-error
debug-on-error)
signal(quit nil)
# bind (mouse-grabbed-buffer current-prefix-arg
minibuffer-history-variable minibuffer-history-position
minibuffer-scroll-window)
# (unwind-protect ...)
# bind (minibuffer-default _history_ oconfig mconfig frame buffer
window oframe owindow dir default abbrev-table history readp keymap
initial-contents prompt)
read-from-minibuffer("Find file: " "/vobs/someFile/" #<keymap
read-file-name-map size 2 0xdda> nil file-name-history nil
"/vobs/someFile/file2.cpp")
# bind (minibuffer-completion-table minibuffer-completion-predicate
minibuffer-completion-confirm last-exact-completion insert completer
initial-contents must-match default dir prompt history)
read-file-name-2(file-name-history "Find file: " nil
"/vobs/someFile/file2.cpp" nil nil read-file-name-internal)
# bind (completer initial-contents must-match default dir prompt history type)
read-file-name-1(file file-name-history "Find file: " nil
"/vobs/someFile/file2.cpp" nil nil read-file-name-internal)
# bind (history initial-contents must-match default dir prompt)
read-file-name("Find file: " nil nil nil)
call-interactively(find-file)
# (condition-case ... . error)
# (catch top-level ...)
On 8/15/07, Adrian Aichner <adrian(a)xemacs.org> wrote:
"Sonny Rajagopalan" <sonny.rajagopalan(a)gmail.com>
writes:
> To: Michael Diers <mdiers(a)xemacs.org>, xemacs-beta(a)xemacs.org
> Subject:
> X-Reporter-Void-Vars-Found: w32-quote-process-args
> --text follows this line--
> Hi,
>
> I had a clearcase.el+xemacs problem which generated the following
> debug material. I hope you are able to fix this. Thanks for a glorious
> utility.
>
> The problem is as follows. If I have my xemacs session for more than
> an hour, and then try to load a file that is not checked out, then,
> the modeline says "Note: file is write protected" and xemacs goes in
> "suspend" mode-- I am able to regain control of the terminal by doing
> a Ctrl-G.
Hi Sonny, I use clearcase mode quite heavily in XEmacs-21.5-b28 in a
native Windows build.
I have not seen the issue you describe.
But I've seen hangs (actually just slowness, waiting for a timeout)
when taking the PC offline with clearcase mode integrated.
You can use
M-x clearcase-unintegrate
to disable ClearCase integration in XEmacs.
Use
M-x clearcase-integrate
to turn it on again.
What you can do to help debug this hang is the following:
When all is well and clearcase mode works fine, do
M-x toggle-debug-on-quit
in XEmacs.
When you are at a hang press C-g as usual.
You will get a *Backtrace* buffer and I ask you to send that to
xemacs-beta(a)xemacs.org.
Another thing:
Run
M-x list-itimers
and
M-x list-processes
from time to time and note whether you detect anything unusual there.
General ClearCase Hangup issue common with Laptop PCs:
In general Windows Laptops hang up very badly when taken offline with
active ClearCase views.
Just explore into the M: drive and boom, the machine hangs up.
Often, Ctrl-Alt-Delete will not even respond (within an hour) and a
hard (power-off) reboot is required.
This was true for ClearCase V2002.05 and still is with V2003.06.15.
I run a perl script to stop all my ClearCase view before I hibernate
my laptop at work prior to leaving for the day (if I don't forget,
that is).
I have not been able to automate this so far, because trying to
execute the script upon hibernation with Win32_PowerManagementEvent
will not work.
The computer goes down before the script can complete.
Adrian
>
> Any help is appreciate.
>
> Emacs: XEmacs 21.4 (patch 15) "Security Through Obscurity" [Lucid]
> (i386-redhat-linux, Mule) of Fri Feb 4 2005 on
>
tweety.build.redhat.com
> Package: clearcase.el </main/laptop/116>
>
> current state:
> ==============
> (setq
> system-type 'linux
> system-configuration "i386-redhat-linux"
> emacs-version "21.4 (patch 15) \"Security Through Obscurity\" XEmacs
Lucid"
> clearcase-clearcase-version-installed "ClearCase version 2003.06.00
> (Tue Dec 16 21:15:58 EST 2003)\nclearcase_p2003.06.00-35 (Fri Apr 21
> 17:56:52 EDT 2006) 2006B\nclearcase_p2003.06.00-36 (Fri Apr 21
> 15:10:24 EDT 2006) 2006B\nmultisite_p2003.06.00-13 (Fri Apr 21
> 14:51:58 EDT 2006) 2006B\nmultisite_p2003.06.00-14 (Fri Jun 30
> 11:15:59 EDT 2006)\nclearcase_p2003.06.00-37 (Fri Jun 30 14:52:20 EDT
> 2006)\nclearcase_p2003.06.00-38 (Fri Jun 30 08:20:07 EDT
> 2006)\nclearcase_p2003.06.00-42 (Tue Dec 12 11:09:46 EST
> 2006)\nclearcase_p2003.06.00-43 (Thu Dec 14 11:12:38 EST 2006)\n@(#)
> MVFS version 2003.06.10+ (Sun Nov 5 02:43:38 2006) VNODE built $Date:
> 2006-11-05.11:18:40 (UTC) $\ncleartool
> 2003.06.10+ (Sun Nov 5 03:11:21 EST 2006)\ndb_server
> 2003.06.10+ (Sun Nov 5 02:58:50 EST 2006)\nVOB database schema
> version: 53\n"
> clearcase-cleartool-path "/usr/atria/bin/cleartool"
> clearcase-lt nil
> clearcase-v3 nil
> clearcase-v4 nil
> clearcase-v5 nil
> clearcase-v6 t
> clearcase-servers-online t
> clearcase-disable-tq nil
> clearcase-on-cygwin nil
> clearcase-setview-root "/view/someView/"
> clearcase-suppress-vc-within-mvfs t
> shell-file-name "/bin/bash"
> )
>
> _______________________________________________
> XEmacs-Beta mailing list
> XEmacs-Beta(a)xemacs.org
>
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
>
>
--
Adrian Aichner
mailto:adrian@xemacs.org
http://www.xemacs.org/
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta