Issue 20 in crush-tools: hashjoin dies w/ tcmalloc errors when stdin is 0 bytes

5 views
Skip to first unread message

crush...@googlecode.com

unread,
Nov 16, 2012, 6:12:58 PM11/16/12
to crush...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 20 by renw...@google.com: hashjoin dies w/ tcmalloc errors when
stdin is 0 bytes
http://code.google.com/p/crush-tools/issues/detail?id=20

What steps will reproduce the problem?

[(xfp-custom/goog) google3]$ echo -e "1,X\n2,Y" > /tmp/x
[(xfp-custom/goog) google3]$ cat /dev/null | hashjoin -f /tmp/x -k 1 -l 1
-j 2
hashjoin: xmalloc failed to allocate -1 bytes: Cannot allocate memory

What is the expected output? What do you see instead?

A nicer error message that stdin (or the joined file) is 0 bytes.

What version of the product are you using? On what operating system?

(xfp-custom/goog) google3]$ hashjoin -V
0.1

Please provide any additional information below.


crush...@googlecode.com

unread,
Jan 7, 2013, 12:54:36 PM1/7/13
to crush...@googlegroups.com
Updates:
Status: Fixed
Owner: jeremy.h...@gmail.com

Comment #1 on issue 20 by jeremy.h...@gmail.com: hashjoin dies w/ tcmalloc
Fixed in r524.

Reply all
Reply to author
Forward
0 new messages