-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vec3fArray memorybuffer.tobytes() crash #533
Comments
Hi there,
I cannot reproduce this! I suspect a build or version problem?
--spiff
…On Fri, Jun 15, 2018 at 8:34 PM zhuowei ***@***.***> wrote:
Description of Issue
Vec3fArray is supposed to conform to the Buffer interface, but calling
tobytes() on a memorybuffer object constructed with the Vec3fArray causes
the Python interpreter to crash.
Steps to Reproduce
1. run this:
from pxr import Vt
a = Vt.Vec3fArray([(1,1,1)])
b = memoryview(a)
print "calling tobytes"
c = b.tobytes()
print "out of tobytes"
1. Expected result: Python interpreter cleanly exits
2. Actual result: Python interpreter crashes with a segmentation fault
System Information (OS, Hardware)
Ubuntu 16.04, --no-imaging, build script modified to use system Boost (I
can try compiling with the bundled copy of Boost if needed)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#533>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AF7qaFhebeVIGrAq7pwMv7EPN_9sHaJ0ks5t9HywgaJpZM4UqVei>
.
|
@spiffmon Thanks. I suspect it's the system Boost version that's causing the issue, so I'll try recompiling with the build script's boost. |
Filed as internal issue #162209. |
FWIW, I was able to recreate this on macOS High Sierra with a build generated from |
AdamFelt
pushed a commit
to autodesk-forks/USD
that referenced
this issue
Apr 16, 2024
…lve/dev sync origin/dev to adsk/dev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of Issue
Vec3fArray is supposed to conform to the Buffer interface, but calling tobytes() on a memorybuffer object constructed with the Vec3fArray causes the Python interpreter to crash.
Steps to Reproduce
System Information (OS, Hardware)
Ubuntu 16.04, --no-imaging, build script modified to use system Boost (I can try compiling with the bundled copy of Boost if needed)
The text was updated successfully, but these errors were encountered: