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

Orion Starshoot Autoguider hanging - Mac OS El Capitan #482

Open
EverettQuebral opened this Issue Nov 7, 2015 · 0 comments

Comments

Projects
None yet
2 participants
@EverettQuebral

EverettQuebral commented Nov 7, 2015

Whenever I choose Orion Starshoot Autoguider under Mac OS El Capitan is hanging. Was able to nail down the code and it's complaining on

/* Examine libusb's internal list of known devices, looking for one with
 * a specific session ID. Returns the matching device if it was found, and
 * NULL otherwise. */
struct libusb_device *usbi_get_device_by_session_id(struct libusb_context *ctx,
    unsigned long session_id)
{
    struct libusb_device *dev;
    struct libusb_device *ret = NULL;

--->    usbi_mutex_lock(&ctx->usb_dev_lock);  //EXC_BAD_ACCES
    list_for_each_entry(dev, &ctx->usb_devs, list, struct libusb_device)
        if (dev->session_data == session_id) {
            ret = dev;
            break;
        }
    usbi_mutex_unlock(&ctx->usb_devs_lock);

    return ret;
}

Attaching the log I'm getting

19:38:34.418 00.085 22491136 PHD2 version 2.5.0dev2 begins execution with:
19:38:34.418 00.000 22491136    wxWidgets 3.0.2
19:38:34.418 00.000 22491136    cfitsio 3.37
19:38:34.433 00.015 22491136 Using Locale Dir /Users/everettquebral/projects/phd2/tmp/Debug/PHD2.app/Contents/Resources/locale exists=1
19:38:34.434 00.001 22491136 GetInt("/wxLanguage", 0) returns 0
19:38:34.445 00.011 22491136 locale.AddCatalog failed
19:38:34.446 00.001 22491136 GetInt("/currentProfile", 0) returns 1
19:38:34.513 00.067 22491136 StartWorkerThread(0x0x0) begins
19:38:34.514 00.001 22491136 WorkerThread constructor called
19:38:34.514 00.000 22491136 StartWorkerThread(0x0x2538870) ends
19:38:34.515 00.001 2956120064 WorkerThread::Entry() begins
19:38:34.515 00.000 22491136 StartWorkerThread(0x0x0) begins
19:38:34.516 00.001 22491136 WorkerThread constructor called
19:38:34.516 00.000 22491136 StartWorkerThread(0x0x1632aa0) ends
19:38:34.516 00.000 2956652544 WorkerThread::Entry() begins
19:38:34.517 00.001 22491136 GetBoolean("/ServerMode", 1) returns 1
19:38:34.517 00.000 22491136 GetString("/frame/LogDir", "") returns ""
19:38:34.518 00.001 22491136 GetInt("/LoggedImageFormat", 0) returns 0
19:38:34.563 00.045 22491136 Status Line 2: 
19:38:34.564 00.001 22491136 Status Line 3: 
19:38:34.564 00.000 22491136 Status Line 4: 
19:38:34.564 00.000 22491136 Status Line 5: No cal
19:38:34.565 00.001 22491136 GetInt("/profile/1/NoiseReductionMethod", 0) returns 0
19:38:34.565 00.000 22491136 GetDouble("/profile/1/DitherScaleFactor", 1.000000) returns 10.000000
19:38:34.566 00.001 22491136 GetBoolean("/profile/1/DitherRaOnly", 0) returns 1
19:38:34.566 00.000 22491136 GetInt("/profile/1/frame/timeLapse", 0) returns 0
19:38:34.566 00.000 22491136 GetBoolean("/profile/1/AutoLoadCalibration", 0) returns 0
19:38:34.567 00.001 22491136 GetInt("/profile/1/frame/focalLength", 0) returns 2800
19:38:34.567 00.000 22491136 GetInt("/profile/1/auto_exp/exposure_min", 1000) returns 1000
19:38:34.567 00.000 22491136 GetInt("/profile/1/auto_exp/exposure_max", 5000) returns 5000
19:38:34.568 00.001 22491136 GetDouble("/profile/1/auto_exp/target_snr", 6.000000) returns 6.000000
19:38:34.568 00.000 22491136 AutoExp: config min = 1000 max = 5000 snr = 6.00
19:38:34.568 00.000 22491136 AutoExp: reset exp to 5000
19:38:34.569 00.001 22491136 GetString("/profile/1/ExposureDuration", "1.0 s") returns "0.01 s"
19:38:34.569 00.000 22491136 OnExposureDurationSelected: duration = 10
19:38:34.570 00.001 22491136 GetInt("/profile/1/Gamma", 100) returns 297
19:38:34.575 00.005 22491136 GetInt("/profile/1/overlay/slit/center.x", 376) returns 376
19:38:34.576 00.001 22491136 GetInt("/profile/1/overlay/slit/center.y", 290) returns 290
19:38:34.576 00.000 22491136 GetInt("/profile/1/overlay/slit/width", 8) returns 8
19:38:34.577 00.001 22491136 GetInt("/profile/1/overlay/slit/height", 100) returns 100
19:38:34.577 00.000 22491136 GetInt("/profile/1/overlay/slit/angle", 0) returns 0
19:38:34.577 00.000 22491136 Changing from state 0 to 0
19:38:34.578 00.001 22491136 GetBoolean("/profile/1/guider/FastRecenter", 1) returns 1
19:38:34.578 00.000 22491136 GetBoolean("/profile/1/guider/ScaleImage", 1) returns 0
19:38:34.578 00.000 22491136 GetDouble("/profile/1/guider/onestar/MassChangeThreshold", 0.500000) returns 0.500000
19:38:34.579 00.001 22491136 GetBoolean("/profile/1/guider/onestar/MassChangeThresholdEnabled", 1) returns 1
19:38:34.579 00.000 22491136 GetInt("/profile/1/guider/onestar/SearchRegion", 15) returns 15
19:38:34.580 00.001 22491136 GetBoolean("/StickyLockPosition", 0) returns 0
19:38:34.580 00.000 22491136 GetString("/geometry", "") returns "0;1040;640;158;163"
19:38:34.583 00.003 22491136 GetInt("/graph/ScopeOrCameraUnits", 0) returns 0
19:38:34.583 00.000 22491136 GetString("/graph/RAColor", "") returns "#6464FF"
19:38:34.584 00.001 22491136 GetString("/graph/DecColor", "") returns "#FF0000"
19:38:34.584 00.000 22491136 GetInt("/graph/minLength", 50) returns 50
19:38:34.584 00.000 22491136 GetInt("/graph/maxLength", 400) returns 400
19:38:34.585 00.001 22491136 GetInt("/graph/minHeight", 1) returns 1
19:38:34.585 00.000 22491136 GetInt("/graph/maxHeight", 16) returns 16
19:38:34.586 00.001 22491136 GetInt("/graph/length", 100) returns 200
19:38:34.586 00.000 22491136 GetInt("/graph/height", 4) returns 4
19:38:34.586 00.000 22491136 GetInt("graph/HeightUnits", 1) returns 1
19:38:34.587 00.001 22491136 GetBoolean("/graph/showCorrections", 1) returns 1
19:38:34.587 00.000 22491136 GetBoolean("/graph/showStarMass", 0) returns 0
19:38:34.587 00.000 22491136 GetBoolean("/graph/showStarSNR", 0) returns 0
19:38:34.617 00.030 22491136 GetInt("/graph_stepguider/length", 1) returns 1
19:38:34.619 00.002 22491136 GetInt("/target/length", 100) returns 100
19:38:34.619 00.000 22491136 GetDouble("/target/zoom", 1.000000) returns 4.000000
19:38:34.623 00.004 22491136 GetBoolean("/profile/1/target/refCircleEnabled", 0) returns 0
19:38:34.624 00.001 22491136 GetDouble("/profile/1/target/refCircleRadius", 2.000000) returns 2.000000
19:38:34.762 00.138 22491136 GetString("/profile/1/name", "") returns "My Equipment"
19:38:34.763 00.001 22491136 GetString("/profile/1/name", "") returns "My Equipment"
19:38:34.778 00.015 22491136 GetString("/profile/1/camera/LastMenuchoice", "None") returns "Orion StarShoot Autoguider"
19:38:34.778 00.000 22491136 CameraFactory(Orion StarShoot Autoguider)
19:38:34.779 00.001 22491136 GetBoolean("/profile/1/camera/UseSubframes", 0) returns 0
19:38:34.779 00.000 22491136 GetInt("/profile/1/camera/ReadDelay", 150) returns 150
19:38:34.779 00.000 22491136 GetInt("/profile/1/camera/gain", 95) returns 95
19:38:34.780 00.001 22491136 GetInt("/profile/1/camera/TimeoutMs", 15000) returns 15000
19:38:34.780 00.000 22491136 GetDouble("/profile/1/camera/pixelsize", 0.000000) returns 5.200000
19:38:34.780 00.000 22491136 GetInt("/profile/1/camera/binning", 1) returns 1
19:38:34.781 00.001 22491136 Created new camera of type Orion StarShoot Autoguider = 0x169d840
19:38:34.781 00.000 22491136 GetString("/profile/1/scope/LastMenuChoice", "None") returns "On-camera"
19:38:34.782 00.001 22491136 ScopeFactory(On-camera)
19:38:34.782 00.000 22491136 GetInt("/profile/1/scope/CalibrationDuration", 750) returns 2500
19:38:34.782 00.000 22491136 GetInt("/profile/1/scope/MaxRaDuration", 2500) returns 500
19:38:34.783 00.001 22491136 GetInt("/profile/1/scope/MaxDecDuration", 2500) returns 500
19:38:34.783 00.000 22491136 GetInt("/profile/1/scope/DecGuideMode", 1) returns 1
19:38:34.783 00.000 22491136 GetInt("/profile/1/scope/XGuideAlgorithm", 1) returns 1
19:38:34.784 00.001 22491136 GetDouble("/profile/1/scope/GuideAlgorithm/X/Hysteresis/minMove", 0.200000) returns 0.200000
19:38:34.784 00.000 22491136 GetDouble("/profile/1/scope/GuideAlgorithm/X/Hysteresis/hysteresis", 0.100000) returns 0.110000
19:38:34.785 00.001 22491136 GetDouble("/profile/1/scope/GuideAlgorithm/X/Hysteresis/aggression", 0.700000) returns 0.700000
19:38:34.785 00.000 22491136 GetInt("/profile/1/scope/YGuideAlgorithm", 4) returns 4
19:38:34.785 00.000 22491136 GetDouble("/profile/1/scope/GuideAlgorithm/Y/ResistSwitch/minMove", 0.200000) returns 0.200000
19:38:34.786 00.001 22491136 GuideAlgorithmResistSwitch::SetMinMove() returns 0, m_minMove=0.20
19:38:34.786 00.000 22491136 GetDouble("/profile/1/scope/GuideAlgorithm/Y/ResistSwitch/aggression", 1.000000) returns 1.000000
19:38:34.786 00.000 22491136 GuideAlgorithmResistSwitch::SetAggression() returns 0, m_aggression=1.00
19:38:34.787 00.001 22491136 GetBoolean("/profile/1/scope/GuideAlgorithm/Y/ResistSwitch/fastSwitch", 1) returns 1
19:38:34.787 00.000 22491136 GuideAlgorithmResistSwitch::SetFastSwitchEnabled(1)
19:38:34.787 00.000 22491136 GetBoolean("/profile/1/scope/CalFlipRequiresDecFlip", 0) returns 0
19:38:34.788 00.001 22491136 GetBoolean("/profile/1/scope/AssumeOrthogonal", 0) returns 0
19:38:34.788 00.000 22491136 GetBoolean("/profile/1/scope/UseDecComp", 1) returns 1
19:38:34.789 00.001 22491136 GetInt("/profile/1/scope/DecBacklashPulse", 0) returns 0
19:38:34.789 00.000 22491136 BLC: Backlash compensation is disabled
19:38:34.789 00.000 22491136 GetBoolean("/profile/1/scope/StopGuidingWhenSlewing", 0) returns 0
19:38:34.789 00.000 22491136 Scope: slew check disabled
19:38:34.790 00.001 22491136 Created new scope of type On-camera = 0x1805200
19:38:34.790 00.000 22491136 GetString("/profile/1/scope/LastAuxMenuChoice", "None") returns "None"
19:38:34.791 00.001 22491136 ScopeFactory(None)
19:38:34.791 00.000 22491136 Created new aux scope of type None = 0x0
19:38:34.791 00.000 22491136 Throw from /Users/everettquebral/projects/phd2/gear_dialog.cpp:1114->OnAuxChoiceScope: m_pAuxScope == NULL
19:38:34.792 00.001 22491136 GetString("/profile/1/stepguider/LastMenuChoice", "None") returns "None"
19:38:34.792 00.000 22491136 StepGuiderFactory(None)
19:38:34.792 00.000 22491136 Created new stepguider of type None = 0x0
19:38:34.793 00.001 22491136 Throw from /Users/everettquebral/projects/phd2/gear_dialog.cpp:1312->OnChoiceStepGuider: m_pStepGuider == NULL
19:38:34.793 00.000 22491136 GetString("/profile/1/rotator/LastMenuChoice", "None") returns "None"
19:38:34.794 00.001 22491136 RotatorFactory(None)
19:38:34.794 00.000 22491136 Created new Rotator of type None = 0x0
19:38:34.794 00.000 22491136 Throw from /Users/everettquebral/projects/phd2/gear_dialog.cpp:1426->OnChoiceRotator: m_pRotator == NULL
19:38:34.798 00.004 22491136 GetString("/profile/1/name", "") returns "My Equipment"
19:38:34.835 00.037 22491136 event server started, listening on port 4400
19:38:34.835 00.000 22491136 Status Line 0: Server started
19:38:34.836 00.001 22491136 Server started, listening on port 4300
19:38:34.836 00.000 22491136 Status Line 0: Server started
19:38:34.844 00.008 22491136 GetString("/perspective", "") returns "layout2|name=MainToolBar;caption=Main tool bar;state=2106108;dir=3;layer=10;row=0;pos=0;prop=100000;bestw=627;besth=42;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=Guider;caption=Guider;state=768;dir=5;layer=0;row=0;pos=0;prop=100000;bestw=640;besth=512;minw=640;minh=512;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=GraphLog;caption=History;state=2099196;dir=3;layer=0;row=0;pos=1;prop=100000;bestw=539;besth=227;minw=-1;minh=240;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=Stats;caption=Guide Stats;state=2099196;dir=3;layer=0;row=0;pos=0;prop=100000;bestw=264;besth=318;minw=-1;minh=240;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=AOPosition;caption=AO Position;state=2099198;dir=2;layer=0;row=0;pos=0;prop=100000;bestw=293;besth=207;minw=293;minh=208;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=Profile;caption=Star Profile;state=2099198;dir=4;layer=0;row=0;pos=0;prop=100000;bestw=20;besth=20;minw=110;minh=72;maxw=-1;maxh=-1;floatx=992;floaty=76;floatw=400;floath=250|name=Target;caption=Target;state=2099196;dir=2;layer=0;row=0;pos=0;prop=100000;bestw=297;besth=207;minw=293;minh=208;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|dock_size(3,10,0)=44|dock_size(5,0,0)=642|dock_size(3,0,0)=259|dock_size(2,0,0)=299|"
19:38:34.860 00.016 22491136 GetString("/profile/1/camera/LastMenuchoice", "None") returns "Orion StarShoot Autoguider"
19:38:34.860 00.000 22491136 GetString("/profile/1/scope/LastMenuChoice", "None") returns "On-camera"
19:38:34.877 00.017 22491136 Resizing image to 360,288
19:38:36.968 02.091 22491136 GetString("/profile/1/camera/LastMenuchoice", "None") returns "Orion StarShoot Autoguider"
19:38:36.969 00.001 22491136 GetString("/profile/1/scope/LastMenuChoice", "None") returns "On-camera"
19:38:42.878 05.909 22491136 GetInt("/wxLanguage", 0) returns 0
19:38:52.385 09.507 22491136 User exited setup dialog with 'cancel'
19:39:02.768 10.383 22491136 GetInt("/wxLanguage", 0) returns 0
19:39:05.535 02.767 22491136 User exited setup dialog with 'cancel'
19:40:07.828 62.293 22491136 Status Line 0: Connecting to Camera ...
19:40:07.828 00.000 22491136 GetString("/profile/1/cam_hash/4311af2e/whichCamera", "") returns ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment