Hello Alexander,

I know now how to get a stack trace on OpenVMS. You just define a logical:
$ define JAVA$ENABLE_SIGQUIT_CTRLC true
Then you can start jsvn checkout or whatever and press CRTL-C
Details you can find here: 
http://h18012.www1.hp.com/java/documentation/1.6.0/ivms/docs/user_guide.html#javaenable_sigquit_ctrlc

Here is my stack trace:

SIGQUIT

Full thread dump Classic VM (1.5.0-3, native threads):
    "Thread-3" (TID:0x12e1190, sys_thread_t:0x5edf680, state:R, native 
ID:0x3e7380) prio=5
    "pool-1-svnkit-thread-1" (TID:0x12e1b80, sys_thread_t:0x5a83cd0, state:CW, 
native ID:0x5ac1380) prio=5
        at sun.misc.Unsafe.park(Native Method)
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:118)
        at 
java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:681)
        at 
java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireInterruptibly(AbstractQueuedSynchronizer.java:727)
        at 
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(AbstractQueuedSynchronizer.java:1061)
        at 
java.util.concurrent.SynchronousQueue$Node.waitForPut(SynchronousQueue.java:265)
        at java.util.concurrent.SynchronousQueue.take(SynchronousQueue.java:384)
        at 
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java, 
Compiled Code)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java, 
Compiled Code)
        at java.lang.Thread.run(Thread.java:595)
    "Timer-0" (TID:0x12ea308, sys_thread_t:0x5577f78, state:CW, native 
ID:0x55d3380) prio=5
        at java.lang.Object.wait(Native Method)
        at java.util.TimerThread.mainLoop(Timer.java:480)
        at java.util.TimerThread.run(Timer.java, Compiled Code)
    "Finalizer" (TID:0x12c24c0, sys_thread_t:0x4aaa110, state:CW, native 
ID:0x4b3b380) prio=8
        at java.lang.Object.wait(Native Method)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:133)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:149)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
    "Reference Handler" (TID:0x12c2530, sys_thread_t:0x4aa7770, state:CW, 
native ID:0x4b01380) prio=10
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:474)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
    "Signal dispatcher" (TID:0x12c2568, sys_thread_t:0x4a927d8, state:R, native 
ID:0x4abb380) prio=5
    "main" (TID:0x12c25c0, sys_thread_t:0x391e58, state:CW, native 
ID:0x7b176d28) prio=5
        at java.lang.Thread.sleep(Native Method)
        at 
org.tmatesoft.sqljet.core.table.SqlJetTimeoutBusyHandler.call(SqlJetTimeoutBusyHandler.java:17)
        at 
org.tmatesoft.sqljet.core.internal.btree.SqlJetBtree.invokeBusyHandler(SqlJetBtree.java:150)
        at 
org.tmatesoft.sqljet.core.internal.btree.SqlJetBtree$1.call(SqlJetBtree.java:329)
        at 
org.tmatesoft.sqljet.core.internal.pager.SqlJetPager.waitOnLock(SqlJetPager.java:2517)
        at 
org.tmatesoft.sqljet.core.internal.pager.SqlJetPager.sharedLock(SqlJetPager.java:1199)
        at 
org.tmatesoft.sqljet.core.internal.pager.SqlJetPager.acquirePage(SqlJetPager.java:1008)
        at 
org.tmatesoft.sqljet.core.internal.btree.SqlJetBtreeShared.getPage(SqlJetBtreeShared.java:338)
        at 
org.tmatesoft.sqljet.core.internal.btree.SqlJetBtree.lockBtree(SqlJetBtree.java:725)
        at 
org.tmatesoft.sqljet.core.internal.btree.SqlJetBtree.beginTrans(SqlJetBtree.java:874)
        at 
org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.doBeginTransaction(SqlJetEngine.java:561)
        at 
org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.access$100(SqlJetEngine.java:55)
        at 
org.tmatesoft.sqljet.core.table.engine.SqlJetEngine$12.runSynchronized(SqlJetEngine.java:532)
        at 
org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.runSynchronized(SqlJetEngine.java:214)
        at 
