compiling_on_linux [Debian Squeeze Not Ubuntu]

General Mixxx discussion.... discuss

Moderator: garth

compiling_on_linux [Debian Squeeze Not Ubuntu]

Postby bistro2000 » Fri Nov 18, 2011 3:26 pm

Hi there,

The very first step at:

http://www.mixxx.org/wiki/doku.php/compiling_on_linux

doesn't work for my fresh Debian Squeeze:

Code: Select all
root@upc:~/mixxx/mixxx-1.10.0-beta1# apt-get build-dep mixxx
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to find a source package for mixxx
root@upc:~/mixxx/mixxx-1.10.0-beta1# uname -a
Linux upc 2.6.32-5-686 #1 SMP Mon Oct 3 04:15:24 UTC 2011 i686 GNU/Linux


and then I run into a segmentation fault:

Code: Select all
root@upc:~/mixxx/mixxx-1.10.0-beta1# ./mixxx --resourcePath res/
Debug: [Main]: Mixxx  "" is starting...
Debug: [Main]: Qt version is: 4.6.3
Debug: [Main]: Configuration file is at the current version 1.10.0-beta1
Debug: [Main]: Setting qConfigPath from location in resourcePath commandline arg: "res/"
Debug: [Main]: Loading translations for locale "en_GB" from translations folder "res/translations/" : success
Debug: [Main]: Found folder 'Mixxx' within default OS music directory
Debug: [Main]: Could not create folder 'Recordings' within 'Mixxx'
Debug: [Main]: ControlObject::getControl returning NULL for ( "[Channel1]" , "vinylcontrol_mode" )
Debug: [Main]: ControlObject::getControl returning NULL for ( "[Channel2]" , "vinylcontrol_mode" )
Warning: [Main]: failed to resolve JACK name method
Debug: [Main]: Available QtSQL drivers: ("QSQLITE")
Debug: [Main]: src/library/trackcollection.cpp DB status: true
Debug: [Main]: SchemaManager::upgradeToSchemaVersion already at version 13
Debug: [Main]: TrackDAO::initialize QThread(0x9cc1dd0, name = "Main") "qt_sql_default_connection"
Debug: [Main]: CrateDAO::initialize()
Debug: [Main]: CueDAO::initialize QThread(0x9cc1dd0, name = "Main") "qt_sql_default_connection"
Debug: [Main]: Setting qConfigPath from location in resourcePath commandline arg: "res/"
Debug: [Main]: Promo dir: "res//promo/1.8.0/index.html"
Debug: [Main]: Traktor Library Location=[ "/root/collection.nml" ]
Debug: [Main]: ControlObject::getControl returning NULL for ( "[Flanger]" , "lfoDepth" )
Debug: [Main]: ControlObject::getControl returning NULL for ( "[Flanger]" , "lfoDelay" )
Debug: [Main]: ControlObject::getControl returning NULL for ( "[Flanger]" , "lfoPeriod" )
Debug: [Main]: CachingReader using 4980736 bytes.
Debug: [Main]: CachingReader using 4980736 bytes.
Debug: [Main]: CachingReader using 4980736 bytes.
Debug: [Main]: CachingReader using 4980736 bytes.
Debug: [Main]: CachingReader using 4980736 bytes.
Debug: [Main]: CachingReader using 4980736 bytes.
Debug: [Main]: Constructed LibraryScanner
Debug: [Main]: iTunes Album Art path is: ""
Debug: [Main]: MidiDeviceManager::getDeviceList
Debug: [Main]: Scanning PortMIDI devices:
Debug: [Main]:  Found output device # 0 Midi Through Port-0
Debug: [Main]:  Found input device # 1 Midi Through Port-0
Debug: [Main]:     Linking to output device # 0 "Midi Through Port-0"
Debug: [Main]: Starting script engine with output device ""
Debug: [MidiScriptEngine 1]: MIDI Device in script engine is: ""
Debug: [Main]: MidiDeviceManager: Setting up devices
Debug: [Main]: PortMIDI device "1. Midi Through Port-0" already closed
root@upc:~/mixxx/mixxx-1.10.0-beta1# ./mixxx --resourcePath res/
Debug: [Main]: Mixxx  "" is starting...
Debug: [Main]: Qt version is: 4.6.3
Debug: [Main]: Configuration file is at the current version 1.10.0-beta1
Debug: [Main]: Setting qConfigPath from location in resourcePath commandline arg: "res/"
Debug: [Main]: Loading translations for locale "en_GB" from translations folder "res/translations/" : success
Debug: [Main]: Found folder 'Mixxx' within default OS music directory
Debug: [Main]: Could not create folder 'Recordings' within 'Mixxx'
Debug: [Main]: ControlObject::getControl returning NULL for ( "[Channel1]" , "vinylcontrol_mode" )
Debug: [Main]: ControlObject::getControl returning NULL for ( "[Channel2]" , "vinylcontrol_mode" )
Warning: [Main]: failed to resolve JACK name method
Debug: [Main]: Available QtSQL drivers: ("QSQLITE")
Debug: [Main]: src/library/trackcollection.cpp DB status: true
Debug: [Main]: SchemaManager::upgradeToSchemaVersion already at version 13
Debug: [Main]: TrackDAO::initialize QThread(0x9cc1dd0, name = "Main") "qt_sql_default_connection"
Debug: [Main]: CrateDAO::initialize()
Debug: [Main]: CueDAO::initialize QThread(0x9cc1dd0, name = "Main") "qt_sql_default_connection"
Debug: [Main]: Setting qConfigPath from location in resourcePath commandline arg: "res/"
Debug: [Main]: Promo dir: "res//promo/1.8.0/index.html"
Debug: [Main]: Traktor Library Location=[ "/root/collection.nml" ]
Debug: [Main]: ControlObject::getControl returning NULL for ( "[Flanger]" , "lfoDepth" )
Debug: [Main]: ControlObject::getControl returning NULL for ( "[Flanger]" , "lfoDelay" )
Debug: [Main]: ControlObject::getControl returning NULL for ( "[Flanger]" , "lfoPeriod" )
Debug: [Main]: CachingReader using 4980736 bytes.
Debug: [Main]: CachingReader using 4980736 bytes.
Debug: [Main]: CachingReader using 4980736 bytes.
Debug: [Main]: CachingReader using 4980736 bytes.
Debug: [Main]: CachingReader using 4980736 bytes.
Debug: [Main]: CachingReader using 4980736 bytes.
Debug: [Main]: Constructed LibraryScanner
Debug: [Main]: iTunes Album Art path is: ""
Debug: [Main]: MidiDeviceManager::getDeviceList
Debug: [Main]: Scanning PortMIDI devices:
Debug: [Main]:  Found output device # 0 Midi Through Port-0
Debug: [Main]:  Found input device # 1 Midi Through Port-0
Debug: [Main]:     Linking to output device # 0 "Midi Through Port-0"
Debug: [Main]: Starting script engine with output device ""
Debug: [MidiScriptEngine 1]: MIDI Device in script engine is: ""
Debug: [Main]: MidiDeviceManager: Setting up devices
Debug: [Main]: PortMIDI device "1. Midi Through Port-0" already closed
Debug: [Main]: DlgPrepare(0xa568a08, name = "DlgPrepare") analysisActive false
Debug: [Main]: MixxxLibraryFeature::activate()
Debug: [Main]: LibraryTableModel(0x9db1040) select() took 3 ms
Debug: [Main]: WSearchLineEdit::restoreSearch( "" )
Debug: [Main]: ControlObject::getControl returning NULL for ( "[Vinylcontrol]" , "show_vinylcontrol" )
Warning: [Main]: Requested control does not exist: "[Vinylcontrol],show_vinylcontrol" . Creating it.
Debug: [Main]: Making property binder for "visible"
Warning: [Main]: Object::connect: No such slot QGroupBox::setProperty(const char*, const QVariant&) in src/skin/propertybinder.cpp:13
Debug: [Main]: ControlObject::getControl returning NULL for ( "[Microphone]" , "show_microphone" )
Warning: [Main]: Requested control does not exist: "[Microphone],show_microphone" . Creating it.
Debug: [Main]: Making property binder for "visible"
Warning: [Main]: Object::connect: No such slot QGroupBox::setProperty(const char*, const QVariant&) in src/skin/propertybinder.cpp:13
Warning: [Main]: QGLContext::makeCurrent(): Cannot make invalid context current.
Debug: [Main]: createWaveformViewer()
Debug: [Main]: WaveformViewerFactory :: Creating new visual waveform
Debug: [Main]: WaveformViewerFactory :: Making new GL context.
Xlib:  extension "GLX" missing on display ":1.0".
Warning: [Main]: QGLTempContext: No GL capable X visuals available.
Segmentation fault


