/srv/irclogs.ubuntu.com/2010/09/29/#ubuntu-bugs.txt

bcurtiswxvish, present?00:25
bcurtiswxanyone with admin to the bugsquad mentorship program please remove samwell from the program.. he requested from e-mail to me00:30
charlie-tcabcurtiswx: done00:36
charlie-tcabcurtiswx: thanks for letting us know00:37
bcurtiswxcharlie-tca, thanks :)00:38
charlie-tcaYou are welcome00:39
=== ivoks is now known as ivoks-afk
drizzleguys02:52
drizzlewhat do we do for something like kerneloops bug reports02:52
drizzleanyone in the chat?02:55
micahgsure02:55
* micahg hides from kernel bug reports02:55
drizzlesry02:55
drizzleempathy wwas hiding the participant list02:55
drizzlesaw that on sd or something03:01
drizzlethe g series mice feel like shit03:01
drizzleinmo03:01
drizzlein mo03:01
drizzlei like the mx series03:01
drizzlethat one might be better03:01
drizzlebut they have buttons in stupid places03:01
drizzleon some of the g series03:01
drizzleover buttons03:01
drizzletoo many buttons03:01
micahgdrizzle: https://wiki.ubuntu.com/DebuggingKernelOops03:01
drizzlei just bought a used mx51803:01
drizzleoh shit03:01
drizzlewrong window03:01
drizzlemeant to hit a chat03:01
drizzlesry drizzle03:01
drizzlei mean sry micahg03:02
drizzlenew to empathy03:02
charlie-tcawe triage them with difficulty. Never mark them duplicates03:02
=== ubuntuplus1cj is now known as cjae
intraderI am running this irc client from ubuntu 10.10 beta. A lot of the problems reported in bug 631130 seem to be better. Still testing.04:23
ubot2Launchpad bug 631130 in opensuse (and 3 other projects) "In all apps, slow UI since 10.04 install (affects: 2) (dups: 1) (heat: 20)" [Undecided,Invalid] https://launchpad.net/bugs/63113004:23
TakyojiSo I take it that /dev/mixer was removed in 10.10?05:19
rusiviRegarding bug 377364 I could not confirm the error message in either Jaunty or Maverick. Mark Fix Released Jaunty with stock response?05:33
ubot2Launchpad bug 377364 in eucalyptus (Ubuntu Karmic) (and 2 other projects) "package eucalyptus-nc 1.5~bzr266-0ubuntu2 failed to install/upgrade: subprocess post-installation script returned error exit status 1 (affects: 3) (dups: 2) (heat: 6)" [High,Fix released] https://launchpad.net/bugs/37736405:33
rusiviInstalled in both, error message mentioned did not occur.05:34
rusivicannot edit status anyways moving on05:39
micahgrusivi: we mark invalid if we can't confirm and it was never confirmed05:45
micahgrusivi: it's an upgrade bug, have you tried installing and then upgrading that package?05:46
micahghmmm, no -updates to test with :(05:47
micahgrusivi: I'd close with the no response stock reply at this point, unless we get some feedback, it probably wont' be SRU'd and a year later, the reporter most likely doesn't care05:48
rusivimicahg: I am not allowed to toggle the status b/c I'm not maintainer.05:53
rusivino big deal05:53
micahgrusivi: you can't change fix released, but you should be able to change incomplete05:53
rusivimicahg: I got denied on the incomplete for Jaunty05:53
micahgthat must be new05:53
rusivihehe no offense taken here.05:53
rusivino big deal05:54
* micahg wonders if it's a bug05:54
micahgrusivi: so, I'll add the stock response then05:54
rusivimicahg: sounds good to me05:55
AbhiJitbye05:55
micahgrusivi: you can mark it on the hugday page if you want05:55
rusivimicahg: what is a hugday page?05:56
micahgor I can do that too05:56
micahghttps://wiki.ubuntu.com/UbuntuBugDay/2010093005:56
micahgoh, it's not on it05:56
rusivihugday = bugday sorry I got it now05:57
rusivi*rusivi wishes this was skype... :D)05:57
micahgwhy?05:58
rusiviI'm jk'ing, I am partial to Skype that's all. IRC is cool too05:59
wasnikhi guys alsa does not work for me. ubuntu does not detect any of my soundcards06:12
micahg!support | wasnik06:12
ubot2wasnik: The official ubuntu support channel is #ubuntu. Also see http://ubuntu.com/support and http://ubuntuforums.org06:12
wasnikso what is this channel about06:13
wasniki felt u guys help on bugs06:13
micahgwasnik: we help triage and file bugs06:13
micahgwasnik: #ubuntu can help you see if you have a bug or not, if you do, we can help you file it06:14
rusivibug 377632 Just installed it in Jaunty, did not crash.06:29
ubot2Launchpad bug 377632 in schism (Ubuntu Jaunty) (and 1 other project) "Crash with "stack smashing detected" at start (affects: 3) (dups: 1) (heat: 15)" [Undecided,New] https://launchpad.net/bugs/37763206:29
rusiviDid not crash after opening the program.06:29
micahgrusivi: I'd say we need more information from the user, maybe an ldd output on the binary?06:32
micahgperhaps a local library was causing issues06:32
rusivimicahg: what is ldd output on the binary?06:33
micahgrusivi: output of: ldd /usr/bin/schism06:34
rusivity06:36
rusivijust checkin the man page on that one06:36
enavhi guys... I'm using Linux/ubuntu+eclipse+xdebug to debug my php code...  actually i can see variables in the global scope, but when i try to see variables inside functions they just show empty values... I'm surfed Internet about 2 hour looking for a solution with out success... any suggestion???08:42
micahgenav: try #ubuntu-server or an eclipse channel maybe08:43
micahgoops08:43
micahgenav: maybe not #ubuntu-server, but this certainly isn't the right place08:43
micahgenav: maybe #pdt08:44
enavcool08:44
algnod_jibel, i am looking at Bug #650973 it is one of those bugs that magically happen and cant be reproduced consistently, what do i do? thanks.10:44
ubot2Launchpad bug 650973 in firefox (Ubuntu) "Tabs in Firefox close when selected.. (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/65097310:44
* jibel reading the bug10:44
jibelalgnod_, that's weird. micahg have you already seen that kind of behavior ? ^10:48
jibelalgnod_, I'd ask him to create a new profile a see if it still occurs.10:49
jibels/a/and10:49
jibelalgnod_, if he's unable to reproduce it in a reliable way that's hard for a developer to work on a fix.10:50
algnod__true, but what happens to the bug report, do you just mark it as invalid?10:51
algnod__jibel, true, but what happens to the bug report, do you just mark it as invalid?10:52
jibelalgnod_, no ask him to try with a new profile and set it to incomplete, we don't know if it's a user error or a real bug, or a plugin causing the crash.10:52
jibelalgnod_, there's maybe something in .xsession-errors, you can ask him to attach this file next time it's happening10:52
jibelalgnod__, there's maybe something in .xsession-errors, you can ask him to attach this file next time it's happening10:53
algnod__jibel, dumm question, what is  a "new profile"?10:53
jibelalgnod__, it's an empty firefox profile, that means no plugin, no theme, no nothing, it creates a clean firefox session.10:54
jibelalgnod__, there is a specific documentation for firefox at https://wiki.ubuntu.com/MozillaTeam/Bugs10:55
algnod__jibel, thanks I will take a look at that10:55
jibelalgnod__, you can manage the firefox profile with "firefox -ProfileManager", be careful to not delete your current profile10:56
AbhiJithi11:03
algnod__jibel, I could easily reproduce Bug #650993 could you take a look at it and mark it as triaged? thanks11:30
ubot2Launchpad bug 650993 in gnome-games (Ubuntu) "Game crashes when mouse pointer moved outside its window (affects: 2) (heat: 12)" [Undecided,Confirmed] https://launchpad.net/bugs/65099311:30
AbhiJithi11:33
AbhiJitthis bug is still there in my updated lucid. but tehy say that they have fixed it11:33
AbhiJithow is that?11:33
AbhiJithttps://bugs.launchpad.net/ubuntu/+source/freecol/+bug/60950311:33
ubot2Launchpad bug 609503 in freecol (Debian) (and 1 other project) "freecol crashes after some playing (affects: 1) (heat: 113)" [Unknown,Fix released]11:33
yofelAbhiJit: it's fixed in maverick, not in lucid11:38
jibelalgnoed__, This looks like a duplicate of bug 574876. You can see that by comparing the backtrace in comment #411:38
ubot2Launchpad bug 574876 in gnome-games (Ubuntu) (and 1 other project) "swell-foop segfaults with error 4 in libclutter-glx-1.0.so.0.200.4 (affects: 17) (heat: 94)" [Low,Triaged] https://launchpad.net/bugs/57487611:38
jibelalgnod__, ^^11:38
AbhiJityofel, :'(11:38
yofelAbhiJit: you would either have to identify the fix for the problem and to a SRU, or what would be easier maybe request a backport11:39
AbhiJityofel, i wll wait for freecol's next version11:40
jibelalgnod__, you were disconnected, in reply to your last comment I said "This looks like a duplicate of bug 574876. You can see that by comparing the backtrace in comment #4"11:40
ubot2Launchpad bug 574876 in gnome-games (Ubuntu) (and 1 other project) "swell-foop segfaults with error 4 in libclutter-glx-1.0.so.0.200.4 (affects: 17) (heat: 94)" [Low,Triaged] https://launchpad.net/bugs/57487611:40
algnod__jibel, thanks, how did you know it was a duplicate, did you do a search or were you aware of the other bug?11:41
jibelalgnod__, I usually search for duplicate using google. It's far more efficient than LP text search11:43
jibelalgnod__, You can query google with something like "site:launchpad.net swell-foop"11:43
jibelalgnod__, In this case there is a bt so it's even easier with "site:launchpad.net swell-foop /usr/lib/libclutter-glx-1.0.so.0"11:44
=== badipod is now known as ldunn
=== zyga is now known as zyga-cold
skeebyhey all15:28
skeebyanyone participating in hugday tomorrow?15:28
charlie-tcayes15:33
charlie-tcaskeeby: sure, it all happens right here, too!15:34
skeebytomorrow is my first15:34
skeebyi just joined the community15:34
charlie-tcaGreat! Welcome aboard15:34
skeebylooking forward to getting involved =)15:34
charlie-tcaIt is a great way to help out. We can always use help with bugs15:34
skeebyoh yeah15:35
skeebyis there anything i should do to get prepared?15:35
skeebyive read over and signed the code of conduct, read the triage guide, and im on the mailing list for bugsquad15:36
persiaskeeby, You might want to try triaging a few random bugs just to get a feel for the procedures in practice.15:37
persiaAsk here when you're unsure.  But things can get fast or busy during hug days, so sometimes it's harder to get targeted assistance.15:37
skeebyyeah i thats why i figured id get prepared today15:38
skeebyi havent triaged any bugs yet, but ive came across a few of my own after installing 10.10 earlier this week, and provided some feedback on the bugreports that were already listed15:39
charlie-tcaskeeby: this is great information - https://wiki.ubuntu.com/HelpingWithBugs15:41
skeebyim actually looking at that right now15:42
skeebythere was a page i came across yesterday i think that had like 99 hot bugs that have yet to be triaged15:43
skeebydoes that ring a bell?15:43
persiaskeeby, Join #ubuntu-bugs-announce: new bugs show up there, and you can grab one that looks interesting.15:45
persiaExisting lists have probably already been gone over a couple times, so those may be harder.15:45
charlie-tcaI don't which page that was, but here is tomorrows - https://wiki.ubuntu.com/UbuntuBugDay/2010093015:46
micahgjibel: a middle click can close a tab, so an accidental middle click maybe15:49
jibelmicahg, right, I was thinking about a user error too.15:50
skeebyok so i am setting up my tools right now for bugday, and i have to configure postfix15:55
skeebyive never used it before, do i wanna just setup my gmail acct with it?15:56
skeebyi feel like an utter noob asking this...15:57
charlie-tcaI don't use postfix15:59
skeebydang16:00
skeebyit was part of the qa tools package i downloaded16:00
skeebywhen postfix asks for a system mail name, do i just create my own or is this something i need to find somehwere16:06
charlie-tcausually the domain name used by you16:08
hggdhskeeby: why would you need postfix? Are you hosting your own email system?16:08
skeebyno but it was part of the hugday tool package16:09
skeebyif i dont need to use it even better =p16:10
micahghggdh: postfix is pulled in automatically by devscripts by default now I think16:10
hggdhmicahg: oh. I guess never noticed ;-)16:11
skeebyif its something that is useful for bugs then id like to set it up if it helps16:11
micahghggdh: you probably had it installed already ;)16:11
skeebybut alas ive never used it16:11
hggdhyep16:11
micahg(devscripts I mean)16:11
hggdhskeeby: configure it for local delivery16:12
hggdhand forget the rest, until you *really* have time to read the docs on it16:12
skeebydang16:12
skeebyso setting it for local only, the system mail name can be whatever i want then right?16:13
jibelskeeby, or install a nullmailer like nullmailer or ssmtp before installing devscripts.16:14
jibelpostfix is pulled by bsd-mailx.16:14
bcurtiswx_vish, present?16:16
bcurtiswx_vish, charlie-tca: my other mentee Timmy has also requested to be withdrawn from the mentorship program.  Could you please do so?16:17
charlie-tcasure16:17
bcurtiswx_charlie-tca, much thanks16:17
charlie-tcaYou are welcome16:17
hggdhskeeby: you already installed postfix, or are you still installing it?16:18
skeebyi downloaded the dev packages but im at the config screen for it right now16:18
skeebysince ive never used it i figured itd be a good idea not to try and configure it till i know what im doing =p16:18
hggdhok. give it your computer's name16:19
skeebythank you16:21
skeebysince im new, do u guys suggest signing up for the mentorship program?16:22
skeebysomeone i throw all my noob questions to =p16:22
hggdhskeeby: you can, of course. But you can also ask here (which we actually like -- your questions and our answers may help others)16:31
hggdhpretty much like what we are doing now16:31
skeebyawesome thank you16:32
skeebyive got some errands i need to run now but ill be back later to triage some bugs for the first time16:33
pedro_in case you didn't hear about it http://marjomercado.wordpress.com/2010/09/29/ubuntu-kernel-community-bug-day-tuesday-5-october-2010/16:55
pedro_let's make JFo happy ;-)16:55
charlie-tcahuh?16:59
charlie-tcaYay! Thanks, pedro_17:00
JFo:)17:07
vishbcurtiswx_: haha! i was waiting for you to be freed!17:13
* vish finds new students17:13
=== JanC_ is now known as JanC
* bcurtiswx_ turns on his freenode cloak17:29
* bcurtiswx_ is now knows as SpaceWX17:30
=== deryck is now known as deryck[lunch]
=== ivoks-afk is now known as ivoks
vishbcurtiswx_: incoming!!!!17:43
* bcurtiswx_ avoids gmail :P17:43
vishhehe!17:46
devildanteall right vish, you rock at bug day triaging! :)17:47
vish:)17:47
* vish well, just trying to do half as much as devildante 17:48
* devildante is confused, he didn't triage any jaunty bugs for now :p17:48
* charlie-tca thinks vish knows what is coming though17:49
vishdevildante: exactly!  once you start no one will have any left !17:49
devildantehaha17:49
devildanteI'm not as much available as I was in the Ubuntu Translations hug day :p17:50
* devildante thinks libreoffice git takes a while to be downloaded...17:52
devildantedon't want to know how much time it will take to build :p17:52
vishhmm , where are the help documentations usually stored ?18:19
vishha!18:19
devildantehaha!18:20
devildante(.... where is it?)18:20
vishfound them, they can run but they cant hide!18:20
vish /usr/share/gnome/help18:20
devildante\o/18:20
bcurtiswx_LOL --> lots of laughter :P18:20
devildanteLOL = Lots of LOL :p18:20
vishheh, i just had to dpkg -L pckg  and check where the files were installed and it revealed everything ;p18:24
vishthe min i hit enter on irc i got the thought, i was searching for 15mins before that!18:25
bilalakhtarWhy are the folks laughing here?18:25
vishbilalakhtar: i think no one knew you were here! ;p18:26
* bilalakhtar wishes to know the cause of the laughter, since the topic started before he came18:26
devildantebilalakhtar: the only line you missed was: "hmm , where are the help documentations usually stored ?"18:27
bilalakhtarokay18:27
vishhmm.. looks like a lot of folks dont hide the join/part messages!  o.018:28
devildantewhy would you want to hide them? they can detect menaces :p18:29
vishdevildante: i never know when someone enters or leaves..  like i dint know what bilalakhtar missed …18:29
vishit just seems like a lot of scrolling, and i'm too lazy ;p18:29
bilalakhtarhmm18:29
bilalakhtarI like to see people joining and leaving channels18:29
bilalakhtarso that I can monitor activity on my _own_ channels18:30
devildanteyou have *your* channels?18:30
bilalakhtardevildante: yup18:30
bilalakhtardevildante: #ubuntu-sa, #gnome-media-player18:31
bilalakhtardevildante: you just joined and left #ubuntu-sa18:31
devildanteI'm not in Saudi Arabia to stay :p18:31
bilalakhtaryup, I know18:31
* bilalakhtar hates spam on ubuntu-* mailing lists18:32
devildantewow, did someone here ever try to build libreoffice/openoffice? I'm still at the download part :p18:32
* bilalakhtar tries to stay away from that18:33
charlie-tcaI try not to do that kind of thing, too18:33
=== deryck[lunch] is now known as deryck
AbhiJitbye18:49
yofelwth's up with apport? crash bug that's missing the crash... bug 52473019:17
ubot2Launchpad bug 524730 in apport (Ubuntu) "apport-gpu-error-intel.py crash on startup (affects: 3) (heat: 28)" [Undecided,New] https://launchpad.net/bugs/52473019:17
charlie-tcaQA meeting in #ubuntu-quality in 15 minutes19:45
devildantecharlie-tca: if you have something that I need to talk on, please make me first, 'cause I might leave the meeting halfway19:46
charlie-tcaI am not chairing today19:46
rusiviWas doing a little dusting on bug 24874 and while I am not a Perl guru, it would be nice to keep the way things are but with the option to alias hostname to something 127.0.0.119:47
ubot2Launchpad bug 24874 in gnome-system-tools (Ubuntu) (and 1 other project) "[network-admin] aliases hostname to 127.0.0.1 unconditionally (heat: 17)" [Medium,Incomplete] https://launchpad.net/bugs/2487419:47
rusivisomething 127.0.0.1 = something other than 127.0.0.119:47
charlie-tcaWhile it is automatically assigned to 127.0.0.1, the user is free to add another hostname line, with any address desired.19:48
charlie-tca( I add 127.0.1.1 to all of my systems, with the same hostname as 127.0.0.1 )19:49
rusiviIf I may be so bold, it seems like OP misunderstanding?19:50
rusiviIt seemed that he was GUI-driving the issue and expecting a tailored, macro script response...19:51
charlie-tcadevildante: pedro is back, he will cover the bug day, normally19:51
rusivicharlie-tca: i'll have to review it more carefully, ty for responding.19:53
charlie-tcaYou are welcome19:53
charlie-tcarusivi: I did not read the bug report.19:53
charlie-tcaI just went from the title. It is necessary to have at least one address assigned to the hostname that remains constant for the operating system to work correctly. 127.0.0.1 was chosen because it is a local only address.19:55
njinpedro_: hello fellow, yesterday and today i'm testing, no bugs, your request at https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/64895920:04
ubot2Launchpad bug 648959 in nautilus (Ubuntu) "Remove is grayed out for many entries in open with application (affects: 3) (heat: 16)" [Low,Confirmed]20:04
pedro_njin, thanks20:04
rusivibug#648959 looks WINE related, we may want to "affect project" -> WINE?!20:14
yofelbug 64895920:15
ubot2Launchpad bug 648959 in nautilus (Ubuntu) "Remove is grayed out for many entries in open with application (affects: 3) (heat: 16)" [Low,Confirmed] https://launchpad.net/bugs/64895920:15
rusiviI have noticed the same thing using WINE in the past20:15
njinrusivi, no is not wine, is general20:16
pedro_njin, btw those are two bugs20:16
rusivinjin I am claiming (perhaps ignorantly) that the phenomenon quoted in bug 648959 is caused by WINE20:17
ubot2Launchpad bug 648959 in nautilus (Ubuntu) "Remove is grayed out for many entries in open with application (affects: 3) (heat: 16)" [Low,Confirmed] https://launchpad.net/bugs/64895920:17
pedro_one is the multiple instances of applications listed there which is a bug in the application20:17
pedro_and the other is the remove button grayed out20:17
pedro_but those are two separates issues and not related at all20:17
njinops, yes i've remembered only the grayed romve button20:18
njin*remove20:18
pedro_njin, could you perhaps edit it to just track the remove button being disabled there?20:18
pedro_njin, as me and rusivi said previously the other issue is related to the apps20:19
njinyes , every duplicated apps20:19
rusivipedro_ np20:19
rusivi:D20:19
pedro_indeed20:20
pedro_thanks njin rusivi20:20
njinpedro_: how can i track that the remove button don't work20:20
pedro_njin, you might want to open a bug upstream for that20:34
pedro_njin, probably is due to not having the rights to remove the applications listed there or something20:34
njini try with sudo20:36
njinnothings to do with sudo nautilus, the button doesn't work20:40
njinpedro_: can we see toghether this bug tomorrow ?, now i've to run anothers three install test and is late here.20:46
pedro_njin, sure, just ping me later20:47
njinok, see tomorrw20:48
njingood night20:48
pedro_see you :-)20:49
bcurtiswx_vish, you only listed one mentee for me on the mentors wiki20:49
intraderI ran into (in 10.10) with a security blunder - when you mount fat volumes, you allow .COM, .BAT, and .EXE files to be executable.21:13
persiaintrader, That's semi-intentional, and not enabled by default.21:15
intraderI know, formerly all fat files were executable, but come on, .EXE, .COM, are executable on X86 architectures. Security problem - tell the iranians with their mossad worm21:15
persiaI don't believe WINE yet has sufficient support for most malware, but if it does, and you work with compatible executables, you'll need the same malware detection stuff you'd need in the environment that you're approaching.21:16
intraderpersia, nothing to do with WINE. Just mount a fat volume21:17
persiaFeel free to file a bug if you like.  I don't think there's value in it bring private, but you could get more formal feedback from the security team.21:17
persiaintrader, Doesn't most malware rely on some libraries?21:17
intraderpersia, no, some do. Is there a list for security?21:18
keesintrader: you can easily disable it, but this is a step forward. as persia said, _everything_ was executable before, including exe/com/bat21:18
yofelkees: disable it? how? last time I looked at it showexec was hardcoded in udisks (or I'm too blind to find the setting to override it)21:19
intraderkees, a wrong step forward in my opinion. When a fat is mounted you should then change files with the hash command as first line, to executable would be a solution21:19
persiakees do you highlight on "security" or are you just omniscient?21:20
intraderpersia, no I am just observant21:20
keesintrader: you can't change the perms on a CDROM21:21
keespersia: yeah, I highlight on security :)21:21
keesyofel: lack of configuration on this certainly seems like a problem.21:22
pntanyone running 10.04 that can help me confirm a bug in scanf?21:23
persiapnt, Do you have a simple test program demonstrating it?21:23
pntyeah, hold on21:23
intraderkees, persia, yofel: what's going on? yofel, it looks like I took a step into a beehive21:23
pntint main(int argc, char *argv) { char *buf; scanf("%as", &buf); printf("%s\n", buf); return 0; }21:24
persiaExpected?  Actual?21:24
intraderkees, sorry, not when you mount, when open occurs.21:25
keesintrader: it's part of a long discussion, yes. basically, vfat via CDROM aren't executable. but Wine folks want to be able to run them.21:25
keesintrader: without Wine, those programs are pretty meaningless, so it's not a big deal if you don't have Wine. if you do, well, it's just like anything else, don't run binaries you don't trust.21:26
persiapnt, I get some warnings during compilation, but it seems to do what it says on the box.21:26
pntpersia, i expect it to allocated a string and store the result21:26
persiakees, I think intrader's point is that if one has an executable .COM that requires no libraries (pure machine code), and one attempts to execute it, it might execute.21:26
keespersia: right, but that's no different than inserting an ext3 usb stick that has exec perms21:27
intraderkees, to watch out for binaries you don't trust makes sense, but for the system to make .COM and .EXE executable, well that is another thing21:27
persiakees, Absolutely.21:28
persiaintrader, The trick is a balance between helping the user not shoot themselves in the foot and allowing them to trim their toenails with firearms.21:28
intraderpersia, you are right. The problem arouse when I copied a shell file to execute smalltalk's pharo, and in 10.10 it no longer works because .sh files are not executable in the context menu (in fact in 10.10, it offers no context option to 'Open' a shell file)21:30
pntanyone running 10.04 with  libc6-i686 2.11.1-0ubuntu7.2 ??21:30
pntplease message me if you are running said config and can help confirm a bug in scanf21:31
keespnt: I can be; what's the output you get?21:31
pntkees: see priv msg21:32
keespnt: let's stay here, in case other people want to join in. :)21:33
keespnt: it works fine for me.21:33
pnt#include <stdio.h>21:33
pnt#include <stdlib.h>21:33
pnt#include <errno.h>21:33
pnt#include <unistd.h>21:33
pntint main(int argc, char *argv)21:33
pnt{ char *buf; scanf("%as", &buf); printf("%s\n", buf); return 0;21:33
pnt}21:33
pnttry to run that21:33
pntyou should be able to type a string and have it printed back21:34
keespnt: right, it works fine for me.21:34
keespnt: what behavior are you seeing?21:34
yofelworks fine without the #includes, but with them I get garbage back21:34
pntwhat does it look like if you do ldd on the a.out?21:34
pntim getting crap back21:35
intraderyofel, nothing has bee assigned to buf21:35
pntlet me try it without the includes21:35
pntyeah, works without the includes21:35
yofelintrader: shouldn't scanf assign it? (I don't have much c experience..)21:35
keespnt: you're not checking the result of the scanf21:35
pnti'll see what one is screwing it up21:36
keeshttp://paste.ubuntu.com/502844/21:36
yofelstdio.h is messing it up21:36
intraderyofel, I am not sure of this, but argv should be assigned to buf.21:36
pntyeah, stdio21:36
keespnt: compile with -Wall21:36
yofelintrader: the app reads from stdin, not the parameters21:37
intraderI have not done C in 20 years at least21:37
pntyeah, see that, fixed it21:37
pntstdio is still messing it up though21:37
yofelkees: what's '#define _GNU_SOURCE' btw?21:40
BUGabundoevening21:40
yofelhey BUGabundo21:40
keesyofel: makes all the extra fun things in glibc available21:41
keesyofel: it's just part of my standard boiler plate21:41
keespnt: can you pastebin the program you're using that breaks?21:42
pntkees: #define _GNU_SOURCE fixes it21:42
keespnt: the "real" cause is the lack of return code checking on the scanf call :)21:42
keespnt: without _GNU_SOURCE this happens if you check the return:21:43
kees$ ./scanf21:43
keeshello21:43
keesDid not read a string21:43
pnthttp://pastebin.com/scMeLttb21:43
pnti agree about the error checking and all, but it shouldn't be failing :)21:43
pnthttp://pastebin.com/UCEUrgzy21:46
pntwith the error checking21:46
keespnt: the "a" is a GNU extension.22:04
* yofel completely missed the a..22:08
=== yofel_ is now known as yofel

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!