Mixxx11 crashes stanton scs3d vinyl-mode

Fixxx your Mixxx

Moderator: garth

Mixxx11 crashes stanton scs3d vinyl-mode

Postby mcdwerner » Fri Jan 11, 2013 3:37 pm

Hi Folks,

i use Mixxx11.0 Beta and everything worked very fine for me (used to have problems with Mixxx10)
Today i got my new Stanton scss.3d and i can't change to vinyl-mode:
- vinyl-button is red
- i touch it
- Mixxx crashes

Want to say that i don't need vinyl-mode for now but i would love to be able to browse my directory with the controller.
So one workaround would be to deactivate vinyl-mode.
As i have a little experience in Javascript, i tried to search the script file but couldn't find the place to deactivate vinyl-mode.

Can anyone help me?

-edit-
checked logfile, it says:
Warning [Main]: ControlObject::getControl returning NULL for ( "[Channel1]" , "vinylcontrol_mode" )
Warning [Main]: ControlObject::getControl returning NULL for ( "[Channel2]" , "vinylcontrol_mode" )
...
Warning [Main]: ControlObject::getControl returning NULL for ( "[Flanger]" , "lfoDepth" )
Warning [Main]: ControlObject::getControl returning NULL for ( "[Flanger]" , "lfoDelay" )
Warning [Main]: ControlObject::getControl returning NULL for ( "[Flanger]" , "lfoPeriod" )
mcdwerner
 
Posts: 5
Joined: Thu Dec 27, 2012 11:59 am

Re: Mixxx11 crashes stanton scs3d vinyl-mode

Postby mcdwerner » Sat Jan 12, 2013 5:52 pm

another edit:
with mixxx10 it works fine...
mcdwerner
 
Posts: 5
Joined: Thu Dec 27, 2012 11:59 am

Re: Mixxx11 crashes stanton scs3d vinyl-mode

Postby souleclipse » Sun May 05, 2013 12:07 am

I'm having a similar problem. I've tried from 1.11 beta2 up until the latest nightlies. It looks like it's the actual transitioning between modes that is causing the crash as skipping vinyl2 doesn't solve the problem.
souleclipse
 
Posts: 5
Joined: Sun May 05, 2013 12:04 am

Re: Mixxx11 crashes stanton scs3d vinyl-mode

Postby jus » Sun May 05, 2013 5:11 am

Could you post the output of mixxx.log or terminal output if this happens or, even better, create a backtrace?
The Mixxx Manual, Wiki and FAQ are the best place to start for documentation and support.
Please report any bugs you find to our Bug Tracker.

Find out how to contribute to Mixxx development.
User avatar
jus
Mixxx Artist
 
Posts: 1009
Joined: Tue Jun 16, 2009 5:52 pm
Location: Berlin

Re: Mixxx11 crashes stanton scs3d vinyl-mode

Postby souleclipse » Mon May 06, 2013 8:14 am

I'm not sure how many lines of this are relevant, but that's the stacktrace I get.

Repro steps are super simple, launch app with scs.3d setup and plugged in, tap vinyl button.

Code: Select all
Warning [Controller]: Could not Disconnect connection "StantonSCS3d.B11LED"
Warning [Controller]: Could not Disconnect connection "StantonSCS3d.VUMeterLEDs"
Warning [Controller]: Could not Disconnect connection "StantonSCS3d.B12LED"
Warning [Controller]: Could not Disconnect connection "StantonSCS3d.pitchLEDs"
Warning [Controller]: Could not Disconnect connection "StantonSCS3d.pitchSliderLED"
Debug [Controller]: Connection: "[Master]" "balance"
Debug [Controller]: Connection: "[Master]" "volume"
Debug [Controller]: Connection: "[Master]" "headMix"
Debug [Controller]: Connection: "[Master]" "headVolume"
Debug [Controller]: Connection: "[Master]" "crossfader"
Warning [Controller]: Killing timer 0 : That timer does not exist!
Warning [Controller]: Killing timer 0 : That timer does not exist!
Warning [Controller]: Could not Disconnect connection "StantonSCS3d.gainLEDs"
Warning [Controller]: Could not Disconnect connection "StantonSCS3d.playLED"
Warning [Controller]: Could not Disconnect connection "StantonSCS3d.cueLED"
Warning [Controller]: Could not Disconnect connection "StantonSCS3d.syncLED"
Warning [Controller]: Could not Disconnect connection "StantonSCS3d.B13LED"
Warning [Controller]: Could not Disconnect connection "StantonSCS3d.B14LED"
Warning [Controller]: Could not Disconnect connection "StantonSCS3d.pitchLEDs"
Warning [Controller]: Could not Disconnect connection "StantonSCS3d.pitchSliderLED"
Debug [Controller]: Connection: "[Channel1]" "visual_playposition"
Debug [Controller]: Connection: "[Channel2]" "visual_playposition"
Debug [Controller]: Connection: "[Channel1]" "duration"
Debug [Controller]: Connection: "[Channel2]" "duration"
Debug [Controller]: "StantonSCS3d: "SCS.3d" on MIDI channel 1 initialized."
Warning [Controller]: ControllerEngine::slotValueChanged() Shouldn't happen -- sender == NULL
Warning [Controller]: ControllerEngine::slotValueChanged() Shouldn't happen -- sender == NULL
Warning [Controller]: ControllerEngine::slotValueChanged() Shouldn't happen -- sender == NULL
Warning [Controller]: ControllerEngine::slotValueChanged() Shouldn't happen -- sender == NULL
Warning [Controller]: ControllerEngine::slotValueChanged() Shouldn't happen -- sender == NULL
Warning [Main]: WaveformRenderBackground::generateImage() - file( "/Applications/Mixxx.app/Contents/MacOS/../Resources/skins/LateNight1280x800-WXGA/style/style_bg_waveform1.png" ) 1050 x 72 do not fit the waveform widget size 773 x 74
Warning [Main]: WaveformRenderBackground::generateImage() - file( "/Applications/Mixxx.app/Contents/MacOS/../Resources/skins/LateNight1280x800-WXGA/style/style_bg_waveform2.png" ) 1050 x 74 do not fit the waveform widget size 773 x 74
Debug [Main]: Running Mixxx
Debug [Main]: ControllerManager::getControllerList
Debug [Controller]: Connection: "[Channel1]" "volume"
Debug [Controller]: Connection: "[Channel1]" "play"
Debug [Controller]: Connection: "[Channel1]" "cue_default"
Debug [Controller]: Connection: "[Channel1]" "beatsync"
Debug [Controller]: Connection: "[Channel1]" "back"
Debug [Controller]: Connection: "[Channel1]" "fwd"
Debug [Controller]: Connection: "[Channel1]" "rate"
Debug [Controller]: Connection: "[Channel1]" "rateRange"
Debug [Controller]: Connection: "[Channel1]" "pfl"
Debug [Controller]: Connection: "[Channel1]" "VuMeter"
Debug [Controller]: Connection: "[Channel1]" "keylock"

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000008
[Switching to process 12784 thread 0x27103]
0x0000000101e4e2b5 in QTJSC::DateInstance::calculateGregorianDateTime ()
souleclipse
 
Posts: 5
Joined: Sun May 05, 2013 12:04 am

Re: Mixxx11 crashes stanton scs3d vinyl-mode

Postby rryan » Mon May 06, 2013 2:52 pm

souleclipse wrote:I'm not sure how many lines of this are relevant, but that's the stacktrace I get.

Repro steps are super simple, launch app with scs.3d setup and plugged in, tap vinyl button.

