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

Crashing with an unexpected behavior when moving files #458

Closed
bear-in-a-box opened this issue Nov 21, 2021 · 0 comments · Fixed by #457
Closed

Crashing with an unexpected behavior when moving files #458

bear-in-a-box opened this issue Nov 21, 2021 · 0 comments · Fixed by #457

Comments

@bear-in-a-box
Copy link

OS: macOS Monterey 12.0.1
Czkawka version: 3.3.0

There's a behavior that is unclear to me as a user trying to search for duplicated images so I can move them somewhere else and review before deleting.

The lookup itself went without any problems. I selected "all except the oldest" files and tried to move them.

Something like this happened to appear in the terminal after trying to move items:

ERROR: This should not happen model.value(&iter, column_color).get::<String>().unwrap() != MAIN_ROW_COLOR
thread 'main' panicked at 'First deleted element, should be a header', czkawka_gui/src/connect_button_move.rs:222:13

That first line appeared a few hundred times. Full stack trace below.

There are two problems:

  1. The destination folder has no files inside after the crash.
  2. Consecutive search attempts return less and less items.

Please let me know if I can provide any useful information, and thank you for your hard work on Czkawka! 🙂

Full stack trace:

   0:        0x10cf87a81 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::had87307b6abc1c9a
   1:        0x10cfa8b0b - core::fmt::write::hf956bc155d959fe3
   2:        0x10cf83bca - std::io::Write::write_fmt::h8329f2ae528d83ac
   3:        0x10cf89715 - std::panicking::default_hook::{{closure}}::ha89bc0c5c4e06dc0
   4:        0x10cf892f7 - std::panicking::default_hook::hf75121343f052de7
   5:        0x10cf89e00 - std::panicking::rust_panic_with_hook::h86c7505050d2207f
   6:        0x10ccdb265 - std::panicking::begin_panic::{{closure}}::h6717ba18cc7bd9f3
   7:        0x10ccd9387 - std::sys_common::backtrace::__rust_end_short_backtrace::h66da05cea25be754
   8:        0x10cfb07de - std::panicking::begin_panic::hee8f3e7d36cd7c91
   9:        0x10cd170e8 - czkawka_gui::connect_button_move::move_things::h5fd968828a6f9865
  10:        0x10ccba079 - <O as gtk::auto::button::ButtonExt>::connect_clicked::clicked_trampoline::h7e409c7edd3fcf53
  11:        0x10d3787f5 - __g_closure_invoke_va
  12:        0x10d38f6d2 - _g_signal_emit_valist
  13:        0x10d3901f2 - _g_signal_emit
  14:        0x10db91a4f - _gtk_real_button_released
  15:        0x10d3787f5 - __g_closure_invoke_va
  16:        0x10d38f6d2 - _g_signal_emit_valist
  17:        0x10d3901f2 - _g_signal_emit
  18:        0x10db91fe6 - _multipress_released_cb
  19:        0x10db4ce00 - __gtk_marshal_VOID__INT_DOUBLE_DOUBLEv
  20:        0x10d3787f5 - __g_closure_invoke_va
  21:        0x10d38f6d2 - _g_signal_emit_valist
  22:        0x10d3901f2 - _g_signal_emit
  23:        0x10dc696dd - _gtk_gesture_multi_press_end
  24:        0x10d37bcc6 - _g_cclosure_marshal_VOID__BOXEDv
  25:        0x10d3787f5 - __g_closure_invoke_va
  26:        0x10d38f6d2 - _g_signal_emit_valist
  27:        0x10d3901f2 - _g_signal_emit
  28:        0x10dc65ba8 - __gtk_gesture_check_recognized
  29:        0x10dc6788b - _gtk_gesture_handle_event
  30:        0x10dc6b20e - _gtk_gesture_single_handle_event
  31:        0x10dc2b54a - _gtk_event_controller_handle_event
  32:        0x10de1d43c - __gtk_widget_run_controllers
  33:        0x10db470ed - __gtk_marshal_BOOLEAN__BOXEDv
  34:        0x10d3787f5 - __g_closure_invoke_va
  35:        0x10d38f6d2 - _g_signal_emit_valist
  36:        0x10d3901f2 - _g_signal_emit
  37:        0x10de1cf68 - _gtk_widget_event_internal
  38:        0x10dcbb15f - _gtk_propagate_event
  39:        0x10dcbaa5e - _gtk_main_do_event
  40:        0x10d4754b1 - __gdk_event_emit
  41:        0x10d4a0962 - _gdk_event_dispatch
  42:        0x10da048fe - _g_main_context_dispatch
  43:        0x10da04c7d - _g_main_context_iterate
  44:        0x10da04fc2 - _g_main_loop_run
  45:        0x10dcba3cb - _gtk_main
  46:        0x10cd08d0d - czkawka_gui::main::h48f16d8b4e39a670
  47:        0x10ccd9a46 - std::sys_common::backtrace::__rust_begin_short_backtrace::h1ef2320b3153572e
  48:        0x10ccdb23c - std::rt::lang_start::{{closure}}::h62d5c1d97bd34f36
  49:        0x10cf8a32a - std::rt::lang_start_internal::hf65df31c3ffe3b9a
  50:        0x10cd09099 - _main
@bear-in-a-box bear-in-a-box changed the title Crashing with an unexpected behavior Crashing with an unexpected behavior when moving files Nov 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant