Thread: Re: [cotvnc-devel] [ cotvnc-Bugs-932099 ] Crash following computer sleep
Project superseded by http://chicken.sourceforge.net/
Brought to you by:
smeger
From: Sean K. <ka...@ge...> - 2004-04-09 00:09:44
|
Y'know, this isn't a Chicken issue at all. ALL TCP connections will puke when you put the powerbook to sleep, unless there's been no traffic, which is virtally unheard of for something like VNC. ;-) But, should we try to reconnect on powerbook sleep? Is there even an event applications get when a powerbook sleeps? I have to admit, I use a powerbook for everything I do (well, until the graphics chip we nutso, which I still have to get fixed) so this would be a handy addition. I'll happily take a crack at it if someone will point me in a direction. . . Sean [In a message on Thu, 08 Apr 2004 16:35:27 PDT, "SourceForge.net" wrote:] >Bugs item #932099, was opened at 2004-04-08 16:35 >Message generated for change (Tracker Item Submitted) made by Item Submitter >You can respond by visiting: >https://sourceforge.net/tracker/?func=detail&atid=507159&aid=932099&group_id=6 >4347 > >Category: None >Group: v1.3.6 >Status: Open >Resolution: None >Priority: 5 >Submitted By: Nobody/Anonymous (nobody) >Assigned to: Nobody/Anonymous (nobody) >Summary: Crash following computer sleep > >Initial Comment: >I was running CotVNC on a Powerbook. > >I put it to sleep (disconnected from the network) >and when I came back half an hour later or so >and reselected the application, poof! > >I don't remember whether I typed anything, >or whether this happened immediately upon >returning to the application. > >For what it's worth, the server connected to is >Xvnc 3.3.tight1.2.9 > > > >Date/Time: 2004-04-08 16:07:18 -0700 >OS Version: 10.3.3 (Build 7F44) >Report Version: 2 > >Command: Chicken of the VNC >Path: /Applications/Chicken of the VNC >1.3.6.app/Contents/MacOS/Chicken of the VNC >Version: Chicken of the VNC version 1.3.6 (1.3.6) >PID: 1340 >Thread: 0 > >Exception: EXC_BAD_ACCESS (0x0001) >Codes: KERN_INVALID_ADDRESS (0x0001) at 0x332c748f > >Thread 0 Crashed: >0 libobjc.A.dylib 0x9083134c >objc_msgSend_stret + 0xc >1 com.geekspiff.chickenofthevnc 0x0001df38 >-[RFBConnection emulateButtonTimeout:] + 0xb0 >(RFBConnection.m:486) >2 com.apple.Foundation 0x909f389c >__NSFireTimer + 0x68 >3 com.apple.CoreFoundation 0x901946d8 >__CFRunLoopDoTimer + 0xf4 >4 com.apple.CoreFoundation 0x90191a38 >__CFRunLoopRun + 0x5c8 >5 com.apple.CoreFoundation 0x90195f4c >CFRunLoopRunSpecific + 0x148 >6 com.apple.HIToolbox 0x927d648c >RunCurrentEventLoopInMode + 0xac >7 com.apple.HIToolbox 0x927dcb6c >ReceiveNextEventCommon + 0xf4 >8 com.apple.HIToolbox 0x927feccc >BlockUntilNextEventMatchingListInMode + 0x60 >9 com.apple.AppKit 0x92dd2a34 >_DPSNextEvent + 0x180 >10 com.apple.AppKit 0x92de93b0 >-[NSApplication >nextEventMatchingMask:untilDate:inMode:dequeue:] + 0x74 >11 com.apple.AppKit 0x92dfd718 >-[NSApplication run] + 0x21c >12 com.apple.AppKit 0x92eb9b80 >NSApplicationMain + 0x1d0 >13 com.geekspiff.chickenofthevnc 0x0002ce3c main + >0x28 (VNCViewer_main.m:17) >14 com.geekspiff.chickenofthevnc 0x00007be4 _start + >0x188 (crt.c:267) >15 com.geekspiff.chickenofthevnc 0x00007a58 start + 0x30 > >Thread 1: >0 libSystem.B.dylib 0x90017048 >semaphore_wait_signal_trap + 0x8 >1 libSystem.B.dylib 0x9000e890 >_pthread_cond_wait + 0x270 >2 com.apple.Foundation 0x90a4c238 >-[NSConditionLock lockWhenCondition:] + 0x44 >3 com.apple.AppKit 0x92dca8dc >-[NSUIHeartBeat _heartBeatThread:] + 0x190 >4 com.apple.Foundation 0x90a3a2c4 >forkThreadForFunction + 0x6c >5 libSystem.B.dylib 0x900247e8 >_pthread_body + 0x28 > >PPC Thread State: > srr0: 0x9083134c srr1: 0x0200f030 >vrsave: 0x00000000 > cr: 0x44024422 xer: 0x20000004 lr: 0x0001df38 >ctr: 0x90831340 > r0: 0x0001df38 r1: 0xbfffe9a0 r2: 0x00000000 >r3: 0xbfffe9e0 > r4: 0x00108c00 r5: 0x9086f780 r6: 0x43300000 >r7: 0x80000000 > r8: 0x00000000 r9: 0x000369a8 r10: 0x00000000 >r11: 0x00035a00 > r12: 0x332c746f r13: 0x00000000 r14: 0x00000000 >r15: 0x00000001 > r16: 0x00000000 r17: 0x00000001 r18: 0xa0191488 >r19: 0x00000000 > r20: 0x00000000 r21: 0x00000000 r22: 0x00515270 >r23: 0x00515388 > r24: 0xa01945ec r25: 0xa00011ac r26: 0x0000024f >r27: 0x00108c00 > r28: 0x00590d90 r29: 0x00000000 r30: 0xbfffe9a0 >r31: 0x0001de88 > >Binary Images Description: > 0x1000 - 0x34fff com.geekspiff.chickenofthevnc >Chicken of the VNC version 1.3.6 (1.3.6) >/Applications/Chicken of the VNC >1.3.6.app/Contents/MacOS/Chicken of the VNC >0x8fe00000 - 0x8fe4ffff dyld /usr/lib/dyld >0x90000000 - 0x90122fff libSystem.B.dylib >/usr/lib/libSystem.B.dylib >0x90190000 - 0x9023dfff com.apple.CoreFoundation >6.3.3 (299.3) >/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation >0x90280000 - 0x904f9fff >com.apple.CoreServices.CarbonCore 10.3.3 >/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Carbon >Core.framework/Versions/A/CarbonCore >0x90570000 - 0x905defff com.apple.framework.IOKit >1.3.2 (???) >/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit >0x90610000 - 0x90699fff >com.apple.CoreServices.OSServices 3.0 (3.0.0) >/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServ >ices.framework/Versions/A/OSServices >0x90700000 - 0x90700fff com.apple.CoreServices 10.3 >(???) >/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices >0x90720000 - 0x90787fff com.apple.audio.CoreAudio >2.1.2 >/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio >0x907f0000 - 0x907f9fff com.apple.DiskArbitration >2.0.2 >/System/Library/PrivateFrameworks/DiskArbitration.framework/Versions/A/DiskArb >itration >0x90810000 - 0x90810fff com.apple.ApplicationServices >1.0 (???) >/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Applicatio >nServices >0x90830000 - 0x9089ffff libobjc.A.dylib >/usr/lib/libobjc.A.dylib >0x90910000 - 0x90983fff com.apple.DesktopServices >1.2.1 >/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Des >ktopServicesPriv >0x909f0000 - 0x90b4afff com.apple.Foundation 6.3.4 >(500.54) >/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation >0x90ec0000 - 0x90ec0fff com.apple.Cocoa 6.3 (???) >/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa >0x910b0000 - 0x910fffff com.apple.bom 1.2.4 (63) >/System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom >0x912a0000 - 0x912bdfff com.apple.audio.SoundManager >3.8 >/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound. >framework/Versions/A/CarbonSound >0x912e0000 - 0x912f7fff com.apple.LangAnalysis 1.5.4 >/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks >/LangAnalysis.framework/Versions/A/LangAnalysis >0x91303000 - 0x913c1fff ColorSync >/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks >/ColorSync.framework/Versions/A/ColorSync >0x917e0000 - 0x917f0fff >com.apple.speech.recognition.framework 3.3 >/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogn >ition.framework/Versions/A/SpeechRecognition >0x91967000 - 0x9197afff >com.apple.speech.synthesis.framework 3.2 >/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks >/SpeechSynthesis.framework/Versions/A/SpeechSynthesis >0x91a90000 - 0x91a90fff >com.apple.audio.units.AudioUnit 1.3.1 >/System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit >0x91ab0000 - 0x91ac4fff libCGATS.A.dylib >/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks >/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib >0x91ae0000 - 0x91aebfff libCSync.A.dylib >/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks >/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib >0x91b10000 - 0x91b2afff libPDFRIP.A.dylib >/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks >/CoreGraphics.framework/Versions/A/Resources/libPDFRIP.A.dylib >0x91b50000 - 0x91b5ffff libPSRIP.A.dylib >/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks >/CoreGraphics.framework/Versions/A/Resources/libPSRIP.A.dylib >0x91b80000 - 0x91b93fff libRIP.A.dylib >/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks >/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib >0x92070000 - 0x92096fff com.apple.FindByContent 1.4 >(1.2) >/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks >/FindByContent.framework/Versions/A/FindByContent >0x920c0000 - 0x922a7fff com.apple.security 2.2 (164.1) >/System/Library/Frameworks/Security.framework/Versions/A/Security >0x92430000 - 0x92468fff com.apple.LaunchServices 10.3 >(84) >/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks >/LaunchServices.framework/Versions/A/LaunchServices >0x92740000 - 0x92777fff com.apple.CFNetwork 1.2.1 (7) >/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetw >ork.framework/Versions/A/CFNetwork >0x927d0000 - 0x92b54fff com.apple.HIToolbox 1.3.2 >(???) >/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fr >amework/Versions/A/HIToolbox >0x92cca000 - 0x92d02fff com.apple.AE 1.3.2 >/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks >/AE.framework/Versions/A/AE >0x92d30000 - 0x92d80fff com.apple.HIServices 1.4.0 >(0.0.1d1) >/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks >/HIServices.framework/Versions/A/HIServices >0x92dc0000 - 0x932befff com.apple.AppKit 6.3.2 >(743.20) >/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit >0x935d0000 - 0x938a6fff com.apple.CoreGraphics >1.203.12 (???) >/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks >/CoreGraphics.framework/Versions/A/CoreGraphics >0x939a0000 - 0x939b4fff libcups.2.dylib >/usr/lib/libcups.2.dylib >0x939d0000 - 0x939d4fff libmathCommon.A.dylib >/usr/lib/system/libmathCommon.A.dylib >0x93b50000 - 0x93bf5fff >com.apple.audio.toolbox.AudioToolbox 1.3.1 >/System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox >0x94060000 - 0x94078fff com.apple.WebServices 1.1.1 >(1.1.0) >/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebSer >vicesCore.framework/Versions/A/WebServicesCore >0x945b0000 - 0x945b9fff libz.1.dylib /usr/lib/libz.1.dylib >0x94610000 - 0x9462afff libresolv.9.dylib >/usr/lib/libresolv.9.dylib >0x94650000 - 0x946affff com.apple.SearchKit 1.0.2 >/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Search >Kit.framework/Versions/A/SearchKit >0x94a30000 - 0x94af5fff libxml2.2.dylib >/usr/lib/libxml2.2.dylib >0x94d15000 - 0x94da8fff >com.apple.print.framework.PrintCore 3.3 >/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks >/PrintCore.framework/Versions/A/PrintCore >0x95e0a000 - 0x95e25fff com.apple.SystemConfiguration >1.7.1 (???) >/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConf >iguration >0x968d0000 - 0x969b2fff libicucore.A.dylib >/usr/lib/libicucore.A.dylib >0x96a20000 - 0x96ae2fff libcrypto.0.9.7.dylib >/usr/lib/libcrypto.0.9.7.dylib >0x96b40000 - 0x96b6efff libssl.0.9.7.dylib >/usr/lib/libssl.0.9.7.dylib >0x96bf0000 - 0x96c7ffff ATS >/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks >/ATS.framework/Versions/A/ATS >0x96cb0000 - 0x96d9efff libiconv.2.dylib >/usr/lib/libiconv.2.dylib >0x98db3000 - 0x98e6cfff com.apple.QD 3.4.63 (???) >/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks >/QD.framework/Versions/A/QD > > > > >---------------------------------------------------------------------- > >You can respond by visiting: >https://sourceforge.net/tracker/?func=detail&atid=507159&aid=932099&group_id=6 >4347 > > >------------------------------------------------------- >This SF.Net email is sponsored by: IBM Linux Tutorials >Free Linux tutorial presented by Daniel Robbins, President and CEO of >GenToo technologies. Learn everything from fundamentals to system >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >_______________________________________________ >cotvnc-devel mailing list >cot...@li... >https://lists.sourceforge.net/lists/listinfo/cotvnc-devel > |
From: Jason H. <sm...@ge...> - 2004-04-30 06:14:14
|
On Apr 8, 2004, at 5:07 PM, Sean Kamath wrote: > But, should we try to reconnect on powerbook sleep? Is there even an > event applications get when a powerbook sleeps? I have to admit, I > use a powerbook for everything I do (well, until the graphics chip we > nutso, which I still have to get fixed) so this would be a handy > addition. I'll happily take a crack at it if someone will point me in > a direction. . . Here's some sample code from Mighty Mouse. It's c++, but fairly straight-forward. Hope it helps! Jason |