Page MenuHome

blender 2.77 segmentation fault on OpenSuSE Tumbleweed when enabling any external renderer in User Preferences
Closed, ResolvedPublic

Description

System Information
OpenSuSE Tumbleweed, updated 30th of March 2016

Blender Version
2.77
Worked: (optional)

Short description of error
Segmentation Fault

Exact steps for others to reproduce the error
Crash reproducible when clicking the enable button for luxrender in User Preferences. Crashes as well when clicking any other enable button for any other external renderer.

According to https://bugs.python.org/issue21564, maybe not a blender bug, but due to Python compiled with openssl 0.9.8 headers, while openssl 1.0 is installed (and should be, for e.g. heartbleed etc).

zypper install python

Loading repository data...
Reading installed packages...
'python' is already installed.
No update candidate for 'python-2.7.10-4.1.x86_64'. The highest available version is already installed.
Resolving package dependencies...

gdb /opt/blender/blender

GNU gdb (GDB; openSUSE Factory) 7.10.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://bugs.opensuse.org/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /opt/blender/blender...(no debugging symbols found)...done.
(gdb) run
Starting program: /opt/blender-2.77-linux-glibc211-x86_64/blender
Missing separate debuginfos, use: zypper install glibc-debuginfo-2.22-7.2.x86_64
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff1fff700 (LWP 13124)]
[New Thread 0x7ffff17fe700 (LWP 13125)]
[New Thread 0x7ffff0ffd700 (LWP 13126)]
[New Thread 0x7ffff07fc700 (LWP 13127)]
[New Thread 0x7fffefffb700 (LWP 13128)]
[New Thread 0x7fffef7fa700 (LWP 13129)]
[New Thread 0x7fffeeff9700 (LWP 13130)]
[New Thread 0x7fffee7f8700 (LWP 13131)]
connect failed: No such file or directory
Read new prefs: /home/fritz/.config/blender/2.77/config/userpref.blend
[New Thread 0x7fffeb32d700 (LWP 13132)]
[Thread 0x7fffeb32d700 (LWP 13132) exited]
[New Thread 0x7fffeb32d700 (LWP 13133)]
[New Thread 0x7ffff3536700 (LWP 13134)]
[New Thread 0x7fffe1bff700 (LWP 13135)]
[Thread 0x7fffe1bff700 (LWP 13135) exited]
found bundled python: /opt/blender-2.77-linux-glibc211-x86_64/2.77/python
[New Thread 0x7fffdb7fb700 (LWP 13137)]
[New Thread 0x7fffdaffa700 (LWP 13138)]
[New Thread 0x7fffda7f9700 (LWP 13139)]
[New Thread 0x7fffd9ff8700 (LWP 13140)]
[New Thread 0x7fffd97f7700 (LWP 13141)]
[New Thread 0x7fffd8ff6700 (LWP 13142)]
[New Thread 0x7fffd87f5700 (LWP 13143)]

Program received signal SIGSEGV, Segmentation fault.
0x00007fffe00bb54c in EVP_PKEY_CTX_dup () from /lib64/libcrypto.so.1.0.0
Missing separate debuginfos, use: zypper install Mesa-debuginfo-11.1.2-134.1.x86_64 Mesa-libGL1-debuginfo-11.1.2-134.1.x86_64 Mesa-libglapi0-debuginfo-11.1.2-134.1.x86_64 libFLAC8-debuginfo-1.3.1-2.3.x86_64 libGLU1-debuginfo-9.0.0-11.4.x86_64 libX11-6-debuginfo-1.6.3-2.1.x86_64 libX11-xcb1-debuginfo-1.6.3-2.1.x86_64 libXau6-debuginfo-1.0.8-6.3.x86_64 libXcursor1-debuginfo-1.1.14-6.4.x86_64 libXdamage1-debuginfo-1.1.4-9.3.x86_64 libXext6-debuginfo-1.3.3-3.3.x86_64 libXfixes3-debuginfo-5.0.1-5.3.x86_64 libXi6-debuginfo-1.7.6-1.1.x86_64 libXrender1-debuginfo-0.9.9-1.3.x86_64 libXxf86vm1-debuginfo-1.1.4-1.3.x86_64 libbz2-1-debuginfo-1.0.6-36.1.x86_64 libcap2-debuginfo-2.22-14.21.x86_64 libdbus-1-3-debuginfo-1.10.6-1.1.x86_64 libdrm2-debuginfo-2.4.67-1.1.x86_64 libdrm_intel1-debuginfo-2.4.67-1.1.x86_64 libdrm_nouveau2-debuginfo-2.4.67-1.1.x86_64 libdrm_radeon1-debuginfo-2.4.67-1.1.x86_64 libexpat1-debuginfo-2.1.0-16.3.x86_64 libfreetype6-debuginfo-2.6.2-1.1.x86_64 libgcc_s1-debuginfo-5.3.1+r231346-1.4.x86_64 libgcrypt20-debuginfo-1.6.5-1.1.x86_64 libgpg-error0-debuginfo-1.21-1.2.x86_64 libjson-c2-debuginfo-0.12-1.6.x86_64 liblzma5-debuginfo-5.2.2-4.1.x86_64 libogg0-debuginfo-1.3.2-1.3.x86_64 libopenssl1_0_0-debuginfo-1.0.2g-1.1.x86_64 libpciaccess0-debuginfo-0.13.4-1.3.x86_64 libpcre1-debuginfo-8.38-1.2.x86_64 libpng16-16-debuginfo-1.6.21-1.1.x86_64 libpulse0-debuginfo-8.0-2.2.x86_64 libselinux1-debuginfo-2.3-5.20.x86_64 libsndfile1-debuginfo-1.0.26-1.1.x86_64 libspeex1-debuginfo-1.2~rc2-2.2.x86_64 libstdc++6-debuginfo-5.3.1+r231346-1.4.x86_64 libsystemd0-debuginfo-228-3.1.x86_64 libudev1-debuginfo-228-3.1.x86_64 libvorbis0-debuginfo-1.3.5-1.5.x86_64 libvorbisenc2-debuginfo-1.3.5-1.5.x86_64 libxcb-dri2-0-debuginfo-1.11.1-2.1.x86_64 libxcb-dri3-0-debuginfo-1.11.1-2.1.x86_64 libxcb-glx0-debuginfo-1.11.1-2.1.x86_64 libxcb-present0-debuginfo-1.11.1-2.1.x86_64 libxcb-sync1-debuginfo-1.11.1-2.1.x86_64 libxcb1-debuginfo-1.11.1-2.1.x86_64 libxshmfence1-debuginfo-1.2-1.3.x86_64 libz1-debuginfo-1.2.8-11.2.x86_64 s2tc-debuginfo-1.0-7.4.x86_64
(gdb) bt
#0 0x00007fffe00bb54c in EVP_PKEY_CTX_dup () from /lib64/libcrypto.so.1.0.0
#1 0x00007fffe00acc10 in EVP_MD_CTX_copy_ex () from /lib64/libcrypto.so.1.0.0
#2 0x00007fffd5b225db in EVPnew (name_obj=<optimized out>, digest=0x0, initial_ctx=0x7fffd5da3980 <CONST_new_md5_ctx>, cp=0x0, len=0)

at /home/sources/packages/Python-3.5.1/Modules/_hashopenssl.c:388

#3 0x00007fffd5b22dc5 in EVP_new_md5 (self=<optimized out>, args=<optimized out>)

at /home/sources/packages/Python-3.5.1/Modules/_hashopenssl.c:777

