Maniphest T39931

Segmentation fault when turning on thumbnail view while opening image in any context
Closed, Resolved

Assigned To
None
Authored By
Igor Valorin (igvalor2)
Apr 28 2014, 8:52 AM
Tags
  • BF Blender
Subscribers
Campbell Barton (campbellbarton)
Fazekas Laszlo (totoro)
Igor Valorin (igvalor2)
Sergey Sharybin (sergey)
Willi (willi)

Description

OS: Linux (Arch) 64 bit updated daily
Video: NVidia GF GT 640
Blender: Git master hash c504b8b

Crash info

Revisions and Commits

rB Blender
rBAC Blender Add-ons Contrib

Event Timeline

Igor Valorin (igvalor2) created this task.Apr 28 2014, 8:52 AM
Igor Valorin (igvalor2) raised the priority of this task from to 90.
Igor Valorin (igvalor2) updated the task description.
Igor Valorin (igvalor2) added a project: BF Blender.
Igor Valorin (igvalor2) edited a custom field.
Igor Valorin (igvalor2) added a subscriber: Igor Valorin (igvalor2).
Willi (willi) added a subscriber: Willi (willi).Apr 28 2014, 9:58 AM

Can not confirm on Win7/64, latest build, nor 2.70a official. Tried several directories with different images and image formats.

Can you narrow the problem down to certain images in the directory?

Sergey Sharybin (sergey) lowered the priority of this task from 90 to 30.Apr 28 2014, 9:58 AM
Sergey Sharybin (sergey) added a subscriber: Sergey Sharybin (sergey).

Can not confirm the crash on debian 64bit. Does the crash happen with any image in the folder or it only happens when having specific file/image in the browsing folder?

Igor Valorin (igvalor2) added a comment.Apr 28 2014, 6:52 PM
  1. I didn't try this on Windows, so can't say anything about this.
  2. I found that the problem is not image specific. Blender crashes anytime I try to press Thumbnail view while opening file of ANY type (for example press F1 and try to turn on Thum view). Maybe the case is my Linux environment specific. For example I read recently, that transition to Python 3.4 in Blender is just started, but in ArchLinux upgrade to Py 3.4 has already been for a while.
Fazekas Laszlo (totoro) added a subscriber: Fazekas Laszlo (totoro).Apr 29 2014, 8:46 PM

Maybe not fully related, but in the thumbnail part, in thumbs.c the escape_uri_string() function at line 166 can cause a crash because the len variable counts the length of the p array instead of q (ie. buffer overflow).

Campbell Barton (campbellbarton) edited this Maniphest Task.Apr 30 2014, 12:45 PM
Campbell Barton (campbellbarton) changed the task status from Unknown Status to Resolved.Apr 30 2014, 12:45 PM

Closed by commit rBd2032d0dfef0.

Campbell Barton (campbellbarton) added a subscriber: Campbell Barton (campbellbarton).Apr 30 2014, 1:46 PM

@Igor Valorin (igvalor2), Blender works just fine with Python 3.4x on Arch Linux (Im using it here), the translation is mainly for the default build configuration and our releases.

Campbell Barton (campbellbarton) edited this Maniphest Task.May 12 2014, 4:50 PM