Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.56 Freezes when open on Mavericks 10.9.2 #67

Open
nexusmb opened this issue Apr 12, 2014 · 8 comments
Open

0.56 Freezes when open on Mavericks 10.9.2 #67

nexusmb opened this issue Apr 12, 2014 · 8 comments

Comments

@nexusmb
Copy link

nexusmb commented Apr 12, 2014

The program worked fine till yesterday. Today I open it and it freeze as soon as I try to click on the GUI. It does not respond to any input.

I've cleared the cache and removed the ~/Library/Preferences/repetier.Repetier-Host-Mac.plist with no luck.

Below is the output on the console.

Anyone else having this issue?

12/04/2014 21:23:58.588 Repetier-Host Mac[952]: pypy:/Applications/Repetier-Host Mac.app/Contents/Resources/pypy.app
12/04/2014 21:23:59.576 Repetier-Host Mac[952]: *** -[__NSArrayM objectAtIndex:]: index 4294967295 beyond bounds for empty array
12/04/2014 21:24:02.478 Repetier-Host Mac[952]: CGSGetWindowTransformAtPlacement
12/04/2014 21:24:02.478 Repetier-Host Mac[952]: CGSTranslatePointForWindow
12/04/2014 21:24:02.478 Repetier-Host Mac[952]: CGSGetWindowBounds
12/04/2014 21:24:02.478 Repetier-Host Mac[952]: CGSGetWindowTransformAtPlacement
12/04/2014 21:24:02.478 Repetier-Host Mac[952]: CGSTranslatePointForWindow
12/04/2014 21:24:02.478 Repetier-Host Mac[952]: CGSGetWindowBounds
12/04/2014 21:24:02.479 Repetier-Host Mac[952]: CGSGetWindowTransformAtPlacement
12/04/2014 21:24:02.479 Repetier-Host Mac[952]: CGSTranslatePointForWindow
12/04/2014 21:24:02.479 Repetier-Host Mac[952]: CGSGetWindowBounds
12/04/2014 21:24:02.479 Repetier-Host Mac[952]: CGSGetWindowTransformAtPlacement
12/04/2014 21:24:02.479 Repetier-Host Mac[952]: CGSTranslatePointForWindow
12/04/2014 21:24:02.479 Repetier-Host Mac[952]: CGSGetWindowBounds
12/04/2014 21:24:06.085 Repetier-Host Mac[952]: CGSGetWindowTransformAtPlacement
12/04/2014 21:24:06.085 Repetier-Host Mac[952]: CGSTranslatePointForWindow
12/04/2014 21:24:06.085 Repetier-Host Mac[952]: CGSGetWindowBounds
12/04/2014 21:24:06.086 Repetier-Host Mac[952]: CGSGetWindowTransformAtPlacement
12/04/2014 21:24:06.086 Repetier-Host Mac[952]: CGSTranslatePointForWindow
12/04/2014 21:24:06.086 Repetier-Host Mac[952]: CGSGetWindowBounds
12/04/2014 21:24:06.086 Repetier-Host Mac[952]: CGSGetWindowTransformAtPlacement
12/04/2014 21:24:06.086 Repetier-Host Mac[952]: CGSTranslatePointForWindow
12/04/2014 21:24:06.086 Repetier-Host Mac[952]: CGSGetWindowBounds
12/04/2014 21:24:06.096 Repetier-Host Mac[952]: CGSGetWindowTransformAtPlacement
12/04/2014 21:24:06.096 Repetier-Host Mac[952]: CGSTranslatePointForWindow
12/04/2014 21:24:06.096 Repetier-Host Mac[952]: CGSGetWindowBounds
12/04/2014 21:24:06.302 Repetier-Host Mac[952]: *** -[NSLock lock]: deadlock (<NSLock: 0x239fea0> '(null)')
12/04/2014 21:24:06.302 Repetier-Host Mac[952]: *** Break on _NSLockError() to debug.

@repetier
Copy link
Owner

I'm a bit confused by the first line:

pypy:/Applications/Repetier-Host Mac.app/Contents/Resources/pypy.app

pypy.app is included in the host package but is never called at startup. It is only used if you slice with skeinforge. So it should never run and in fact you can not start it as an application. So I think you are starting the wrong app. You can even delete pypy.app if you do not need skeinforge (show package content->Resources).

@nexusmb
Copy link
Author

nexusmb commented Apr 13, 2014

I've never used skeinforge. Removing the pypy.app the behaviour of Repetier does not change.
Here the console log:

13/04/2014 16:54:16.833 Repetier-Host Mac[1549]: pypy:(null)
13/04/2014 16:54:17.682 Repetier-Host Mac[1549]: *** -[__NSArrayM objectAtIndex:]: index 4294967295 beyond bounds for empty array
13/04/2014 16:54:19.767 Repetier-Host Mac[1549]: CGSGetWindowTransformAtPlacement
13/04/2014 16:54:19.767 Repetier-Host Mac[1549]: CGSTranslatePointForWindow

There should be something wrong in the .plist (even the one regenerated by Repetier if i remove it).

I created a new user on my mac. Repetier is already installed (i've installed it for all users on the mbp) and it works fine.

I've copied the new .plist from the new user preferences directory to the old one. It works fine (obviously I've lost all my settings).

Below you find the export of the .plist that makes Repetier fail.

Anyone else having this issue?

{
"printer.Default.homeY" = 0;
"printer.pp.deltaHeight" = 200;
stlHistory = (
"/Users/nexusmb/Desktop/appletv_holder.stl",
"/Users/nexusmb/Desktop/ipad_headrest_Audi_-hole.stl",
"/Users/nexusmb/Desktop/ipad_headrest_Audi
-Mount.stl",
"/Users/nexusmb/Desktop/Optional_ipad_headrest_Rods.stl",
"/Users/nexusmb/Desktop/ipad_headrest_Audi
-_hole-1.stl",
"/Users/nexusmb/Desktop/apple_tv2_mount.STL",
"/Users/nexusmb/Desktop/Ball_Bearings_106_balls.stl",
"/Users/nexusmb/Desktop/day197_PentagonalIcositetrahedron.stl",
"/Users/nexusmb/Desktop/Interlockingpyramids.stl",
"/Users/nexusmb/Desktop/gopro_cage_mount.stl",
"/Users/nexusmb/Desktop/mount_gopro_road_fork.stl",
"/Users/nexusmb/Desktop/mount_gopro_mtn_fork.stl",
"/Users/nexusmb/Desktop/HandlebarMountFr.stl",
"/Users/nexusmb/Desktop/Support_velo.stl",
"/Users/nexusmb/Desktop/Jolys_Gopro_bike_mount.STL",
"/Users/nexusmb/Desktop/GoPro_BarClamp.stl",
"/Users/nexusmb/Desktop/quickrelease_clip.stl",
"/Users/nexusmb/Desktop/gopro_flat_mount.stl",
"/Users/nexusmb/Desktop/GoPro_Handlebar_Mount.stl",
"/Users/nexusmb/Desktop/GoPro_BarClamp_17_5.stl",
);
"printer.Default.defaultHeatedBedTemp" = 55;
"printer.pp.script4Code" = "";
"printer.3Drag.slic3rPrint" = 3Drag;
"NSWindow Frame sdcardmanager" = "196 278 450 292 0 0 1920 1178 ";
"printer.Default.endCode" = "";
"printer.pp.databits" = 8;
"printer.3Drag.pingPongMode" = NO;
"printer.Default.travelFeedrate" = 4800;
"printer.Default.slic3rFilament2" = "";
"printer.pp.disposeY" = 0;
"printer.Default.slic3rPrint" = "";
"slic3r#current#infillSpeed" = 60;
"printer.Default.dumpAreaFront" = 0;
"slic3r#current#fillPattern" = rectilinear;
"printer.pp.startCode" = "";
"printer.pp.activeSlicer" = 1;
"printer.3Drag.slic3rFilament1" = 3Drag;
"slic3r#current#randomizeStartingPoint" = YES;
"slic3r#current#perimeters" = 3;
"printer.Default.script3Code" = "";
"NSWindow Frame PrinterSettingsWindow" = "23 422 480 527 0 0 1920 1178 ";
"printer.pp.dumpAreaDepth" = 22;
"NSWindow Frame firstSteps" = "995 144 553 398 0 0 1920 1178 ";
"printer.3Drag.skeinforgeProfile" = "";
"printer.3Drag.dumpAreaFront" = 0;
"printer.pp.script5Code" = "";
"printer.pp.okAfterResend" = YES;
"printer.3Drag.dumpAreaWidth" = 40;
"printer.3Drag.dumpAreaDepth" = 22;
slic3rPrinter = 3Drag;
"printer.3Drag.slic3rFilament3" = "";
"printer.pp.slic3rFilament1" = "";
fanSpeed = 78;
"NSNavPanelExpandedSizeForOpenMode" = "{712, 448}";
skeinforgePostfix = "_export";
"printer.Default.activeSlicer" = 1;
editorSplitterWidth = 516;
"printer.Default.disposeX" = 135;
"printer.Default.xMax" = 200;
"printer.pp.dumpAreaFront" = 0;
"slic3r#current#solidInfillSpeed" = 60;
"printer.pp.disposeX" = 135;
"slic3r#current#perimeterSpeed" = 30;
"slic3r#current#retractLength" = 3;
"printer.3Drag.afterJobGoDispose" = YES;
"printer.Default.slic3rFilament3" = "";
"printer.3Drag.port" = "usbserial-A602YWJL";
"printer.Default.filterPrg" = "";
"slic3r#current#fillAngle" = 45;
"printer.pp.pingPongMode" = NO;
"printer.Default.dumpAreaDepth" = 22;
"printer.3Drag.printerType" = 0;
"printer.3Drag.afterJobDisableExtruder" = YES;
"printer.pp.afterJobDisableHeatedBed" = YES;
"printer.3Drag.xMin" = 0;
slic3rFilament3 = 3Drag;
"slic3r#current#keepFanAlwaysOn" = NO;
"NSWindow Frame mainwindow" = "83 98 1804 1007 0 0 1920 1178 ";
"printer.Default.pingPongMode" = NO;
"printer.pp.afterJobGoDispose" = YES;
"printer.Default.slic3rPrinter" = "";
"slic3r#current#fillDensity" = 0.4;
SUSendProfileInfo = NO;
"slic3r#current#firstLayerTemperature" = 200;
"slic3r#current#useRealtiveE" = NO;
"printer.Default.deltaDiameter" = 250;
"slic3r#current#travelSpeed" = 130;
"printer.Default.travelZFeedrate" = 100;
"printer.3Drag.bedLeft" = 0;
"log.sendEnabled" = YES;
"slic3r#current#generateSupportMaterial" = NO;
slic3rFilament2 = 3Drag;
"printer.pp.yMin" = 0;
"printer.Default.skeinforgeProfile" = "";
"printer.pp.printerType" = 0;
"printer.3Drag.stopBits" = 1;
"slic3r#current#skirtHeight" = 1;
"printer.Default.deltaHeight" = 200;
"printer.3Drag.numberOfExtruder" = 1;
"slic3r#current#threads" = 2;
"printer.3Drag.xMax" = 200;
"printer.pp.numberOfExtruder" = 1;
"printer.3Drag.activeSlicer" = 1;
"printer.3Drag.autocheckTemp" = YES;
"slic3r#current#bridgeFlowRatio" = 1;
"printer.3Drag.afterJobDisableMotors" = NO;
"printer.Default.script4Code" = "";
"printer.pp.dontLogM105" = YES;
"printer.Default.bedFront" = 0;
"printer.pp.slic3rFilament2" = "";
"printer.pp.bedLeft" = 0;
"printer.Default.printerType" = 0;
tempAutoscroll = NO;
"slic3r#current#coolEnable" = NO;
"slic3r#current#bridgesSpeed" = 60;
"slic3r#current#coolMaxFanSpeed" = 100;
"printer.Default.afterJobGoDispose" = YES;
"printer.Default.databits" = 8;
"slic3r#current#coolBridgeFanSpeed" = 100;
"printer.pp.defaultHeatedBedTemp" = 55;
"printer.Default.parity" = 0;
"slic3r#current#retractExtraLength" = 0;
"printer.3Drag.parity" = 0;
"printer.pp.travelFeedrate" = 4800;
"printer.3Drag.filterPrg" = "";
"printer.3Drag.defaultExtruderTemp" = 200;
"extruder.extrudeLength" = 30;
"printer.Default.dumpAreaLeft" = 125;
"printer.3Drag.protocol" = 0;
"printer.Default.afterJobDisableHeatedBed" = YES;
"slic3r#current#supportMaterialTool" = Primary;
"printer.pp.autocheckTemp" = YES;
"printer.pp.skeinforgeProfile" = "";
"printer.3Drag.defaultHeatedBedTemp" = 55;
"printer.pp.jobpauseCode" = "";
"printer.3Drag.receiveCacheSize" = 63;
"printer.pp.protocol" = 0;
"slic3r#current#firstLayerHeight" = 0.4;
"printer.Default.disposeY" = 0;
"printer.Default.jobpauseCode" = "";
"printer.Default.homeX" = 0;
"printer.pp.afterJobDisableExtruder" = YES;
"slic3r#current#bedtemperature" = 0;
"slic3r#current#filamentDiameter" = 3;
firstcall = called;
"printer.pp.filterPrg" = "";
gcodeHistory = (
"/Users/nexusmb/Desktop/3Drag/printed/GoPro_BarClamp_17_5.gcode",
"/Users/nexusmb/Desktop/3Drag/to_be_printed/chainmail_bracelet.gcode",
"/Users/nexusmb/Library/Repetier/tempobj.gcode",
"/Users/nexusmb/Desktop/gopro_cage_mount.gcode",
"/Users/nexusmb/Desktop/mount_gopro_mtn_fork.gcode",
"/Users/nexusmb/Desktop/HandlebarMountFr.gcode",
"/Users/nexusmb/Desktop/GoPro_BarClamp_17_5.gcode",
"/Users/nexusmb/Desktop/captive_ball.gcode",
"/Users/nexusmb/Desktop/owl.gcode",
"/Users/nexusmb/Desktop/InceptionTopFinalV3.stl",
"/Users/nexusmb/Desktop/snowman.gcode",
"/Users/nexusmb/Desktop/3Drag/MyFirstTry.gcode",
"/Users/nexusmb/Desktop/3Drag/MySecondTry.gcode",
"/Users/nexusmb/Desktop/biggearmod_fixed.stl",
);
"printer.pp.xMin" = 0;
"printer.Default.depth" = 200;
"printer.pp.slic3rPrinter" = "";
tempShowOutput = 1;
"printer.pp.slic3rPrint" = "";
currentPrinter = 3Drag;
"printer.pp.slic3rFilament3" = "";
"NSNavLastRootDirectory" = "~/Desktop/3Drag/printed";
"slic3r#current#firstLayerBedTemperature" = 0;
"printer.Default.homeZ" = 0;
"printer.pp.afterJobDisableMotors" = NO;
"printer.Default.protocol" = 0;
"printer.3Drag.okAfterResend" = YES;
"printer.pp.port" = "usbserial-A602YWJL";
"printer.Default.script5Code" = "";
slic3rPrint = 3Drag;
"slic3r#current#firstLayerSpeed" = 20;
"printer.Default.port" = "usbserial-A602YWJL";
"printer.3Drag.addPrintingTime" = 0;
debugInfo = NO;
"printer.Default.startCode" = "";
"printer.pp.receiveCacheSize" = 63;
"printer.Default.enableFilterPrg" = NO;
"printer.Default.autocheckInterval" = 1;
"printer.3Drag.homeZ" = 0;
"printer.3Drag.slic3rFilament2" = "";
"printer.3Drag.deltaDiameter" = 250;
"printer.3Drag.slic3rPrinter" = 3Drag;
"printer.Default.dontLogM105" = YES;
"printer.3Drag.jobkillCode" = "";
showFirstSteps = NO;
"printer.3Drag.travelFeedrate" = 4800;
"printer.3Drag.endCode" = "";
"slic3r#current#comments" = NO;
"printer.3Drag.autocheckInterval" = 1;
"printer.Default.script1Code" = "";
"slic3r#current#retractMinTravel" = 2;
"printer.Default.dumpAreaWidth" = 40;
"slic3r#current#coolMinFanSpeed" = 35;
"printer.Default.bedLeft" = 0;
"printer.Default.receiveCacheSize" = 63;
"slic3r#current#nozzleDiameter" = 0.5;
"printer.3Drag.disposeX" = 135;
"printer.pp.homeZ" = 0;
"printer.pp.parity" = 0;
"slic3r#current#coolMinPrintSpeed" = 10;
"slic3r#current#solidFillPattern" = rectilinear;
"printer.pp.yMax" = 200;
"slic3r#current#coolEnableBelow" = 60;
"printer.pp.enableFilterPrg" = NO;
SULastCheckTime = "2014-04-12T18:40:23Z";
"printer.3Drag.yMin" = 0;
printerList = "Default;3Drag;pp";
"printer.3Drag.script5Code" = "";
"printer.3Drag.script4Code" = "";
threedShowTravel = 1;
"printer.3Drag.bedFront" = 0;
"printer.3Drag.script3Code" = "";
"printer.3Drag.script2Code" = "";
"printer.3Drag.homeY" = 0;
"printer.3Drag.script1Code" = "";
"printer.3Drag.deltaHeight" = 200;
"printer.pp.baud" = 250000;
"skeinforge_craft" = "/Applications/Repetier-Host Mac.app/Contents/Resources/Skeinforge.app/skeinforge_application/skeinforge_utilities/skeinforge_craft.py";
"printer.pp.script1Code" = "";
"printer.Default.okAfterResend" = YES;
"printer.pp.defaultExtruderTemp" = 200;
"slic3r#current#skirtLoops" = 1;
"slic3r#current#smallPerimeterSpeed" = 30;
"printer.Default.disposeZ" = 0;
"printer.Default.yMin" = 0;
"printer.3Drag.disposeY" = 0;
"printer.pp.depth" = 200;
"printer.3Drag.dontLogM105" = YES;
"slic3r#current#temperature" = 200;
"printer.3Drag.startCode" = "";
"printer.pp.dumpAreaLeft" = 125;
"slic3r#current#layerHeight" = 0.4;
"printer.Default.defaultExtruderTemp" = 200;
"printer.Default.numberOfExtruder" = 1;
"slic3r#current#coolSlowDownBelow" = 15;
"slic3r#current#infillEveryNLayers" = 1;
slic3rFilament = 3Drag;
"printer.pp.travelZFeedrate" = 100;
"printer.3Drag.baud" = 250000;
"printer.pp.width" = 200;
"printer.Default.stopBits" = 1;
"printer.3Drag.afterJobDisableHeatedBed" = YES;
"printer.3Drag.height" = 100;
"printer.3Drag.jobpauseCode" = "";
logSplitterHeight = 269.5;
"slic3r#current#coolDisplayLayer" = 1;
"slic3r#current#zOffset" = 0;
"printer.pp.height" = 100;
"printer.Default.baud" = 57600;
"printer.Default.jobkillCode" = "";
"printer.3Drag.yMax" = 200;
"slic3r#current#extrusionMultiplier" = 1;
"slic3r#current#retractZLift" = 0;
"printer.pp.homeY" = 0;
SUHasLaunchedBefore = YES;
"printer.pp.dumpAreaWidth" = 40;
"printer.pp.script2Code" = "";
"printer.pp.bedFront" = 0;
"printer.3Drag.disposeZ" = 0;
"slic3r#current#skirtDistance" = 6;
"printer.3Drag.homeX" = 0;
"printer.pp.stopBits" = 1;
"printer.3Drag.databits" = 8;
"slic3r#current#GCodeFlavor" = "RepRap (Repetier/Marlin/Sprinter)";
"printer.pp.endCode" = "";
"printer.Default.script2Code" = "";
"printer.pp.autocheckInterval" = 1;
"printer.pp.jobkillCode" = "";
skeinforgeExtension = ".gcode";
"printer.pp.deltaDiameter" = 250;
"printer.3Drag.width" = 200;
"printer.Default.slic3rFilament1" = "";
"printer.Default.width" = 200;
"slic3r#current#extrusionWidth" = 0;
"printer.Default.yMax" = 200;
"printer.Default.autocheckTemp" = YES;
"printer.pp.script3Code" = "";
"printer.pp.xMax" = 200;
"printer.Default.addPrintingTime" = 0;
"printer.pp.addPrintingTime" = 0;
"printer.pp.disposeZ" = 0;
"slic3r#current#retractSpeed" = 30;
"printer.3Drag.travelZFeedrate" = 100;
"printer.Default.height" = 100;
"printer.pp.homeX" = 0;
"slic3r#current#solidLayers" = 3;
"printer.Default.afterJobDisableExtruder" = YES;
"SUEnableAutomaticChecks" = YES;
"printer.3Drag.depth" = 200;
"printer.Default.afterJobDisableMotors" = NO;
"NSNavPanelExpandedStateForSaveMode" = YES;
"printer.3Drag.enableFilterPrg" = NO;
"printer.3Drag.dumpAreaLeft" = 125;
debugErrors = NO;
"printer.Default.xMin" = 0;
}

