Skip to content

ascent png encoding fails with large images #1712

@cyrush

Description

@cyrush

testing tiled rendering with 16192x16192 output image

Loguru caught a signal: SIGSEGV
Stack trace:
23         0x1989aeb98 start + 6076
22         0x1006e0864 main + 48
21         0x1006e0888 RUN_ALL_TESTS() + 16
20         0x1008b8a18 testing::UnitTest::Run() + 208
19         0x1008b8b20 bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) + 96
18         0x1008ed77c bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) + 140
17         0x1008b911c testing::internal::UnitTestImpl::RunAllTests() + 988
16         0x1008ab330 testing::TestSuite::Run() + 364
15         0x1008aa2c4 testing::TestInfo::Run() + 304
14         0x1008a9358 testing::Test::Run() + 192
13         0x1008a9408 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) + 96
12         0x1008e4900 void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) + 140
11         0x1006e0160 ascent_tiling_test_tiling_Test::TestBody() + 4212
10         0x1019b7030 ascent::Ascent::execute(conduit::Node const&) + 1324
9          0x1019e0ca4 ascent::AscentRuntime::Execute(conduit::Node const&) + 2444
8          0x1007cbd8c flow::Workspace::execute() + 752
7          0x101d0b764 ascent::runtime::filters::ExecScene::execute() + 572
6          0x101d0c5a0 ascent::runtime::filters::detail::AscentScene::execute(std::vector<vtkh::Render>&) + 412
5          0x105190590 vtkh::Scene::Render() + 1728
4          0x10517e344 vtkh::Render::Save() + 120
3          0x1051a83a0 ascent::PNGEncoder::Encode(float const*, int, int, std::vector<std::string> const&) + 936
2          0x100e15550 lpng::lodepng_encode(unsigned char**, unsigned long*, unsigned char const*, unsigned int, unsigned int, lpng::LodePNGState*) + 752
1          0x100e105fc lpng::lodepng_convert(unsigned char*, unsigned char const*, lpng::LodePNGColorMode const*, lpng::LodePNGColorMode const*, unsigned int, unsigned int) + 756
0          0x100e105fc lpng::lodepng_convert(unsigned char*, unsigned char const*, lpng::LodePNGColorMode const*, lpng::LodePNGColorMode const*, unsigned int, unsigned int) + 756
2026-04-27 15:08:17.872 (  41.245s) [main thread     ]                       :0     FATL| Signal: SIGSEGV
Segmentation fault: 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions