bugGChemPaint - Bugs: bug #14949, erasing a bond crashes the app

 
 

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

bug #14949: erasing a bond crashes the app

Submitted by:  Ronald S. Bultje <rbultje>
Submitted on:  Thu 10 Nov 2005 05:28:04 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Jean Bréfort <jean_brefort>
Open/Closed: Closed

Thu 10 Nov 2005 05:58:53 PM UTC, comment #2:

Fixed in CVS, will be in 0.6.2 (concerned all double bonds).

Jean Bréfort <jean_brefort>
Project AdministratorIn charge of this item.
Thu 10 Nov 2005 05:43:36 PM UTC, comment #1:

Seems it is a very old bug :(

Jean Bréfort <jean_brefort>
Project AdministratorIn charge of this item.
Thu 10 Nov 2005 05:28:04 PM UTC, original submission:

create a O=C=O, select the erase tool and click the bond (rather than the atom), the app crashes.

[Switching to Thread -1208105296 (LWP 10044)]
0x00c28782 in gcpView::Update (this=0x8a33988, pObject=0x8b98000)
at view.cc:466
466 pObject->Update(*i);
(gdb) print i
No symbol "i" in current context.
(gdb) bt
#0 0x00c28782 in gcpView::Update (this=0x8a33988, pObject=0x8b98000)
at view.cc:466
#1 0x00bd9614 in gcpDocument::Update (this=0x8a338c0) at document.cc:721
#2 0x00bdbf9e in gcpDocument::FinishOperation (this=0x8a338c0)
at document.cc:981
#3 0x0073f9a9 in gcpEraserTool::OnRelease (this=0x89eb280)
at erasertool.cc:192
#4 0x00c26f98 in gcpTool::OnRelease (this=0x89eb280, x=230, y=115,
state=11418008) at tool.cc:87
#5 0x00c28af4 in gcpView::OnEvent (this=0x8a33988, item=0x8a5e680,
event=0x8b04b9c, widget=0x8a5cf48) at view.cc:316
#6 0x00c28d86 in on_event (item=0x8a5e680, event=0x8b04b9c, widget=0x8a5cf48)
at view.cc:145
[..] (the rest is signal emission stuff from the click in gnomecanvas)
(gdb) print *pObject
warning: can't find linker symbol for virtual table for `gcu::Object' value
$1 = {_vptr.Object = 0xae3998, m_Id = 0xae3998 "\2209\uffff", m_Type = 3,
m_Parent = 0x8a338c0, m_Children = {_M_t = {
_M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, gcu::Object> > >> = {<__gnu_cxx::__mt_alloc<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, gcu::Object> >,__gnu_cxx::__common_pool_policy<__gnu_cxx::__pool, true> >> = {<__gnu_cxx::__mt_alloc_base<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, gcu::Object*> > >> = {<No data fields>}, <No data fields>}, <No data fields>},
_M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >,std::basic_string<char, std::char_traits<char>, std::allocator<char> >,bool>> = {<No data fields>}, <No data fields>},
_M_header = {_M_color = std::_S_red, _M_parent = 0x0,
_M_left = 0x8b98014, _M_right = 0x8b98014}, _M_node_count = 0}}},
m_Links = {_M_t = {
_M_impl = {<std::allocator<std::_Rb_tree_node<gcu::Object> >> = {<__gnu_cxx::__mt_alloc<std::_Rb_tree_node<gcu::Object>,__gnu_cxx::__common_pool_policy<__gnu_cxx::__pool, true> >> = {<__gnu_cxx::__mt_alloc_base<std::_Rb_tree_node<gcu::Object*> >> = {<No data fields>}, <No data fields>}, <No data fields>},
_M_key_compare = {<> = {<No data fields>}, <No data fields>},
_M_header = {_M_color = std::_S_red, _M_parent = 0x0,
_M_left = 0x8b9802c, _M_right = 0x8b9802c}, _M_node_count = 0}}},
---Type <return> to continue, or q <return> to quit---
m_Locked = 0}

Ronald S. Bultje <rbultje>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 13 Nov 2005 09:49:03 AM UTCjean_brefortOpen/ClosedOpen=>Closed
Thu 10 Nov 2005 05:58:53 PM UTCjean_brefortStatusConfirmed=>Fixed
Thu 10 Nov 2005 05:43:36 PM UTCjean_brefortStatusNone=>Confirmed
  Assigned toNone=>jean_brefort

Back to the top


Powered by Savane 3.1-cleanup1