@bilsch
Copy link

bilsch commented Apr 16, 2014

I have been having a similar problem with repetier host on mac.

Euclid:~ bilsch$ /Applications/Repetier-Host\ Mac.app/Contents/MacOS/Repetier-Host\ Mac
2014-04-16 19:45:28.724 Repetier-Host Mac[77362:507] pypy:/Applications/Repetier-Host Mac.app/Contents/Resources/pypy.app
2014-04-16 19:45:30.273 Repetier-Host Mac[77362:507] *** -[__NSArrayM objectAtIndex:]: index 4294967295 beyond bounds for empty array
2014-04-16 19:45:41.622 Repetier-Host Mac[77362:507] *** -[NSLock lock]: deadlock (<NSLock: 0x1eb110> '(null)')
2014-04-16 19:45:41.622 Repetier-Host Mac[77362:507] *** Break on _NSLockError() to debug.

I only see the deadlock when I hit connect. Have been seeing problems like this ( not sure on the error/deadlock ) for quite some time now.

Usually I can clear it up by nuking the application cache:
rm -rf '~/Library/Saved Application State/repetier.Repetier-Host-Mac.savedState'

However this no longer seems to be working. I've also seen a similar issue with Repetier on linux, so this may not be unique to the mac port/runtime.

@bilsch
Copy link

