Open mohandev2 opened 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(); }
while true do ./main.o done
Reported by: shuhei-ueno
Original Ticket: openhpi/bugs/1918
Original comment by: mohandev2
Original comment by: HemanthBeecherla
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