Code: Select all
Warning [Controller]: Could not Disconnect connection "StantonSCS3d.B11LED"
Warning [Controller]: Could not Disconnect connection "StantonSCS3d.VUMeterLEDs"
Warning [Controller]: Could not Disconnect connection "StantonSCS3d.B12LED"
Warning [Controller]: Could not Disconnect connection "StantonSCS3d.pitchLEDs"
Warning [Controller]: Could not Disconnect connection "StantonSCS3d.pitchSliderLED"
Debug [Controller]: Connection: "[Master]" "balance"
Debug [Controller]: Connection: "[Master]" "volume"
Debug [Controller]: Connection: "[Master]" "headMix"
Debug [Controller]: Connection: "[Master]" "headVolume"
Debug [Controller]: Connection: "[Master]" "crossfader"
Warning [Controller]: Killing timer 0 : That timer does not exist!
Warning [Controller]: Killing timer 0 : That timer does not exist!
Warning [Controller]: Could not Disconnect connection "StantonSCS3d.gainLEDs"
Warning [Controller]: Could not Disconnect connection "StantonSCS3d.playLED"
Warning [Controller]: Could not Disconnect connection "StantonSCS3d.cueLED"
Warning [Controller]: Could not Disconnect connection "StantonSCS3d.syncLED"
Warning [Controller]: Could not Disconnect connection "StantonSCS3d.B13LED"
Warning [Controller]: Could not Disconnect connection "StantonSCS3d.B14LED"
Warning [Controller]: Could not Disconnect connection "StantonSCS3d.pitchLEDs"
Warning [Controller]: Could not Disconnect connection "StantonSCS3d.pitchSliderLED"
Debug [Controller]: Connection: "[Channel1]" "visual_playposition"
Debug [Controller]: Connection: "[Channel2]" "visual_playposition"
Debug [Controller]: Connection: "[Channel1]" "duration"
Debug [Controller]: Connection: "[Channel2]" "duration"
Debug [Controller]: "StantonSCS3d: "SCS.3d" on MIDI channel 1 initialized."
Warning [Controller]: ControllerEngine::slotValueChanged() Shouldn't happen -- sender == NULL
Warning [Controller]: ControllerEngine::slotValueChanged() Shouldn't happen -- sender == NULL
Warning [Controller]: ControllerEngine::slotValueChanged() Shouldn't happen -- sender == NULL
Warning [Controller]: ControllerEngine::slotValueChanged() Shouldn't happen -- sender == NULL
Warning [Controller]: ControllerEngine::slotValueChanged() Shouldn't happen -- sender == NULL
Warning [Main]: WaveformRenderBackground::generateImage() - file( "/Applications/Mixxx.app/Contents/MacOS/../Resources/skins/LateNight1280x800-WXGA/style/style_bg_waveform1.png" ) 1050 x 72 do not fit the waveform widget size 773 x 74
Warning [Main]: WaveformRenderBackground::generateImage() - file( "/Applications/Mixxx.app/Contents/MacOS/../Resources/skins/LateNight1280x800-WXGA/style/style_bg_waveform2.png" ) 1050 x 74 do not fit the waveform widget size 773 x 74
Debug [Main]: Running Mixxx
Debug [Main]: ControllerManager::getControllerList
Debug [Controller]: Connection: "[Channel1]" "volume"
Debug [Controller]: Connection: "[Channel1]" "play"
Debug [Controller]: Connection: "[Channel1]" "cue_default"
Debug [Controller]: Connection: "[Channel1]" "beatsync"
Debug [Controller]: Connection: "[Channel1]" "back"
Debug [Controller]: Connection: "[Channel1]" "fwd"
Debug [Controller]: Connection: "[Channel1]" "rate"
Debug [Controller]: Connection: "[Channel1]" "rateRange"
Debug [Controller]: Connection: "[Channel1]" "pfl"
Debug [Controller]: Connection: "[Channel1]" "VuMeter"
Debug [Controller]: Connection: "[Channel1]" "keylock"

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000008
[Switching to process 12784 thread 0x27103]
0x0000000101e4e2b5 in QTJSC::DateInstance::calculateGregorianDateTime ()


You forgot step 4 :)
http://www.mixxx.org/wiki/doku.php/creating_backtraces

Type 'thread apply all bt' when it crashes and hit enter a few times.
The Mixxx Manual, Wiki and FAQ are the best place to start for documentation and support.
Please report any bugs you find to our Bug Tracker.
rryan
Mixxx Developer
 
Posts: 1319
Joined: Thu Mar 26, 2009 12:14 am
Location: California

Re: Mixxx11 crashes stanton scs3d vinyl-mode

Postby souleclipse » Wed May 08, 2013 6:01 am

Ugh...sorry about that. That's the stuff that I get after I run the command from step 4.

Code: Select all
Thread 25 (process 13846):
#0  0x00007fff8ab72d16 in kevent ()
#1  0x0000000100c36dd9 in QKqueueFileSystemWatcherEngine::run ()
#2  0x0000000100b3ef4a in QThreadPrivate::start ()
#3  0x00007fff850a9742 in _pthread_start ()
#4  0x00007fff85096181 in thread_start ()

Thread 24 (process 13846):
#0  0x00007fff8ab72d16 in kevent ()
#1  0x0000000100c36dd9 in QKqueueFileSystemWatcherEngine::run ()
#2  0x0000000100b3ef4a in QThreadPrivate::start ()
#3  0x00007fff850a9742 in _pthread_start ()
#4  0x00007fff85096181 in thread_start ()

Thread 23 (process 13846):
#0  0x00007fff8ab720fa in __psynch_cvwait ()
#1  0x00007fff850adf89 in _pthread_cond_wait ()
#2  0x0000000101ed0716 in QTWTF::TCMalloc_PageHeap::scavengerThread ()
#3  0x0000000101ed0759 in QTWTF::TCMalloc_PageHeap::runScavengerThread ()
#4  0x00007fff850a9742 in _pthread_start ()
#5  0x00007fff85096181 in thread_start ()

Thread 22 (process 13846):
#0  0x00007fff8ab70686 in mach_msg_trap ()
#1  0x00007fff8ab6fc42 in mach_msg ()
#2  0x00007fff86e96803 in __CFRunLoopServiceMachPort ()
#3  0x00007fff86e9bee6 in __CFRunLoopRun ()
#4  0x00007fff86e9b6b2 in CFRunLoopRunSpecific ()
#5  0x00007fff86eaa371 in CFRunLoopRun ()
#6  0x0000000102a953b5 in localDispatchThread ()
#7  0x00007fff850a9742 in _pthread_start ()
#8  0x00007fff85096181 in thread_start ()

Thread 21 (process 13846):
#0  0x00007fff8ab720fa in __psynch_cvwait ()
#1  0x00007fff850adf89 in _pthread_cond_wait ()
#2  0x0000000102a959f3 in localUpcallThread ()
#3  0x00007fff850a9742 in _pthread_start ()
#4  0x00007fff85096181 in thread_start ()

Thread 20 (process 13846):
#0  0x00007fff8ab70686 in mach_msg_trap ()
#1  0x00007fff8ab6fc42 in mach_msg ()
#2  0x0000000102dc7970 in XServerMachPort::ReceiveMessage ()
#3  0x0000000102de3b23 in MIDIProcess::RunMIDIInThread ()
#4  0x0000000102dc8c2c in XThread::RunHelper ()
#5  0x0000000102dc880f in CAPThread::Entry ()
#6  0x00007fff850a9742 in _pthread_start ()
#7  0x00007fff85096181 in thread_start ()

Thread 19 (process 13846):
#0  0x00007fff8ab720fa in __psynch_cvwait ()
#1  0x00007fff850adf89 in _pthread_cond_wait ()
#2  0x0000000100b3f3f0 in QWaitCondition::wait ()

Thread 18 (process 13846):
#0  0x00007fff8ab720fa in __psynch_cvwait ()
#1  0x00007fff850adf89 in _pthread_cond_wait ()
#2  0x0000000100b3f3f0 in QWaitCondition::wait ()

Thread 17 (process 13846):
#0  0x00007fff8ab720fa in __psynch_cvwait ()
#1  0x00007fff850adf89 in _pthread_cond_wait ()
#2  0x0000000100b3f3f0 in QWaitCondition::wait ()

Thread 16 (process 13846):
#0  0x00007fff8ab720fa in __psynch_cvwait ()
#1  0x00007fff850adf89 in _pthread_cond_wait ()
#2  0x0000000100b3f3f0 in QWaitCondition::wait ()

