Closed okias closed 6 months ago
I am getting 404 with that link, could you check it?
On Sun, 7 Jan 2024, at 15:28, David Heidelberg wrote:
$ flatpak install --user https://dl.flathub.org/build-repo/74697/cz.cvut.edu.comparch.qtrvsim.flatpakref $ flatpak run cz.cvut.edu.comparch.qtrvsim When you open the application and first action is clicking "Example" button, application silently crashes.
Works for 0.9.5 or when you press something else before pressing "Example" button
— Reply to this email directly, view it on GitHub https://github.com/cvut/qtrvsim/issues/95, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFNB76END5JBPQ2RQGTDSQDYNKWIXAVCNFSM6AAAAABBQLURISVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3DSMJVGE3TCNI. You are receiving this because you are subscribed to this thread.Message ID: @.***>
With the help of bitect, I found out that the commit causing the problem is https://github.com/cvut/qtrvsim/commit/16c78c16948799a008b47569ea53989623c33e1f .
I have checked https://github.com/cvut/qtrvsim/commit/3dcd6963818c0f368d6ae5713d3b1b14f4d98217 whose everything's fine.
I have checked https://github.com/cvut/qtrvsim/commit/16c78c16948799a008b47569ea53989623c33e1f which causes an error during building process.
Qt 5.12.9 comes from Qt Downloads.
Compiler comes from mingw-w64.
I confirmed that the issue was successfully reproduced on Window on 0.9.6 .
After clicking the "Example" button for a while, the program crashes with nothing.
Sure, it's building again. https://github.com/flathub/cz.cvut.edu.comparch.qtrvsim/pull/4#issuecomment-1911932988
Sure, it's building again. flathub/cz.cvut.edu.comparch.qtrvsim#4 (comment)
emmm I think it's a bug inside code. Rebuild this can't fix bug on Windows.
I think it is connected with https://github.com/cvut/qtrvsim/pull/73
Agreed, I managed to reproduce it on Linux too now.
==14401==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55a6d5bace4e bp 0x7ffcc562d940 sp 0x7ffcc562d7c0 T0) ==14401==The signal is caused by a READ memory access. ==14401==Hint: address points to the zero page.
#1 0x55a6d5bbe48c in call /usr/include/qt6/QtCore/qobjectdefs_impl.h:137
#2 0x55a6d5bbdfcb in call<QtPrivate::List<int>, void> /usr/include/qt6/QtCore/qobjectdefs_impl.h:339
#3 0x55a6d5bbdc95 in impl /usr/include/qt6/QtCore/qobjectdefs_impl.h:522
#4 0x7fc7c6ba5446 in QObject::event(QEvent*) (/usr/lib/libQt6Core.so.6+0x1a5446) (BuildId: cb022489bffbb1eff08dc837c4e1efc95941a304)
#5 0x7fc7c7b7319a in QApplicationPrivate::notify_helper(QObject*, QEvent*) (/usr/lib/libQt6Widgets.so.6+0x17319a) (BuildId: 305870387cf40cf3e39e744eaebb2d1e5c9a3798)
#6 0x7fc7c6b62a77 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (/usr/lib/libQt6Core.so.6+0x162a77) (BuildId: cb022489bffbb1eff08dc837c4e1efc95941a304)
#7 0x7fc7c6b62dfa in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (/usr/lib/libQt6Core.so.6+0x162dfa) (BuildId: cb022489bffbb1eff08dc837c4e1efc95941a304)
#8 0x7fc7c6d9ead3 (/usr/lib/libQt6Core.so.6+0x39ead3) (BuildId: cb022489bffbb1eff08dc837c4e1efc95941a304)
#9 0x7fc7c5bcaf68 (/usr/lib/libglib-2.0.so.0+0x59f68) (BuildId: d310ee36df88b18d95f79813384e6f7decd59c68)
#10 0x7fc7c5c29366 (/usr/lib/libglib-2.0.so.0+0xb8366) (BuildId: d310ee36df88b18d95f79813384e6f7decd59c68)
#11 0x7fc7c5bc9161 in g_main_context_iteration (/usr/lib/libglib-2.0.so.0+0x58161) (BuildId: d310ee36df88b18d95f79813384e6f7decd59c68)
#12 0x7fc7c6d9d073 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (/usr/lib/libQt6Core.so.6+0x39d073) (BuildId: cb022489bffbb1eff08dc837c4e1efc95941a304)
#13 0x7fc7c6b6cf5d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (/usr/lib/libQt6Core.so.6+0x16cf5d) (BuildId: cb022489bffbb1eff08dc837c4e1efc95941a304)
#14 0x7fc7c6b65517 in QCoreApplication::exec() (/usr/lib/libQt6Core.so.6+0x165517) (BuildId: cb022489bffbb1eff08dc837c4e1efc95941a304)
#15 0x55a6d5bd94c8 in main /data/Dev/school/comparch/qtrvsim_project/QtRvSim/src/gui/main.cpp:40
#16 0x7fc7c6445ccf (/usr/lib/libc.so.6+0x27ccf) (BuildId: 8bfe03f6bf9b6a6e2591babd0bbc266837d8f658)
#17 0x7fc7c6445d89 in __libc_start_main (/usr/lib/libc.so.6+0x27d89) (BuildId: 8bfe03f6bf9b6a6e2591babd0bbc266837d8f658)
#18 0x55a6d5928e54 in _start (/data/Dev/school/comparch/qtrvsim_project/QtRvSim/build/Debug/target/qtrvsim_gui+0x1132e54) (BuildId: 17e833c3d4a8dd13e4c58946f79d9f32c7eccf03)
AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV /data/Dev/school/comparch/qtrvsim_project/QtRvSim/src/gui/windows/editor/editordock.cpp:51 in operator() ==14401==ABORTING
On Fri, 26 Jan 2024, at 13:20, Ariel Xiong wrote:
Sure, it's building again. flathub/cz.cvut.edu.comparch.qtrvsim#4 (comment) https://github.com/flathub/cz.cvut.edu.comparch.qtrvsim/pull/4#issuecomment-1911932988
emmm I think it's a bug inside code. Rebuild this can't fix bug on Windows.
— Reply to this email directly, view it on GitHub https://github.com/cvut/qtrvsim/issues/95#issuecomment-1911985326, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFNB76CU7YQPNGNOFFXU63TYQONPZAVCNFSM6AAAAABBQLURISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJRHE4DKMZSGY. You are receiving this because you commented.Message ID: @.***>
Hi gods,
The file comes from action https://github.com/cvut/qtrvsim/actions/runs/7679651824 still cause troubles.
I tested target-Windows-qt5.12.9
and it crashes many times.
Here's the log.
[DEBUG] gui.coreview: Calling full update of 9BoolValue...
[DEBUG] gui.coreview: Calling full update of 10DebugValue...
[DEBUG] gui.coreview: Calling full update of 8RegValue...
[DEBUG] gui.coreview: Calling full update of 10RegIdValue...
[DEBUG] gui.coreview: Calling full update of 7PCValue...
[DEBUG] gui.coreview: Calling full update of 14MultiTextValue...
[DEBUG] gui.coreview: Calling full update of 16InstructionValue...
[DEBUG] gui.coreview: Calling full update of 11MultiplexerIbE...
[DEBUG] gui.coreview: Calling full update of 11MultiplexerIjE...
[FATAL ERROR] ASSERT: "last >= first" in file itemmodels\qabstractitemmodel.cpp, line 2786
I'd say that my own build on my Windows 10 works fine. So that might be some bug inside CI.
Hi, do you mean actual crashes (application window disappears) or just the text in console? I am asking, bacause I cannot see any problem in the log file you posted.
There is only (very detailed) information about execution, which is enabled only in debug builds. Everything not prefixed error or warning is fine.
On Sun, 28 Jan 2024, at 08:03, Ariel Xiong wrote:
Hi gods,
The file comes from action https://github.com/cvut/qtrvsim/actions/runs/7679651824 still cause troubles.
I tested
target-Windows-qt5.12.9
and it crashes many times.Here's the log.
text.log https://github.com/cvut/qtrvsim/files/14075241/text.log
I'd say that my own build on my Windows 10 works fine. So that might be some bug inside CI.
— Reply to this email directly, view it on GitHub https://github.com/cvut/qtrvsim/issues/95#issuecomment-1913480010, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFNB76DX3OAGE6BVVEI2R5DYQXZ3RAVCNFSM6AAAAABBQLURISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJTGQ4DAMBRGA. You are receiving this because you modified the open/close state.Message ID: @.***>
Hi, do you mean actual crashes (application window disappears) or just the text in console? I am asking, bacause I cannot see any problem in the log file you posted. There is only (very detailed) information about execution, which is enabled only in debug builds. Everything not prefixed error or warning is fine. … On Sun, 28 Jan 2024, at 08:03, Ariel Xiong wrote: Hi gods, The file comes from action https://github.com/cvut/qtrvsim/actions/runs/7679651824 still cause troubles. I tested
target-Windows-qt5.12.9
and it crashes many times. Here's the log. text.log https://github.com/cvut/qtrvsim/files/14075241/text.log I'd say that my own build on my Windows 10 works fine. So that might be some bug inside CI. — Reply to this email directly, view it on GitHub <#95 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFNB76DX3OAGE6BVVEI2R5DYQXZ3RAVCNFSM6AAAAABBQLURISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJTGQ4DAMBRGA. You are receiving this because you modified the open/close state.Message ID: @.***>
actual crashes (application window disappears)
[FATAL ERROR] ASSERT: "last >= first" in file itemmodels\qabstractitemmodel.cpp, line 2786
@ArielHeleneto Oh, my apologies. You identified the issue correctly. I somehow missed the assert in your log. I am blind. Anyway should be fixed now. Tested on windows10.
Can you confirm?
When you open the application and first action is clicking "Example" button, application silently crashes.
Works for 0.9.5 or when you press something else before pressing "Example" button