LinuxÏÂÄÚ´æ¼ì²é
STLµÄÒ»¸öºÃ´¦¾ÍÊÇÊ¡È¥×Ô¼º¹ÜÀíÄÚ´æµÄÂé·³£¬µ«ÊÇÎÒ·¢ÏÖÔÚWindowsÉÏÓÃboundChecker¼ì²éÄÚ´æʱ£¬×ÜÊÇ»á¸ú×Ùµ½stlµÄº¯ÊýÄÚ²¿¡£×î½üÔÚLinuxÏÂʹÓÃvalgrind¼ì²éÄÚ´æй¶ÓÖÅöµ½ÕâÀàÎÊÌâ¡£
±ÈÈ磺
23,416 bytes in 1 blocks are possibly lost in loss record 23 of 33
at 0x401AFE7: operator new(unsigned int) (vg_replace_malloc.c:214)
by 0x419F830: std::__default_alloc_template <true, 0>::_S_chunk_alloc(unsigned int, int&)
by 0x419F73C: std::__default_alloc_template <true, 0>::_S_refill(unsigned int) (in /usr/lib/libstdc++.so.5.0.3)
by 0x419F2AB: std::__default_alloc_template <true, 0>::allocate(unsigned int) (in /usr/lib/libstdc++.so.5.0.3)
by 0x41A52A7: std::string::_Rep::_S_create(unsigned int, std::allocator <char> const&) (in /usr/lib/libstdc++.so.5.0.3)
by 0x41A53D8: std::string::_Rep::_M_clone(std::allocator <char> const&, unsigned int) (in /usr/lib/libstdc++.so.5.0.3)
by 0x41A3145: std::string::reserve(unsigned int) (in /usr/lib/libstdc++.so.5.0.3)
by 0x41A36EB: std::string::append(unsigned int, char) (in /usr/lib/libstdc++.so.5.0.3)
by 0x41A33DE: std::string::operator+=(char) (in /usr/lib/libstdc++.so.5.0.3)
by 0x407C723: CMyclass::mymethod(std::istream&) (in /home/lzq/lib/libmylib.so)
×îÖÕµÄÖ¸ÏòÊÇstd::__default_alloc_template <true, 0>::_S_chunk_alloc(unsigned int, int&) º¯Êýµ±Öе÷ÓÃnew£¬×îºóÓÖûÓÐÊÍ·ÅÄÚ´æ¡£
ÎÒ²»Ì«Á˽âµÄÊÇÕâЩÄÚ´æй¶ÊÇ·ñÊÇ
Ïà¹ØÎÊ´ð£º
ʹÓÃStruts2ÉÏ´«Îļþ£¬ÔÚlinuxϱ¨´í
2009-09-29 14:56:20,801 [org.apache.struts2.interceptor.FileUploadInterceptor]-[ERROR] Processing of multipart/form-data request failed. c:/temp/upload__1dcd07ee_12 ......
ÎÒ֮ǰÖÆ×÷µÄlinux×Ô¶¯°²×°isoÒѾ³É¹¦ÁË£¬ÏÖÔÚÏë¶ÔÆä½øÐÐһЩ¶¨ÖÆÐ޸ģ¬±ÈÈ磬¸ü¸ÄgrubͼƬµÈ¡£
ÎÒÔÚks.cfgµÄ%post¶ÎÀïÃæÊÇÕâÑùдµÄ£º
%post --nochroot
# Move the contents of the tar into their new locati ......
Ò»Ö±ÓÃsvnÀ´×ö×ÊÔ´µÄ¹ÜÀí£¬
ÏÖÔÚ·¢ÏÖwindowsÏÂÈ¡svn Òª10¸öСʱ×óÓÒ£¨×ÊÔ´´óÔ¼ÓÐ20G,È«ÊÇСÎļþ£©
linuxÏÂÈ¡½öÓÃ40·ÖÖÓ£¬
ÇëÎÊlinuxµÄÎļþϵͳÔÚÄĶù±ÈwindowsÎļþϵͳǿÁ¦?
svn ¿É¹»ÂýµÄ¡£
ÔÚ ......
linux Ͻø³Ì´´½¨¡£
ʹÓÃvfork() º¯Êý´´½¨ÁË×Ó½ø³Ìºó£¬×Ó½ø³ÌÏÈÐÐÖ´ÐУ¬ÔÚ×Ó½ø³Ìµ÷ÓÃexit»òexec֮ǰ¸¸½ø³Ì´¦ÓÚʲô״̬£¿£¿
²»ÖªµÀ£»Ê×ÏÈδ±ØÊÇ×Ó½ø³ÌÏÈÖ´ÐУ»µÚ2¸¸½ø³ÌÒ²´¦ÓÚÖ´ÐÐ״̬£»ÖÁÓÚ¸¸½ø³Ìµ½µ××öʲô£»¿´´ ......
Ó¦ÓÃϵͳÊÇ°²×°ÔÚ /opt Ŀ¼Ï£¬/opt Ŀ¼ÊÇÊôÓÚ¸ùĿ¼ / ϵġ£ÁíÍâÒ»¸öÎļþϵͳµÄ¹ÒÔصãÊÇÔÚ/aaaĿ¼Ï£¬¿É·ñ½«/optĿ¼ÏµÄËùÓÐÎļþcopyµ½/aaaĿ¼Ï£¬umount ÔÚ/aaaĿ¼ÏµĹÒÔص㣬½«/aaa¸ÄÃû/optĿ¼£¬ÔÙ½«ÔÀ ......