[gnome-db] Guess we have found a bug



Hi Rodrigo,
Hi everybody...

I played a bit with my test program and here's what I found out:

- A query like "SELECT this, that FROM you, me WHERE color LIKE '%ish%'"
works just fine.
- A query like "SELECT this, that FROM you, me WHERE color LIKE '%ish%'
AND size LIKE 'Big%'" fails miserably

So, apart from this, could you take a look at the backtrace from
gda-mysql-srv and enlighten me cause I can't tell the difference between
CORBA and a COBRA (a snake, yes...) bloody ignorant felow...

Thanks a lot.
Starting program: /usr/bin/gda-mysql-srv 
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...[New Thread 1024 (LWP 5760)]
(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...

** WARNING **: MESSAGE: Opening connection with user=cleber, password=mypass, host=localhost, port=3306, unix_socket=(null)

Bonobo-WARNING **: Reference counting error: Attempts to release CORBA_Object associated with 'GdaServerCommand' which still has a reference count of 1

GLib-WARNING **: g_printf_string_upper_bound(): unable to handle `V' while parsing format
gda-mysql-srv: ../sysdeps/generic/printf_fphex.c:163: __printf_fphex: Assertion `*decimal != '\0' && decimalwc != L'\0'' failed.
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGABRT, Aborted.
[Switching to Thread 1024 (LWP 5760)]
0x40779911 in kill () from /lib/libc.so.6
(gdb) bt
#0  0x40779911 in kill () from /lib/libc.so.6
#1  0x40056c0e in pthread_kill () from /lib/libpthread.so.0
#2  0x400570dd in raise () from /lib/libpthread.so.0
#3  0x4077ad71 in abort () from /lib/libc.so.6
#4  0x40774042 in __assert_fail () from /lib/libc.so.6
#5  0x407a18e3 in parse_printf_format () from /lib/libc.so.6
#6  0x4079dfd9 in vfprintf () from /lib/libc.so.6
#7  0x407b3143 in vsprintf () from /lib/libc.so.6
#8  0x4003c7da in g_logv () from /usr/lib/libglib-1.2.so.0
#9  0x4003cb41 in g_log () from /usr/lib/libglib-1.2.so.0
#10 0x406fe749 in write_to_log (
    str=0xbffff5fc "executing command 'SELECT id, descricao FROM produto WHERE atributos LIKE '%Vendido%' AND descricao LIKE '12345%''", error=0)
    at gda-log.c:90
#11 0x406fe824 in gda_log_message (format=0x804c777 "executing command '%s'")
    at gda-log.c:141
#12 0x0804aa58 in gda_mysql_command_execute ()
#13 0x4070d4bd in gda_server_command_execute (cmd=0x8061808, error=0x8062a80, 
    params=0xbffff91c, affected=0xbffff8b8, options=0)
    at gda-server-command.c:312
#14 0x4070ce3a in impl_GDA_Command_open (servant=0x8061864, param=0xbffff91c, 
    ct=GDA_OPEN_FWDONLY, lt=GDA_LOCK_OPTIMISTIC, affected=0xbffff918, 
    ev=0xbffff970) at gda-server-command.c:94
#15 0x406f11db in _ORBIT_skel_GDA_Command_open (_ORBIT_servant=0x8061864, 
    _ORBIT_recv_buffer=0x805dd90, ev=0xbffff970, 
    _impl_open=0x4070cda8 <impl_GDA_Command_open>) at GDA-skels.c:4013
#16 0x40270a35 in ORBit_POA_handle_request () from /usr/lib/libORBit.so.0
#17 0x40272e02 in CORBA_ORB_run () from /usr/lib/libORBit.so.0
#18 0x40273051 in CORBA_ORB_run () from /usr/lib/libORBit.so.0
#19 0x402884a4 in giop_main_handle_connection () from /usr/lib/libIIOP.so.0
#20 0x40239a10 in OAF_ActivationContext_ParseFailed__alloc ()
   from /usr/lib/liboaf.so.0
#21 0x40038c40 in g_io_add_watch () from /usr/lib/libglib-1.2.so.0
#22 0x4003a309 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#23 0x4003a913 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#24 0x4003aaac in g_main_run () from /usr/lib/libglib-1.2.so.0
#25 0x4059ac57 in gtk_main () from /usr/lib/libgtk-1.2.so.0
#26 0x4020a34d in bonobo_main () from /usr/lib/libbonobo.so.2
#27 0x40711b17 in gda_server_start (server_impl=0x805c948) at gda-server.c:185
#28 0x0804a7b2 in main ()
#29 0x4076965f in __libc_start_main () from /lib/libc.so.6


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