#4 0x0000000002966339 in PyCFunction_Call ()
#5 0x00000000029da064 in PyEval_EvalFrameEx ()
#6 0x00000000029d9fa1 in PyEval_EvalFrameEx ()
#7 0x00000000029dba82 in ?? ()
#8 0x00000000029dbbdd in PyEval_EvalCode ()
#9 0x00000000029cfe4a in ?? ()
#10 0x0000000002966339 in PyCFunction_Call ()
#11 0x00000000029dae06 in PyEval_EvalFrameEx ()
#12 0x00000000029dba82 in ?? ()
#13 0x00000000029d89cb in PyEval_EvalFrameEx ()
#14 0x00000000029d9fa1 in PyEval_EvalFrameEx ()
#15 0x00000000029d9fa1 in PyEval_EvalFrameEx ()
#16 0x00000000029d9fa1 in PyEval_EvalFrameEx ()
#17 0x00000000029dba82 in ?? ()
#18 0x00000000029dbb88 in PyEval_EvalCodeEx ()
#19 0x000000000294844f in ?? ()
#20 0x000000000291f00a in PyObject_Call ()
#21 0x000000000291fda6 in _PyObject_CallMethodIdObjArgs ()
#22 0x00000000029f74a2 in PyImport_ImportModuleLevelObject ()
#23 0x00000000029f78fa in PyImport_ImportModuleLevel ()
#24 0x0000000001542323 in ?? ()
#25 0x0000000002966371 in PyCFunction_Call ()
#26 0x000000000291f00a in PyObject_Call ()
#27 0x00000000029d573a in PyEval_EvalFrameEx ()
#28 0x00000000029dba82 in ?? ()
#29 0x00000000029dbbdd in PyEval_EvalCode ()
#30 0x00000000029cfe4a in ?? ()
#31 0x0000000002966339 in PyCFunction_Call ()
#32 0x00000000029dae06 in PyEval_EvalFrameEx ()
#33 0x00000000029dba82 in ?? ()
#34 0x00000000029d89cb in PyEval_EvalFrameEx ()
#35 0x00000000029d9fa1 in PyEval_EvalFrameEx ()
#36 0x00000000029d9fa1 in PyEval_EvalFrameEx ()
#37 0x00000000029d9fa1 in PyEval_EvalFrameEx ()
#38 0x00000000029dba82 in ?? ()
#39 0x00000000029dbb88 in PyEval_EvalCodeEx ()
#40 0x000000000294844f in ?? ()
#41 0x000000000291f00a in PyObject_Call ()
#42 0x000000000291fda6 in _PyObject_CallMethodIdObjArgs ()
#43 0x00000000029f74a2 in PyImport_ImportModuleLevelObject ()
#44 0x00000000029f78fa in PyImport_ImportModuleLevel ()
#45 0x0000000001542323 in ?? ()
#46 0x0000000002966371 in PyCFunction_Call ()
#47 0x000000000291f00a in PyObject_Call ()
---Type <return> to continue, or q <return> to quit---
#48 0x00000000029d573a in PyEval_EvalFrameEx ()
#49 0x00000000029dba82 in ?? ()
#50 0x00000000029dbbdd in PyEval_EvalCode ()
#51 0x00000000029cfe4a in ?? ()
#52 0x0000000002966339 in PyCFunction_Call ()
#53 0x00000000029dae06 in PyEval_EvalFrameEx ()
#54 0x00000000029dba82 in ?? ()
#55 0x00000000029d89cb in PyEval_EvalFrameEx ()
#56 0x00000000029d9fa1 in PyEval_EvalFrameEx ()
#57 0x00000000029d9fa1 in PyEval_EvalFrameEx ()
#58 0x00000000029d9fa1 in PyEval_EvalFrameEx ()
#59 0x00000000029dba82 in ?? ()
#60 0x00000000029dbb88 in PyEval_EvalCodeEx ()
#61 0x000000000294844f in ?? ()
#62 0x000000000291f00a in PyObject_Call ()
#63 0x000000000291fda6 in _PyObject_CallMethodIdObjArgs ()
#64 0x00000000029f74a2 in PyImport_ImportModuleLevelObject ()
#65 0x00000000029f78fa in PyImport_ImportModuleLevel ()
#66 0x0000000001542323 in ?? ()
#67 0x0000000002966371 in PyCFunction_Call ()
#68 0x000000000291f00a in PyObject_Call ()
#69 0x00000000029d573a in PyEval_EvalFrameEx ()
#70 0x00000000029dba82 in ?? ()
#71 0x00000000029dbbdd in PyEval_EvalCode ()
#72 0x00000000029cfe4a in ?? ()
#73 0x0000000002966339 in PyCFunction_Call ()
#74 0x00000000029dae06 in PyEval_EvalFrameEx ()
#75 0x00000000029dba82 in ?? ()
#76 0x00000000029d89cb in PyEval_EvalFrameEx ()
#77 0x00000000029d9fa1 in PyEval_EvalFrameEx ()
#78 0x00000000029d9fa1 in PyEval_EvalFrameEx ()
#79 0x00000000029d9fa1 in PyEval_EvalFrameEx ()
#80 0x00000000029dba82 in ?? ()
#81 0x00000000029dbb88 in PyEval_EvalCodeEx ()
#82 0x000000000294844f in ?? ()
#83 0x000000000291f00a in PyObject_Call ()
#84 0x000000000291fda6 in _PyObject_CallMethodIdObjArgs ()
#85 0x00000000029f74a2 in PyImport_ImportModuleLevelObject ()
#86 0x00000000029f78fa in PyImport_ImportModuleLevel ()
#87 0x0000000001542323 in ?? ()
#88 0x0000000002966371 in PyCFunction_Call ()
#89 0x00000000029dae06 in PyEval_EvalFrameEx ()
#90 0x00000000029dba82 in ?? ()
#91 0x00000000029d89cb in PyEval_EvalFrameEx ()
#92 0x00000000029dba82 in ?? ()
#93 0x00000000029dbb88 in PyEval_EvalCodeEx ()
#94 0x000000000294844f in ?? ()
#95 0x000000000291f00a in PyObject_Call ()
#96 0x000000000291fda6 in _PyObject_CallMethodIdObjArgs ()
#97 0x00000000029f7283 in PyImport_ImportModuleLevelObject ()
---Type <return> to continue, or q <return> to quit---
#98 0x00000000029f78fa in PyImport_ImportModuleLevel ()
#99 0x0000000001542323 in ?? ()
#100 0x0000000002966371 in PyCFunction_Call ()
#101 0x000000000291f00a in PyObject_Call ()
#102 0x00000000029d573a in PyEval_EvalFrameEx ()
#103 0x00000000029dba82 in ?? ()
#104 0x00000000029dbbdd in PyEval_EvalCode ()
#105 0x00000000029cfe4a in ?? ()
#106 0x0000000002966339 in PyCFunction_Call ()
#107 0x00000000029dae06 in PyEval_EvalFrameEx ()
#108 0x00000000029dba82 in ?? ()
#109 0x00000000029d89cb in PyEval_EvalFrameEx ()
#110 0x00000000029d9fa1 in PyEval_EvalFrameEx ()
#111 0x00000000029d9fa1 in PyEval_EvalFrameEx ()
#112 0x00000000029d9fa1 in PyEval_EvalFrameEx ()
#113 0x00000000029dba82 in ?? ()
#114 0x00000000029dbb88 in PyEval_EvalCodeEx ()
#115 0x000000000294844f in ?? ()
#116 0x000000000291f00a in PyObject_Call ()
#117 0x000000000291fda6 in _PyObject_CallMethodIdObjArgs ()
#118 0x00000000029f74a2 in PyImport_ImportModuleLevelObject ()
#119 0x00000000029f78fa in PyImport_ImportModuleLevel ()
#120 0x0000000001542323 in ?? ()
#121 0x0000000002966371 in PyCFunction_Call ()
#122 0x00000000029da064 in PyEval_EvalFrameEx ()
#123 0x00000000029dba82 in ?? ()
#124 0x00000000029d89cb in PyEval_EvalFrameEx ()
#125 0x00000000029dba82 in ?? ()
#126 0x00000000029dbb88 in PyEval_EvalCodeEx ()
#127 0x000000000294844f in ?? ()
#128 0x000000000291f00a in PyObject_Call ()
#129 0x0000000001519584 in ?? ()
#130 0x0000000001a07013 in ?? ()
#131 0x0000000001149932 in ?? ()
#132 0x0000000001149e3f in ?? ()
#133 0x0000000001309806 in ?? ()
#134 0x000000000131bc21 in ?? ()
#135 0x000000000114b266 in ?? ()
#136 0x000000000114b5a6 in ?? ()
#137 0x000000000114b8ba in wm_event_do_handlers ()
#138 0x0000000001142d48 in WM_main ()
#139 0x00000000010ea92a in main ()
(gdb) quit
A debugging session is active.

