suzdraws / mintty

Automatically exported from code.google.com/p/mintty
0 stars 0 forks source link

Disabled printer spooler causes options dialog crash #149

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Options
2. clicking output

What is the expected output? What do you see instead?
mintty is not responding

What version of the product are you using? On what operating system?
trunk(svn) Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by leventd...@gmail.com on 7 Nov 2009 at 7:42

GoogleCodeExporter commented 9 years ago
You mean clicking on "Output" in the list of options pages?

I can't reproduce this, either on trunk or in 0.5.3. Could it be looking for 
printers
or something?

Original comment by andy.koppe on 7 Nov 2009 at 8:13

GoogleCodeExporter commented 9 years ago
hmm, my printer spooler service is not running. can it be problem?

Original comment by leventd...@gmail.com on 7 Nov 2009 at 8:35

GoogleCodeExporter commented 9 years ago
Looks like it. The EnumPrinters function being used here does remote procedure 
calls
to contact the spooler, and if that's not there, it'll take a while to time out.
Mintty ought to be handling this without becoming unresponsive though.

Original comment by andy.koppe on 7 Nov 2009 at 9:29

GoogleCodeExporter commented 9 years ago
I have the same issue, except that after a while it just crashes (actually it
vanishes without warning, so I'm just assuming it's crashed). As soon as I click
'output' it immediately hangs. I tried enabling the Print Spooler and it started
working with only a very brief pause, so that's definitely it.

This is v0.5.8 on Windows XP (x64).

Original comment by aneurin....@gmail.com on 2 Mar 2010 at 11:26

GoogleCodeExporter commented 9 years ago

Original comment by andy.koppe on 3 Mar 2010 at 5:27

GoogleCodeExporter commented 9 years ago
Issue 168 has been merged into this issue.

Original comment by andy.koppe on 4 Mar 2010 at 1:17

GoogleCodeExporter commented 9 years ago
Fixed in r776 on trunk. Thanks to xuefer for pinpointing the problem (in issue 
168). 

(The RPC timeout was a red herring, because EnumPrinters() level 4 as used here 
isn't 
affected by that.)

Original comment by andy.koppe on 4 Mar 2010 at 9:59

GoogleCodeExporter commented 9 years ago

Original comment by andy.koppe on 6 Mar 2010 at 5:44