[Bug 950884] New: MySql Workbench crashes on connecting to the database
http://bugzilla.opensuse.org/show_bug.cgi?id=950884 Bug ID: 950884 Summary: MySql Workbench crashes on connecting to the database Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 RC1 1 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: milan.zimmermann@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- In RC1, open myssql-workbench. In the UI, select: Database->Connect to database - fill in correct values (or select a stored connection) - click OK The UI crashed with no further indication. If run from the command line, the partial dump: -------------------------------------------- Prompt> mysql-workbench Ready. Traceback (most recent call last): File "/usr/share/mysql-workbench/libraries/workbench/notifications.py", line 34, in _the_observer obs(name, sender, args) File "/usr/lib64/mysql-workbench/modules/wb_admin_grt.py", line 402, in attachToSQLEditor context = AdministratorContext(sender) File "/usr/lib64/mysql-workbench/modules/wb_admin_grt.py", line 119, in __init__ self._check_instance_profile() File "/usr/lib64/mysql-workbench/modules/wb_admin_grt.py", line 156, in _check_instance_profile if autoDetectLocalInstance(self.connection): File "/usr/lib64/mysql-workbench/modules/wb_admin_grt.py", line 487, in autoDetectLocalInstance profiles = get_profiles_for("Linux", version) File "/usr/lib64/mysql-workbench/modules/wb_admin_grt.py", line 458, in get_profiles_for profile_version = Version.fromstr(data.get("serverVersion")) File "/usr/share/mysql-workbench/libraries/workbench/utils.py", line 161, in fromstr match = re.match(r'^(\d+\.\d+(\.\d+)*).*$', s.strip()) AttributeError: 'NoneType' object has no attribute 'strip' *** Segmentation fault Register dump: RAX: 0000000000000070 RBX: 00007f4b0c004f08 RCX: 00000000037c3500 RDX: 0000000000000070 RSI: 0000000000000070 RDI: 00007ffebb9b4d80 RBP: 00007ffebb9b3170 R8 : ffffffffffff8538 R9 : ffffffffffff8528 R10: ffffffffffff8518 R11: 0000000000000015 R12: 00007ffebb9b5810 R13: 0000000000000001 R14: 00007ffebb9b6470 R15: 00007ffebb9b6410 RSP: 00007ffebb9b3160 RIP: 000000000066aba6 EFLAGS: 00010206 CS: 0033 FS: 0000 GS: 0000 Trap: 0000000e Error: 00000004 OldMask: 00000000 CR2: 00000070 FPUCW: 0000037f FPUSW: 00000000 TAG: 00000000 RIP: 00000000 RDP: 00000000 ST(0) 0000 0000000000000000 ST(1) 0000 0000000000000000 ST(2) 0000 0000000000000000 ST(3) 0000 0000000000000000 ST(4) 0000 0000000000000000 ST(5) 0000 0000000000000000 ST(6) 0000 0000000000000000 ST(7) 0000 0000000000000000 mxcsr: 1fa0 XMM0: 00000000000000000000000000000000 XMM1: 00000000000000000000000000000000 XMM2: 00000000000000000000000000000000 XMM3: 00000000000000000000000000000000 XMM4: 00000000000000000000000000000000 XMM5: 00000000000000000000000000000000 XMM6: 00000000000000000000000000000000 XMM7: 00000000000000000000000000000000 XMM8: 00000000000000000000000000000000 XMM9: 00000000000000000000000000000000 XMM10: 00000000000000000000000000000000 XMM11: 00000000000000000000000000000000 XMM12: 00000000000000000000000000000000 XMM13: 00000000000000000000000000000000 XMM14: 00000000000000000000000000000000 XMM15: 00000000000000000000000000000000 Backtrace: /usr/lib64/mysql-workbench/mysql-workbench-bin(_ZN3grt8ValueRefC2ERKS0_+0x14)[0x66aba6] /usr/lib64/mysql-workbench/mysql-workbench-bin(_ZN3grt3RefINS_8internal6StringEEC1ERKS3_+0x23)[0x71300b] /usr/lib64/mysql-workbench/mysql-workbench-bin(_ZNK9GrtObject4nameEv+0x27)[0x713f6f] /usr/lib64/mysql-workbench/libwbprivate.so.6.3.4(_ZN2wb9WBContext20add_new_query_windowERKN3grt3RefI18db_mgmt_ConnectionEEb+0x6e1)[0x7f4b683cdb97] /usr/lib64/mysql-workbench/libwbprivate.so.6.3.4(_ZN2wb13WorkbenchImpl22showQueryConnectDialogEv+0x39)[0x7f4b6842532b] /usr/lib64/mysql-workbench/libwbprivate.so.6.3.4(_ZN3grt14ModuleFunctor0IiN2wb13WorkbenchImplEE12perform_callERKNS_11BaseListRefE+0x6e)[0x7f4b6843aebc] /usr/lib64/mysql-workbench/libgrt.so.6.3.4(_ZNK5boost4_mfi3mf1IN3grt8ValueRefENS2_17ModuleFunctorBaseERKNS2_11BaseListRefEEclEPS4_S7_+0x76)[0x7f4b65598d42] /usr/lib64/mysql-workbench/libgrt.so.6.3.4(_ZN5boost3_bi5list2INS0_5valueIPN3grt17ModuleFunctorBaseEEENS_3argILi1EEEEclINS3_8ValueRefENS_4_mfi3mf1ISB_S4_RKNS3_11BaseListRefEEENS0_5list1ISG_EEEET_NS0_4typeISK_EERT0_RT1_l+0x74)[0x7f4b65598afa] /usr/lib64/mysql-workbench/libgrt.so.6.3.4(_ZN5boost3_bi6bind_tIN3grt8ValueRefENS_4_mfi3mf1IS3_NS2_17ModuleFunctorBaseERKNS2_11BaseListRefEEENS0_5list2INS0_5valueIPS6_EENS_3argILi1EEEEEEclIS7_EES3_RKT_+0x4d)[0x7f4b655989c9] /usr/lib64/mysql-workbench/libgrt.so.6.3.4(_ZN5boost6detail8function21function_obj_invoker1INS_3_bi6bind_tIN3grt8ValueRefENS_4_mfi3mf1IS6_NS5_17ModuleFunctorBaseERKNS5_11BaseListRefEEENS3_5list2INS3_5valueIPS9_EENS_3argILi1EEEEEEES6_SC_E6invokeERNS1_15function_bufferESC_+0x33)[0x7f4b65598737] /usr/lib64/mysql-workbench/libgrt.so.6.3.4(_ZNK5boost9function1IN3grt8ValueRefERKNS1_11BaseListRefEEclES5_+0x62)[0x7f4b65592d60] /usr/lib64/mysql-workbench/libgrt.so.6.3.4(_ZN3grt6Module13call_functionERKSsRKNS_11BaseListRefE+0x13b)[0x7f4b655901 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950884
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=950884
http://bugzilla.opensuse.org/show_bug.cgi?id=950884#c1
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=950884
http://bugzilla.opensuse.org/show_bug.cgi?id=950884#c2
--- Comment #2 from milan zimmermann
http://bugzilla.opensuse.org/show_bug.cgi?id=950884
http://bugzilla.opensuse.org/show_bug.cgi?id=950884#c3
Dominique Leuenberger
Mariadb version is that shipped with RC1 - 10.0.21-1.4
In your testing, did you go through the menu as described?:
Database->Connect to database
- in the popup, fill in correct values (or select a stored connection) - click OK
That fails every time on my system.
First I didn't; but for the 2nd test I did... still no crash (btw: I do see the python stack trace being written out; but that does not segfault it.. so in essence that one is harmless and serves as a red herring in the bug)
I was stubornly using the menu, but I just found if I just click on an existing connection, then I get the warning but get in as you described. So thanks for that as I did not realize this is a way to get in.
I was too lazy to aim for the menus and used the big buttons :) strange that this would behave different - but it is a good indication for the actual maintainer (Aeneas)
I am willing and able to test against other versions if that is still relevant. Don't think that's still needed, as in essence we both tried to connect to mariadb on localhost, on a Leap 42.1RC1 install...
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950884
Ludwig Nussel
http://bugzilla.opensuse.org/show_bug.cgi?id=950884
http://bugzilla.opensuse.org/show_bug.cgi?id=950884#c4
Jacob W
participants (1)
-
bugzilla_noreply@novell.com