Crash on pasting large amounts of text.
Demitri Muna <thatsanicehatyouhave <at> mac.com>
2012-05-02 20:59:37 GMT
Hi,
I'm getting a repeatable crash with R64:
R version 2.15.0 (2012-03-30)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
[R.app GUI 1.51 (6148) x86_64-apple-darwin9.8.0]
I have two (admittedly long) lines of values where I am creating two arrays. When I have them both in my clipboard and paste them into the console, things work without a problem. If I open a new text document in R and paste the lines, R crashes. The precision in the data is ridiculous, yes (they are output from another program as double precision), but the program probably shouldn't crash in any event. I don't know if a buffer is being exceeded or if it's another problem, but since it's trivially repeatable I thought I'd report it.
To reproduce, copy the entire text block below the divider at the bottom of this email, create a new text document, and paste.
Cheers,
Demitri
---
x = c(2300.2654319061871320,2300.7951485790772495,2301.3249872377800784,2301.8549479103917292,2302.3850306250055837,2302.9152354097309399,2303.4455622926739125,2303.9760113019560777,2304.5065824656971927,2305.0372758120324761,2305.5680913690957823,2306.0990291650282416,2306.6300892279846266,2307.1612715861160723,2307.6925762675905389,2308.2240033005723490,2308.7555527132417410,2309.2872245337762251,2309.8190187903692276,2310.3509355112119010,2310.8829747245094950,2311.4151364584663497,2311.9474207413013573,2312.4798276012311362,2313.0123570664882209,2313.5450091653019626,2314.0777839259180837,2314.6106813765782135,2315.1437015455412620,2315.6768444610625011,2316.2101101514140282,2316.7434986448656673,2317.2770099696954276,2317.8106441541945060,2318.3444012266500067,2318.8782812153663144,23
19.4122841486450852,2319.9464100548025272,2320.4806589621530293,2321.0150308990268968,2321.5495258937507970,2322.0841439746677679,2322.6188851701185740,2323.1537495084589864,2323.6887370180!
425023,2324.2238477272380806,2324.7590816644119514,2325.2944388579467159,2325.8299193362217920,2326.3655231276320592,2326.9012502605723967,2327.4371007634445050,2327.9730746646632724,2328.5091719926408587,2329.0453927758048849,2329.5817370425806985,2330.1182048214095630,2330.6547961407300136,2331.1915110289955919,2331.7283495146580208,2332.2653116261849391,2332.8023973920403478,2333.3396068407050734,2333.8769400006563046,2334.4143969003880557,2334.9519775683902481,2335.4896820331705385,2336.0275103232324909,2336.5654624670955855,2337.1035384932770285,2337.6417384303094877,2338.1800623067260858,2338.7185101510649474,2339.2570819918796587,2339.7957778577192585,2340.3345977771500657,2340.8735417787347615,2341.4126098910523979,2341.9518021426792984,2342.4911185622077028,2343.0305591782262127,
2343.5701240193407102,2344.1098131141534395,2344.6496264912830156,2345.1895641793453251,2345.7296262069712611,2346.2698126027903527,2346.8101233954471354,2347.3505586135838712,2347.89111828!
58582833,2348.4318024409258214,2348.9726111074573964,2349.513544314124
3741,2350.0546020896035770,2350.5957844625859252,2351.1370914617605195,2351.6785231158305578,2352.2200794534983288,2352.7617605034806729,2353.3035662944926116,2353.8454968552650826,2354.3875522145253854,2354.9297324010176453,2355.4720374434832593,2356.0144673706790854,2356.5570222113597083,2357.0997019942956285,2357.6425067482541635,2358.1854365020190016,2358.7284912843711027,2359.2716711241077974,2359.8149760500250522,2360.3584060909261098,2360.9019612756278548,2361.4456416329439890,2361.9894471917050396,2362.5333779807383507,2363.0774340288867279,2363.6216153649916123,2364.1659220179085423,2364.7103540164926017,2365.2549113896129711,2365.7995941661365578,2366.3444023749475491,2366.8893360449260399,2367.4343952049680411,2367.9795798839677445,2368.5248901108352584,2369.0703259144770527,236
9.6158873238164233,2370.1615743677743922,2370.7073870752869880,2371.2533254752897847,2371.7993895967265416,2372.3455794685532965,2372.8918951197233582,2373.4383365792068616,2373.98490387597!
12130,2374.5315970389988252,2375.0784160972707468,2375.6253610797834881,2376.1724320155303758,2376.7196289335211077,2377.2669518627635625,2377.8144008322801710,2378.3619758710919996,2378.9096770082355761,2379.4575042727442451,2380.0054576936686317,2380.5535373000552681,2381.1017431209679671,2381.6500751854696318,2382.1985335226295319,2382.7471181615319438,2383.2958291312565962,2383.8446664609009531,2384.3936301795583859,2384.9427203163400009,2385.4919369003523570,2386.0412799607202032,2386.5907495265632861,2387.1403456270190873,2387.6900682912223601,2388.2399175483228646,2388.7898934274689964,2389.3399959578237031,2389.8902251685490228,2390.4405810888220003,2390.9910637478174067,2391.5416731747254744,2392.0924093987341621,2392.6432724490487089,2393.1942623548720803,2393.7453791454145176,2
394.2966228499017234,2394.8479934975539436,2395.3994911176096139,2395.9511157393039866,2396.5028673918882305,2397.0547461046107856,2397.6067519067369176,2398.1588848275282544,2398.711144896!
2627946,2399.2635321422162633,2399.8160465946812110,2400.3686882829456
408,2400.9214572363148363,2401.4743534840918073,2402.0273770555954798,2402.5805279801406869,2403.1338062870609065,2403.6872120056850690,2404.2407451653593853,2404.7944057954287018,2405.3481939252451411,2405.9021095841753777,2406.4561528015819931,2407.0103236068448496,2407.5646220293406259,2408.1190480984628266,2408.6736018436013183,2409.2282832941632478,2409.7830924795516694,2410.3380294291878272,2410.8930941724884178,2411.4482867388874183,2412.0036071578151677,2412.5590554587201950,2413.1146316710460269,2413.6703358242543800,2414.2261679478024234,2414.7821280711650616,2415.3382162238162891,2415.8944324352369222,2416.4507767349218739,2417.0072491523628742,2417.5638497170689334,2418.1205784585449692,2418.6774354063131796,2419.2344205898925793,2419.7915340388194636,2420.3487757826255802,2420
.9061458508613214,2421.4636442730720773,2422.0212710788209733,2422.5790262976679514,2423.1369099591897793,2423.6949220929595867,2424.2530627285677838,2424.8113318956015974,2425.369729623664!
1705,2425.9282559423568273,2426.4869108812972627,2427.0456944701018074,2427.6046067383940681,2428.1636477158122034,2428.7228174319911886,2429.2821159165823701,2429.8415431992339109,2430.4010993096117090,2430.9607842773771154,2431.5205981322101252,2432.0805409037852769,2432.6406126217962083,2433.2008133159315548,2433.7611430158981420,2434.3216017513987026,2434.8821895521532497,2435.4429064478786131,2436.0037524683089032,2436.5647276431736827,2437.1258320022211592,2437.6870655751972663,2438.2484283918565779,2438.8099204819654915,2439.3715418752904043,2439.9332926016113561,2440.4951726907079319,2441.0571821723747235,2441.6193210764045034,2442.1815894326059606,2442.7439872707850554,2443.3065146207641192,2443.8691715123636641,2444.4319579754196639,2444.9948740397653637,2445.5579197352512892,24
(Continue reading)