Bug #64620 | Segmentation fault on model sync | ||
---|---|---|---|
Submitted: | 12 Mar 2012 11:05 | Modified: | 30 Mar 2012 6:15 |
Reporter: | Pavel Yatsukhnenko | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Workbench: Modeling | Severity: | S2 (Serious) |
Version: | 5.2.38 | OS: | Linux (Linux 3.2.1-gentoo-r2) |
Assigned to: | CPU Architecture: | Any | |
Tags: | WBBugReporter |
[12 Mar 2012 11:05]
Pavel Yatsukhnenko
[12 Mar 2012 19:44]
MySQL Verification Team
I couldn't repeat on Fedora 16 64_bits. Which package have you installed?. Thanks.
[13 Mar 2012 11:17]
Pavel Yatsukhnenko
mysql-workbench-gpl-5.2.38-src.tar.gz compiled with nls USE flag
[13 Mar 2012 14:49]
Alfredo Kojima
Can you obtain and attach a stack trace from gdb?
[14 Mar 2012 8:16]
Pavel Yatsukhnenko
Workbench Log File
Attachment: mw.log (text/x-log), 86.23 KiB.
[14 Mar 2012 8:22]
Pavel Yatsukhnenko
How can I do stack trace from gdb? I tried to execute gdb mysql-workbench and receive message: "/usr/bin/mysql-workbench": not in executable format: Формат файла не распознан. Then I tried to execute gdb mysql-workbench-bin and receive message: Reading symbols from /usr/bin/mysql-workbench-bin...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/mysql-workbench-bin [Thread debugging using libthread_db enabled] Program received signal SIGSEGV, Segmentation fault. 0x00007ffff15a055f in ?? () from /lib64/libc.so.6 I think I do something wrong :(
[15 Mar 2012 13:57]
Alfredo Kojima
To use gdb, 1st run source /usr/bin/mysql-workbench then quit WB. Then run gdb /usr/bin/mysql-workbench-bin run (produce crash) bt
[16 Mar 2012 9:35]
Pavel Yatsukhnenko
pyatsukhnenko@localhost ~ $ source /usr/bin/mysql-workbench dirname: неверный ключ -- b Попробуйте «dirname --help» для получения более подробного описания. /usr/bin/catchsegv: line 58: /mysql-workbench-bin: Нет такого файла или каталога pyatsukhnenko@localhost ~ $ /usr/bin/mysql-workbench 11:33:01 [DB1][ WBContext]: Creating WBContext 11:33:01 [INF][ WBContext]: WbContext::init 11:33:02 [DB1][ grt]: Looking for user plugins in /home/pyatsukhnenko/.mysql/workbench/modules 11:33:02 [DB1][ grt]: Looking for user plugins in /home/pyatsukhnenko/.mysql/workbench/plugins 11:33:02 [DB1][ grt]: Looking for plugins in /home/pyatsukhnenko/.mysql/workbench/usr/lib64/mysql-workbench/plugins 11:33:02 [DB1][ grt]: MySQL Generic Runtime Environment 4.1.0 11:33:02 [DB1][ grt]: Type '?' for help. 11:33:02 [DB1][ grt]: Python Shell initialized. (Use Preferences -> General to set language) Ready. 11:33:02 [DB1][ grt]: Ready. 11:33:02 [DB1][ grt]: 11:33:02 [INF][ WBContext]: System info: MySQL Workbench CE for Linux/Unix version 5.2.38 revision 8753 Configuration Directory: /home/pyatsukhnenko/.mysql/workbench Data Directory: /usr/share/mysql-workbench Cairo Version: 1.10.2 OS: Linux 3.2.1-gentoo-r2 CPU: 6x AMD FX(tm)-6100 Six-Core Processor 3321.768 MHz, 7.8 GB RAM 11:33:02 [ERR][ mforms]: _webbrowser_impl has NULL ptr at 0 11:33:02 [ERR][ mforms]: _webbrowser_impl has NULL ptr at 1 11:33:02 [ERR][ mforms]: _webbrowser_impl has NULL ptr at 2 11:33:02 [ERR][ mforms]: _webbrowser_impl has NULL ptr at 3 SystemError11:33:04 [DB1][ grt]: SystemError: : null argument to internal routinenull argument to internal routine 11:33:04 [DB1][ WBContext]: Destroying WBContext pyatsukhnenko@localhost ~ $ gdb /usr/bin/mysql-workbench-bin GNU gdb (Gentoo 7.3.1 p2) 7.3.1 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /usr/bin/mysql-workbench-bin...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/mysql-workbench-bin [Thread debugging using libthread_db enabled] 11:33:42 [DB1][ WBContext]: Creating WBContext terminate called after throwing an instance of 'Glib::FileError' Program received signal SIGABRT, Aborted. 0x00007ffff14bccb5 in raise () from /lib64/libc.so.6 (gdb) quit A debugging session is active. Inferior 1 [process 18955] will be killed. Quit anyway? (y or n) y
[16 Mar 2012 17:59]
Alfredo Kojima
Hi The output of the bt command is missing.
[17 Mar 2012 11:10]
Pavel Yatsukhnenko
gdb /usr/bin/mysql-workbench-bin GNU gdb (Gentoo 7.3.1 p2) 7.3.1 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /usr/bin/mysql-workbench-bin...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/mysql-workbench-bin [Thread debugging using libthread_db enabled] Program received signal SIGSEGV, Segmentation fault. 0x00007ffff1598e91 in ?? () from /lib64/libc.so.6 (gdb) bt #0 0x00007ffff1598e91 in ?? () from /lib64/libc.so.6 #1 0x00000000006a1e40 in main () (gdb)
[20 Mar 2012 13:49]
Alfredo Kojima
Can you attach the model file you use to produce the crash? Does the crash also happen with the demo sakila_full.mwb model file (it's in the samples/models dir in the source tarball)?
[21 Mar 2012 9:48]
Pavel Yatsukhnenko
I'm sorry, I can't attach model file :( I tried to reproduce the error on my home laptop and there was no crashes... with sakila_full.mwb - no crashes too.
[30 Mar 2012 6:15]
Pavel Yatsukhnenko
:(
[15 Apr 2012 0:19]
Aalex Gabi
I have the same problem. A big model. I tryed on Ubuntu and Windows 7 and when I sync the database to model it crashes.