Herve Gaudillat writes:
 > Hello,
 > 
 > Thank you very much for your quick answer .
 > (I had forgotten to give my OS : solaris 2.7 on Sparc)
 > 
 > This has solved the connection problem. So, now I can  launched mysqlgui because
 > I'm   able  to connect to mysqld .
 > 
 > Unfortunately, mysqlgui crashes on 'Select QUERY' when
 > 
 >    * I chose 'file' or 'screen' for result (so, not count)
 >    * the result contains more than 0 item
 > 
 > Do you have an idea or any suggestion ?
 > Thank you very much ?
 > 
 > Herve
 > 
 > 
 > **** stack (core file) ****
 > Program received signal SIGSEGV, Segmentation fault.
 > type_info::operator== (this=0x0, arg=@0x2686b8) at 
 >../../gcc-2.95.2/gcc/cp/tinfo.cc:46
 > (gdb) where
 > #0  type_info::operator== (this=0x0, arg=@0x2686b8) at 
 >../../gcc-2.95.2/gcc/cp/tinfo.cc:46
 > #1  0x1693dc in operator== (a=@0xffbeddc0, b=@0x2686b8) at
 > ../mysql++-1.7.8/sqlplusint/type_info1.hh:184
 > #2  0x715e8 in do_sql () at do_sql.cc:759
 > #3  0x6b7c4 in get_results () at main.cc:921
 > #4  0xad9d0 in Fl_Button::handle () at ../FL/Flve_Input.H:39
 > #5  0xa944c in send () at ../FL/Flve_Input.H:39
 > #6  0xa95f4 in Fl::handle () at ../FL/Flve_Input.H:39
 > #7  0xbd5a4 in fl_handle () at ../FL/Flve_Input.H:39
 > #8  0xbca58 in do_queued_events () at ../FL/Flve_Input.H:39
 > #9  0xbccf4 in fd_callback () at ../FL/Flve_Input.H:39
 > #10 0xbcc38 in fl_wait () at ../FL/Flve_Input.H:39
 > #11 0xa8ad0 in Fl::wait () at ../FL/Flve_Input.H:39
 > #12 0xa8b30 in Fl::run () at ../FL/Flve_Input.H:39
 > #13 0x6f218 in main () at main.cc:1249
 > 
 > **** source in type_info::operator== (when seg. fault occurs) ****
 > // We can't rely on common symbols being shared between shared objects.
 > bool std::type_info::
 > operator== (const std::type_info& arg) const
 > {
 >   return (&arg == this) || (strcmp (name (), arg.name ()) == 0);
 > }
 > 
 > *** some values from  void do_sql() (do_sql.cc)  ****
 > print *ress
 > $20 = {row_count = 0, field_count = 2, current_field = 1, fields = 0x2a8018, data = 
 >0x0,
 > data_cursor = 0x0, field_alloc = {free = 0x2a8008, used = 0x0, pre_alloc = 0x0, 
 >min_malloc = 16,
 > block_size = 8164, error_handler = 0}, row = 0x28b760, current_row = 0x0, lengths = 
 >0x2a6060,
 > handle = 0x2a3ce0, eof = 0 '\000'}
 > 
 > print result
 > $22 = {mysql = 0x2a3cd8, mysql_res = 0x2a6018, throw_exceptions = false, initialized 
 >= true,
 > _names = 0x28b778, _types = 0x28b790, _fields =
 > {<const_subscript_container<MysqlFields,st_mysql_field,const st_mysql_field 
 >&,unsigned int,int>>
 > = {_vptr. = 0xff286830}, res = 0xffbedeb8}, _table = {static npos = 4294967295, 
 >static nilRep =
 > {len = 0, res = 0, ref = 16, selfish = false}, dat = 0x29c0d0 "amsusermed"}}
 > 
 > 
 > 


Hi!

The above is happening because MySQL++ is not built well. 

Please start again from the fresh tarball and build it again. 

For some reason, FieldTypes are NULL, which is impossible.

Please check first that all examples in MySQL++ work correctly.


Regards,

Sinisa

      ____  __     _____   _____  ___     ==  MySQL AB
     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Sinisa Milivojevic
    /*/ /*/ /*/   \*\_   |*|   |*||*|     mailto:[EMAIL PROTECTED]
   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Larnaca, Cyprus
  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____
  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^
             /*/             \*\                Developers Team

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to