desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #130831
[Bug 1482465] [NEW] Terminal can hang ubuntu if too long of a String is entered as a command
Public bug reported:
This only appeared by mistake. i was generating large numbers with
Python, and accidentally hit CTRL-V, pasting the large line of numerical
data into my terminal window. Trying to exit out of the data, i hit
ENTER, where i thought i'd get a "Argument too long" or some other
error, it failed miserably trying to parse the code.
Output from lsb_release -rd:
Description: Ubuntu 15.04
Release: 15.04
Gnome-terminal version
gnome-terminal:
Installed: 3.14.2-0ubuntu3
Candidate: 3.14.2-0ubuntu3
Version table:
*** 3.14.2-0ubuntu3 0
500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
100 /var/lib/dpkg/status
What i expected to happen: not have Terminal parse that big of a string.
I had to generate a second example to record it, sine my desktop hanged
the first time. This new string was trimmed to 1/3rd of it's size.
Current size is 8205 Bytes. i t was generated using the "Break Basic"
While loop.
What happened: Terminal parsed the string, hung ubuntu. it's not like i
have little ram. i have 8 gigs and memtest checked out ok.
the data in question:
3272973471441111142765931618563958903043804881849168808369381269342237089821345250731847775075054672507924637116206963723698674675984661012062549461364582878982525093626025426924
4209142032135149111401825236948828709869286266048815220994216720935844325754048615330121139508687421576481362860209932853196702574941643703973571152980749763025232111208912912842
1303197378198752590786139159972448373116810055264000611464546696371660310366233399444117543702811511906199818165128100730460751511178936466180790498709896934060548144085844696010
6787994833120133918443981924129535654646997429472480722523306091252343465920084669798256991621927009372861133876986776314085463612523613726380801417914684379957400854435345342269
3686947240980156901499053255978758068907039854282449546577824870398014070516500456497073066277194394427021796216806213335110135668436374117720868672506429343937229414585979749624
2607858735721719956968744381841165292901648052651820874874971224276691853447553193412359201733091350488882983418341663558312235302994973785418193743676443264977977678866226292643
7896891654879549557230552789365072998117852212841339137727220646047884753878388787753637794489429290095768384545214409682591260854535709630339539663745386839331955609010880967727
0147100257623937473485127124398648561724721757065770167208189253080081390381401628043834839763358878990692334610603887302993930101643335197923917600035430305443357800422637001129
3089105805236637240918637743896771049682626755343098182038480172266234530740219967221128600269010379758623162371982359518250599655128052097295227729905922330519193296454707267764
6742406447761134818419142854390289776167197463992272974026356384732293573410438771745961290397114301708660774479162105729257795533757675015828739921698746414453640580666489277271
9865965420513029019161345647378010094961687791168673542242192274238206394613499981775699839038258706301808959644870568043354623359253561917997879153887689314191556527575059026691
1479484816528544748901282171330148329958450192970356051775696955762651569784037526079903832749626894281126208873041734222048391828925655880205644266800500133869760479166111881513
2542183624637655027004281079570876190376975408161333767149903964783360536246692841293365775580628014500633228491383503531672868428341209165934487199146718582544878110925345729169
1759305314325368124958028342160858957952352233266661391284038508376738500225052773335660138404624149104322565138015436041287116579880937615888600950984096746441589559678014898238
8626124353337549502428077535708489814378955612516539695284659069777183550463489954593183645665120007998808180000639185770921381128970813929731635898973387408587203241474615008526
4642039161917614855601422024523450986147462020426532653383392712422797008539358053905192616608741629261418238380493960583691589320450285765326488263507428904621194058206041526953
1959770001972465626150349114324014213241640592888947521187860888387559462405662504164246605947531835196238482659005707259831462691154631640269067597000839152887433091667371806331
3114897785203220472643465920818339594907900990206475483716134025100066913956368234375245198618886938577912115660195519844255613243045561811935055648089423176751375180826873600979
6361662319885518273874587266565533239409495860140492270015936115915877147220058115591080350855678135033017186510640610363651302992943145782306689086957292099061349324797695956352
2198725966999144457173082688144591452758285868773583253964772805187658186151352101544175239936402238497926877853998850468335261984053236271413642373015375433325106379637126675689
7831884149028560312406832182198842552247206836912097767086648936712692186767503877870153637219876719135829853873981001579520409755631389672101306549483717030000456503173611668788
9349976824915447498925301840382332310519177468597058739838867170290027414688906802529947861771462539152851428741528612523331454572574048930117665510505400677776710616123274525393
8171861304762416910891713226186826615243234828422015355026370772995219242586566347243276067985255051008516865895443124041437654493980815541453583750592484880853144998905422676888
1926769531893664741979813622090177159096431667803883008114223271062125760582341787325520357334050049039280308387308096893320399332963365053107581326457774104425492528739382467348
2576195646645125504593180266001162706532647339967005626800910764852913442187346685212224222180356075605842265370152393252967205897900014227670428346999656075327310161743037583063
8752178782976018637679019975921414466613769649283978333012753338851659022710922548858544258654902888940488476199519999010646861235004476367730902512282283282881018700620652862080
0334367438980750117262002871094563118706090809872044639533834306091606693368087533476364675559815477716227024061149597813041793511723081192348490604825887145466971370170467688961
0100563967196612589638152839625634092368337145073095114177637216548622161998196323977971680148768403666253636107677171038276175335394755384319730215684244743417913719593685500989
9960980934848954205027839136867370183441378876521547715378388802342027601499506556386963003897042163393531864846767972941545170293813207618762168328581309792325046496719834383116
5483656176635614854007247339314804915649272447289550429587911763698019186232534123239800896635280084785672623478813009285005088668908603898301893940663544458730255979682672284866
1025437665528020554611905745053015499469507431801824384895419066546689109153376281544227938268030174310552747783343194787704392485459609546944787150656427084711611033021801834701
1477579363818243353312154317802720631807767189506265786340802910558870594507673013719234238997697612738946102878496176859149573613257924642200151374758636673615375662634907253523
5754240416904623757887323261721905083248034239639122154718265231159896250685796973745694474617990634491998980823905878571896083149373497987541590160221862250042624353673647981339
8706976668457534672899862297102590862126879482469974834188374346879322463358617983717805775163203942856777286538646806980523945231124476800406810807471658939088632844398116576844
0206759609825106263041155617958839123711022472020391851470767600967838031633280968088366965017160088700422885301195147977828898472692914821636503682218461823387207792707668098791
1978696314641902306257370142449470115639241725796171942730823047003801497313131266936713973211071541996500869176047347521700262675876377540859900236183641239932867320524611772374
0977138398997803562399334780823521451459042170496731968211912476308460962781521775895352629733562185206567674293530730814551946970148627643596939797198419255391717633118540348684
6920890278052161168819433517230646723064155780599221015375096409350827820501013243309237733815542735658992221221043252226168479335875365574058122804682937120594815373313076456084
0866483988637114340356551174991055949195831992293483949568224601913840310709434653719544447090169358032693271316697448532852024015861129057616576444372719106539022655475180683117
9787626297491452101114005075422949014575215519528423621577953179236606244134800355074820411732237684655106158530328127761046730239544868685413491549627306810036189958422521449824
0474366591407304112999344707307297219237030914288056087840957711620494422384139713964296064987892192494016996202405850462346878242840029651151223846299526384216137212613560619946
1765379022572905550937684086897518024590073890235614730629468293893347848036254521467761395141880460217126500076957063108311248119778263426105205366593607188463186861895670143515
6883613532951640989893876022398758774787746155503323434916460332145883095530751666575028381596027932549568686907271937339397082403387473649654076036088133237012577006693109108242
0028790965276237564239045948772059927771192162026490884547298237351351611378751067207688333610716291140000933517744142868721371448769253847593793668086604244451105150624349828866
4419001984318619002354690128394599613742477432441096053586848019393520015789124628744694695360010792140389734740208018515048022389196773619060299287652741177044950283366473637119
66036870371444339537315507313468169624635440203347589115361029566464799264986100212826579322720806609769494803232800191619454684220988290765636501504
i'm fairly certain this can happen with any alpha numeric sting that
long, not just random numbers
** Affects: gnome-terminal (Ubuntu)
Importance: Undecided
Status: New
** Tags: gnome-terminal hang ubutnu
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-terminal in Ubuntu.
https://bugs.launchpad.net/bugs/1482465
Title:
Terminal can hang ubuntu if too long of a String is entered as a
command
Status in gnome-terminal package in Ubuntu:
New
Bug description:
This only appeared by mistake. i was generating large numbers with
Python, and accidentally hit CTRL-V, pasting the large line of
numerical data into my terminal window. Trying to exit out of the
data, i hit ENTER, where i thought i'd get a "Argument too long" or
some other error, it failed miserably trying to parse the code.
Output from lsb_release -rd:
Description: Ubuntu 15.04
Release: 15.04
Gnome-terminal version
gnome-terminal:
Installed: 3.14.2-0ubuntu3
Candidate: 3.14.2-0ubuntu3
Version table:
*** 3.14.2-0ubuntu3 0
500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
100 /var/lib/dpkg/status
What i expected to happen: not have Terminal parse that big of a
string. I had to generate a second example to record it, sine my
desktop hanged the first time. This new string was trimmed to 1/3rd of
it's size. Current size is 8205 Bytes. i t was generated using the
"Break Basic" While loop.
What happened: Terminal parsed the string, hung ubuntu. it's not like
i have little ram. i have 8 gigs and memtest checked out ok.
the data in question:
3272973471441111142765931618563958903043804881849168808369381269342237089821345250731847775075054672507924637116206963723698674675984661012062549461364582878982525093626025426924
4209142032135149111401825236948828709869286266048815220994216720935844325754048615330121139508687421576481362860209932853196702574941643703973571152980749763025232111208912912842
1303197378198752590786139159972448373116810055264000611464546696371660310366233399444117543702811511906199818165128100730460751511178936466180790498709896934060548144085844696010
6787994833120133918443981924129535654646997429472480722523306091252343465920084669798256991621927009372861133876986776314085463612523613726380801417914684379957400854435345342269
3686947240980156901499053255978758068907039854282449546577824870398014070516500456497073066277194394427021796216806213335110135668436374117720868672506429343937229414585979749624
2607858735721719956968744381841165292901648052651820874874971224276691853447553193412359201733091350488882983418341663558312235302994973785418193743676443264977977678866226292643
7896891654879549557230552789365072998117852212841339137727220646047884753878388787753637794489429290095768384545214409682591260854535709630339539663745386839331955609010880967727
0147100257623937473485127124398648561724721757065770167208189253080081390381401628043834839763358878990692334610603887302993930101643335197923917600035430305443357800422637001129
3089105805236637240918637743896771049682626755343098182038480172266234530740219967221128600269010379758623162371982359518250599655128052097295227729905922330519193296454707267764
6742406447761134818419142854390289776167197463992272974026356384732293573410438771745961290397114301708660774479162105729257795533757675015828739921698746414453640580666489277271
9865965420513029019161345647378010094961687791168673542242192274238206394613499981775699839038258706301808959644870568043354623359253561917997879153887689314191556527575059026691
1479484816528544748901282171330148329958450192970356051775696955762651569784037526079903832749626894281126208873041734222048391828925655880205644266800500133869760479166111881513
2542183624637655027004281079570876190376975408161333767149903964783360536246692841293365775580628014500633228491383503531672868428341209165934487199146718582544878110925345729169
1759305314325368124958028342160858957952352233266661391284038508376738500225052773335660138404624149104322565138015436041287116579880937615888600950984096746441589559678014898238
8626124353337549502428077535708489814378955612516539695284659069777183550463489954593183645665120007998808180000639185770921381128970813929731635898973387408587203241474615008526
4642039161917614855601422024523450986147462020426532653383392712422797008539358053905192616608741629261418238380493960583691589320450285765326488263507428904621194058206041526953
1959770001972465626150349114324014213241640592888947521187860888387559462405662504164246605947531835196238482659005707259831462691154631640269067597000839152887433091667371806331
3114897785203220472643465920818339594907900990206475483716134025100066913956368234375245198618886938577912115660195519844255613243045561811935055648089423176751375180826873600979
6361662319885518273874587266565533239409495860140492270015936115915877147220058115591080350855678135033017186510640610363651302992943145782306689086957292099061349324797695956352
2198725966999144457173082688144591452758285868773583253964772805187658186151352101544175239936402238497926877853998850468335261984053236271413642373015375433325106379637126675689
7831884149028560312406832182198842552247206836912097767086648936712692186767503877870153637219876719135829853873981001579520409755631389672101306549483717030000456503173611668788
9349976824915447498925301840382332310519177468597058739838867170290027414688906802529947861771462539152851428741528612523331454572574048930117665510505400677776710616123274525393
8171861304762416910891713226186826615243234828422015355026370772995219242586566347243276067985255051008516865895443124041437654493980815541453583750592484880853144998905422676888
1926769531893664741979813622090177159096431667803883008114223271062125760582341787325520357334050049039280308387308096893320399332963365053107581326457774104425492528739382467348
2576195646645125504593180266001162706532647339967005626800910764852913442187346685212224222180356075605842265370152393252967205897900014227670428346999656075327310161743037583063
8752178782976018637679019975921414466613769649283978333012753338851659022710922548858544258654902888940488476199519999010646861235004476367730902512282283282881018700620652862080
0334367438980750117262002871094563118706090809872044639533834306091606693368087533476364675559815477716227024061149597813041793511723081192348490604825887145466971370170467688961
0100563967196612589638152839625634092368337145073095114177637216548622161998196323977971680148768403666253636107677171038276175335394755384319730215684244743417913719593685500989
9960980934848954205027839136867370183441378876521547715378388802342027601499506556386963003897042163393531864846767972941545170293813207618762168328581309792325046496719834383116
5483656176635614854007247339314804915649272447289550429587911763698019186232534123239800896635280084785672623478813009285005088668908603898301893940663544458730255979682672284866
1025437665528020554611905745053015499469507431801824384895419066546689109153376281544227938268030174310552747783343194787704392485459609546944787150656427084711611033021801834701
1477579363818243353312154317802720631807767189506265786340802910558870594507673013719234238997697612738946102878496176859149573613257924642200151374758636673615375662634907253523
5754240416904623757887323261721905083248034239639122154718265231159896250685796973745694474617990634491998980823905878571896083149373497987541590160221862250042624353673647981339
8706976668457534672899862297102590862126879482469974834188374346879322463358617983717805775163203942856777286538646806980523945231124476800406810807471658939088632844398116576844
0206759609825106263041155617958839123711022472020391851470767600967838031633280968088366965017160088700422885301195147977828898472692914821636503682218461823387207792707668098791
1978696314641902306257370142449470115639241725796171942730823047003801497313131266936713973211071541996500869176047347521700262675876377540859900236183641239932867320524611772374
0977138398997803562399334780823521451459042170496731968211912476308460962781521775895352629733562185206567674293530730814551946970148627643596939797198419255391717633118540348684
6920890278052161168819433517230646723064155780599221015375096409350827820501013243309237733815542735658992221221043252226168479335875365574058122804682937120594815373313076456084
0866483988637114340356551174991055949195831992293483949568224601913840310709434653719544447090169358032693271316697448532852024015861129057616576444372719106539022655475180683117
9787626297491452101114005075422949014575215519528423621577953179236606244134800355074820411732237684655106158530328127761046730239544868685413491549627306810036189958422521449824
0474366591407304112999344707307297219237030914288056087840957711620494422384139713964296064987892192494016996202405850462346878242840029651151223846299526384216137212613560619946
1765379022572905550937684086897518024590073890235614730629468293893347848036254521467761395141880460217126500076957063108311248119778263426105205366593607188463186861895670143515
6883613532951640989893876022398758774787746155503323434916460332145883095530751666575028381596027932549568686907271937339397082403387473649654076036088133237012577006693109108242
0028790965276237564239045948772059927771192162026490884547298237351351611378751067207688333610716291140000933517744142868721371448769253847593793668086604244451105150624349828866
4419001984318619002354690128394599613742477432441096053586848019393520015789124628744694695360010792140389734740208018515048022389196773619060299287652741177044950283366473637119
66036870371444339537315507313468169624635440203347589115361029566464799264986100212826579322720806609769494803232800191619454684220988290765636501504
i'm fairly certain this can happen with any alpha numeric sting that
long, not just random numbers
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1482465/+subscriptions
Follow ups