CINT std::vector<long> error

Hi,

Using ROOT 5.34/12 (CINT 5.18.00) if I try to fill a std::vector with values, my macro crashes. If I use vectors of other types (int, double) there is no problem.

This error can be seen using CINT:

root [0] std::vector<int> a
root [1] a.push_back(1)
root [2] a[0]
(vector<int,allocator<int> >::reference)1
root [3] std::vector<double> b
root [4] b.push_back(1)
root [5] b[0]
(vector<double,allocator<double> >::reference)1.00000000000000000e+00
root [6] std::vector<long> c
root [7] c.push_back(1)
Error: non class,struct,union object c used with . or -> (tmpfile):1:
*** Interpreter error recovered ***
root [8] .q
Error: Symbol null is not defined in current scope  :0:

 *** Break *** segmentation violation



===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0  0x00007f513d8b3c8e in waitpid () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f513d83929e in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f513e77ae87 in TUnixSystem::StackTrace() () from /home/whanlon/root/lib/libCore.so.5.34
#3  0x00007f513e77d773 in TUnixSystem::DispatchSignals(ESignals) () from /home/whanlon/root/lib/libCore.so.5.34
#4  <signal handler called>
#5  0x00007f513cdc5140 in G__destroy_upto () from /home/whanlon/root/lib/libCint.so.5.34
#6  0x00007f513cdc5c9f in G__scratch_globals_upto () from /home/whanlon/root/lib/libCint.so.5.34
#7  0x00007f513e73b818 in TCint::ResetGlobals() () from /home/whanlon/root/lib/libCore.so.5.34
#8  0x00007f513e6e43e5 in TROOT::EndOfProcessCleanups() () from /home/whanlon/root/lib/libCore.so.5.34
#9  0x00007f513d82f901 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#10 0x00007f513d82f985 in exit () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x00007f513e776c12 in TUnixSystem::Exit(int, bool) () from /home/whanlon/root/lib/libCore.so.5.34
#12 0x00007f513e6a5859 in TApplication::ProcessLine(char const*, bool, int*) () from /home/whanlon/root/lib/libCore.so.5.34
#13 0x00007f513e2f8ba9 in TRint::HandleTermInput() () from /home/whanlon/root/lib/libRint.so.5.34
#14 0x00007f513e77c73c in TUnixSystem::CheckDescriptors() () from /home/whanlon/root/lib/libCore.so.5.34
#15 0x00007f513e77dee6 in TUnixSystem::DispatchOneEvent(bool) () from /home/whanlon/root/lib/libCore.so.5.34
#16 0x00007f513e6fe816 in TSystem::InnerLoop() () from /home/whanlon/root/lib/libCore.so.5.34
#17 0x00007f513e7004f4 in TSystem::Run() () from /home/whanlon/root/lib/libCore.so.5.34
#18 0x00007f513e6a3c6f in TApplication::Run(bool) () from /home/whanlon/root/lib/libCore.so.5.34
#19 0x00007f513e2f95dc in TRint::Run(bool) () from /home/whanlon/root/lib/libRint.so.5.34
#20 0x0000000000400f8c in main ()
===========================================================


The crash is most likely caused by a problem in your script.
Try to compile it (.L myscript.C+g) and fix any errors.
If that does not help then please submit a bug report at
http://root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.


pure virtual method called
terminate called without an active exception

On another machine I use ROOT 5.34/09 (same version of CINT) and I can use std::vector without a problem. Is this a bug or is something else going on?