org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.runEngineTransaction(SqlJetEngine.java:528)
        at 
org.tmatesoft.sqljet.core.table.SqlJetDb.runTransaction(SqlJetDb.java:238)
        at 
org.tmatesoft.sqljet.core.table.SqlJetDb.runWriteTransaction(SqlJetDb.java:209)
        at 
org.tmatesoft.svn.core.internal.wc17.db.statement.SVNWCDbCreateSchema.exec(SVNWCDbCreateSchema.java:206)
        at 
org.tmatesoft.svn.core.internal.db.SVNSqlJetDb.execStatement(SVNSqlJetDb.java:163)
        at 
org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.createDb(SVNWCDb.java:250)
        at 
org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.init(SVNWCDb.java:199)
        at 
org.tmatesoft.svn.core.internal.wc17.SVNWCContext.initWC(SVNWCContext.java:4258)
        at 
org.tmatesoft.svn.core.internal.wc17.SVNWCContext.initializeWC(SVNWCContext.java:4202)
        at 
org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.checkout(SvnNgAbstractUpdate.java:710)
        at 
org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java, 
Compiled Code)
        at 
org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:9)
        at 
org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)
        at 
org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:19)
        at 
org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1213)
        at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:291)
        at 
org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:771)
        at 
org.tmatesoft.svn.cli.svn.SVNCheckoutCommand.run(SVNCheckoutCommand.java, 
Compiled Code)
        at 
org.tmatesoft.svn.cli.AbstractSVNCommandEnvironment.run(AbstractSVNCommandEnvironment.java:140)
        at 
org.tmatesoft.svn.cli.AbstractSVNLauncher.run(AbstractSVNLauncher.java:33)
        at org.tmatesoft.svn.cli.svn.SVN.main(SVN.java:26)
Monitor Cache Dump:
    java.util.TaskQueue@12EA300/13848A0: <unowned>
        Waiting to be notified:
            "Timer-0" (0x5577f78)
    java.lang.ref.Reference$Lock@12C2540/12F9E88: <unowned>
        Waiting to be notified:
            "Reference Handler" (0x4aa7770)
    java.lang.ref.ReferenceQueue$Lock@12C24D8/12FA3E8: <unowned>
        Waiting to be notified:
            "Finalizer" (0x4aaa110)
Registered Monitor Dump:
    utf8 hash table: <unowned>
    JNI pinning lock: <unowned>
    JNI global reference lock: <unowned>
    BinClass lock: <unowned>
    Class linking lock: <unowned>
    System class loader lock: <unowned>
    Code rewrite lock: <unowned>
    Heap lock: <unowned>
    Monitor cache lock: owner "Signal dispatcher" (0x4a927d8) 1 entry
    Thread queue lock: owner "Signal dispatcher" (0x4a927d8) 1 entry
    Monitor registry: owner "Signal dispatcher" (0x4a927d8) 1 entry

I hope it helps you!

Günter

-----Original Message-----
From: svnkit-users-boun...@svnkit.com [mailto:svnkit-users-boun...@svnkit.com] 
On Behalf Of Alexander Kitaev
Sent: Monday, April 16, 2012 5:07 PM
To: SVNKit Library Users List
Subject: Re: SVNKit 1.7.4 on OpenVMS

Hello,

Thanks for reporting this issue. I will update OpenVMS script as for the first 
bugfix release of SVNKit 1.7.4 (will be published in a few weeks).

Regarding hanging check out - would it be possible to get a stack trace? On 
Linux calling "kill -3 java_process_id" forces java to print out its stack 
trace which helps to see whether and where program flow is blocked.

Alexander Kitaev,
TMate Software,
http://subgit.com/ - Svn to Git Migration!
http://svnkit.com/ - Java [Sub]Versioning Library!
http://hg4j.com/ - Java Mercurial Library!
http://sqljet.com/ - Java SQLite Library!



On 16 April 2012 13:18, Günter Gratzer <guenter.grat...@abf.co.at> wrote:
> Hi,
>
> did you try already SVNKit 1.7.4 on OpenVMS? I have troubles to get it work.
>
> When I want to checkout a repository jsvn hangs and no file is checked out.
> Adding a file and commit it to the repository is working well.
> With SVNKit 1.3.0 it is working well.
>
> Anyone has a hint what's wrong?
>
> I use OpenVMS Alpha V7.3-2, Java 1.5.0-3 and Subversion repository 1.6.4 
> (r38063) on OpenSUSE 11.1.
>
> By the way, the modified jsvnsetup.openvms from Bill Pedersen is not included 
> in the actual kit. There is still a problem with the script if you have 
> defined decc$efs_case_preserve before you execute the jsvnsetup.openvms 
> script. Here is the script I use:
>
> $!
> $ if f$type(java) .nes. "STRING" .or. "''java'" .eqs. ""
> $  then
> $   write SYS$OUTPUT "You must have the JAVA symbol properly set before using 
> this command"
> $   exit
> $  endif
> $ env = f$env("PROCEDURE")
> $ home = f$parse(env,,,"device") + f$parse(env,,,"directory") - ".bin" - 
> ".BIN"
> $ define/job/nolog svnkit_home 'home'
> $!
> $ define/job/nolog decc$argv_parse_style enable $ define/job/nolog 
> decc$efs_case_preserve enable $!
> $ if f$edit(f$trnlnm("DECC$EFS_CASE_SPECIAL"),"UPCASE") .eqs. "ENABLE"
> $ then
> $    write sys$output " "
> $    write sys$output "JSVNSETUP: DECC$EFS_CASE_SPECIAL defined! Please 
> deassign logical otherwise jsvn might not function properly!
> "
> $    write sys$output " "
> $ endif
> $!
> $!
> $ CP = "/svnkit_home/lib"
> $ CP = CP + ":/svnkit_home/lib/svnkit-1.7.4.jar
> $ CP = CP + ":/svnkit_home/lib/sequence-library-1.0.1.jar
> $ CP = CP + ":/svnkit_home/lib/sqljet-1.1.0.jar
> $ CP = CP + ":/svnkit_home/lib/antlr-runtime-3.4.jar
> $ CP = CP + ":/svnkit_home/lib/jna-3.4.0.jar $ CP = CP + 
> ":/svnkit_home/lib/trilead-ssh2-1.0.0-build214.jar
> $ CP = CP + ":/svnkit_home/lib/svnkit-cli-1.7.4.jar
> $ OPT = " "
> $! OPT = 
> "-Djava.util.logging.config.file=/svnkit_home/conf/logging.properties"
> $!
> $ JV = f$edit(java,"collapse")
> $ jsvn ==      "''JV' ''OPT' -cp ''CP' ""org.tmatesoft.svn.cli.svn.SVN"""
> $ jsvnadmin == "''JV' ''OPT' -cp ''CP' 
> ""org.tmatesoft.svn.cli.svnadmin.SVNAdmin"""
> $ jsvnlook ==  "''JV' ''OPT' -cp ''CP' 
> ""org.tmatesoft.svn.cli.svnlook.SVNLook"""
> $ jsvnsync ==  "''JV' ''OPT' -cp ''CP' 
> ""org.tmatesoft.svn.cli.svnsync.SVNSync"""
> $ jsvndumpfilter ==  "''JV' ''OPT' -cp ''CP' 
> ""org.tmatesoft.svn.cli.svndumpfilter.SVNDumpFilter"""
> $ jsvnversion ==  "''JV' ''OPT' -cp ''CP' 
> ""org.tmatesoft.svn.cli.svnversion.SVNVersion"""
> $!
>
> @SVNKit developers: Please include this script in the next release of SVNKit.
>
>
> Regards
>
> Günter
>
>
>
>
>
> -----Original Message-----
> From: svnkit-users-boun...@svnkit.com 
> [mailto:svnkit-users-boun...@svnkit.com] On Behalf Of BillPedersen
> Sent: Sunday, February 19, 2012 8:04 PM
> To: svnkit-users@svnkit.com
> Subject: Re: SVNkit on OpenVMS Alpha V8.3 with Java 1.5...
>
>
>
>
> BillPedersen wrote:
>>
>>
>> $ jsvn -verbose:class help
>> java.lang.NoClassDefFoundError: org/tmatesoft/svn/cli/svn/SVN $
>>
>>
>
> Ok, folks, found the issues.
>
> The jsvnsetup.openvms command procedure (script) does not properly configure 
> the symbols for OpenVMS V8.3 and Java 1.5.x...  SO, here is the modified 
> script which works for me:
>
> $ type [.svnkit.bin]jsvnsetup.openvms
> $!
> $ if f$type(java) .nes. "STRING" .or. "''java'" .eqs. ""
> $  then
> $   write SYS$OUTPUT "You must have the JAVA symbol properly set 
> before using this command"
> $   exit
> $  endif
> $ env = f$env("PROCEDURE")
> $ home = f$parse(env,,,"device") + f$parse(env,,,"directory") $ home = home - 
> ".BIN"
> $ define/job/nolog svnkit_home 'home'
> $!
> $ define/job/nolog decc$argv_parse_style enable $ define/job/nolog 
> decc$efs_case_preserve enable $!
> $ if f$edit(f$trnlnm("DECC$EFS_CASE_SPECIAL"),"UPCASE") .eqs. "ENABLE"
> $ then
> $    write sys$output " "
> $    write sys$output "JSVNSETUP: DECC$EFS_CASE_SPECIAL defined!
> $    write sys$output "***Please deassign logical otherwise jsvn might 
> not function properly!"
> $    write sys$output " "
> $ endif
> $!
> $!
> $ CP = "/svnkit_home/lib"
> $ CP = CP + ":/svnkit_home/lib/svnkit-1.3.7.jar"
> $ CP = CP + ":/svnkit_home/lib/sequence-library-1.0.0.jar"
> $ CP = CP + ":/svnkit_home/lib/sqljet-1.0.7.jar"
> $ CP = CP + ":/svnkit_home/lib/antlr-runtime-3.1.3.jar"
> $ CP = CP + ":/svnkit_home/lib/jna-3.2.7.jar"
> $ CP = CP + ":/svnkit_home/lib/trilead-ssh2-1.0.0-build214.jar"
> $ CP = CP + ":/svnkit_home/lib/svnkit-cli-1.3.7.jar"
> $ OPT = ""
> $! OPT =
> "-Djava.util.logging.config.file=/svnkit_home/conf/logging.properties"
> $!
> $ JV = f$edit(java,"collapse")
> $ jsvn ==      "''JV' ''OPT' -cp ''CP' ""org.tmatesoft.svn.cli.svn.SVN"""
> $ jsvnadmin == "''JV' ''OPT' -cp ''CP'
> ""org.tmatesoft.svn.cli.svnadmin.SVNAdmin"""
> $ jsvnlook ==  "''JV' ''OPT' -cp ''CP'
> ""org.tmatesoft.svn.cli.svnlook.SVNLook"""
> $ jsvnsync ==  "''JV' ''OPT' -cp ''CP'
> ""org.tmatesoft.svn.cli.svnsync.SVNSync"""
> $ jsvndumpfilter ==  "''JV' ''OPT' -cp ''CP'
> ""org.tmatesoft.svn.cli.svndumpfilter.SVNDumpFilter"""
> $ jsvnversion ==  "''JV' ''OPT' -cp ''CP'
> ""org.tmatesoft.svn.cli.svnversion.SVNVersion"""
> $!
> $
>
> I also increased the PGFLQUOTA for the account to 200000 pages.  That at 
> least let me start it.
>
> Note, the primary changes were to remove the "..\" from the CP symbol and 
> remove the ".BIN" from the directory name for the svnkit_home symbol/logical. 
>  The makes it such that there is less confusion as far as OpenVMS in 
> concerned and avoids any possible issues of poor tool implementation to 
> support SVNkit.
>
> Will let you know what else I find.
> --
> View this message in context: 
> http://old.nabble.com/SVNkit-on-OpenVMS-Alpha-V8.3-with-Java-1.5...-tp
> 33349771p33353051.html Sent from the SVNKit - Users mailing list 
> archive at Nabble.com.
>
>
>

Reply via email to