Norbert: I installed gdb in MinGW and did the following test:

juan...@juanjoe-nb /c/mariano/openDBX/libopendbx-1.5.0/test
$ gdb odbxtest.exe
GNU gdb (GDB) 7.0
Copyright (C) 2009 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 "mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from
c:\mariano\openDBX\libopendbx-1.5.0\test/odbxtest.exe...done.
(gdb) set args -b sybase -h localhost -p 5000 -d Sybase -u sa -w ""
(gdb) run
Starting program: c:\mariano\openDBX\libopendbx-1.5.0\test/odbxtest.exe -b
sybase -h localhost -p 5000 -d Sybase -u sa -w ""
[New Thread 3624.0x504]
[New Thread 3624.0xad0]

Program received signal SIGSEGV, Segmentation fault.
0x6ae41ee2 in sybase_odbx_init (handle=0x3d4510, host=0x3d2d08 "localhost",
    port=0x3d2d17 "5000") at sybase_basic.c:81
81              if( cs_config( aux->ctx, CS_SET, CS_USERDATA, (CS_VOID*)
&aux, sizeof( void* ), NULL ) != CS_SUCCEED )
(gdb) bt
#0  0x6ae41ee2 in sybase_odbx_init (handle=0x3d4510,
    host=0x3d2d08 "localhost", port=0x3d2d17 "5000") at sybase_basic.c:81
#1  0x00402e9b in odbx_init (handle=0x22ff30, backend=0x3d2cfc "sybase",
    host=0x3d2d08 "localhost", port=0x3d2d17 "5000") at odbx.c:91
#2  0x00401fd5 in main (argc=13, argv=0x3d4570) at odbx-regression.c:146




As you can read there it is failing in sybase_basic.c:81   which has this
line:

if( cs_config( aux->ctx, CS_SET, CS_USERDATA, (CS_VOID*) &aux, sizeof( void*
), NULL ) != CS_SUCCEED )

If you want, let me know what parameters or what can I print so that it
helps.

Kind regards,

Mariano



On Sat, Dec 19, 2009 at 10:31 PM, Mariano Martinez Peck <
marianop...@gmail.com> wrote:

>
>
> On Sat, Dec 19, 2009 at 9:12 PM, Norbert Sendetzky <
> norb...@linuxnetworks.de> wrote:
>
>> Hi Mariano
>>
>> > However, it does not work. When I try to run the tests I get a
>> >  "segmentation fault". I display nothing in MinGW but the Windows
>> windows
>> >  saying there was an error in the modeĀ”ule libsybasebackend-1.dll
>> >
>> > I am also sure I have this in $path:   XXXX;C:\Sybase\ASE-15_0\dll;XXXX
>>
>> You need C:\Sybase\OCS-15_0\dll in your path for the libraries.
>>
>>
> What an idiot I am. I went to check my $path exactly for that. When I saw I
> had C:\Sybase\ASE-15_0\dll;  I thought it was C:\Sybase\OCS-15_0\dll
>
> Anyway, I put it in Path, reset windows....but same problem :(
> I even configured and compiled again just in case..
>
> kind regards,
>
> mariano
>
>
>>
>> Norbert
>> --
>> OpenPGP public key
>> http://www.linuxnetworks.de/norbert.pubkey.asc
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Verizon Developer Community
>> Take advantage of Verizon's best-in-class app development support
>> A streamlined, 14 day to market process makes app distribution fast and
>> easy
>> Join now and get one step closer to millions of Verizon customers
>> http://p.sf.net/sfu/verizon-dev2dev
>> _______________________________________________
>> libopendbx-devel mailing list
>> libopendbx-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/libopendbx-devel
>> http://www.linuxnetworks.de/doc/index.php/OpenDBX
>>
>>
>
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
libopendbx-devel mailing list
libopendbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libopendbx-devel
http://www.linuxnetworks.de/doc/index.php/OpenDBX

Reply via email to