Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QTSession.open crashing under NT 4.0



As a follow up to my previous posting I've tried the following even more
minimalist program.

import java.awt.*;
import quicktime.QTSession;
import quicktime.QTException;
import quicktime.QTConstants;

public class Minimal extends Frame implements QTConstants {
public Minimal() {
super();
}
public static void main(String[] args) {
try {
System.out.println("QTSession.name=" + QTSession.name);
System.out.println("QTSession.getJavaVersion()=0x" +
Integer.toHexString(QTSession.getJavaVersion()));
System.out.println("QT Version=" + QTSession.getQTVersion());
System.out.println("QTSession.gestalt()=" +
QTSession.gestalt(gestaltQuickTimeVersion));
}
catch(Exception ex) {
ex.printStackTrace();
}
}
}

I don't know if I am supposed to be able to call QTSession.gestalt() without having done a QTSession.open() first. The docs say that open()
calls gestalt(). However the above program also crashes the JVM as
follows:-

M:*>java MinimalQT
QTSession.name=QTJava
QTSession.getJavaVersion()=0x10004
QT Version=0

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6693B330
Function=[Unknown.]
Library=(N/A)

NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.

Current Java thread:
at quicktime.QTSession.Gestalt(Native Method)
at quicktime.QTSession.gestalt(QTSession.java:800)
at MinimalQT.main(MinimalQT.java:16)

Dynamic libraries:
0x00400000 - 0x00406000 G:\j2sdk1.4.0\bin\java.exe
0x77F60000 - 0x77FBE000 G:\WINNT\System32\ntdll.dll
0x77DC0000 - 0x77DFF000 G:\WINNT\system32\ADVAPI32.dll
0x77F00000 - 0x77F5E000 G:\WINNT\system32\KERNEL32.dll
0x77E70000 - 0x77EC5000 G:\WINNT\system32\USER32.dll
0x77ED0000 - 0x77EFC000 G:\WINNT\system32\GDI32.dll
0x77E10000 - 0x77E67000 G:\WINNT\system32\RPCRT4.dll
0x78000000 - 0x78044000 G:\WINNT\system32\MSVCRT.dll
0x6D330000 - 0x6D442000 G:\j2sdk1.4.0\jre\bin\client\jvm.dll
0x77FD0000 - 0x77FFA000 G:\WINNT\System32\WINMM.dll
0x6BC00000 - 0x6BC11000 G:\WINNT\System32\SMNT40.dll
0x69F00000 - 0x69FBA000 G:\WINNT\System32\adisynth.dll
0x6D1D0000 - 0x6D1D7000 G:\j2sdk1.4.0\jre\bin\hpi.dll
0x6D300000 - 0x6D30D000 G:\j2sdk1.4.0\jre\bin\verify.dll
0x6D210000 - 0x6D228000 G:\j2sdk1.4.0\jre\bin\java.dll
0x6D320000 - 0x6D32D000 G:\j2sdk1.4.0\jre\bin\zip.dll
0x6D000000 - 0x6D0F6000 G:\j2sdk1.4.0\jre\bin\awt.dll
0x77C00000 - 0x77C18000 G:\WINNT\System32\WINSPOOL.DRV
0x76AB0000 - 0x76AB5000 G:\WINNT\System32\IMM32.dll
0x77B20000 - 0x77BD7000 G:\WINNT\system32\ole32.dll
0x674C0000 - 0x674F2000 G:\WINNT\SYSTEM32\QTJava.DLL
0x67500000 - 0x67553000 G:\WINNT\System32\QTJavaNative.dll
0x76AC0000 - 0x76ADD000 G:\WINNT\System32\imagehlp.dll
0x4FB80000 - 0x4FB8A000 G:\WINNT\System32\PSAPI.DLL

Local Time = Fri Dec 06 15:22:34 2002
Elapsed Time = 1
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode)
#

best regards,

Adrian
_____________________________________________

Adrian Lumsden
Product Specialist
Scientific Software and Systems Limited

Tel: +64 4 917-6670 (reception)
+64 4 917-6680 (direct)
Fax: +64 4 917-6671
E-mail: email@hidden

Visit us on the Web at: http://www.sss.co.nz
_____________________________________________

This e-mail passed SSS's content security scan.
It is covered by the confidentiality clauses at
http://www.sss.co.nz/content_and_confidentiality
_______________________________________________
quicktime-java mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/quicktime-java
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.