Thread 15 (process 13846):
#0  0x00007fff8ab720fa in __psynch_cvwait ()
#1  0x00007fff850adf89 in _pthread_cond_wait ()
#2  0x0000000100b3f3f0 in QWaitCondition::wait ()

Thread 14 (process 13846):
#0  0x00007fff8ab720fa in __psynch_cvwait ()
#1  0x00007fff850adf89 in _pthread_cond_wait ()
#2  0x0000000100b3f3f0 in QWaitCondition::wait ()

Thread 13 (process 13846):
#0  0x00007fff8ab720fa in __psynch_cvwait ()
#1  0x00007fff850adf89 in _pthread_cond_wait ()
#2  0x0000000100b3f3d0 in QWaitCondition::wait ()
#3  0x0000000100b31a02 in QThreadPoolThread::run ()
#4  0x0000000100b3ef4a in QThreadPrivate::start ()
#5  0x00007fff850a9742 in _pthread_start ()
#6  0x00007fff85096181 in thread_start ()

Thread 12 (process 13846):
#0  0x00007fff8ab70686 in mach_msg_trap ()
#1  0x00007fff8ab6fc42 in mach_msg ()
#2  0x00007fff8d8a417a in HALB_MachPort::SendMessageWithReply ()
#3  0x00007fff8d8a4108 in HALB_MachPort::SendSimpleMessageWithSimpleReply ()
#4  0x00007fff8d8a28db in HALC_ProxyIOContext::IOWorkLoop ()
#5  0x00007fff8d8a2391 in HALC_ProxyIOContext::IOThreadEntry ()
#6  0x00007fff8d8a224b in HALB_IOThread::Entry ()
#7  0x00007fff850a9742 in _pthread_start ()
#8  0x00007fff85096181 in thread_start ()

Thread 10 (process 13846):
#0  0x0000000101e4e2b5 in QTJSC::DateInstance::calculateGregorianDateTime ()
#1  0x0000000101e5139f in QTJSC::dateProtoFuncToString ()
#2  0x0000000101e46722 in QTJSC::NativeFuncWrapper::operator() ()
#3  0x0000000101e46774 in QTJSC::call ()
#4  0x0000000101e82e11 in QTJSC::JSObject::defaultValue ()
#5  0x0000000101d83aad in QTJSC::JSObject::toPrimitive ()
#6  0x0000000101e1e5b8 in cti_op_eq ()
#7  0x000032f9d6839d55 in ?? ()
#8  0x0000000101dd08dd in QTJSC::Interpreter::execute ()
#9  0x0000000101e6fa69 in QTJSC::JSFunction::call ()
#10 0x0000000101e46752 in QTJSC::call ()
#11 0x0000000101f20035 in QScriptValue::call ()
#12 0x000000010012167b in ControllerEngine::execute ()
#13 0x000000010e785e60 in ?? ()
#14 0x1000000000000000 in ?? ()
Previous frame inner to this frame (gdb could not unwind past this frame)

Thread 9 (process 13846):
#0  0x00007fff8ab720fa in __psynch_cvwait ()
#1  0x00007fff850adf89 in _pthread_cond_wait ()
#2  0x0000000100b3f3f0 in QWaitCondition::wait ()
#3  0x0000000100109b98 in AnalyserQueue::dequeueNextBlocking ()
#4  0x00007fff8ab71b26 in __fcntl ()

Thread 8 (process 13846):
#0  0x00007fff8ab720fa in __psynch_cvwait ()
#1  0x00007fff850adf89 in _pthread_cond_wait ()
#2  0x0000000100b3f3f0 in QWaitCondition::wait ()
#3  0x000000010024b6c2 in BrowseThread::run ()
Previous frame inner to this frame (gdb could not unwind past this frame)

Thread 7 (process 13846):
#0  0x00007fff8ab720fa in __psynch_cvwait ()
#1  0x00007fff850adf89 in _pthread_cond_wait ()
#2  0x0000000100b3f3f0 in QWaitCondition::wait ()
#3  0x00000001000deb12 in EngineSideChain::run ()
Previous frame inner to this frame (gdb could not unwind past this frame)

