[7.8] Primitive Failure in 1201 #primListFontNames

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[7.8] Primitive Failure in 1201 #primListFontNames

Boris Popov, DeepCove Labs (SNN)

“all of the below code was tested in clean visual.im in 7.8 and 7.7.1; just paste into the workspace and work away”

Parcel loadParcelByName: 'Windows Goodies'

 

"if you execute the below, select a printer and proceed, 7.8 will experience primitive failure in 1201, but successfully return a print job in 7.7.1"

"the below will also fail with exact same error when running 7.7.1 image on a 7.8 VM, so it appears to be a VM issue in 7.8"

RequestingPrinter startPrintJobNamed: 'test'

 

Is there a newer VM we could try?

 

ObjectMemory versionId #[70 47 70 128 78 0 0 0 70 40 70 80]

 

-Boris


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

stack.zip (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [7.8] Primitive Failure in 1201 #primListFontNames

Alan Knight-2
The problem with that is that Windows Goodies explicitly assembles a host printer handle, which is an opaque VM structure, out of the Windows handles that it gets back. The structure of that opaque handle changed in 7.8 (primarily because of changes made to accomodate 64-bit Windows), so the assumptions that that goodie makes are longer valid. We're in the process of investigating how to make that work.



[hidden email]
June 14, 2011 11:43 AM


“all of the below code was tested in clean visual.im in 7.8 and 7.7.1; just paste into the workspace and work away”

Parcel loadParcelByName: 'Windows Goodies'

 

"if you execute the below, select a printer and proceed, 7.8 will experience primitive failure in 1201, but successfully return a print job in 7.7.1"

"the below will also fail with exact same error when running 7.7.1 image on a 7.8 VM, so it appears to be a VM issue in 7.8"

RequestingPrinter startPrintJobNamed: 'test'

 

Is there a newer VM we could try?

 

ObjectMemory versionId #[70 47 70 128 78 0 0 0 70 40 70 80]

 

-Boris

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [7.8] Primitive Failure in 1201 #primListFontNames

Boris Popov, DeepCove Labs (SNN)

Alan,

 

Thanks, that makes sense. I know it may not be something you could communicate, but any chance of learning an ETA? We use requesting host printers quite a bit and this is a show-stopper as far as migration to 7.8 for us.

 

Regards,

 

-Boris

 

From: Alan Knight [mailto:[hidden email]]
Sent: 14 June 2011 12:09
To: Boris Popov, DeepCove Labs
Cc: [hidden email]
Subject: Re: [vwnc] [7.8] Primitive Failure in 1201 #primListFontNames

 

The problem with that is that Windows Goodies explicitly assembles a host printer handle, which is an opaque VM structure, out of the Windows handles that it gets back. The structure of that opaque handle changed in 7.8 (primarily because of changes made to accomodate 64-bit Windows), so the assumptions that that goodie makes are longer valid. We're in the process of investigating how to make that work.



 

[hidden email]
June 14, 2011 11:43 AM

 



“all of the below code was tested in clean visual.im in 7.8 and 7.7.1; just paste into the workspace and work away”

Parcel loadParcelByName: 'Windows Goodies'

 

"if you execute the below, select a printer and proceed, 7.8 will experience primitive failure in 1201, but successfully return a print job in 7.7.1"

"the below will also fail with exact same error when running 7.7.1 image on a 7.8 VM, so it appears to be a VM issue in 7.8"

RequestingPrinter startPrintJobNamed: 'test'

 

Is there a newer VM we could try?

 

ObjectMemory versionId #[70 47 70 128 78 0 0 0 70 40 70 80]

 

-Boris

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [7.8] Primitive Failure in 1201 #primListFontNames

Alan Knight-2
At the moment, it's still under investigation, and we only became aware of the issue last week, so hard to say. We'd rather not just go look at the VM sources and then bash bits into them using secret knowledge that happens to be up to date at the moment. However, it's obvious there's another way at the moment. I do note that that is explicitly a goodie and not supported code, but we also realize that it's important functionality that wasn't otherwise available, so significant to customers.



[hidden email]
June 14, 2011 12:11 PM


Alan,

 

Thanks, that makes sense. I know it may not be something you could communicate, but any chance of learning an ETA? We use requesting host printers quite a bit and this is a show-stopper as far as migration to 7.8 for us.

 

Regards,

 

-Boris

 

From: Alan Knight [[hidden email]]
Sent: 14 June 2011 12:09
To: Boris Popov, DeepCove Labs
Cc: [hidden email]
Subject: Re: [vwnc] [7.8] Primitive Failure in 1201 #primListFontNames

 

The problem with that is that Windows Goodies explicitly assembles a host printer handle, which is an opaque VM structure, out of the Windows handles that it gets back. The structure of that opaque handle changed in 7.8 (primarily because of changes made to accomodate 64-bit Windows), so the assumptions that that goodie makes are longer valid. We're in the process of investigating how to make that work.




[hidden email]
June 14, 2011 11:43 AM


“all of the below code was tested in clean visual.im in 7.8 and 7.7.1; just paste into the workspace and work away”

Parcel loadParcelByName: 'Windows Goodies'

 

"if you execute the below, select a printer and proceed, 7.8 will experience primitive failure in 1201, but successfully return a print job in 7.7.1"

"the below will also fail with exact same error when running 7.7.1 image on a 7.8 VM, so it appears to be a VM issue in 7.8"

RequestingPrinter startPrintJobNamed: 'test'

 

Is there a newer VM we could try?

 

ObjectMemory versionId #[70 47 70 128 78 0 0 0 70 40 70 80]

 

-Boris

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [7.8] Primitive Failure in 1201 #primListFontNames

Boris Popov, DeepCove Labs (SNN)

Alan,

 

Indeed, being able to select a printer and configure a print job using standard OS-based dialogs is a bit of a baseline expectation these days, so your assessment is pretty accurate, it’ll be quite a significant loss to customers like us if it isn’t updated to function in 7.8 and beyond.

 

Thanks!

 

-Boris

 

From: Alan Knight [mailto:[hidden email]]
Sent: 14 June 2011 12:16
To: Boris Popov, DeepCove Labs
Cc: [hidden email]; Joerg Beekmann, DeepCove Labs
Subject: Re: [vwnc] [7.8] Primitive Failure in 1201 #primListFontNames

 

At the moment, it's still under investigation, and we only became aware of the issue last week, so hard to say. We'd rather not just go look at the VM sources and then bash bits into them using secret knowledge that happens to be up to date at the moment. However, it's obvious there's another way at the moment. I do note that that is explicitly a goodie and not supported code, but we also realize that it's important functionality that wasn't otherwise available, so significant to customers.



 

[hidden email]
June 14, 2011 12:11 PM

 



Alan,

 

Thanks, that makes sense. I know it may not be something you could communicate, but any chance of learning an ETA? We use requesting host printers quite a bit and this is a show-stopper as far as migration to 7.8 for us.

 

Regards,

 

-Boris

 

From: Alan Knight [[hidden email]]
Sent: 14 June 2011 12:09
To: Boris Popov, DeepCove Labs
Cc: [hidden email]
Subject: Re: [vwnc] [7.8] Primitive Failure in 1201 #primListFontNames

 

The problem with that is that Windows Goodies explicitly assembles a host printer handle, which is an opaque VM structure, out of the Windows handles that it gets back. The structure of that opaque handle changed in 7.8 (primarily because of changes made to accomodate 64-bit Windows), so the assumptions that that goodie makes are longer valid. We're in the process of investigating how to make that work.




 

[hidden email]
June 14, 2011 11:43 AM

 



“all of the below code was tested in clean visual.im in 7.8 and 7.7.1; just paste into the workspace and work away”

Parcel loadParcelByName: 'Windows Goodies'

 

"if you execute the below, select a printer and proceed, 7.8 will experience primitive failure in 1201, but successfully return a print job in 7.7.1"

"the below will also fail with exact same error when running 7.7.1 image on a 7.8 VM, so it appears to be a VM issue in 7.8"

RequestingPrinter startPrintJobNamed: 'test'

 

Is there a newer VM we could try?

 

ObjectMemory versionId #[70 47 70 128 78 0 0 0 70 40 70 80]

 

-Boris

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [7.8] Primitive Failure in 1201 #primListFontNames

Boris Popov, DeepCove Labs (SNN)

We had just posted a bounty for a proper fix, details available here,

 

http://leftshore.wordpress.com/2011/06/29/windows-goodies-bounty/

 

I’m quite curious to see if this approach would work, so consider this an experiment.

 

Regards,

 

-Boris

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Boris Popov, DeepCove Labs
Sent: Tuesday, June 14, 2011 12:21 PM
To: [hidden email]
Cc: [hidden email]
Subject: Re: [vwnc] [7.8] Primitive Failure in 1201 #primListFontNames

 

Alan,

 

Indeed, being able to select a printer and configure a print job using standard OS-based dialogs is a bit of a baseline expectation these days, so your assessment is pretty accurate, it’ll be quite a significant loss to customers like us if it isn’t updated to function in 7.8 and beyond.

 

Thanks!

 

-Boris

 

From: Alan Knight [mailto:[hidden email]]
Sent: 14 June 2011 12:16
To: Boris Popov, DeepCove Labs
Cc: [hidden email]; Joerg Beekmann, DeepCove Labs
Subject: Re: [vwnc] [7.8] Primitive Failure in 1201 #primListFontNames

 

At the moment, it's still under investigation, and we only became aware of the issue last week, so hard to say. We'd rather not just go look at the VM sources and then bash bits into them using secret knowledge that happens to be up to date at the moment. However, it's obvious there's another way at the moment. I do note that that is explicitly a goodie and not supported code, but we also realize that it's important functionality that wasn't otherwise available, so significant to customers.


 

[hidden email]
June 14, 2011 12:11 PM

 

 

Alan,

 

Thanks, that makes sense. I know it may not be something you could communicate, but any chance of learning an ETA? We use requesting host printers quite a bit and this is a show-stopper as far as migration to 7.8 for us.

 

Regards,

 

-Boris

 

From: Alan Knight [[hidden email]]
Sent: 14 June 2011 12:09
To: Boris Popov, DeepCove Labs
Cc: [hidden email]
Subject: Re: [vwnc] [7.8] Primitive Failure in 1201 #primListFontNames

 

The problem with that is that Windows Goodies explicitly assembles a host printer handle, which is an opaque VM structure, out of the Windows handles that it gets back. The structure of that opaque handle changed in 7.8 (primarily because of changes made to accomodate 64-bit Windows), so the assumptions that that goodie makes are longer valid. We're in the process of investigating how to make that work.



 

[hidden email]
June 14, 2011 11:43 AM

 

 

“all of the below code was tested in clean visual.im in 7.8 and 7.7.1; just paste into the workspace and work away”

Parcel loadParcelByName: 'Windows Goodies'

 

"if you execute the below, select a printer and proceed, 7.8 will experience primitive failure in 1201, but successfully return a print job in 7.7.1"

"the below will also fail with exact same error when running 7.7.1 image on a 7.8 VM, so it appears to be a VM issue in 7.8"

RequestingPrinter startPrintJobNamed: 'test'

 

Is there a newer VM we could try?

 

ObjectMemory versionId #[70 47 70 128 78 0 0 0 70 40 70 80]

 

-Boris

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [7.8] Primitive Failure in 1201 #primListFontNames

Kevin Greek
In reply to this post by Boris Popov, DeepCove Labs (SNN)
Boris,

The attached revised version of Windows Goodies should fix the
RequestingPrinter primitive failures for 7.8 through current builds.
Load it and try

RequestingPrinter example1

for a quick test. The ordering used to insert the print dialog device
context hDC structure and some other data into the array used for
HostPrinter>>handleValue: didn't match as expected in the VM. Also, in
the NTPrinterInterface class the Windows print dialog API needed to be
changed to use the Unicode versions now (e.g. PRINTDLGW instead of
PRINTDLGA). In addition, the coding has been enhanced to allow window
repair underneath the print dialog while it is open.

Try the new version as fixed for 7.8 and later. It doesn't appear to
work for 7.7.1. My guess is if you instead for 7.7.1 call the original
non-Unicode versions of the Windows print dialog API in Windows Goodies
it will work there.

Kevin

-------- Original Message --------
Subject: Re: [vwnc] [7.8] Primitive Failure in 1201 #primListFontNames
Date: Wed, 29 Jun 2011 11:33:15 -0400
From: Boris Popov, DeepCove Labs <[hidden email]>
To: [hidden email] <[hidden email]>



We had just posted a bounty for a proper fix, details available here,

http://leftshore.wordpress.com/2011/06/29/windows-goodies-bounty/

I’m quite curious to see if this approach would work, so consider this
an experiment.

Regards,

-Boris

*From:*[hidden email] [mailto:[hidden email]] *On
Behalf Of *Boris Popov, DeepCove Labs
*Sent:* Tuesday, June 14, 2011 12:21 PM
*To:* [hidden email]
*Cc:* [hidden email]
*Subject:* Re: [vwnc] [7.8] Primitive Failure in 1201 #primListFontNames

Alan,

Indeed, being able to select a printer and configure a print job using
standard OS-based dialogs is a bit of a baseline expectation these days,
so your assessment is pretty accurate, it’ll be quite a significant loss
to customers like us if it isn’t updated to function in 7.8 and beyond.

Thanks!

-Boris

*From:*Alan Knight [mailto:[hidden email]]
*Sent:* 14 June 2011 12:16
*To:* Boris Popov, DeepCove Labs
*Cc:* [hidden email]; Joerg Beekmann, DeepCove Labs
*Subject:* Re: [vwnc] [7.8] Primitive Failure in 1201 #primListFontNames

At the moment, it's still under investigation, and we only became aware
of the issue last week, so hard to say. We'd rather not just go look at
the VM sources and then bash bits into them using secret knowledge that
happens to be up to date at the moment. However, it's obvious there's
another way at the moment. I do note that that is explicitly a goodie
and not supported code, but we also realize that it's important
functionality that wasn't otherwise available, so significant to customers.

------------------------------------------------------------------------

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

WindowsGoodies.zip (52K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [7.8] Primitive Failure in 1201 #primListFontNames

Boris Popov, DeepCove Labs (SNN)
Thanks, Kevin. I've placed our bounty on hold while we confirm the
resolution in this update.

Regards,

-Boris

-----Original Message-----
From: Kevin Greek [mailto:[hidden email]]
Sent: Wednesday, June 29, 2011 12:31 PM
To: [hidden email]; Boris Popov, DeepCove Labs
Subject: Re: [vwnc] [7.8] Primitive Failure in 1201 #primListFontNames

Boris,

The attached revised version of Windows Goodies should fix the
RequestingPrinter primitive failures for 7.8 through current builds.
Load it and try

RequestingPrinter example1

for a quick test. The ordering used to insert the print dialog device
context hDC structure and some other data into the array used for
HostPrinter>>handleValue: didn't match as expected in the VM. Also, in
the NTPrinterInterface class the Windows print dialog API needed to be
changed to use the Unicode versions now (e.g. PRINTDLGW instead of
PRINTDLGA). In addition, the coding has been enhanced to allow window
repair underneath the print dialog while it is open.

Try the new version as fixed for 7.8 and later. It doesn't appear to
work for 7.7.1. My guess is if you instead for 7.7.1 call the original
non-Unicode versions of the Windows print dialog API in Windows Goodies
it will work there.

Kevin

-------- Original Message --------
Subject: Re: [vwnc] [7.8] Primitive Failure in 1201 #primListFontNames
Date: Wed, 29 Jun 2011 11:33:15 -0400
From: Boris Popov, DeepCove Labs <[hidden email]>
To: [hidden email] <[hidden email]>



We had just posted a bounty for a proper fix, details available here,

http://leftshore.wordpress.com/2011/06/29/windows-goodies-bounty/

I'm quite curious to see if this approach would work, so consider this
an experiment.

Regards,

-Boris

*From:*[hidden email] [mailto:[hidden email]] *On
Behalf Of *Boris Popov, DeepCove Labs
*Sent:* Tuesday, June 14, 2011 12:21 PM
*To:* [hidden email]
*Cc:* [hidden email]
*Subject:* Re: [vwnc] [7.8] Primitive Failure in 1201 #primListFontNames

Alan,

Indeed, being able to select a printer and configure a print job using
standard OS-based dialogs is a bit of a baseline expectation these days,
so your assessment is pretty accurate, it'll be quite a significant loss
to customers like us if it isn't updated to function in 7.8 and beyond.

Thanks!

-Boris

*From:*Alan Knight [mailto:[hidden email]]
*Sent:* 14 June 2011 12:16
*To:* Boris Popov, DeepCove Labs
*Cc:* [hidden email]; Joerg Beekmann, DeepCove Labs
*Subject:* Re: [vwnc] [7.8] Primitive Failure in 1201 #primListFontNames

At the moment, it's still under investigation, and we only became aware
of the issue last week, so hard to say. We'd rather not just go look at
the VM sources and then bash bits into them using secret knowledge that
happens to be up to date at the moment. However, it's obvious there's
another way at the moment. I do note that that is explicitly a goodie
and not supported code, but we also realize that it's important
functionality that wasn't otherwise available, so significant to
customers.

------------------------------------------------------------------------

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc