Invalid pointer when converting an image to 'gray'

Hello,

Root crashes when trying to convert an image to gray scale, i.e.
after running rose_image.C from the tutorial, right-clicking with the mouse
and choosing ‘gray’.

I have root 5.32/02.

Thank you,

Bertrand Roessli

root [0] .x rose_image.C
root [1] *** glibc detected *** /usr/local/bin/root.exe: free(): invalid pointer: 0xbf989b14 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x75ee2)[0x500ee2]
/usr/lib/i386-linux-gnu/libstdc++.so.6(_ZdlPv+0x1f)[0x35e51f]
/usr/local/lib/root/libASImage.so(_ZN8TASImage4GrayEb+0x336)[0x34f37c6]
/usr/local/lib/root/libGraf.so(+0xd7adf)[0x24ecadf]
/usr/local/lib/root/libCint.so(_ZN4Cint11G__CallFunc7ExecuteEPv+0xd8)[0xf726b8]
/usr/local/lib/root/libCore.so(ZNK5TCint13CallFunc_ExecEPvS0+0x2b)[0x94bf5b]
/usr/local/lib/root/libCore.so(_ZN11TMethodCall7ExecuteEPvPKc+0xc6)[0x972ff6]
/usr/local/lib/root/libCore.so(_ZN7TToggle6ToggleEv+0xce)[0x98413e]
/usr/local/lib/root/libCore.so(_ZN12TContextMenu6ActionEP7TObjectP7TToggle+0x129)[0x8ba4b9]
/usr/local/lib/root/libGui.so(_ZN16TRootContextMenu14ProcessMessageElll+0x27e)[0x3debd6e]
/usr/local/lib/root/libGui.so(_ZN7TGFrame19HandleClientMessageEP7Event_t+0x80)[0x3d1a8b0]
/usr/local/lib/root/libGui.so(_ZN7TGFrame11HandleEventEP7Event_t+0x217)[0x3d19b87]
/usr/local/lib/root/libGui.so(_ZN8TGClient11HandleEventEP7Event_t+0x66)[0x3ce7096]
/usr/local/lib/root/libGui.so(_ZN8TGClient15ProcessOneEventEv+0xd9)[0x3ce71f9]
/usr/local/lib/root/libGui.so(_ZN8TGClient11HandleInputEv+0x2d)[0x3ce724d]
/usr/local/lib/root/libGui.so(_ZN14TGInputHandler6NotifyEv+0x1e)[0x3ce727e]
/usr/local/lib/root/libCore.so(_ZN11TUnixSystem16DispatchOneEventEb+0x4f)[0x98e4ef]
/usr/local/lib/root/libCore.so(_ZN7TSystem9InnerLoopEv+0x22)[0x905d52]
/usr/local/lib/root/libCore.so(_ZN7TSystem3RunEv+0x6c)[0x90847c]
/usr/local/lib/root/libCore.so(_ZN12TApplication3RunEb+0x38)[0x8a5cc8]
/usr/local/lib/root/libRint.so(_ZN5TRint3RunEb+0x25c)[0x1f37cc]
/usr/local/bin/root.exe(main+0x6f)[0x8048c8f]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x4a44d3]
/usr/local/bin/root.exe[0x8048d0d]

I see the same issue. Have you found a solution?

I do not see the problem with 5.34 on Mac

I encountered the issue with 5.34-01 on Ubuntu 12.04.

I will check on ubuntu

I just tried the 5.34 head version (5.34.3) on Ubuntu 12.4.1.
It works for me.
no crash.

I’ve downloaded and compiled the head version and I see no issue. Must have been resolved recently.