Thread 6 (process 13846):
#0  0x00007fff8ab720fa in __psynch_cvwait ()
#1  0x00007fff850adf89 in _pthread_cond_wait ()
#2  0x0000000100b3f3f0 in QWaitCondition::wait ()
#3  0x00000001000c8fb4 in EngineWorkerScheduler::run ()

Thread 2 (process 13846):
#0  0x00007fff8ab72d16 in kevent ()
#1  0x00007fff84294dea in _dispatch_mgr_invoke ()
#2  0x00007fff842949ee in _dispatch_mgr_thread ()

Thread 1 (process 13846):
#0  0x00007fff8ab70686 in mach_msg_trap ()
#1  0x00007fff8ab6fc42 in mach_msg ()
#2  0x00007fff86e96803 in __CFRunLoopServiceMachPort ()
#3  0x00007fff86e9bee6 in __CFRunLoopRun ()
#4  0x00007fff86e9b6b2 in CFRunLoopRunSpecific ()
#5  0x00007fff837e40a4 in RunCurrentEventLoopInMode ()
#6  0x00007fff837e3e42 in ReceiveNextEventCommon ()
#7  0x00007fff837e3cd3 in BlockUntilNextEventMatchingListInMode ()
#8  0x00007fff85cb4613 in _DPSNextEvent ()
#9  0x00007fff85cb3ed2 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#10 0x00007fff85cab283 in -[NSApplication run] ()
#11 0x0000000100ec3f90 in QEventDispatcherMac::processEvents ()
#12 0x0000000100c54a74 in QEventLoop::processEvents ()
#13 0x0000000100c54e24 in QEventLoop::exec ()
#14 0x0000000100c56d8a in QCoreApplication::exec ()
#15 0x000000010016de8a in main ()
souleclipse
 
Posts: 5
Joined: Sun May 05, 2013 12:04 am

Re: Mixxx11 crashes stanton scs3d vinyl-mode

Postby souleclipse » Sat May 11, 2013 7:30 pm

Issue still exists in Mixxx v1.11.0 release. Did some debugging of the script and found that it was crashing on:

Code: Select all
if (currentMode == modeName || (StantonSCS3d.modifier["time"] != 0.0 && ((new Date() - StantonSCS3d.modifier["time"])>300)))


I initially suspected that the crash was caused by the creation of the Date object, but it looks even trying to print the contents of StantonSCS3d.modifier["time"] results in a crash. (Maybe a possible null issue in the qt ECMAScript parsing stuff?). The issue is fixed if I change the
Code: Select all
new Date()
calls in the controller script to use
Code: Select all
new Date().getTime()
. It looks like the script was relying on implicit conversion of the Date object to a numerical value but in some instances a new Date() object is directly assigned to StantonSCS3d.modifier["time"] so there is no coercion of the object into a numerical value. Though the crash on simply accessing StantonSCS3d.modifier["time"] is definitely odd, it's almost like the Date object is being freed behind the scenes.
souleclipse
 
Posts: 5
Joined: Sun May 05, 2013 12:04 am

Re: Mixxx11 crashes stanton scs3d vinyl-mode

Postby antiPLUR » Tue Nov 26, 2013 5:13 am

Will this issue be fixed in the next version?
antiPLUR
 
Posts: 13
Joined: Thu Nov 21, 2013 10:23 pm

Re: Mixxx11 crashes stanton scs3d vinyl-mode

Postby rryan » Wed Mar 26, 2014 2:24 pm

I can reproduce this with the 1.11.0 release but not with the master GitHub branch, so I think this is fixed.
The Mixxx Manual, Wiki and FAQ are the best place to start for documentation and support.
Please report any bugs you find to our Bug Tracker.
rryan
Mixxx Developer
 
Posts: 1319
Joined: Thu Mar 26, 2009 12:14 am
Location: California

Next

Return to Troubleshooting & FAQ

Who is online

Users browsing this forum: No registered users and 2 guests