Summary: | crash when trying to configure stdin datasource | ||
---|---|---|---|
Product: | [Applications] kst | Reporter: | Timo Lindfors <timo.lindfors> |
Component: | general | Assignee: | kst |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | 1.7.0 | ||
Target Milestone: | --- | ||
Platform: | Debian unstable | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Timo Lindfors
2010-06-11 10:50:58 UTC
SVN commit 1137142 by arwalker: BUG:241394 cleanup several underlying problems with the stdin data source M +17 -3 datasources/ascii/ascii.cpp M +8 -3 kst/main.cpp M +6 -1 libkst/kstdatasource.cpp M +1 -0 libkst/kstdatasource.h M +5 -0 libkst/stdinsource.cpp M +1 -0 libkst/stdinsource.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1137142 Does this need to be applied to kst 2.x as well? Please reopen. Now even step 1 fails: $ while true; do echo $RANDOM; sleep 1; done | src/kst/kst -y 1 stdin kst: ERROR: No data in file stdin. Trying to continue... and using a temporary file does not help: $ while true; do echo $RANDOM; sleep 1; done > a $ head a 31215 25986 25817 $ src/kst/kst -y 1 stdin < a kst: ERROR: No data in file stdin. Trying to continue... This was by design. When kst first tries to read the temp file it will be empty and so an error was reported. I've removed the error reported on stdout, and changed the error message in the debug log to a warning message. Beyond that the data is displayed as expected. Andrew ----- Original Message ----- From: "Timo Lindfors" <timo.lindfors@iki.fi> To: <kst@kde.org> Sent: Monday, June 14, 2010 1:25 AM Subject: [Kst] [Bug 241394] crash when trying to configure stdin datasource > https://bugs.kde.org/show_bug.cgi?id=241394 > > > > > > --- Comment #3 from Timo Lindfors <timo lindfors iki fi> 2010-06-14 > 10:25:36 --- > Please reopen. Now even step 1 fails: > > $ while true; do echo $RANDOM; sleep 1; done | src/kst/kst -y 1 stdin > kst: ERROR: No data in file stdin. Trying to continue... > > and using a temporary file does not help: > > $ while true; do echo $RANDOM; sleep 1; done > a > $ head a > 31215 > 25986 > 25817 > $ src/kst/kst -y 1 stdin < a > kst: ERROR: No data in file stdin. Trying to continue... > > -- > Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You are the assignee for the bug. > _______________________________________________ > Kst mailing list > Kst@kde.org > https://mail.kde.org/mailman/listinfo/kst > Hmm? But "head a" printed lines so surely the input file "a" was not empty? |