Bug #54114 Workbench crashes when pinned tab is refreshed
Submitted: 31 May 2010 17:07 Modified: 17 Jun 2010 11:58
Reporter: Daniel Bretoi Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S2 (Serious)
Version:5.2.22.RC OS:MacOS (10.6.3)
Assigned to: Alfredo Kojima CPU Architecture:Any

[31 May 2010 17:07] Daniel Bretoi
Description:
Workbench crashes when pinned tab is refreshed and another table has been loaded.

How to repeat:
1. connect to database.
2. select table to view and double-click to load responses
3. pin the responses for that table
4. click the overview tab and select another table and double-click
5. click the pinned response tab, and click 'refresh'
[31 May 2010 23:15] MySQL Verification Team
Thank you for the bug report. Which version are you using?.
[31 May 2010 23:22] Daniel Bretoi
5.2.21.RC sorry I must have missed the version field when filling in the form. Btw, I used the browser built into WB, would be nice if it autofilled the form with correct info.
[5 Jun 2010 2:38] MySQL Verification Team
Could you please try version 5.2.22.Thanks in advance.
[5 Jun 2010 4:04] Daniel Bretoi
Still crashes.
[8 Jun 2010 14:33] Valeriy Kravchuk
What exact version of Mac OS X, 10.x.y, do you use?
[8 Jun 2010 16:58] Daniel Bretoi
added osx version in os field.
[16 Jun 2010 8:17] Mike Lischke
Verified as described. I needed several refresh attempts to get the crash.
[16 Jun 2010 8:17] Mike Lischke
Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Application Specific Information:
objc_msgSend() selector name: updateToolbar

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib               	0x94b24edb objc_msgSend + 27
1   com.sun.WBExtras              	0x023be491 sigc::pointer_functor1<MResultsetViewer*, void>::operator()(MResultsetViewer* const&) const + 27 (ptr_fun.h:111)
2   com.sun.WBExtras              	0x023be4b5 sigc::adaptor_functor<sigc::pointer_functor1<MResultsetViewer*, void> >::deduce_result_type<MResultsetViewer*&, void, void, void, void, void, void>::type sigc::adaptor_functor<sigc::pointer_functor1<MResultsetViewer*, void> >::operator()<MResultsetViewer*&>(MResultsetViewer*&) const + 33 (adaptor_trait.h:84)
3   com.sun.WBExtras              	0x023be4e4 sigc::bind_functor<-1, sigc::pointer_functor1<MResultsetViewer*, void>, MResultsetViewer*, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::operator()() + 44 (bind.h:1110)
4   com.sun.WBExtras              	0x023be506 sigc::internal::slot_call0<sigc::bind_functor<-1, sigc::pointer_functor1<MResultsetViewer*, void>, MResultsetViewer*, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, void>::call_it(sigc::internal::slot_rep*) + 32 (slot.h:103)
5   libwbpublic.be.dylib          	0x00a6e93d sigc::internal::signal_emit0<void, sigc::nil>::emit(sigc::internal::signal_impl*) + 232 (signal.h:768)
6   libwbpublic.be.dylib          	0x00a6e9f2 sigc::signal0<void, sigc::nil>::emit() const + 26 (signal.h:2667)
7   libwbpublic.be.dylib          	0x00a422c4 Recordset::refresh_ui_status_bar() + 344 (recordset.cpp:250)
8   libwbpublic.be.dylib          	0x00a4342e Recordset::reset(boost::weak_ptr<Recordset_data_storage>, bool) + 3484 (recordset.cpp:165)
9   libwbpublic.be.dylib          	0x00a43e9f Recordset::reset(bool) + 391 (recordset.cpp:181)
10  libwbpublic.be.dylib          	0x00a44053 Recordset::reset() + 31 (recordset.cpp:174)
11  libwbpublic.be.dylib          	0x00a3ecad Recordset::refresh() + 251 (recordset.cpp:235)
12  libwbpublic.be.dylib          	0x00a4c281 sigc::bound_mem_functor0<void, Recordset>::operator()() const + 91 (mem_fun.h:1787)
13  libwbpublic.be.dylib          	0x00a4c29e sigc::adaptor_functor<sigc::bound_mem_functor0<void, Recordset> >::operator()() const + 26 (adaptor_trait.h:251)
14  libwbpublic.be.dylib          	0x00a4c2c0 sigc::internal::slot_call0<sigc::bound_mem_functor0<void, Recordset>, void>::call_it(sigc::internal::slot_rep*) + 32 (slot.h:103)
15  libwbpublic.be.dylib          	0x00a465c8 sigc::slot0<void>::operator()() const + 92 (slot.h:441)
16  libwbpublic.be.dylib          	0x00c2ee53 bool ActionList::trigger_action_<std::map<std::string, sigc::slot<void, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, std::less<std::string>, std::allocator<std::pair<std::string const, sigc::slot<void, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> > > > >(std::string const&, std::map<std::string, sigc::slot<void, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, std::less<std::string>, std::allocator<std::pair<std::string const, sigc::slot<void, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> > > >&) + 91 (action_list.cpp:63)
17  libwbpublic.be.dylib          	0x00c2db8b ActionList::trigger_action(std::string const&) + 37 (action_list.cpp:154)
18  com.sun.WBExtras              	0x023bb850 -[MResultsetViewer activateToolbarItem:] + 395 (MResultsetViewer.mm:316)
19  com.apple.AppKit              	0x90e825c6 -[NSApplication sendAction:to:from:] + 112
20  com.apple.AppKit              	0x90f61d41 -[NSControl sendAction:to:] + 108
21  com.apple.AppKit              	0x90f5d7f2 -[NSCell _sendActionFrom:] + 169
22  com.apple.AppKit              	0x90f5cae9 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 1808
23  com.apple.AppKit              	0x90fb2145 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 524
24  com.apple.AppKit              	0x90f5b53f -[NSControl mouseDown:] + 812
25  com.apple.AppKit              	0x90f59548 -[NSWindow sendEvent:] + 5549
26  com.apple.AppKit              	0x90e721af -[NSApplication sendEvent:] + 6431
27  com.apple.AppKit              	0x90e05c4f -[NSApplication run] + 917
28  com.apple.AppKit              	0x90dfdc85 NSApplicationMain + 574
29  com.sun.MySQLWorkbench        	0x0000ae50 main + 30 (main.m:14)
30  com.sun.MySQLWorkbench        	0x0000ae06 start + 54
[16 Jun 2010 12:32] Alfredo Kojima
repeated in 10.5.8 and fixed
[16 Jun 2010 19:48] Johannes Taxacher
fix confirmed in repository
[17 Jun 2010 11:58] Tony Bedford
An entry has been added to the 5.2.23 changelog:

MySQL Workbench crashed if in the SQL Editor a pinned result tab was refreshed.