Inferior 1 [process 13120] will be killed.

Quit anyway? (y or n) y

Event Timeline

Do you use Blender from the OpenSuse repository or from blender.org? We only support bugs, confirmed with official blender.org releases.

Hi Thomas

It is the official 2.77 linked from blender.org, and loaded from mirror http://ftp.halifax.rwth-aachen.de/blender/release/Blender2.77/blender-2.77-linux-glibc211-x86_64.tar.bz2 about one hour ago.

For verification, the md5sum:
~/Downloads> md5sum blender-2.77-linux-glibc211-x86_64.tar.bz2
adf547c360b228f739f5580ca107da48 blender-2.77-linux-glibc211-x86_64.tar.bz2

Cheers,
Fritz

Thomas Dinges (dingto) lowered the priority of this task from 90 to Normal.Mar 30 2016, 6:33 PM

Alright, thanks for the info!

@Simon Wendsche (BYOB) Can you please check on this? You maintain Luxblend, correct? :)

Which LuxRender/LuxBlend version was used?
What does this exactly mean:

Crashes as well when clicking any other enable button for any other external renderer.

Which other renderers did you test? I guess Cycles does not count as an external renderer here?

I can try to test it on my Ubuntu in the next days, but it could take a while as I am quite busy with other stuff.

As far as integration goes, Cycles is using the same API as Luxrender.

Could you check if other external renderers fail too? (Povray/Renderman for eg)

Sergey Sharybin (sergey) triaged this task as 30 priority.Apr 12 2016, 4:02 PM

That's not a Render API issue, it's a symbol conflict between dynamically loaded libs of Python we ship in Blender and system libraries.

Did some tweaks to the build system. please test latest builds fro mhttps://builder.blender.org/download/ and see if Blender will still crash.

Fritz Reichmann (f.reichmann) changed the task status from Unknown Status to Resolved.Apr 12 2016, 8:50 PM

I have tested and confirm a positive result:
https://builder.blender.org/download/blender-2.77-951fad2-linux-glibc219-x86_64.tar.bz2
no longer crashes, and luxrender RC1 now just happily renders fine, as usual.

Congrats to you guys for this follow-up, and I'll say thank you on the donations page.