i have to click the "Run Bkup" button twice #20

Open
opened 7 months ago by ITwrx · 5 comments
ITwrx commented 7 months ago
Owner

I don't know when this started, but the application seems to ignore the first click of the Run Bkup button. Clicking again makes it run the routine. Perhaps the binary just needs to be rebuilt to match newer system libs. Nim dependencies have also been updated since last build. Bug fixes will be primary purpose of the next release. Hope to get to it soon, but working on web project right now. No Supporters clamoring for fixes yet, so it's back-burnered. :)

I don't know when this started, but the application seems to ignore the first click of the Run Bkup button. Clicking again makes it run the routine. Perhaps the binary just needs to be rebuilt to match newer system libs. Nim dependencies have also been updated since last build. Bug fixes will be primary purpose of the next release. Hope to get to it soon, but working on web project right now. No Supporters clamoring for fixes yet, so it's back-burnered. :)
ITwrx added the
accepted
bug/defect
labels 7 months ago
ITwrx added the
upstream
label 1 month ago
Poster
Owner

This has been fixed in a development branch by simply updating dependencies and recompiling. Will close this issue once a new release has been made/tagged.

This has been fixed in a development branch by simply updating dependencies and recompiling. Will close this issue once a new release has been made/tagged.
ITwrx added the
fix in dev
label 1 month ago
Poster
Owner

actually it seems compiling with -d:release causes this. that explains why it popped up after release last time... under investigation.

actually it seems compiling with `-d:release` causes this. that explains why it popped up after release last time... under investigation.
Poster
Owner

-d:release uses --opt:speed which seems to be the actual compile option that causes/reveals this GUI bug.

`-d:release` uses `--opt:speed` which seems to be the actual compile option that causes/reveals this GUI bug.
Poster
Owner

nim c --threads:on -d:useMalloc -d:release --passC:"-fsanitize=address,undefined -fno-omit-frame-pointer" --passL:"-fsanitize=address,undefined -fno-omit-frame-pointer" -d:nosignalhandler ez_bkup.nim

gives (when running the binary):

/home/itwrx/.cache/nim/ez_bkup_r/@m..@s..@s..@s..@s..@s.choosenim@stoolchains@snim-2.2.0@slib@spure@stimes.nim.c:795:6: runtime error: load of null pointer of type '_Bool'
/home/itwrx/.cache/nim/ez_bkup_r/@m..@s..@s..@s..@s..@s.nimble@spkgs@stiny_sqlite-0.2.0@stiny_sqlite.nim.c:1546:7: runtime error: load of null pointer of type '_Bool'
/home/itwrx/.cache/nim/ez_bkup_r/@m..@s..@s..@s..@s..@s.nimble@spkgs@stiny_sqlite-0.2.0@stiny_sqlite.nim.c:1567:7: runtime error: load of null pointer of type '_Bool'
/home/itwrx/.cache/nim/ez_bkup_r/@mviews@sroutine_list.nim.c:2124:6: runtime error: load of null pointer of type '_Bool'
`nim c --threads:on -d:useMalloc -d:release --passC:"-fsanitize=address,undefined -fno-omit-frame-pointer" --passL:"-fsanitize=address,undefined -fno-omit-frame-pointer" -d:nosignalhandler ez_bkup.nim` gives (when running the binary): ``` /home/itwrx/.cache/nim/ez_bkup_r/@m..@s..@s..@s..@s..@s.choosenim@stoolchains@snim-2.2.0@slib@spure@stimes.nim.c:795:6: runtime error: load of null pointer of type '_Bool' /home/itwrx/.cache/nim/ez_bkup_r/@m..@s..@s..@s..@s..@s.nimble@spkgs@stiny_sqlite-0.2.0@stiny_sqlite.nim.c:1546:7: runtime error: load of null pointer of type '_Bool' /home/itwrx/.cache/nim/ez_bkup_r/@m..@s..@s..@s..@s..@s.nimble@spkgs@stiny_sqlite-0.2.0@stiny_sqlite.nim.c:1567:7: runtime error: load of null pointer of type '_Bool' /home/itwrx/.cache/nim/ez_bkup_r/@mviews@sroutine_list.nim.c:2124:6: runtime error: load of null pointer of type '_Bool' ```
Poster
Owner

If i use the same compile command except i add --cc:clang i get:

/home/itwrx/.cache/nim/ez_bkup_r/@m..@s..@s..@s..@s..@s.choosenim@stoolchains@snim-2.2.0@slib@ssystem.nim.c:2405:3: runtime error: call to function eqtrace___pkgZowlkettleZwidgets_u6277 through pointer to incorrect function type 'void (*)(void *, void *)'
(/path/to/ez_bkup+0x5ccb28): note: eqtrace___pkgZowlkettleZwidgets_u6277 defined here
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/itwrx/.cache/nim/ez_bkup_r/@m..@s..@s..@s..@s..@s.choosenim@stoolchains@snim-2.2.0@slib@ssystem.nim.c:2405:3 
If i use the same compile command except i add --cc:clang i get: ``` /home/itwrx/.cache/nim/ez_bkup_r/@m..@s..@s..@s..@s..@s.choosenim@stoolchains@snim-2.2.0@slib@ssystem.nim.c:2405:3: runtime error: call to function eqtrace___pkgZowlkettleZwidgets_u6277 through pointer to incorrect function type 'void (*)(void *, void *)' (/path/to/ez_bkup+0x5ccb28): note: eqtrace___pkgZowlkettleZwidgets_u6277 defined here SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/itwrx/.cache/nim/ez_bkup_r/@m..@s..@s..@s..@s..@s.choosenim@stoolchains@snim-2.2.0@slib@ssystem.nim.c:2405:3 ```
Sign in to join this conversation.
Loading…
There is no content yet.