Skip to content
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

BSOD when slicing #3354

Closed
2 tasks done
Kobmar96 opened this issue Jan 11, 2024 · 5 comments
Closed
2 tasks done

BSOD when slicing #3354

Kobmar96 opened this issue Jan 11, 2024 · 5 comments
Assignees
Labels
bug Something isn't working i9 crash

Comments

@Kobmar96
Copy link

Kobmar96 commented Jan 11, 2024

Bambu Studio Version

1.8.2.56

Where is the application from?

Bambu Lab Official website

OS version

Windows 11

Additional system information

CPU: i9 14900k
RAM: DDR5 (Corsair Dominator Titanium)
GPU: RTX 4090

Printer

Bambu Lab X1C

How to reproduce

Slice a complex project. I heard from different people on Reddit, having the same problem, running also on i9 14900k and DDR5 RAM.
There is a relationship to issue SoftFever/OrcaSlicer#2921 and SoftFever/OrcaSlicer#3375

Actual results

Either BambuStudio will just close randomly, or the PC will freeze completely and give a BSOD "Kernel Power"

Expected results

Need to restart the PC.

Project file & Debug log uploads

Logs.zip
Project.zip

Checklist of files to include

  • Log file
  • Project file
@Kobmar96 Kobmar96 added the bug Something isn't working label Jan 11, 2024
@bambu123
Copy link
Collaborator

BambuStudio.dll!__report_gsfailure(unsigned __int64 stack_cookie) 行 220 C 非用户代码。已加载符号。
BambuStudio.dll!Slic3r::ClipperLib::Clipper::ProcessEdgesAtTopOfScanbeam(const int topY) 行 2681 C++ 已加载符号。
BambuStudio.dll!Slic3r::ClipperLib::Clipper::ExecuteInternal() 行 1134 C++ 已加载符号。
BambuStudio.dll!Slic3r::ClipperLib::Clipper::Execute(Slic3r::ClipperLib::ClipType clipType, std::vector<std::vector<Slic3r::Point,std::allocatorSlic3r::Point>,std::allocator<std::vector<Slic3r::Point,std::allocatorSlic3r::Point>>> & solution, Slic3r::ClipperLib::PolyFillType subjFillType, Slic3r::ClipperLib::PolyFillType clipFillType) 行 1091 C++ 已加载符号。
BambuStudio.dll!Slic3r::clipper_union<std::vector<std::vector<Slic3r::Point,std::allocatorSlic3r::Point>,std::allocator<std::vector<Slic3r::Point,std::allocatorSlic3r::Point>>>,std::vector<std::vector<Slic3r::Point,std::allocatorSlic3r::Point>,std::allocator<std::vector<Slic3r::Point,std::allocatorSlic3r::Point>>> &>(std::vector<std::vector<Slic3r::Point,std::allocatorSlic3r::Point>,std::allocator<std::vector<Slic3r::Point,std::allocatorSlic3r::Point>>> & subject, const Slic3r::ClipperLib::PolyFillType fillType) 行 348 C++ 已加载符号。
BambuStudio.dll!Slic3r::expolygons_offset<std::vector<Slic3r::ExPolygon,std::allocatorSlic3r::ExPolygon>>(const std::vector<Slic3r::ExPolygon,std::allocatorSlic3r::ExPolygon> & expolygons, const float delta, Slic3r::ClipperLib::JoinType joinType, double miterLimit) 行 530 C++ 已加载符号。
BambuStudio.dll!Slic3r::offset(const std::vector<Slic3r::ExPolygon,std::allocatorSlic3r::ExPolygon> & expolygons, const float delta, Slic3r::ClipperLib::JoinType joinType, double miterLimit) 行 549 C++ 已加载符号。
BambuStudio.dll!Slic3r::PerimeterGenerator::generate_lower_polygons_series(float width) 行 1685 C++ 已加载符号。
BambuStudio.dll!Slic3r::PerimeterGenerator::process_classic() 行 847 C++ 已加载符号。
BambuStudio.dll!Slic3r::LayerRegion::make_perimeters(const Slic3r::SurfaceCollection & slices, Slic3r::SurfaceCollection * fill_surfaces, std::vector<Slic3r::ExPolygon,std::allocatorSlic3r::ExPolygon> * fill_no_overlap) 行 112 C++ 已加载符号。
BambuStudio.dll!Slic3r::Layer::make_perimeters() 行 194 C++ 已加载符号。
[内联框架] BambuStudio.dll!Slic3r::PrintObject::make_perimeters::__l2::<lambda_df1d3487ef7218a95c0f8a8e19180a17>::operator()(const tbb::detail::d1::blocked_range &) 行 226 C++ 已加载符号。
[内联框架] BambuStudio.dll!tbb::detail::d1::start_for<tbb::detail::d1::blocked_range,<lambda_df1d3487ef7218a95c0f8a8e19180a17>,tbb::detail::d1::auto_partitioner const>::run_body(tbb::detail::d1::blocked_range & r) 行 119 C++ 已加载符号。
BambuStudio.dll!tbb::detail::d1::dynamic_grainsize_mode<tbb::detail::d1::adaptive_modetbb::detail::d1::auto_partition_type>::work_balance<tbb::detail::d1::start_for<tbb::detail::d1::blocked_range,<lambda_df1d3487ef7218a95c0f8a8e19180a17>,tbb::detail::d1::auto_partitioner const>,tbb::detail::d1::blocked_range>(tbb::detail::d1::start_for<tbb::detail::d1::blocked_range,<lambda_df1d3487ef7218a95c0f8a8e19180a17>,tbb::detail::d1::auto_partitioner const> & start, tbb::detail::d1::blocked_range & range, tbb::detail::d1::execution_data & ed) 行 462 C++ 已加载符号。
[内联框架] BambuStudio.dll!tbb::detail::d1::partition_type_basetbb::detail::d1::auto_partition_type::execute(tbb::detail::d1::start_for<tbb::detail::d1::blocked_range,<lambda_df1d3487ef7218a95c0f8a8e19180a17>,tbb::detail::d1::auto_partitioner const> &) 行 288 C++ 已加载符号。
BambuStudio.dll!tbb::detail::d1::start_for<tbb::detail::d1::blocked_range,<lambda_df1d3487ef7218a95c0f8a8e19180a17>,tbb::detail::d1::auto_partitioner const>::execute(tbb::detail::d1::execution_data & ed) 行 173 C++ 已加载符号。
BambuStudio.dll!tbb::detail::r1::task_dispatcher::local_wait_for_all<0,class tbb::detail::r1::outermost_worker_waiter>(class tbb::detail::d1::task *,class tbb::detail::r1::outermost_worker_waiter &) C++ 非用户代码。已加载符号。
BambuStudio.dll!tbb::detail::r1::arena::process(class tbb::detail::r1::thread_data &) C++ 非用户代码。已加载符号。
BambuStudio.dll!tbb::detail::r1::market::process(class rml::job &) C++ 非用户代码。已加载符号。
BambuStudio.dll!tbb::detail::r1::rml::private_worker::run(void) C++ 非用户代码。已加载符号。
BambuStudio.dll!tbb::detail::r1::rml::private_worker::thread_routine(void *) C++ 非用户代码。已加载符号。

@QingZhangBambu

@QingZhangBambu QingZhangBambu added the Clipper it is a issue about clipper lib label Jan 25, 2024
@QingZhangBambu
Copy link
Collaborator

QingZhangBambu commented Jan 26, 2024

@Kobmar96
holle, there is a method that some people said is helpful, may you try it and check if it is useful?.
For Win 11, here is how to set the affinity :
1- Open Task Manager (CTRL+SHIFT+ESCAPE)
2- Go to Details
3- find bambu-studio.exe and right click to chose "Affinity"
image

4- From the popup, it is possible to choose which thread(s) to use. For example, on my i9-13900K, I've got CPU0 to CPU31 (I've 8 performance cores with 2 threads, and 16 efficiency cores -> 32 "CPUs" listed)
image
And interestingly enough, when I slice without setting affinity (so, Bambu Studio uses all threads available) -> it crashes.
When I first set affinity to, for example, CPU0 to CPU3, or CPU0 to CPU7 -> slicing goes through successfully.

@Kobmar96
Copy link
Author

Oh thanks so much for this workaround! It seem to work for me!
I was switching RAM, etc. to test if I have a faulty RAM or somewhat. Tomorrow I'll get another i9-14900k to test.. Probably my CPU is faulty. I'll keep you posted!

@Kobmar96
Copy link
Author

@QingZhangBambu
It looks like my CPU was faulty! Got my new i9 14900k today, and it works! Also on CinebenchR23 Multi Core Benchmark, I had crashes everytime before. Now it works properly!

@QingZhangBambu
Copy link
Collaborator

it's nice to know that. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working i9 crash
Projects
None yet
Development

No branches or pull requests

4 participants