Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 10 years ago

Closed 10 years ago

#98 closed defect (duplicate)

'cat readme' hangs on mips32

Reported by: Jiri Svoboda Owned by:
Priority: blocker Milestone: 0.4.1
Component: helenos/unspecified Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:

Description

If you try to run 'cat readme' on mips32gx twice, it hangs in printf("%s", buff).

Change History (3)

comment:1 in reply to:  description ; Changed 10 years ago by Jakub Jermář

Replying to svoboda:

If you try to run 'cat readme' on mips32gx twice, it hangs in printf("%s", buff).

I am also seeing something like this on ia64 and sparc64, where the bdsh will process only one command and will hang after entering second one. bdsh's on other console are not hung. In my case, this started to show in revision 4642.

comment:2 in reply to:  1 Changed 10 years ago by Jakub Jermář

Priority: majorblocker

I am also seeing something like this on ia64 and sparc64, where the bdsh will process only one
command and will hang after entering second one. bdsh's on other console are not hung. In my
case, this started to show in revision 4642.

I created ticket #99 to track this issue as I am no longer sure these are the same issues.

comment:3 Changed 10 years ago by Jakub Jermář

Resolution: duplicate
Status: newclosed

Fixed in revision 4643.
realloc() didn't check whether the next block is actually free.

Note: See TracTickets for help on using tickets.