AWS Thinkbox Discussion Forums

Mono

I thought Mono was getting ditched?

Now I have mono and mongo to deal with!!

Still getting Error’s on Centos 6.3 x64

Compiled mono and libgdiplus from source seemingly successfully, still getting big fails on running monitor

[code][user@pulsar bin]$ ./deadlinepulse
Could not find platform independent libraries
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to [:<exec_prefix>]
Error importing module ‘DeadlineUI.Forms.GeneralForms’: Object reference not set to an instance of an object (System.NullReferenceException)
Stacktrace:

at (wrapper managed-to-native) Python.Runtime.Runtime.PyErr_Fetch (intptr&,intptr&,intptr&) <0xffffffff>
at Python.Runtime.PythonException…ctor () <0x00083>
at FranticX.Scripting.PythonNetScriptEngine.CallFunction (string,Python.Runtime.PyTuple) <0x00087>
at FranticX.Scripting.PythonNetScriptEngine.CallFunction (string) <0x00013>
at Deadline.Scripting.DeadlineScriptEngine.CallFunction (string) <0x00023>
at a.a (Deadline.Scripting.DeadlineScriptEngine) <0x00033>
at a.a (string[]) <0x0172f>
at (wrapper runtime-invoke) .runtime_invoke_int_object (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

mono() [0x48cc26]
mono() [0x4e06ef]
mono() [0x414f89]
/lib64/libpthread.so.0() [0x318800f500]
/opt/Thinkbox/Deadline6/bin/libpython2.6.so(PyErr_Fetch+0xa) [0x7fb17b1dd97a]
[0x41353917]

Debug info from gdb:

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.

Aborted (core dumped)

[/code]

Admittedly I am still a linux n00b and also running this on a VM.

What happened to having your own rpm’s for this issue?

Thanks

Ant

Ditching mono entirely was never the plan, just the old UI components (libgdiplus and winforms). These were the buggy parts of Mono. In Deadline 6, the UI uses native Qt libraries.

We’ve seen the error you’re getting on our Linux VMs, and we thought we had fixed it, but obviously that’s not the case. It’s a Qt library/python issue, and has nothing to do with Mono (at least, it didn’t in our case). We’ve only tested on Ubuntu at the moment, and we’re still in the process of getting all of our VMs set up for testing. CentOS 6 is definitely on that list, and we’ll bump up the priority to test it. We’ll try to test on it before beta 2 is released.

The plan is to still supply Mono RPMs, or at least, the script to build them, but we’re waiting until we settle on a version. Currently, we have Mono 2.8 set as the minimum requirement, but that might get bumped up to 2.10 if there are problems with 2.8.

The beta is still in its infancy, so please bear with us. :slight_smile:

Cheers,

  • Ryan

Thanks Ryan, I’m happy to be able to get a preview!

I was using 2.10.9 of both, I’m guessing it was not finding the python paths, I’m sure I’ll figure this out eventually!

Just an update that is is a more widespread issue, and isn’t specific to CentOS 6.

The problem is that we’re compiling Qt against a version of glib that is too new for many versions of Linux. We’re going to start compiling against an older version, which should fix this problem going forward.

Cheers,

  • Ryan

Hi, Any news on a new compile of Qt4 and PyQt4 ?

I was able to compile the trial Commercial Version of Qt4 with Charts, witch allowed for the splash screen to popup,
But got stuck since there’s no trial version of the commercial PyQt which is needed for the Chart feature. ( didn’t feel like spending £350 )

Thanks, looking forward to testing 6.0

We finished building new libraries for Qt and PyQt yesterday, and they appear to be working well. We’re just running a few more internal tests. We should be able to get beta 2 out next week!

Cheers,

  • Ryan

hi,i install rhel6.2-ws,and mono-2.10.6-7.1 (http://download.opensuse.org/repositories/Mono:/EL6/RHEL6/x86_64/) ,but when i run deadline ,i have this error:

[code]Could not find platform independent libraries
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to [:<exec_prefix>]
System.Net.Sockets.SocketOptionName 0x1b is not supported at IPv6 level
Deadline Launcher 6.0 [v6.0.0.48466 R]
slave config names: 0
WARNING: Repository is not valid, so no upgrades will occur.
System.Net.Sockets.SocketOptionName 0x1b is not supported at IPv6 level
Launching Slave: HJ-FLAME
Launcher Thread - Launcher thread initializing…
Launcher Thread - Remote administration is disabled
System.Net.Sockets.SocketOptionName 0x1b is not supported at IPv6 level
Launcher Thread - Launcher thread listening on port 5042
THE ERROR IS: Python.Runtime.PythonException: ImportError : /lib64/libc.so.6: version GLIBC_2.14' not found (required by /opt/Thinkbox/Deadline6/bin/python/lib/python2.6/site-packages/PyQt4/QtCore.so) [' File "none", line 1, in <module>\n'] Exception on Startup: System.Exception: Python Exception: ImportError : /lib64/libc.so.6: versionGLIBC_2.14’ not found (required by /opt/Thinkbox/Deadline6/bin/python/lib/python2.6/site-packages/PyQt4/QtCore.so) (Python.Runtime.PythonException)
Type: <type ‘exceptions.ImportError’>
Value: /lib64/libc.so.6: version GLIBC_2.14' not found (required by /opt/Thinkbox/Deadline6/bin/python/lib/python2.6/site-packages/PyQt4/QtCore.so) Stack Trace: [' File "none", line 1, in <module>\n'] ---> Python.Runtime.PythonException: ImportError : /lib64/libc.so.6: versionGLIBC_2.14’ not found (required by /opt/Thinkbox/Deadline6/bin/python/lib/python2.6/site-packages/PyQt4/QtCore.so)
[’ File “none”, line 1, in \n’]
— End of inner exception stack trace —
at FranticX.Scripting.PythonNetScriptEngine.a (System.Exception A_0) [0x00000] in :0
at FranticX.Scripting.PythonNetScriptEngine.ExecuteScript (System.String scriptName, System.String script) [0x00000] in :0
at FranticX.Scripting.PythonNetScriptEngine.ExecuteFile (System.String scriptFile) [0x00000] in :0
at Deadline.Scripting.DeadlineScriptEngine.ExecuteFile (System.String scriptFile) [0x00000] in :0
at a.a (System.String[] A_0) [0x00000] in :0

Deadline Slave will now exit.
[root@HJ-FLAME Desktop]# Could not find platform independent libraries
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to [:<exec_prefix>]
Error importing module ‘DeadlineUI.Forms.GeneralForms’: Object reference not set to an instance of an object (System.NullReferenceException)
Stacktrace:

at (wrapper managed-to-native) Python.Runtime.Runtime.PyErr_Fetch (intptr&,intptr&,intptr&) <0xffffffff>
at Python.Runtime.PythonException…ctor () <0x00083>
at FranticX.Scripting.PythonNetScriptEngine.CallFunction (string,Python.Runtime.PyTuple) <0x00087>
at FranticX.Scripting.PythonNetScriptEngine.CallFunction (string) <0x00013>
at Deadline.Scripting.DeadlineScriptEngine.CallFunction (string) <0x00023>
at a.a (Deadline.Scripting.DeadlineScriptEngine) <0x00033>
at a.a (string[]) <0x01fb3>
at (wrapper runtime-invoke) .runtime_invoke_int_object (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

/usr/bin/mono() [0x48d186]
/usr/bin/mono() [0x4e132f]
/usr/bin/mono() [0x414f19]
/lib64/libpthread.so.0() [0x3c27a0f4a0]
/opt/Thinkbox/Deadline6/bin/libpython2.6.so(PyErr_Fetch+0xa) [0x7ffe4272f97a]
[0x4069f4e7]

Debug info from gdb:

[setting tty state failed in terminal_inferior: \u8f93\u5165/\u8f93\u51fa\u9519\u8bef]
Mono support loaded.
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffe4324e700 (LWP 19177)]
[New Thread 0x7ffe441f7700 (LWP 19174)]
[New Thread 0x7ffe44bf8700 (LWP 19173)]
[New Thread 0x7ffe455f9700 (LWP 19172)]
[New Thread 0x7ffe45ffa700 (LWP 19171)]
[New Thread 0x7ffe469fb700 (LWP 19170)]
[New Thread 0x7ffe473fc700 (LWP 19169)]
[New Thread 0x7ffe47dfd700 (LWP 19168)]
0x0000003c27a0e4ed in read () from /lib64/libpthread.so.0
9 Thread 0x7ffe47dfd700 (LWP 19168) 0x0000003c27a0b3dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
8 Thread 0x7ffe473fc700 (LWP 19169) 0x0000003c27a0b3dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
7 Thread 0x7ffe469fb700 (LWP 19170) 0x0000003c27a0b3dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
6 Thread 0x7ffe45ffa700 (LWP 19171) 0x0000003c27a0b3dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
5 Thread 0x7ffe455f9700 (LWP 19172) 0x0000003c27a0b3dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
4 Thread 0x7ffe44bf8700 (LWP 19173) 0x0000003c27a0b3dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
3 Thread 0x7ffe441f7700 (LWP 19174) 0x0000003c27a0b3dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
2 Thread 0x7ffe4324e700 (LWP 19177) 0x0000003c27a0d6c0 in sem_wait () from /lib64/libpthread.so.0

  • 1 Thread 0x7ffe4dc8f740 (LWP 19167) 0x0000003c27a0e4ed in read () from /lib64/libpthread.so.0

Thread 9 (Thread 0x7ffe47dfd700 (LWP 19168)):
#0 0x0000003c27a0b3dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00000000005c8593 in GC_wait_marker ()
#2 0x00000000005ccf6c in GC_help_marker ()
#3 0x00000000005c933c in GC_mark_thread ()
#4 0x0000003c27a077f1 in start_thread () from /lib64/libpthread.so.0
#5 0x0000003c272e5ccd in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7ffe473fc700 (LWP 19169)):
#0 0x0000003c27a0b3dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00000000005c8593 in GC_wait_marker ()
#2 0x00000000005ccf6c in GC_help_marker ()
#3 0x00000000005c933c in GC_mark_thread ()
#4 0x0000003c27a077f1 in start_thread () from /lib64/libpthread.so.0
#5 0x0000003c272e5ccd in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7ffe469fb700 (LWP 19170)):
#0 0x0000003c27a0b3dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00000000005c8593 in GC_wait_marker ()
#2 0x00000000005ccf6c in GC_help_marker ()
#3 0x00000000005c933c in GC_mark_thread ()
#4 0x0000003c27a077f1 in start_thread () from /lib64/libpthread.so.0
#5 0x0000003c272e5ccd in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7ffe45ffa700 (LWP 19171)):
#0 0x0000003c27a0b3dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00000000005c8593 in GC_wait_marker ()
#2 0x00000000005ccf6c in GC_help_marker ()
#3 0x00000000005c933c in GC_mark_thread ()
#4 0x0000003c27a077f1 in start_thread () from /lib64/libpthread.so.0
#5 0x0000003c272e5ccd in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7ffe455f9700 (LWP 19172)):
#0 0x0000003c27a0b3dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00000000005c8593 in GC_wait_marker ()
#2 0x00000000005ccf6c in GC_help_marker ()
#3 0x00000000005c933c in GC_mark_thread ()
#4 0x0000003c27a077f1 in start_thread () from /lib64/libpthread.so.0
#5 0x0000003c272e5ccd in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7ffe44bf8700 (LWP 19173)):
#0 0x0000003c27a0b3dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00000000005c8593 in GC_wait_marker ()
#2 0x00000000005ccf6c in GC_help_marker ()
#3 0x00000000005c933c in GC_mark_thread ()
#4 0x0000003c27a077f1 in start_thread () from /lib64/libpthread.so.0
#5 0x0000003c272e5ccd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7ffe441f7700 (LWP 19174)):
#0 0x0000003c27a0b3dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00000000005c8593 in GC_wait_marker ()
#2 0x00000000005ccf6c in GC_help_marker ()
#3 0x00000000005c933c in GC_mark_thread ()
#4 0x0000003c27a077f1 in start_thread () from /lib64/libpthread.so.0
#5 0x0000003c272e5ccd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7ffe4324e700 (LWP 19177)):
#0 0x0000003c27a0d6c0 in sem_wait () from /lib64/libpthread.so.0
#1 0x00000000005b72d8 in mono_sem_wait ()
#2 0x00000000005929ab in finalizer_thread ()
#3 0x000000000054213b in start_wrapper ()
#4 0x00000000005a35a4 in thread_start_routine ()
#5 0x00000000005c9a21 in GC_start_routine ()
#6 0x0000003c27a077f1 in start_thread () from /lib64/libpthread.so.0
#7 0x0000003c272e5ccd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ffe4dc8f740 (LWP 19167)):
#0 0x0000003c27a0e4ed in read () from /lib64/libpthread.so.0
#1 0x000000000048d30e in mono_handle_native_sigsegv ()
#2 0x00000000004e132f in mono_arch_handle_altstack_exception ()
#3 0x0000000000414f19 in mono_sigsegv_signal_handler ()
#4
#5 PyErr_Fetch (p_type=0x7ffe4dca7c50, p_value=0x7ffe4dca7c58, p_traceback=0x7ffe4dca7c60) at Python/errors.c:243
#6 0x000000004069f4e7 in ?? ()
#7 0x0000000001b83780 in ?? ()
#8 0x00007ffe434bcfc0 in ?? ()
#9 0x00007ffe42c05cc0 in ?? ()
#10 0x00007ffe42431d40 in ?? ()
#11 0x0000000001c08ba0 in ?? ()
#12 0x00007fffc4432c50 in ?? ()
#13 0x00007fffc4432b10 in ?? ()
#14 0x00007ffe434bcfc0 in ?? ()
#15 0x00007ffe42c05cc0 in ?? ()
#16 0x00007ffe42431d40 in ?? ()
#17 0x00007ffe4dca7be0 in ?? ()
#18 0x000000004069f2b4 in ?? ()
#19 0x0000000001c08ba0 in ?? ()
#20 0x00007ffe434bcfc0 in ?? ()
#21 0x0000000000000000 in ?? ()

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================[/code]

Yup, that’s not surprising. The rebuilt Qt libraries that we’ll be shipping with the beta 2 release should resolve this problem. We still hope to get this release out this week.

This issue should be fixed in beta 2, which was just released today. Let us know if you guys continue to have problems running Deadline 6 on linux.

Privacy | Site terms | Cookie preferences