Skip to content

[BUG] - *** stack smashing detected ***: terminated Aborted (core dumped) #215

@SimonBirrell

Description

@SimonBirrell

I appreciate that this may be a problem unique to my machine:
Ubuntu 24.04 AMD Ryzen™ 5 7640U w/ Radeon™ 760M Graphics × 12

Easy3D is working fine via the Python bindings for pointcloud manipulation. Any sort of visualization though, be it through the renderer or viewer, gives a core dump. For example:

renderer = easy3d.OffScreen()
model_pathname =  easy3d.resource_directory() + "/data/bunny.ply"
model = easy3d.PointCloudIO.load(model_pathname)
renderer.add_model(model)
renderer.render(image_pathname) 

This produces the output:

W 06/08/2025 00:10:23.836 viewer.cpp:304] 
Loading /home/simonbirrell/.local/share/mise/installs/python/3.13.2/lib/python3.13/site-packages/easy3d/resources/data/bunny.ply
W 06/08/2025 00:10:23.844 point_cloud_io_ply.cpp:81] 
I 06/08/2025 00:10:23.844 point_cloud_io.cpp:75] 
I 06/08/2025 00:10:23.844 viewer.cpp:1304] 
E 06/08/2025 00:10:23.858 framebuffer_object.cpp:678] 
*** stack smashing detected ***: terminated
Aborted (core dumped)

I suspect it's something to do with OpenGLm as lline 678 of framebuffer_object.cpp looks like this:

    case GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT:
        LOG(ERROR) << "Framebuffer incomplete, missing attachment.";
        break;

I'm running the open-source AMD drivers. I tried installing the proprietary AMD drivers, messed up, and spent hours painfully recovering my operating system. I'm really just checking in to see if it's anything anyone else has already seen, before I return to doing difficult and possibly pointless upgrades!

This is the latest release Easy3D-v2.6.1, installed as a wheel.

Thanks!

Simon

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions