mohandev2 / openhpi_old

Other
0 stars 0 forks source link

saHpiSessionOpen fails #1918

Open mohandev2 opened 8 years ago

mohandev2 commented 8 years ago

Hi,

When you repeat saHpiSessionOpen and saHpiSessionClose in the same object file 1021th saHpiSessionOpen fails.

void func() { .... saHpiSessionOpen(); .... saHpiSessionClose(); .... return; }

void main() // main.o { while(1){ func(); } }

But this doesn't happen when you repeat calling saHpiSessionOpen and saHpiSessionClose object file from shell script.

void main() // main.o { func(); }

!/bin/bash

while true do ./main.o done

Reported by: shuhei-ueno

Original Ticket: openhpi/bugs/1918

mohandev2 commented 6 years ago

Original comment by: mohandev2

mohandev2 commented 6 years ago

Original comment by: HemanthBeecherla