Description of problem: I tried to import() a file with wrong extension (other file format than the extension suggests). Version-Release number of selected component: openscad-2019.05-1.fc30 Additional info: reporter: libreport-2.10.0 backtrace_rating: 4 cmdline: openscad crash_function: std::__replacement_assert executable: /usr/bin/openscad journald_cursor: s=0fdb93210f5044a7b9ed31e829968271;i=2d386a;b=fdeba4ce45c041c0b37771b8c06325ba;m=68762c4ae;t=58a98ee8255c1;x=4160ed7c19feae4 kernel: 5.1.5-300.fc30.x86_64 rootdir: / runlevel: N 5 type: CCpp uid: 1000
Created attachment 1577676 [details] File: backtrace
Created attachment 1577677 [details] File: cgroup
Created attachment 1577678 [details] File: core_backtrace
Created attachment 1577679 [details] File: cpuinfo
Created attachment 1577680 [details] File: dso_list
Created attachment 1577681 [details] File: environ
Created attachment 1577682 [details] File: limits
Created attachment 1577683 [details] File: maps
Created attachment 1577684 [details] File: mountinfo
Created attachment 1577685 [details] File: open_fds
Created attachment 1577686 [details] File: proc_pid_status
what was the actual file format and what was the extension?
To reproduce: $ touch bla.stl $ echo 'import("bla.stl");' > bla.scad $ openscad bla.scad -----> Now, press F6 or select Render from the menu/toolbar QMetaObject::connectSlotsByName: No matching signal for on_AxisTrim() QMetaObject::connectSlotsByName: No matching signal for on_AxisTrimReset() /usr/include/c++/9/bits/stl_vector.h:1042: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = Eigen::Matrix<float, 3, 1>; _Alloc = std::allocator<Eigen::Matrix<float, 3, 1> >; std::vector<_Tp, _Alloc>::reference = Eigen::Matrix<float, 3, 1>&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed. Neúspěšně ukončen (SIGABRT) (core dumped [obraz paměti uložen])
$ touch bla.png $ echo 'surface("bla.png");' > bla.scad $ openscad bla.scad -----> Now, press F6 or select Render from the menu/toolbar QMetaObject::connectSlotsByName: No matching signal for on_AxisTrim() QMetaObject::connectSlotsByName: No matching signal for on_AxisTrimReset() /usr/include/c++/9/bits/stl_vector.h:1042: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = Eigen::Matrix<float, 3, 1>; _Alloc = std::allocator<Eigen::Matrix<float, 3, 1> >; std::vector<_Tp, _Alloc>::reference = Eigen::Matrix<float, 3, 1>&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed. Neúspěšně ukončen (SIGABRT) (core dumped [obraz paměti uložen])
Thanks. Reported upstream: https://github.com/openscad/openscad/issues/2965
Do you mind if I make this not private? I don't think there are any personal information here.
No problem, I'd do it myself, but cannot :-).
https://github.com/openscad/openscad/pull/2973 should fix this
FEDORA-2019-3062267cab has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-3062267cab
openscad-2019.05-3.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-3062267cab
openscad-2019.05-3.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.
Thanks, it works well now.