Hi Shaiju,
There was big refactoring in openhpi-2.17.
So the issue might have been gone.
Anton Pak
On Tue, 14 Feb 2012 04:52:18 +0300, Sadasivan Shaiju <[email protected]>
wrote:
> Hi Anton,
>
> I am using openhpi 2.16.0 and hpitest-3.2.0 . And I am using the
> simulator .
> I am testing it on different targets (x86,PPC,MIPS) always I
> get the same Error.
>
>
>
> 1. On x86 . I get the following back trace .
>
>
> Backtrace obtained on x86:
> ...
> Core was generated by `./hpitest Events/saHpiEventGet/CloseSession'.
> Program terminated with signal 11, Segmentation fault.
> #0 0xb7677b33 in _int_malloc () from /lib/libc.so.6
> (gdb) bt
> #0 0xb7677b33 in _int_malloc () from /lib/libc.so.6
> #1 0xb7678f71 in _do_malloc () from /lib/libc.so.6
> #2 0xb767a35d in malloc () from /lib/libc.so.6
> #3 0xb7669b36 in open_memstream () from /lib/libc.so.6
> #4 0xb76d3095 in __vsyslog_chk () from /lib/libc.so.6
> #5 0xb76d35d7 in syslog () from /lib/libc.so.6
> #6 0xb78981a4 in DoSendRecv (cmd=0xbf89c12e "saHpiEventGet",
> pinst=0x9b93590,
> sid=2, request=0x9b93648, reply=0xbf88bc99 "\001\021")
> at oh_client.cpp:94
> #7 0xb789878b in saHpiEventGet (SessionId=2, Timeout=6000000000,
> Event=0xbf89c1a0, Rdr=0x0, RptEntry=0x0, EventQueueStatus=0x0)
> at oh_client.cpp:1590
> #8 0x08079cbb in ns_saHpiEventGet::CloseSession::runDomainTest
> (this=0x9ab4368, domainId=0)
> at src/tests/events/saHpiEventGet/CloseSession.cc:114
> #9 0x0804cdab in HpiDomainTestCase::testDomain (this=0x9ab4368,
> domainId=0) at
> src/hpi/HpiDomainTestCase.cc:62
> #10 0x0804ce76 in HpiDomainTestCase::runTest (this=0x9ab4368) at
> src/hpi/HpiDomainTestCase.cc:49
> #11 0x08111eef in BaseTestCase::execute (this=0x9ab4368, e=0x9b8d9c8) at
> src/framework/BaseTestCase.cc:109
> #12 0x08110719 in Executive::execute (this=0x9b8d9c8, includedTests=...,
> excludedTests=..., includeManual=false,
> appendToLogFile=false) at src/framework/Executive.cc:87
> #13 0x081163b0 in Controller::runTests (this=0xbf89c5a0) at
> src/framework/Controller.cc:138
> #14 0x0804bd3c in main (argc=2, argv=0xbf89c674) at src/HpiTest.cc:40 .
>
>
>
> 2. On Mips I get the following result .
> The
> test crashes with message "glibc detected /usr/bin/hpitest: malloc():
> memory
> corruption"
>
>
> regards,
> shaiju.
>
>
> -----Original Message-----
> From: Anton Pak [mailto:[email protected]]
> Sent: Monday, February 13, 2012 1:16 AM
> To: [email protected]; Sadasivan Shaiju
> Subject: Re: [Openhpi-devel] Events/saHpiEventGet/CloseSession
>
> Hello Shaiju,
>
> I tried the test case 5 times with OpenHPI-3.0.0.
> Every time it passed OK.
>
> Anton Pak
>
> On Sun, 12 Feb 2012 06:54:28 +0300, Sadasivan Shaiju <[email protected]>
> wrote:
>
>> Hi,
>>
>>
>>
>> When I execute the following hpitest I get Error as follows .
>>
>>
>>
>>
>>
>> root@Tux:~# hpitest Events/saHpiEventGet/CloseSession
>>
>> Events/saHpiEventGet/CloseSession: FAIL
>>
>>
>>
>> [Domain:0] saHpiEventGet() unexpectedly returned
>> SA_ERR_HPI_NO_RESPONSE
>>
>> instead of SA_ERR_HPI_INVALID_SESSION.
>>
>> at runDomainTest
>> (src/tests/events/saHpiEventGet/CloseSession.cc:133)
>>
>>
>>
>>
>>
>> regards,
>>
>> shaiju.
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel