|
From: Anton D. <ad...@na...> - 2008-09-08 10:45:09
|
Hi developers!
I found 1 issue? Bug? I don’t know but at least it is rather nervous thing:
My command line is:
/home/adu/proj/obj/bin/i386-linux-thread-multi/debug/XML_Parser --dtd /home/adu/dtds/Database_1_0.dtd --ini_file /home/adu/ini_files/LambdaINI.xml /home/adu/FileToParse.xml.gz --strategy 'Find all BR-like tags' --gui_mode
Bolded parts – are the main parts of cmd.
Symbol = we are not using in definitions of binary flags!! (it’s by customer design)
And that what I’ve saw in valkyries’ GUI:
*--args:
|
+ −− /usr/local/bin/valgrind-3.3.1/bin/valgrind
+ −− --log-file=/tmp/valkyrie-logs/<LOGNAME>.xml
+ −− --tool=memcheck
+ −− --child-silent-after-fork=yes
+ −− --xml=yes
+ −− --show-reachable=yes
+ −− /home/adu/proj/obj/bin/i386-linux-thread-multi/debug/XML_Parser
+ −− --dtd
+ −− /home/adu/dtds/Database_1_0.dtd
+ −− --ini_file
+ −− /home/adu/ini_files/LambdaINI.xml
+ −− /home/adu/FileToParse.xml.gz
+ −− --strategy
+ −− 'Find
+ −− all
+ −− BR-like
+ −− tags'
+ −− --gui_mode
AND that’s wrong. I expected to see this:
*--args:
|
+ −− /usr/local/bin/valgrind-3.3.1/bin/valgrind
+ −− --log-file=/tmp/valkyrie-logs/<LOGNAME>.xml
+ −− --tool=memcheck
+ −− --child-silent-after-fork=yes
+ −− --xml=yes
+ −− --show-reachable=yes
+ −− /home/adu/proj/obj/bin/i386-linux-thread-multi/debug/XML_Parser
+ −− --dtd /home/adu/dtds/Database_1_0.dtd
+ −− --ini_file /home/adu/ini_files/LambdaINI.xml
+ −− /home/adu/FileToParse.xml.gz
+ −− --strategy 'Find all BR-like tags'
+ −− --gui_mode
P.S. for binary flag --strategy 'Find all BR-like tags'
Even if I will use symbol “ (double quotes) against ‘ (single quote) the result will be the same.
Regards,
Anton.
_______________________________________________________________
The contents of this message, together with any attachments, are intended only for the use of the individual or entity to which they are addressed and contains information that is confidential and could be a trade secret of Nangate. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this message, or any attachment, is strictly prohibited. If you have received this message in error, please notify the original sender by return E-mail and delete this message, along with any attachments, from your computer. Thank you.
|
|
From: Anton D. <ad...@na...> - 2008-09-08 11:38:21
|
Hmm, it helped. BUT in general it is a strange behavior:
Now I got this:
--args:
|
+ −− /usr/local/bin/valgrind-3.3.1/bin/valgrind
+ −− --log-file=/tmp/valkyrie-logs/<LOGNAME>.xml
+ −− --tool=memcheck
+ −− --child-silent-after-fork=yes
+ −− --xml=yes
+ −− --show-reachable=yes
+ −− /home/adu/proj/obj/bin/i386-linux-thread-multi/debug/XML_Parser
+ −− --dtd /home/adu/dtds/Database_1_0.dtd --ini_file /home/adu/ini_files/LambdaINI.xml /home/adu/FileToParse.xml.gz –strategy 'Find all BR-like tags' --gui_mode
But in that case (regarding this version of patch) I expected to see this:
--args:
|
+ −− /usr/local/bin/valgrind-3.3.1/bin/valgrind
+ −− --log-file=/tmp/valkyrie-logs/<LOGNAME>.xml --tool=memcheck --child-silent-after-fork=yes --xml=yes --show-reachable=yes
+ −− /home/adu/proj/obj/bin/i386-linux-thread-multi/debug/XML_Parser
+ −− --dtd /home/adu/dtds/Database_1_0.dtd --ini_file /home/adu/ini_files/LambdaINI.xml /home/adu/FileToParse.xml.gz –strategy 'Find all BR-like tags' --gui_mode
So, we have any new patches? Ideas?
|
|
From: Anton D. <ad...@na...> - 2008-09-08 12:05:13
|
Sorry, but I did not understand what YOU did not understand)))
Yes, that patch now shows more reliable command line of MY tool.
+ −− /home/adu/proj/obj/bin/i386-linux-thread-multi/debug/XML_Parser
+ −− --dtd /home/adu/dtds/Database_1_0.dtd --ini_file /home/adu/ini_files/LambdaINI.xml /home/adu/FileToParse.xml.gz –strategy 'Find all BR-like tags' --gui_mode
The first node - is a path to Binary
The second node - is a binary flags. All MY additional flags. Now all is OK.
But what about cmdline of valgrind?
Why there are still 6 nodes an ARGS tree???
--args:
|
+ −− /usr/local/bin/valgrind-3.3.1/bin/valgrind
+ −− --log-file=/tmp/valkyrie-logs/<LOGNAME>.xml
+ −− --tool=memcheck
+ −− --child-silent-after-fork=yes
+ −− --xml=yes
+ −− --show-reachable=yes
I thought after implementing of your patch I will see next picture:
The same 2 nodes only.
1 - is a TOOL path. (Binary)
2 - its all flags. In one line.
Something like this:
+ −− /usr/local/bin/valgrind-3.3.1/bin/valgrind
+ −− --log-file=/tmp/valkyrie-logs/<LOGNAME>.xml --tool=memcheck --child-silent-after-fork=yes --xml=yes --show-reachable=yes
|
|
From: Anton D. <ad...@na...> - 2008-09-08 12:10:01
|
And more: If I will click on the button "Show non-default valgrind flags for current tool" new subwindow will be opened (m_flagsLabel variable in main_window.hxx source code handle this window). And the width of that window is equal to the width of the biggest text. WHY??? Why there is no Horizontal ScrollBar in that subWindow?? In my case the length of such one string (all my additional flags) is much more that the HOR. Resolution of my Screen. So even the maximized window can't fit into the desktop size. |
|
From: Cerion Armour-B. <ce...@ke...> - 2008-09-10 20:06:43
|
Ah, rightyho, I'll add this to the TODO list... Cheers, Cerion On Monday 08 Sep 2008, Anton Dudarenko wrote: > And more: If I will click on the button "Show non-default valgrind flags > for current tool" new subwindow will be opened (m_flagsLabel variable in > main_window.hxx source code handle this window). And the width of that > window is equal to the width of the biggest text. WHY??? Why there is no > Horizontal ScrollBar in that subWindow?? > In my case the length of such one string (all my additional flags) is much > more that the HOR. Resolution of my Screen. So even the maximized window > can't fit into the desktop size. > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Valgrind-Valkyrie-dev mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-valkyrie-dev |