Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
This post has been edited 1 times, last edit by "horchi" (Dec 16th 2008, 7:34am)
This post has been edited 2 times, last edit by "gda" (Dec 17th 2008, 7:48pm)
Quoted
Original von Taipan
Erster!
. |
|
Source code |
1 2 |
terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::erase |
|
|
Source code |
1 2 3 |
Dec 15 16:04:29 vdr: [6097] starting plugin: graphtft Dec 15 16:04:29 vdr: [6097] Device is '/dev/fb0'Dec 15 16:04:29 vdr: [6097] Loading themes Dec 15 16:04:29 vdr: [6097] loading /etc/vdr/plugins/graphTFT/themes/DeepBlue/DeepBlue.theme |
This post has been edited 2 times, last edit by "horchi" (Dec 15th 2008, 4:26pm)
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::erase Program received signal SIGABRT, Aborted. [Switching to Thread 47902426210064 (LWP 5561)] 0x00002b9126a45535 in raise () from /lib64/libc.so.6 (gdb) bt #0 0x00002b9126a45535 in raise () from /lib64/libc.so.6 #1 0x00002b9126a46990 in abort () from /lib64/libc.so.6 #2 0x00002b912636eaf4 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib64/libstdc++.so.6 #3 0x00002b912636cc36 in std::set_unexpected () from /usr/lib64/libstdc++.so.6 #4 0x00002b912636cc63 in std::terminate () from /usr/lib64/libstdc++.so.6 #5 0x00002b912636cd4a in __cxa_throw () from /usr/lib64/libstdc++.so.6 #6 0x00002b912630abd7 in std::__throw_out_of_range () from /usr/lib64/libstdc++.so.6 #7 0x00002b912634d988 in std::string::erase () from /usr/lib64/libstdc++.so.6 #8 0x00002b912742cb15 in cThemeItem::Parse (this=0x2aaaacfa4980, s=0x2aaaacf9fef0 "#define MOUSE_BUTTONS") at theme.c:445 #9 0x00002b91274342ae in cConfig<cThemeItem>::Load (this=0x2aaaacf9f650, FileName=0x2aaaacf9f5d0 "/etc/vdr/plugins/graphTFT/themes/avp/avp.theme", AllowComments=false, MustExist=false) at ../../../include/vdr/config.h:181 #10 0x00002b912742e22e in cGraphTFTTheme::load (this=0x2aaaacf9f650, path=0x2aaaacf9f5d0 "/etc/vdr/plugins/graphTFT/themes/avp/avp.theme") at theme.c:1612 #11 0x00002b91273fa992 in cPluginGraphTFT::loadThemes (this=0x747de0) at graphtft.c:380 #12 0x00002b91273fb20e in cPluginGraphTFT::Start (this=0x747de0) at graphtft.c:320 #13 0x000000000049e073 in cPluginManager::StartPlugins (this=<value optimized out>) at plugin.c:363 #14 0x00000000004cf0dd in main (argc=<value optimized out>, argv=<value optimized out>) at vdr.c:908 |
|
|
Source code |
1 |
"cThemeItem::Parse (this=0x2aaaacfa4980, s=0x2aaaacf9fef0 "#define MOUSE_BUTTONS") at theme.c:445" |
Quoted
Original von tobi_w
Hallo!
Vielen Dank für das Plugin.
Ich nutze es zum ersten mal und es funktioniert auch alles einwandfrei.
Wie sieht es mit dem Zusammenspiel von muggle und graphtft aus?
Der Titel und die Zeit werden dargestellt, aber leider keine Playlist.
Gruß
Tobi
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
Program received signal SIGABRT, Aborted. [Switching to Thread 47444318330640 (LWP 7029)] 0x00002b267d48d535 in raise () from /lib64/libc.so.6 (gdb) up #1 0x00002b267d48e990 in abort () from /lib64/libc.so.6 (gdb) up #2 0x00002b267cdb6af4 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib64/libstdc++.so.6 (gdb) up #3 0x00002b267cdb4c36 in std::set_unexpected () from /usr/lib64/libstdc++.so.6 (gdb) up #4 0x00002b267cdb4c63 in std::terminate () from /usr/lib64/libstdc++.so.6 (gdb) up #5 0x00002b267cdb4d4a in __cxa_throw () from /usr/lib64/libstdc++.so.6 (gdb) up #6 0x00002b267cd52bd7 in std::__throw_out_of_range () from /usr/lib64/libstdc++.so.6 (gdb) up #7 0x00002b267cd95988 in std::string::erase () from /usr/lib64/libstdc++.so.6 (gdb) up #8 0x00002b267de74b15 in cThemeItem::Parse (this=0x2aaaacfa4990, s=0x2aaaacf9ff00 "#define MOUSE_BUTTONS") at theme.c:445 445 lineBuffer.erase(posA); Current language: auto; currently c++ (gdb) p posA be37db06359ddad730329c3ea314513dcb883f4b = 4294967295 |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 |
// skip line and inline comments
if ((posA = lineBuffer.find("//")) != string::npos)
{
+ tell(0, "DEBUG: (%d) (%d)", posA, string::npos);
lineBuffer.erase(posA);
if (Str::isBlank(lineBuffer.c_str()))
return true;
}
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
[graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT:terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::erase 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (0) (-1) [graphTFT: 20:30:55] DEBUG: (-1) (-1) ./vdrtest.sh: line 3: 6095 Abgebrochen ./vdr -L PLUGINS/lib -c /etc/vdr -Pfemon -P'graphtft -d /dev/fb0' |
|
|
Source code |
1 2 3 4 5 6 7 8 |
if ((posA = lineBuffer.find("//")) != string::npos)
{
+ tell(0, "DEBUG: Found comment in [%s] (%u) (%u)", lineBuffer.c_str(), posA, string::npos);
lineBuffer.erase(posA);
if (Str::isBlank(lineBuffer.c_str()))
return true;
}
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
[graphTFT: 20:46:59] DEBUG: Found comment in [//***************************************************************************] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [// Theme - Informationen:] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [//] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [// Alien vs. Predator Theme made by data] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [// Based on DeepBlue Theme from horchi] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [// and Buttons from poetter Theme] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [// Used graphTFT Font and graphTFT >= 0.3.0] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [//] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [// Dieses Theme ist optimiert f’r Displays mit 800x600 Aufl’sung] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [//] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [//***************************************************************************] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [//***************************************************************************] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [//***************************************************************************] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [// Wird die folgende #define Zeile einkommentiert, erh’lt man] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [// die Ausgabe von mouse Buttons (z.B. f’r Touch-Displays)] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [// (Einkommentieren durch entfernen der // vor #define...)] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [// Die benutzerbezogenen Maus-Icons sind wie folgt in der keymacros.conf vorkonfiguriert] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [// User1 @osdteletext] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [// User2 @mp3] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [// User3 @mplayer] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [// User4 @dvd] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [// User5 @burn] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [// User6 @osdpip] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [// User8 @trayopen] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [// User9 @mailbox] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [//] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [// Zur Fehlersuche kann ein Liniennetz bei der Kalibrierung hilfreich sein.] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [// Falls dies notwendig wird, ist CHECKGRID einzukommentieren.] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [//***************************************************************************] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [#define MOUSE_BUTTONS] (4294967295) (4294967295) terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::erase ./vdrtest.sh: line 3: 6772 Abgebrochen ./vdr -L PLUGINS/lib -c /etc/vdr -Pfemon -P'graphtft -d /dev/fb0' |
|
|
Source code |
1 2 3 4 5 6 |
[graphTFT: 20:46:59] DEBUG: Found comment in [// Falls dies notwendig wird, ist CHECKGRID einzukommentieren.] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [//***************************************************************************] (0) (4294967295) [graphTFT: 20:46:59] DEBUG: Found comment in [#define MOUSE_BUTTONS] (4294967295) (4294967295) terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::erase ./vdrtest.sh: line 3: 6772 Abgebrochen ./vdr -L PLUGINS/lib -c /etc/vdr -Pfemon -P'graphtft -d /dev/fb0' |
This post has been edited 2 times, last edit by "horchi" (Dec 15th 2008, 9:13pm)
|
|
Source code |
1 |
if ((posA = lineBuffer.find("//")) >= 0 && (posA = lineBuffer.find("//")) <= 5000 )
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
display.c: In member function ‘virtual void cGraphTFTDisplay::ChannelSwitch(const cDevice*, int)’: display.c:952: warning: comparison is always true due to limited range of data type display.c:954: warning: comparison is always true due to limited range of data type display.c: In member function ‘virtual void cGraphTFTDisplay::Replaying(const cControl*, const char*, const char*, bool)’: display.c:1162: warning: comparison is always true due to limited range of data type display.c:1173: warning: comparison is always true due to limited range of data type display.c: In member function ‘virtual void cGraphTFTDisplay::OsdTitle(const char*)’: display.c:1227: warning: comparison is always true due to limited range of data type theme.c: In member function ‘bool cThemeItem::Parse(const char*)’: theme.c:495: warning: comparison is always true due to limited range of data type theme.c:560: warning: comparison is always false due to limited range of data type theme.c: In member function ‘bool cThemeItem::ParseText(std::string)’: theme.c:988: warning: comparison is always false due to limited range of data type theme.c: In member function ‘bool cThemeItem::ParseVar(std::string, std::string, std::string*)’: theme.c:1162: warning: comparison is always false due to limited range of data type theme.c:1163: warning: comparison is always false due to limited range of data type theme.c:1174: warning: comparison is always false due to limited range of data type theme.c:1175: warning: comparison is always false due to limited range of data type |
|
|
Source code |
1 2 3 4 5 6 |
490 // check if it is a section start
491
492 posA = lineBuffer.find("[");
493 posB = lineBuffer.find("]", posA);
494
495 if (posA == 0 && posB > 0 && posB != string::npos)
|