Bug: sharing pages fails after hibernate

D

Dan Stratila

Hi,

I am experiencing the following bug, which I was able to reproduce with
several different computers:

1) I have OneNote open.
2) I hibernate.
3) I resume from hibernate.
4) I start a shared session and invite someone.
5) *** The person cannot connect.

The problem is solved after restarting both computers. Having to restart
pretty much defeats the whole purpose of hibernating, since we use OneNote
quite often. Moreover, since we use OneNote in conference calls, it is
embarassing to have OneNote fail at the beginning of many meetings, and we
are often just giving up on using the product and doing something else.

I was wondering how do I go about reporting this to the developers so that
we can have a patch. My guess is that a lot of people use hibernation in
Windows, and may be affected by this.

Sincerely,
Dan
 
B

Ben M. Schorr - MVP

Hi,

I am experiencing the following bug, which I was able to reproduce with
several different computers:

1) I have OneNote open.
2) I hibernate.
3) I resume from hibernate.
4) I start a shared session and invite someone.
5) *** The person cannot connect.

The problem is solved after restarting both computers. Having to restart
pretty much defeats the whole purpose of hibernating, since we use
OneNote
quite often. Moreover, since we use OneNote in conference calls, it is
embarassing to have OneNote fail at the beginning of many meetings, and
we
are often just giving up on using the product and doing something else.

I was wondering how do I go about reporting this to the developers so
that
we can have a patch. My guess is that a lot of people use hibernation in
Windows, and may be affected by this.

I'm going to take a guess that this is actually a Windows issue as opposed
to a OneNote issue. I've seen a lot of issues around network connectivity
with hibernation -- some devices turn off the network card when they
hibernate and then have to have the network connection reestablished
"manually" after that.

Is your network connectivity otherwise good after hibernation? Have you
tried doing a repair on the network connection (right-click the connection
and choose Repair) after hibernation and then attempting to share again?

--
-Ben-
Ben M. Schorr, MVP-OneNote/Outlook
Operations Coordinator
Stockholm/KSG - Honolulu
Microsoft OneNote FAQ: http://www.factplace.com/onenotefaq.htm
 
D

Dan Stratila

Hi Ben,

Thanks for your response. Network connectivity is perfect after hibernation
(although of course any open ssh connections, etc, are disconnected). I am
able to browse the Internet, read e-mail with Microsoft Outlook, etc.

I would like to emphasize that after resuming from hibernation, even if I
restart OneNote, or even if I log off and then log on again, the problem
persists. Restarting Windows solves the problem. This is quite different from
the behaviour of any other application I've seen, so my first suspicion would
be on OneNote.

Sincerely,
Dan
 
B

Ben M. Schorr - MVP

Hi Ben,

Thanks for your response. Network connectivity is perfect after
hibernation
(although of course any open ssh connections, etc, are disconnected). I
am
able to browse the Internet, read e-mail with Microsoft Outlook, etc.

I would like to emphasize that after resuming from hibernation, even if I
restart OneNote, or even if I log off and then log on again, the problem
persists. Restarting Windows solves the problem. This is quite different
from
the behaviour of any other application I've seen, so my first suspicion
would
be on OneNote.

Hmmm....I'd try the repair trick anyhow just in case. Which OS are you
using and what OS Service Pack level are you at?









--
-Ben-
Ben M. Schorr, MVP-OneNote/Outlook
Operations Coordinator
Stockholm/KSG - Honolulu
Microsoft OneNote FAQ: http://www.factplace.com/onenotefaq.htm
 
D

Dan Stratila

Hi Ben,

I'm using Windows XP Professional with SP2 and Automatic Updates current,
and OneNote SP1.

I have tried Repairing the connection, or disconnecting the network cable or
the wireless (this happens both on wired and wireless connections), and it
does not help.

Even if Repair would help, it's only available for users with administrative
rights, which is not an option for our corporate colleagues who are running
on company machines. Connecting/disconnecting is possible without admin.
rights, but that doesn't help either.

Sincerely,
Dan
 
E

Erik Sojka (MVP)

Are you using DHCP? Do you get the same address after hibernation? IF
you get a different (but valid) address, client communications like
browsing will work. Sharing communications where you're allowing others
to connect to you might not if people are using your old address.
 
D

Dan Stratila

Hi Erik,

We are using DHCP. However, I am sending the other party the address as
shown by Shared Address Information in the Current Shared Session pane each
time before he tries to connect.

I also reproduced this with two laptops side by side, and a 10-second
hibernation today. The address didn't change after hibernation, and we made
sure we were using the correct address.

Sincerely,
Dan
 
C

Chris H.

Have you tried Repair in OneNote? Something may have hiccupped. Go to
Help/Detect and Repair... After it is done, close OneNote and restart your
system.
--
Chris H.
Microsoft Windows MVP/Tablet PC
Tablet Creations - http://nicecreations.us/
Associate Expert
Expert Zone -
 
B

Ben M. Schorr - MVP

Hi Ben,

I'm using Windows XP Professional with SP2 and Automatic Updates current,
and OneNote SP1.

I have tried Repairing the connection, or disconnecting the network
cable or
the wireless (this happens both on wired and wireless connections), and
it
does not help.

Shot in the dark -- are you using the latest DirectX version? You can
check Windows Update to see if there is a more recent one to use.


--
-Ben-
Ben M. Schorr, MVP-OneNote/Outlook
Operations Coordinator
Stockholm/KSG - Honolulu
Microsoft OneNote FAQ: http://www.factplace.com/onenotefaq.htm
 
D

Dan Stratila

Hi Chris,

I just tried, but it didn't help. Also, I've been able to reproduce this bug
between two fresh installs of OneNote.

Sincerely,
Dan
 
D

Dan Stratila

Hi Ben,

I just checked. Both machines are current on all Windows updates, including
DirectX.

Dan
 
D

David Rasmussen [MS]

Hi Dan,
Thanks for raising this issue. Interesting problem...

We use directX for handling the establishment of the connection. I'm
guessing it has something to do with that (given you fail even if you restart
OneNote, but a restart of Windows works). The same tech is also commonly used
for peer-peer game connections. it would be interesting to see if you can
connect to peer game sessions after hibernate.

We will investigate and see if we can reproduce this. If we work out a
solution we'll post back here.

Thanks,
David
 
D

David Rasmussen [MS]

Dan,
We have tried reproducing this on our machines but unfortunately haven't
been able to, so we can't diagnose the problem.

To help us diagnose the problem. Can you do the following:
After you wake from hibernate and have the problem then follow these steps.
1. Hit Windows-key R (to get a run dialog)
2. Type dxdiag.exe (this is the directx diagnostic tool)
3. Click the network tab
4. Click the "test direct play" button
5. Click OK to create new session

From the second machine (the one you're trying to join the OneNote session
from) do the first 4 steps above (up to "test direct play"). Then the
following:
5. Change the option to "join session"
6. Click OK
7. Enter the ip address of the other machine (set up above).
8. Then you should see a dialog with the session name, click it and join it.

Now you should be able to type on both clients and send messages to each
machine via DirectX.

If this doesn't work then we can confirm the problem is with DirectX. If it
does work then the problem is at a higher level.

Thanks!
David
 
D

Dan Stratila

Hi David,

I followed your instructions and found that dxdiag.exe behaves the same as
OneNote: it connected whenever OneNote could (say after a fresh restart) and
it failed whenever OneNote failed. Moreover, this behaviour happens even if I
take OneNote completely out of the picture:

1) Open dxdiag and start a new session.
2) Have the other computer join the session.
3) Close the session using the Close button inside the dxdiag session dialog
(also on the other computer).
4) *Leave dxdiag.exe open*, and hibernate the computer.
5) Return from hibernation. Now the other computer cannot connect, even if I
restart dxdiag.exe on my computer.

I found step 4) important for reproducing the bug. If I don't leave OneNote
(or dxdiag) open after establishing a successful connection, I can connect
after resuming from hibernation. Perhaps this was why you weren't able to
reproduce the bug on your computers? I have the latest DirectX (9.0c).

Thanks for your help.

Sincerely,
Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top