Skip to content
Tcl Source Code Artifact [4f1a8e1196]
Login

Artifact [4f1a8e1196]

Artifact 4f1a8e11962166e05980fb8eb3bca2cfedef48b6:

Ticket change [4f1a8e1196] - New ticket [3002320fffffffff|3002320fff] <i>Hard crash in wish on OSX when no windowserver</i>. by ronaldoussoren on 2010-05-16 09:36:18.
D 2010-05-16T09:36:18
J assignee nobody
J cmimetype text/plain
J comment When\sI\sstart\swish\son\sOSX\sfrom\sa\ssession\sthat\sdoes\snot\shave\saccess\sto\sthe\swindow\sserver\s(for\sinstance\susing\san\sSSH\sconnection\sas\sa\suser\sthat\sis\snot\slogged\son\son\sthe\sconsole)\sI\sget\sa\shard\scrash\sdue\sto\san\suncaught\sObjC\sexception:\n\nSun\sMay\s16\s11:30:39\sRivendell.local\sWish[37073]\s<Error>:\skCGErrorFailure:\sSet\sa\sbreakpoint\s@\sCGErrorBreakpoint()\sto\scatch\serrors\sas\sthey\sare\slogged.\n_RegisterApplication(),\sFAILED\sTO\sestablish\sthe\sdefault\sconnection\sto\sthe\sWindowServer,\s_CGSDefaultConnection()\sis\sNULL.\n%\s2010-05-16\s11:30:39.691\sWish[37073:903]\ssetCanCycle:\sis\sdeprecated.\s\sPlease\suse\ssetCollectionBehavior\sinstead\n2010-05-16\s11:30:39.704\sWish[37073:903]\sAn\suncaught\sexception\swas\sraised\n2010-05-16\s11:30:39.704\sWish[37073:903]\sError\s(1002)\screating\sCGSWindow\n2010-05-16\s11:30:39.705\sWish[37073:903]\s***\sTerminating\sapp\sdue\sto\suncaught\sexception\s'NSInternalInconsistencyException',\sreason:\s'Error\s(1002)\screating\sCGSWindow'\n***\sCall\sstack\sat\sfirst\sthrow:\n(\n0\s\s\sCoreFoundation\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s0x00007fff85e31d24\s__exceptionPreprocess\s+\s180\n1\s\s\slibobjc.A.dylib\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s0x00007fff860000f3\sobjc_exception_throw\s+\s45\n2\s\s\sCoreFoundation\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s0x00007fff85e31b47\s+[NSException\sraise:format:arguments:]\s+\s103\n3\s\s\sCoreFoundation\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s0x00007fff85e31ad4\s+[NSException\sraise:format:]\s+\s148\n4\s\s\sAppKit\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s0x00007fff84614aba\s_NSCreateWindowWithOpaqueShape2\s+\s473\n5\s\s\sAppKit\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s0x00007fff845a9055\s-[NSWindow\s_commonAwake]\s+\s1214\n6\s\s\sAppKit\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s0x00007fff845c6d3d\s-[NSWindow\s_makeKeyRegardlessOfVisibility]\s+\s96\n7\s\s\sAppKit\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s0x00007fff845c6cb2\s-[NSWindow\smakeKeyAndOrderFront:]\s+\s24\n8\s\s\sTk\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s0x00000001000c435a\sXMapWindow\s+\s139\n9\s\s\sTk\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s0x0000000100032d3c\sTk_MapWindow\s+\s84\n10\s\sTk\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s0x000000010003db5f\sTkCreateFrame\s+\s1869\n11\s\sTcl\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s0x00000001001eec9c\sTclServiceIdle\s+\s76\n12\s\sTcl\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s0x00000001001d531d\sTcl_DoOneEvent\s+\s340\n13\s\sTk\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s0x000000010001af93\sTk_MainLoop\s+\s29\n14\s\sTk\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s0x0000000100027257\sTk_MainEx\s+\s1589\n15\s\sWish\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s0x00000001000044fe\s0x0\s+\s4294984958\n16\s\sWish\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s0x00000001000044ac\s0x0\s+\s4294984876\n)\nterminate\scalled\safter\sthrowing\san\sinstance\sof\s'NSException'\nAbort\strap\n\n\nI'd\sexpect\sto\sget\sa\sTcl\serror\sinstead\sof\sa\shard\sabort.\n\nThis\salso\saffects\sembedders\sof\sTcl/Tk,\sthe\sreason\sI\spost\sthis\sissue\sis\sthe\sfollowing\sissue\sin\sthe\sPython\stracker:\s<http://bugs.python.org/issue8716>.\sI'm\slooking\sfor\sa\sworkaround\sfor\sthat\sissue\s(because\swe'll\shave\sto\swork\swith\ssystem\sversions\sof\sTk)\sbut\sit\swould\sbe\snice\sif\sthis\swere\sfixed\supstreams\sas\swell.
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter ronaldoussoren
J subsystem None
J title Hard\scrash\sin\swish\son\sOSX\swhen\sno\swindowserver
J type Bug
K 3002320fffffffffffffffffffffffffffffffff
U ronaldoussoren
Z 518c6fa145d633b6feba317a351ae0d8