bugGnome Chemistry Utils - Bugs: bug #19808, gchemtable crashes when clicking...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #19808: gchemtable crashes when clicking on an element

Submitted by:  None
Submitted on:  Sat 05 May 2007 02:52:26 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Jean Bréfort <jean_brefort>
Open/Closed: Closed

Sun 20 May 2007 06:57:26 AM UTC, comment #4:

Closed after 0.8.0 release

Jean Bréfort <jean_brefort>
Project AdministratorIn charge of this item.
Mon 07 May 2007 06:29:32 PM UTC, comment #3:

Fix confirmed. I'll add it to Fedora package ASAP. Once again sorry for an anonymous report.

Julian Sikorski <belegdol>
Project Member
Mon 07 May 2007 04:58:41 PM UTC, comment #2:

Fixed with attached patch. Sorry for the inconvenience.

(file #12710)

Jean Bréfort <jean_brefort>
Project AdministratorIn charge of this item.
Sun 06 May 2007 05:50:16 AM UTC, comment #1:

Which gchemtable version?
Does this occur with all elements?

Jean Bréfort <jean_brefort>
Project AdministratorIn charge of this item.
Sat 05 May 2007 02:52:26 PM UTC, original submission:

A Fedora user has found a bug in gchemtable, which causes the program to crash when an element is clicked (but not when it is selected with keyboard). He has obtained a backtrace. It happens for me as well.

run
Starting program: /usr/bin/gchemtable
[Thread debugging using libthread_db enabled]
[New Thread -1208224032 (LWP 3766)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208224032 (LWP 3766)]
0x0804f26c in GChemTableElt (this=0xa1c0288, App=0x9fb1b80, Z=<value optimized
out>) at gchemtable-elt.cc:248
248 while (((j != jend) && ((*j)->charge <
(*radii)->charge)) ||
(gdb) bt
#0 0x0804f26c in GChemTableElt (this=0xa1c0288, App=0x9fb1b80, Z=<value
optimized out>)
at gchemtable-elt.cc:248
#1 0x0804bff0 in GChemTableApp::OnElement (this=0x9fb1b80, Z=1) at
gchemtable-app.cc:174
#2 0x00116d99 in g_cclosure_marshal_VOID () from /lib/libgobject-2.0.so.0
#3 0x00109d9b in g_closure_invoke () from /lib/libgobject-2.0.so.0
#4 0x0011a433 in g_signal_chain_from_overridden () from /lib/libgobject-2.0.so.0
#5 0x0011b957 in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
#6 0x0011bb19 in g_signal_emit () from /lib/libgobject-2.0.so.0
#7 0x0678fd5c in on_clicked (button=0xa016488, periodic=0x9fa5ae8) at
gtkperiodic.c:238
#8 0x001170f9 in g_cclosure_marshal_VOID__VOID () from /lib/libgobject-2.0.so.0
#9 0x00109d9b in g_closure_invoke () from /lib/libgobject-2.0.so.0
#10 0x0011a433 in g_signal_chain_from_overridden () from /lib/libgobject-2.0.so.0
#11 0x0011b957 in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
#12 0x0011bb19 in g_signal_emit () from /lib/libgobject-2.0.so.0
#13 0x065b9983 in gtk_toggle_button_toggled () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x065b99f8 in gtk_toggle_button_toggled () from /usr/lib/libgtk-x11-2.0.so.0
#15 0x001170f9 in g_cclosure_marshal_VOID__VOID () from /lib/libgobject-2.0.so.0
#16 0x00108589 in g_value_set_static_boxed () from /lib/libgobject-2.0.so.0
#17 0x00109d9b in g_closure_invoke () from /lib/libgobject-2.0.so.0
#18 0x0011a8ca in g_signal_chain_from_overridden () from /lib/libgobject-2.0.so.0
#19 0x0011b957 in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
#20 0x0011bb19 in g_signal_emit () from /lib/libgobject-2.0.so.0
#21 0x06423cd3 in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#22 0x065b9758 in gtk_toggle_action_new () from /usr/lib/libgtk-x11-2.0.so.0
#23 0x001170f9 in g_cclosure_marshal_VOID__VOID () from /lib/libgobject-2.0.so.0
#24 0x00108589 in g_value_set_static_boxed () from /lib/libgobject-2.0.so.0
#25 0x00109d9b in g_closure_invoke () from /lib/libgobject-2.0.so.0
#26 0x0011a8ca in g_signal_chain_from_overridden () from /lib/libgobject-2.0.so.0
#27 0x0011b957 in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
#28 0x0011bb19 in g_signal_emit () from /lib/libgobject-2.0.so.0
#29 0x06423d63 in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0
#30 0x06423dc1 in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0
#31 0x064f4b00 in gtk_marshal_BOOLEAN__VOID () from /usr/lib/libgtk-x11-2.0.so.0
#32 0x00108589 in g_value_set_static_boxed () from /lib/libgobject-2.0.so.0
#33 0x00109d9b in g_closure_invoke () from /lib/libgobject-2.0.so.0
#34 0x0011aa83 in g_signal_chain_from_overridden () from /lib/libgobject-2.0.so.0
#35 0x0011b71f in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
#36 0x0011bb19 in g_signal_emit () from /lib/libgobject-2.0.so.0
#37 0x06609748 in gtk_widget_get_default_style () from /usr/lib/libgtk-x11-2.0.so.0
#38 0x064eded3 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#39 0x064ef0d7 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#40 0x00d5a14a in gdk_add_client_message_filter () from /usr/lib/libgdk-x11-2.0.so.0
#41 0x00c9f442 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#42 0x00ca241f in g_main_context_check () from /lib/libglib-2.0.so.0
#43 0x00ca27c9 in g_main_loop_run () from /lib/libglib-2.0.so.0
#44 0x064ef554 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#45 0x0804becb in main (argc=1, argv=0xbfb44434) at gchemtable-main.cc:44

Anonymous

 

Attached Files
file #12710:  19808.patch added by jean_brefort (1KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by belegdol (Posted a comment)
  • -unavailable- added by jean_brefort (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 20 May 2007 06:57:25 AM UTCjean_brefortOpen/ClosedOpen=>Closed
    Mon 07 May 2007 04:58:41 PM UTCjean_brefortAttached File-=>Added 19808.patch, #12710
      StatusNeed Info=>Fixed
    Sun 06 May 2007 05:50:16 AM UTCjean_brefortStatusNone=>Need Info
      Assigned toNone=>jean_brefort

    Back to the top


    Powered by Savane 3.1-cleanup1