Closed Bug 127215 Opened 23 years ago Closed 23 years ago

xpidl is crashing

Categories

(Core :: XPCOM, defect)

x86
Windows 2000
defect
Not set
critical

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: timeless, Assigned: dbradley)

Details

fill_pd_as_nsresult(XPTParamDescriptor * 0x006e7552) line 992 + 3 bytes
typelib_op_dcl(TreeState * 0x0012fee4) line 1120 + 12 bytes
xpidl_process_node(TreeState * 0x0012fee4) line 64 + 7 bytes
typelib_list(TreeState * 0x0012fee4) line 352 + 9 bytes
xpidl_process_node(TreeState * 0x0012fee4) line 64 + 7 bytes
-	pd	0x006e7552
	flags	CXX0030: Error: expression cannot be evaluated

typelib_interface(TreeState * 0x0012fee4) line 564 + 18 bytes
-	state	0x0012fee4
+	file	0x7803b6d0
+	basename	0x007cdff8 "nsIRunnable"
+	ns	0x007c2f18
+	tree	0x00000000
+	base_includes	0x007caa20
+	dispatch	0x0041e3a0 table
	priv	0x007c68a8
-	id	0x007cea88
	parent_interface	1
	num_methods	1
+	method_descriptors	0x007ceaa8
	num_constants	0
+	const_descriptors	0x00000000
	flags	128 '€'
+	additional_types	0x00000000
	num_additional_types	0
-	meth	0x007ceaa8
	flags	184 '¸'
+	name	0x00000000 ""
	num_args	192 'À'
+	params	0x00000000
+	result	0x006e7552
	op_noscript	0
	op_notxpcom	0
+	iter	0x00000000
	op_flags	0 ''
-	op	0x007ce310
	f_noscript	0
	f_oneway	0
	f_varargs	0
+	op_type_spec	0x00000000
-	ident	0x007ce028
	_type	12
-	up	0x007ce2f0
	_type	17
-	up	0x007ce2a8
	_type	2
-	up	0x007ce398
	_type	40
-	up	0x007ce350
	_type	2
+	up	0x00000000
	declspec	0
	properties	0x00000000
	refs	1
+	_file	0x007c6878 "nsIRunnable.idl"
	_line	45
+	u	{...}
	declspec	0
	properties	0x00000000
	refs	1
+	_file	0x007c6878 "nsIRunnable.idl"
	_line	45
+	u	{...}
	declspec	0
	properties	0x00000000
	refs	1
+	_file	0x007c6878 "nsIRunnable.idl"
	_line	44
+	u	{...}
	declspec	0
	properties	0x00000000
	refs	1
+	_file	0x007c6878 "nsIRunnable.idl"
	_line	44
+	u	{...}
	declspec	0
	properties	0x00000000
	refs	2
+	_file	0x007c6878 "nsIRunnable.idl"
	_line	44
+	u	{...}
+	parameter_dcls	0x00000000
+	raises_expr	0x00000000
+	context_expr	0x00000000
	num_args	0

xpidl_process_node(TreeState * 0x0012fee4) line 64 + 7 bytes
typelib_list(TreeState * 0x0012fee4) line 352 + 9 bytes
xpidl_process_node(TreeState * 0x0012fee4) line 64 + 7 bytes
xpidl_process_idl(char * 0x007c2dc3, IncludePathEntry * 0x007c2de8, char * 
0x007c2dab, ModeData * 0x004154b8) line 772 + 9 bytes
main(int 8, char * * 0x007c2d40) line 214 + 27 bytes
XPIDL! mainCRTStartup + 227 bytes
KERNEL32! 77e97d08()

crashes are xpidl pass of xpcom, cvs build from this week. i also crash in 
nondebug. this is a disaster, i need to be able to build
I have a build from the tip and I'm not seeing a problem compiling
nsIRunnable.idl either for header or typelib. I verified in the debugger that
I'm getting to the same point. Phil let me know if you can reproduce this.

Timeless, I assume you've done a clobber/depend and tried again. My guess is
that something in libidl didn't get built. I checked in changes just before the
0.9.9 freeze.
i just did find win32_?.obj in explorer, deleted all such directories and rd /s 
dist. build failed at the same file.
i don't understand this, so i've had various behaviors (crashing, graceful 
exit,...), but all attached to that file.

+++ make: exporting headers
+++ make: exporting IDL files
+++ make: exporting generated XPIDL header files
+++ make: Creating typelib: .\_xpidlgen\xpcom_thread.xpt
ERROR: file .\_xpidlgen\nsIRunnable.xpt is zero length
NMAKE : fatal error U1077: '..\..\dist\WIN32_D.OBJ\bin\xpt_link.exe' : return 
code '0x1'
Stop.
NMAKE : fatal error U1077: 'F:\PROGRA~1\Dev\VS\VC98\BIN\NMAKE.EXE' : return 
code '0x2'
Stop.

F:\build\mozilla\xpcom\threads>nmake /f makefile.win xpcom_thread.xpt

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

NMAKE : fatal error U1073: don't know how to make 'xpcom_thread.xpt'
Stop.

F:\build\mozilla\xpcom\threads>nmake /f makefile.win  
.\_xpidlgen\xpcom_thread.xpt

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

+++ make: Creating typelib: .\_xpidlgen\xpcom_thread.xpt
ERROR: file .\_xpidlgen\nsIRunnable.xpt is zero length
NMAKE : fatal error U1077: '..\..\dist\WIN32_D.OBJ\bin\xpt_link.exe' : return 
code '0x1'
Stop.

F:\build\mozilla\xpcom\threads>nmake /f makefile.win  
.\_xpidlgen\nsIRunnable.xpt

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

'.\_xpidlgen\nsIRunnable.xpt' is up-to-date

F:\build\mozilla\xpcom\threads>dir                    
.\_xpidlgen\nsIRunnable.xpt
 Volume in drive F is BXMNT
 Volume Serial Number is 0C35-0E01

 Directory of F:\build\mozilla\xpcom\threads\_xpidlgen

02/22/2002  07:58a                   0 nsIRunnable.xpt
               1 File(s)              0 bytes
               0 Dir(s)   3,925,020,672 bytes free

F:\build\mozilla\xpcom\threads>del                    
.\_xpidlgen\nsIRunnable.xpt

F:\build\mozilla\xpcom\threads>nmake /f makefile.win  
.\_xpidlgen\nsIRunnable.xpt

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.


F:\build\mozilla\xpcom\threads>dir                    
.\_xpidlgen\nsIRunnable.xpt
 Volume in drive F is BXMNT
 Volume Serial Number is 0C35-0E01

 Directory of F:\build\mozilla\xpcom\threads\_xpidlgen

02/24/2002  04:24p                 132 nsIRunnable.xpt
               1 File(s)            132 bytes
               0 Dir(s)   3,925,020,672 bytes free

F:\build\mozilla\xpcom\threads>nmake /f makefile.win  
.\_xpidlgen\xpcom_thread.xpt

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

+++ make: Creating typelib: .\_xpidlgen\xpcom_thread.xpt

F:\build\mozilla\xpcom\threads>nmake /f makefile.win

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

+++ make: exporting headers
+++ make: exporting IDL files
+++ make: exporting generated XPIDL header files
+++ make: installing typelib '.\_xpidlgen\xpcom_thread.xpt' to components 
directory
    Installing .\_xpidlgen\xpcom_thread.xpt into 
..\..\dist\WIN32_D.OBJ\bin\components\xpcom_thread.xpt
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
I have not been able to reproduce; marking Verified WORKSFORME -
Status: RESOLVED → VERIFIED
Component: xpidl → XPCOM
QA Contact: pschwartau → xpcom
You need to log in before you can comment on or make changes to this bug.