Most of the instructions seem very Ubuntu...
Has anyone been successful on Debian Squeeze ?

cheers
User avatar
bistro2000
 
Posts: 8
Joined: Thu Nov 17, 2011 6:26 pm
Location: Berlin

Re: compiling_on_linux [Debian Squeeze Not Ubuntu]

Postby rryan » Fri Nov 18, 2011 3:42 pm

bistro2000 wrote:http://www.mixxx.org/wiki/doku.php/compiling_on_linux

doesn't work for my fresh Debian Squeeze:


Odd since I believe there is a mixxx package in squeeze. You can just install each individual build dependency, that's all that that build-dep does. Based on your next queston it looks like you figured this out fine. ;)

bistro2000 wrote:Xlib: extension "GLX" missing on display ":1.0".
Warning: [Main]: QGLTempContext: No GL capable X visuals available.
Segmentation fault


Does glxgears work?

Could you please get a backtrace for that crash? http://www.mixxx.org/wiki/doku.php/creating_backtraces
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: 1204
Joined: Thu Mar 26, 2009 12:14 am
Location: Cambridge, MA

From Squeeze to Maverick to Windows

Postby bistro2000 » Sat Nov 19, 2011 1:55 am

Trying to fix the above, I fiddled shared libraries to a point where Squeeze no longer functioned, so I jettisoned it and installed Maverick. At first glance things seem to work... even Shuffle! But this server is to be headless... used only for broadcasting, NOT playback via soundcard. So I was hoping xrdp, xming, freenx, vnc or some sort of remote access solution would work. Alas, heavy duty glx, and stress from Jack... Although somewhat slow, I got your glxgears test to work with xming, but executing mixxx runs into another Segmentation fault after whole lot of complaints about Jack...

Code: Select all
Debug: [Main]: JACK client name set
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
Debug: [Main]: JACK client name set
Segmentation fault
user@upc:~$ glxgears
10 frames in 5.2 seconds =  1.921 FPS
8 frames in 5.3 seconds =  1.500 FPS
7 frames in 5.4 seconds =  1.291 FPS
8 frames in 5.5 seconds =  1.451 FPS


I can get this working on Windows together with rdp or LogMeIn but would've prefered a linux solution.
Last edited by bistro2000 on Sat Nov 19, 2011 12:02 pm, edited 1 time in total.
User avatar
bistro2000
 
Posts: 8
Joined: Thu Nov 17, 2011 6:26 pm
Location: Berlin

Re: compiling_on_linux [Debian Squeeze Not Ubuntu]

Postby rryan » Sat Nov 19, 2011 4:17 am

To give you a hint of how to fix this, could you get a backtrace? See the link I posted above.
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: 1204
Joined: Thu Mar 26, 2009 12:14 am
Location: Cambridge, MA

Jack Server Error - Mixxx fails when Xwindow is not local

Postby bistro2000 » Sat Nov 19, 2011 11:37 am

If I follow the steps in the backtrace, the recurring Jack errors I mentioned before take a lot longer to cause the segmentation fault.

Is this output useful then?
I mean, it doesn't happen when Mixxx's screen output is local,
only when I start Mixxx via xming, xrdp, vnc and such like.
I'm afraid I don't know how Jack ties in with remote X windowing.

Code: Select all
Debug: [Main]: JACK client name set
[Thread 0xb3389b70 (LWP 9288) exited]
[New Thread 0xb3389b70 (LWP 9289)]
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
Debug: [Main]: JACK client name set
[Thread 0xb3389b70 (LWP 9289) exited]
[New Thread 0xb3389b70 (LWP 9290)]
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
Debug: [Main]: JACK client name set
[Thread 0xb3389b70 (LWP 9290) exited]
[New Thread 0xb3389b70 (LWP 9291)]
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
Debug: [Main]: JACK client name set
[Thread 0xb3389b70 (LWP 9291) exited]
[New Thread 0xb3389b70 (LWP 9292)]
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
Debug: [Main]: JACK client name set
[Thread 0xb3389b70 (LWP 9292) exited]
[New Thread 0xb3389b70 (LWP 9293)]

Program received signal SIGSEGV, Segmentation fault.
0xb503a231 in vfprintf () from /lib/libc.so.6
(gdb) thread apply all bt

Thread 15584 (Thread 0xb3389b70 (LWP 9293)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb4fed4dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb50dadad in pthread_cond_wait () from /lib/libc.so.6
#3  0xb4f01ef7 in ?? () from /usr/lib/libjack.so.0
#4  0xb4ef90db in ?? () from /usr/lib/libjack.so.0
#5  0xb4f00085 in ?? () from /usr/lib/libjack.so.0
#6  0xb4fe8cc9 in start_thread () from /lib/libpthread.so.0
#7  0xb50cd6ae in clone () from /lib/libc.so.6

Thread 6 (Thread 0xb2923b70 (LWP 1216)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb4fed4dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb50dadad in pthread_cond_wait () from /lib/libc.so.6
#3  0xb56de9c7 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/libQtCore.so.4
#4  0x08140af7 in ?? ()
#5  0x08141fa1 in ?? ()
#6  0xb56dddf9 in ?? () from /usr/lib/libQtCore.so.4
#7  0xb4fe8cc9 in start_thread () from /lib/libpthread.so.0
#8  0xb50cd6ae in clone () from /lib/libc.so.6

---Type <return> to continue, or q <return> to quit---




Created below bug report:
https://bugs.launchpad.net/mixxx/+bug/892483

::
User avatar
bistro2000
 
Posts: 8
Joined: Thu Nov 17, 2011 6:26 pm
Location: Berlin

Re: compiling_on_linux [Debian Squeeze Not Ubuntu]

Postby Pegasus » Sat Nov 19, 2011 12:57 pm

That's not the whole back-trace. Type set height 0 at the gdb prompt, then run Mixxx in it and collect all of the output.
"D.J. Pegasus"
Mixxx Developer - Controller Specialist
Mixxx Windows package maintainer
User avatar
Pegasus
Mixxx Developer
 
Posts: 1667
Joined: Thu Jan 29, 2009 7:48 pm
Location: Lompoc, CA, USA

BackTrace

Postby bistro2000 » Sat Nov 19, 2011 3:57 pm

User avatar
bistro2000
 
Posts: 8
Joined: Thu Nov 17, 2011 6:26 pm
Location: Berlin


Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 4 guests