[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Hmm... mysql-query-browser - segmentation fault.



Hi Folks,

I noticed that the mysql-administrator was given in the
extras distribution but not the mysql-query-browser and
wondered why...

Seems that the sources given from MySQL org is that in
order to build it, it requires the gtkhtml v3.6 release
which is nowhere given in the extras development directory
nor installed in FC5 T3  There are other version but just
not v3.6 as it seems to require...

So I built the gtkhtml v3.6 release, installed it, and then
built the mysql-query-browser from MySQL latest source and
it appears that the configuration and the build for both
went through fine as far as I can tell.

But running mysql-query-browser produces a segmentation fault
and when I checked the /usr/bin/mysql-query-browser file, it
is a shell script... ok... and it uses a strange environment
variable called MQB_DIR....  dunno why.

Anyway - I did a strace from within the script and got the
following few lines:

.
.
.
stat64("/usr/share/mysql-gui/query-browser/query_browser.glade",
{st_mode=S_IFRE G|0644, st_size=25038, ...}) = 0
stat64("/usr/share/mysql-gui/query-browser/query_browser.glade",
{st_mode=S_IFRE G|0644, st_size=25038, ...}) = 0
stat64("/usr/share/mysql-gui/query-browser/query_browser.glade",
{st_mode=S_IFRE G|0644, st_size=25038, ...}) = 0
stat64("/usr/share/mysql-gui/query-browser/query_browser.glade",
{st_mode=S_IFRE G|0644, st_size=25038, ...}) = 0
open("/usr/share/mysql-gui/query-browser/query_browser.glade", O_RDONLY)
= 14
fstat64(14, {st_mode=S_IFREG|0644, st_size=25038, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7 f17000
read(14, "<?xml version=\"1.0\" standalone=\""..., 16384) = 16384
_llseek(14, 0, [16384], SEEK_CUR)       = 0
_llseek(14, 0, [0], SEEK_SET)           = 0
read(14, "<?xml version=\"1.0\" standalone=\""..., 4096) = 4096
read(14, "y name=\"bottom_attach\">1</proper"..., 4096) = 4096
read(14, "ypad\">0</property>\n\t\t\t    </widg"..., 4096) = 4096
read(14, "e=\"resizable\">False</property>\n "..., 4096) = 4096
read(14, ">False</property>\n\t      <proper"..., 4096) = 4096
read(14, "ty>\n\n\t\t      <child>\n\t\t\t<widget "..., 4096) = 4096
read(14, "ame=\"padding\">0</property>\n\t\t\t  "..., 4096) = 462
read(14, "", 4096)                      = 0
read(14, "", 4096)                      = 0
close(14)                               = 0
munmap(0xb7f17000, 4096)                = 0
stat64("/root/.mysqlgui", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
access("/root/.mysqlgui/query-browser/bookmarks.xml", R_OK) = -1 ENOENT
(No such  file or directory)
access("/usr/share/mysql-gui/query-browser/magnify_glass.png", F_OK) = 0
open("/usr/share/mysql-gui/query-browser/magnify_glass.png", O_RDONLY|
O_LARGEFIL E) = 14
fstat64(14, {st_mode=S_IFREG|0644, st_size=848, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7 f17000
read(14, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0\23\0\0\0\22\10\6\0\0"...,
4096) = 8 48
read(14, "", 4096)                      = 0
_llseek(14, 0, [0], SEEK_SET)           = 0
read(14, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0\23\0\0\0\22\10\6\0\0"...,
4096) = 8 48
brk(0x9931000)                          = 0x9931000
brk(0x9929000)                          = 0x9929000
brk(0x9927000)                          = 0x9927000
close(14)                               = 0
munmap(0xb7f17000, 4096)                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 31175 detached

I am just providing it for anyone who cares.

Thanks,
Dan


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]