"DAO Anh-Viet" <[EMAIL PROTECTED]> writes:

>> I run the testing program using libssh2 at AIX Unix
>>
>> I have the problem "Illegal instruction (core dumped)" at the line of
> LIBSSH2_ALLOC on AIX Unix.
>>
>> With the define of LIBSSH2_ALLOC:
>>
>> #define LIBSSH2_ALLOC(session, count)
> session->alloc((count), &(session)->abstract)
>>
>>  
>>
>> Do you have any idea?
>
>>> What is the value of 'session' when this happens?  
>
> Value of 'session' here, it that mean the value of all member of
> 'session' ?

'session' is a pointer, thus its value is a numeric value.

>>> And session->alloc?
>
> Value of seesion->alloc, here, is which value ?

You'll need to run the program under a debugger to answer the
questions.

If the values are NULL, something went wrong earlier, and you'll have
to trace why the variables are NULL.

Good luck,
Simon

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to