Opened 11 years ago

Closed 11 years ago

#311 closed defect (worksforme)

selecting << none >> in Alignment information crashes ARB

Reported by: aboeckma Owned by: devel
Priority: major Milestone:
Component: Library (GUI) Version: gtkport
Keywords: Cc:

Description

  • click Sequence → sequence alignment/admin
  • select << none >> in the Alignments list
  • BOOOOOM

error message:

Protection: Attempt to change a level-6-'alignment_write_security'-entry,
but your current security level is only 0
FIXME: void _aw_awar_notify_gparam(AW_root *, AW_CL) Replace OSX workaround with a real solution
Error: 'Selection list 'presets/alignment_type' has no default selection'
Can't continue - terminating..

stack trace:

AW_selection_list::refresh (this=(AW_selection_list *) 0x103e8ce50)
aw_selection_list_awar_changed (cd=4360556112)
AW_root_callback::call (this=(const AW_root_callback *) 0x103e8ce98, root=(AW_root *) 0x102b15660)
AW_root_cblist::call (this=(AW_root_cblist *) 0x103e8ce90, root=(AW_root *) 0x102b15660)
AW_root_cblist::call (listhead=(AW_root_cblist *&) @0x104ae96d0: 0x103e8ce90, root=(AW_root *) 0x102b15660)
AW_awar_impl::run_callbacks (this=(AW_awar_impl *) 0x104ae96c0)
AW_awar_impl::update (this=(AW_awar_impl *) 0x104ae96c0)
AW_awar_impl::map (this=(AW_awar_impl *) 0x104ae96c0, gbd=(AW_default) 0x104ae9960)
AW_awar_impl::unmap (this=(AW_awar_impl *) 0x104ae96c0)
alignment_vars_callback (aw_root=(AW_root *) 0x102b15660)
AW_root_callback::call (this=(const AW_root_callback *) 0x104aea878, root=(AW_root *) 0x102b15660)
AW_root_cblist::call (this=(AW_root_cblist *) 0x104aea870, root=(AW_root *) 0x102b15660)
AW_root_cblist::call (this=(AW_root_cblist *) 0x103ce16b0, root=(AW_root *) 0x102b15660)
AW_root_cblist::call (this=(AW_root_cblist *) 0x10ff2b740, root=(AW_root *) 0x102b15660)
AW_root_cblist::call (listhead=(AW_root_cblist *&) @0x103e359b0: 0x10ff2b740, root=(AW_root *) 0x102b15660)
AW_awar_impl::run_callbacks (this=(AW_awar_impl *) 0x103e359a0)
AW_awar_impl::update (this=(AW_awar_impl *) 0x103e359a0)
_aw_awar_gbdata_changed (cl=(int *) 0x103e359a0)
gb_do_callback_list (Main=(GB_MAIN_TYPE *) 0x10402a200)
GB_MAIN_TYPE::commit_transaction (this=(GB_MAIN_TYPE *) 0x10402a200)
GB_MAIN_TYPE::pop_transaction (this=(GB_MAIN_TYPE *) 0x10402a200)
GB_pop_transaction (gbd=(GBDATA *) 0x104a913b0)
GB_end_transaction (gbd=(GBDATA *) 0x104a913b0, error=0x0)
GB_transaction::close (this=(GB_transaction *) 0x7fff5fbfe910, error=0x0)
GB_transaction::~GB_transaction (this=(GB_transaction *) 0x7fff5fbfe910, vtt=(void **) 0x1003b37a8)
GB_transaction::~GB_transaction (this=(GB_transaction *) 0x7fff5fbfe910)
AW_awar_string::write_string (this=(AW_awar_string *) 0x103e359a0, para=0x104aeada0 \"????\", do_touch=false)
AW_scalar::write_to (this=(AW_scalar *) 0x104aeaee0, awar=(AW_awar *) 0x103e359a0)
AW_selection_list::update_from_widget (this=(AW_selection_list *) 0x10ff2b700)
aw_selection_list_widget_changed (widget=(GtkWidget *) 0x10592a000, data=(gpointer) 0x10ff2b700)
_g_closure_invoke_va ()
g_signal_emit_valist ()
g_signal_emit ()
gtk_tree_view_real_set_cursor ()
gtk_tree_view_button_press ()
_gtk_marshal_BOOLEAN__BOXED ()
g_closure_invoke ()
signal_emit_unlocked_R ()
g_signal_emit_valist ()
g_signal_emit ()
gtk_widget_event_internal ()
gtk_propagate_event ()
gtk_main_do_event ()
gdk_event_dispatch ()
g_main_context_dispatch ()
g_main_context_iterate ()
g_main_loop_run ()
gtk_main ()
AW_root::main_loop (this=(AW_root *) 0x102b15660)
startup_gui (cl=(NtreeCommandLine &) @0x7fff5fbff9d8: {\n  <Noncopyable> = {<No data fields>}, \n  members of NtreeCommandLine: \n  _vptr$NtreeCommandLine = 0x1003aef08, \n  arg_count = 0, \n  args = 0x7fff5fbffa80, \n  help_requested = false, \n  do_import = false, \n  macro_name = 0x0\n}, error=(ARB_ERROR &) @0x7fff5fbff9d0: {\n  error = {\n    object = 0x104a0b4e0\n  }\n})
ARB_main (argc=1, argv=(char **) 0x7fff5fbffa78)
main (argc=1, argv=(char **) 0x7fff5fbffa78)

Change History (3)

comment:1 Changed 11 years ago by aboeckma

  • Component changed from !NoIdea to Library (GUI)
  • Priority changed from normal to major
  • Version set to gtkport

comment:2 Changed 11 years ago by aboeckma

This crash is caused by the following chain of events:

  • When you click on <<none>> in the selection list the awar "presets/use" is changed to "????"
  • This change causes another awar ("presets/alignment") to get unmapped.
  • The unmap causes the invocation of all callbacks connected to "presets/alignment"
  • One of the callbacks of "presets/alignment" is connected to the refresh() method of some selection list (this is not the same selection list that caused the whole thing. I have no idea where this selection list is but it contains the following values: dna, rna, ami, usr).
  • The refresh() tries to updated the selected entry of the selection list. However since the awar has been unmapped it contains no value. Normally the default selection would be selected in this case. However the selection list does not have a default selection and the whole thing crashes.

I have no idea how to fix this.

comment:3 Changed 11 years ago by epruesse

  • Resolution set to worksforme
  • Status changed from new to closed

seems to be have been fixed by something.

Note: See TracTickets for help on using tickets.