bilsch commented Apr 16, 2014

Not sure if will be helpful. I used activity monitor to capture a sample of the app activities. its available in my dropbox public folder if anyone is curious.

This is in the locked state

@lodewykp
Copy link

Same problem here. Suddenly started this morning. I can open it as a different user but freezes up on my default user.

@lodewykp
Copy link

Deleting the configuration file seems to fix this, but closing all instances and restarting the mac after deletion seems important. I tried closing down, deleting and then opening the app a couple of times and my old configuration just ended back in the app.

So it seems important to follow this sequence:

  1. Stop all instances of the app
  2. Delete the config files by running this command “rm ~/Library/Preferences/repetier*.plist”
  3. Restart your mac

@macropin
Copy link

@bilsch I'm seeing a similar issue on Yosemite. When I click 'connect' the deadlock occurs. Nuking .plist or application cache does not help.

andrew@iprozac:~$ /Applications/Repetier-Host\ Mac\ 56.app/Contents/MacOS/Repetier-Host\ Mac
2015-02-27 09:06:42.509 Repetier-Host Mac[10367:158088] pypy:/Applications/Repetier-Host Mac 56.app/Contents/Resources/pypy.app
2015-02-27 09:06:43.564 Repetier-Host Mac[10367:158088] *** -[__NSArrayM objectAtIndex:]: index 4294967295 beyond bounds for empty array
2015-02-27 09:06:47.072 Repetier-Host Mac[10367:158088] *** -[NSLock lock]: deadlock (<NSLock: 0x2b6fa0> '(null)')
2015-02-27 09:06:47.072 Repetier-Host Mac[10367:158088] *** Break on _NSLockError() to debug.

The deadlock is printed immediately after clicking 'connect'.

I created a new user, logged in as that. Set the baud rate, and now it works fine.

@squiddle
Copy link

i had the same issue and this forum thread solved helped me: http://forums.reprap.org/read.php?267,357112

in essence this solves the problem. (run in Terminal)

defaults delete repetier.Repetier-Host-Mac logSplitterHeight

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants