Another -C check bug

Here is an interesting run-time check bug. I have an internal subroutine where an array index is changed in another internal subroutine by host association. The run-time check misses the fact that the index has been updated. Here is an example. It seems to relate to the use of a derived-type as well.
program test
implicit none
type my_type
integer, allocatable :: type(:)
integer :: size=0
end type my_type
type(my_type) :: obj
allocate(obj%type(10))
call sub1()
contains
subroutine sub1()
call incr()
write(*,*)'obj%size=',obj%size
obj%type(obj%size)=1
end subroutine sub1
subroutine incr()
obj%size=obj%size+1
end subroutine incr
end program test
Here is my result:
obj%size= 1
****** FORTRAN RUN-TIME SYSTEM ******
Subscript out of range. Location: line 14 column 12 of 'test2.f90'
Subscript number 1 has value 0 in array 'TYPE'
Abort

OK, I figured out the problem. I am getting the __SUNPRO defines, but used them in a way that fpp did not substitute them. The problem I have not is that -xpp=cpp does not work because the flag -Y<path> is given, which is not a standard cpp flag, and I just get an error message.
I am guessing that Sun cpp accepts a -Y flag, and sun Fortran assumes that it is standard. If so, maybe a good solution would be just to distribute Sun's cpp along with fpp. Another problem is that cpp is called with a specific path, so there is apparently no way to override it. So, it looks to me like this is a bug. But, it seems unlikely that nobody would have noticed it, unless everybody sticks with fpp, or if the -Y flag is new in this release.

Similar Messages

  • Another iPhoto 6 bug

    Amusing but yet another iPhoto 6 bug (6.0.2). Boy, does this program need some work.
    I created a new library, set alias on so it loads from my iView MediaPro layout, and am busy importing. In the information tab on the bottom left, it tells me its busy importing 1595 photos with a total size of 15066192772 GB. I wish.
    iBook 14" 1.42   Mac OS X (10.4.3)   1.5GB

    Paul:
    Did it finish loading the iView files? If so check the size at the bottom. If it's still incorrect and extremely large try rebuilding the library, launch iPhoto with the Command+Option keys depressed, follow the instructions to rebuild the library, while selecting only the database option. That may clear up the problem.
    I didn't note the size when I was importing my iView collection but iPhoto does reports the correct size now.

  • Another SQL Developer bug - End of file in comment

    I found another SQL Developer bug in version 3.0.0.4.
    If I try to compile some package from file (so I open file with package body in SQL Developer and assign it to some connection) with this kind of comment: /* comment */ behind end of package, I get this error
    I got Error(1250,28): PLS-00111: end-of-file in commentFunny is, that when the package is compiled directly from the database - it works.
    When I try to compile the package from file with this kind of comment --comment behind the end of package, it also works...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi, I think I finally got it. This looks like an ugly fat bug :)
    First, we are not using the .sql extensions. For package specification - we use .pks. For package body - we use .pkb.
    Create this script:
    CREATE OR REPLACE PACKAGE TEST_xxx AS
    PROCEDURE TEST_PROCEDURE;
    END TEST_xxx; /*0123456789*/Now save this as e.g. "TEST.pks" file. Open this file in SQL Developer and compile it. You will get the "Error(3,27): PLS-00111: end-of-file in comment".
    Now look at the result in the database -> Open the package specification from the database and you see this:
    create or replace
    PACKAGE TEST_xxx AS
    PROCEDURE TEST_PROCEDURE;
    END TEST_xxx; /*0123456789*The last slash is missing...
    Now go back to the file with the package specification and delete one letter from the comment. Compile it again... it works now.
    It looks like the length of this kind of comment is limited to 9 characters.
    The limitation is there only when:
    1) Compiling from file with different extension than .sql !!! If you rename the file to "TEST.sql", SQL Developer opens it as a script file and runs it as a script, so there is no problem with it.
    2) It has to be this kind of comment: /* */. One line comments are not limited.

  • Spell checker bug

    There is one spell checker bug:
    When I end a paragraph with a full stop and then press enter then the red underlined mis-spelled words are "unmarked" as in the red zig-zag line underneath the mis-spelled words disappears and I cant correct them any more or lose track which words are mis-spelled.
    The red zig-zag lines underneath the mis-spelled words should never disappear until the word is spelled properly.
    Thats a BUG.
    To make the red underlines re-appear I have to rightclick....untick "Check Spelling" and then activate it again.
    Thats too complicated.

    Search to see if a Bug is filed about that "glitch". If isn't one already, use '''File a Bug''' about it yourself. <br />
    https://bugzilla.mozilla.org/

  • FB3 Beta 3 - another organize imports bug

    I'm getting lucky :-) Here is another organize imports bug in
    FB3 Beta3...
    If you have some simple hierarchy where base class defines
    public (or protected) method, and sub class tries to override this
    method you will encounter this bug. Let say that base class looks
    like this:
    package test {
    import flash.display.Shape;
    public class BaseClass extends Shape {
    public function BaseClass() {
    public function myMethod():void {
    trace("In BaseClass.myMethod()");
    and that sub class looks like this
    package test {
    public class SubClass extends BaseClass {
    public function SubClass() {
    super();
    Now, if you try to override myMethod() from BaseClass and
    start typing in subclass something like
    override public function m
    and use Ctrl+Space, FB will insert appropriate method but it
    will also insert errorneous import statement like this:
    import test.BaseClass.myMethod;
    So you will end up with sub class which looks like following:
    package test {
    import test.BaseClass.myMethod;
    public class SubClass extends BaseClass {
    public function SubClass() {
    super();
    override public function myMethod():void {
    Wrong import is correctly marked as error but issuing
    "organize import" does not remove it so it must be removed
    manually.
    Regards,
    Damir Murat
    PS: Sorry for bad code formatting but there is no option for
    inserting in-line code and attach code is a little bit
    awkward.

    Damir Murat,
    Did you already file a bug for this? If not, would you mind
    adding it to the public bug base so we can track the issue.
    Thanks,
    Peter

  • Another XAV-72BT BUG

    I've checked the format of the JPG files that don't display when playing the MP3 files in the same folder. None of them use the progressive JPG format. And these same JPG files do display if I select 'Images' instead of 'Audio' from the XAV72bt user interface. This appears to be a software bug to me. I'd very much appreciate it the appropriate support team would take a look at this.
    Thanks

    I've discovered another design problem withthis unit. I recently ripped a video from a music DVD to an MPEG4 file. The format of the file is well within the limits given in the user's manual but this head unit will not play it I read the disclaimer in the user's guide indicating that there is no guarentee that a file can be played even if it is within the limits given.
    The real problem is with the USB menu. The USB drive contains many audio files and this one video. From the menu I selected video and the unit quickly responded with "no playable media found". The problem is that there is no immediate recovery for using this USB. There is no way to go back and select for audio files. No user menu options appear. If I unplug the USB and plug it back in, nothing is changed. The unit recognizes that a USB device has been reconnected but it remains in video mode. I can probably take the USB back to my computer and delete the video file but that seems to be a poor solution. This is yet another example of how this unit seems to have gotten to the market before it was ready. See my other posts in this forum.

  • Another spanned clips bug?

    I've read that Adobe recently fixed a spanned clips bug. Well here's another one (at least on my system):
    I have several spanned clips recorded with my Sony FS700 (MTS-files in AVCHD-container) and my Panasonic P2-camera (P2 MXF-files). When using Adobe Media Encoder (AME) to convert to ProRes, the spanned clips are joined right, but AME encodes the same material several times. The result is several copies of the exact same encoded material written to disk.
    Here's how it works:
    In one case, my camera had split my recording into 4 individual files. I expected AME to a) either join them and output one long file or b) not to join them and just output 4 individual ProRes files. Instead I ended up with 4 joined identical 32 GB files on disk. I did it again and noticed that AME actually encoded the same material 4 times in a row. What a waste of time and space …
    When using Sony MTS-files, AME creates different filenames for each clip (0001.mov, 0002.mov, 0003.mov. When using Panasonic MXF-files, AME put _1, _2, _3, etc. at the end of the filenames.
    In my opinion, AME should have a tick box where you can chose "join spanned files" or not. If it had such a box, it would chose to leave it off most of the time. That way it would be much easier to check if AME has converted all the files or not. It would be 32 files in = 32 files out, not 32 files in = 2 spanned files + x small files out … Nowadays, I have to doublecheck everything before formatting my cards.
    I'm using Adobe Media Encoder v. 7.2.0.43 (64-bit) and OSX Mavericks 10.9.1 on a late 2013 Macbook Pro 15-inch Retina 2,3 GHz i7 16GB RAM 512 SSD.

    Jim Simon, let me explain:
    1. When I drag MTS-clips into AME, the software generates several copies of the same spanned clip during conversion. (They pop up in the queue while AME is converting).
    2. When I drag MXF-clips into AME, the software generates several copies of the same spanned clip before conversion. In the screenshot, which was taken after conversion, you'll see that the file numbers begin with 0018, 0019, 0019, 0019, 0019, and then jump to 0023, 0023. Well, what I dragged in was 0018, 0019, 0020, 0021, 0022, 0023, 0024 etc. So I believe AME skips filenames that are elements in a spanned clip, and then multiplies the the process all by itself. But, yes, I could manually examine the queue and erase identical clips after I drag files in. But that is just not a good way of working …
    So, AME behaves differently with spanned MXF and MTS-files, but none of them are handled right.

  • Another iOS packager bug

    Came across another bug in iOS packager. In my project I have a function looking like this:
    private function sample():Object
         var iValue:int = 10;
          return false ? iValue : null;
    It correctly returns 'null' if packaged in ipa-debug-interpreter, apk-captive-runtime modes or if running in ADL. But it returns '0' if packaged in ipa-ad-hoc mode. I had to spend a whole day to figure out where is the problem. This is not the first type cast issue I came across. And it takes a lot of effort everytime to debug (10 minutes to build the project!). I'm breaking a dead line giving my customer an excuse that 'Adobe packager for iOS does not work right'. Which sounds like total BS of course. Adobe, please, get this straight. It is hard enough to develop with AIR for mobile. Bugs like this one make it much worse. Either way, I'm planning to advocate for using native tools in our next projects.

    I'm still using AIR 3.2. Unfortunately, I don't have a chance to try latest AIR 3.4 at the moment. But I will check the same code when I update AIR SDK.
    The code I posted is not a real code of course. I had to strip some logic and modify operators a bit. But I had hoped the bug would still reproduce. From my experience, most of the iOS packager bugs are caused by the rules of type casting that are not AS3 compliant. I have an impression that type casting rules used in the packager are more like classic C type casting rules. As the result, same code executes differently on iOS and Android|Windows. And it has being a huge problem for me.

  • SPF IPv4 IPv6 Cross-Checking Bug - Producing PermError, Rejecting Mails

    Messaging Server SPF Query with IPv6 and IPv4 cross checking not skipped, but rather producing a PermError. This would reject a lot of incoming mails which have both ipv4 and ipv6 spf records published.
    I suspect that it is a bug.
    Linux:
    bin/imsimta version
    Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)
    libimta.so 7u4-27.01 64bit (built 08:50:46, Aug 30 2012)
    Using /opt/sun/comms/messaging64/config/imta.cnf (compiled)
    Linux mx1.mathewsystems.com 2.6.18-028stab101.1 #1 SMP Sun Jun 24 19:50:48 MSD 2012 x86_64 x86_64 x86_64 GNU/Linux
    Solaris x86:
    bin/imsimta version
    Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)
    libimta.so 7u4-27.01 64bit (built 08:47:11, Aug 30 2012)
    Using /opt/sun/comms/messaging64/config/imta.cnf (compiled)
    SunOS COMM1 5.10 Generic_147441-01 i86pc i386 i86pc
    ./spfquery -i 2a00:1450:400c:c05::22e -v gmail.com
    Running SPF query with:
    IP address: 2a00:1450:400c:c05::22e
    Domain: gmail.com
    Sender: [email protected] (local-part: postmaster)
    HELO Domain: gmail.com
    01:09:35.41: ----------------------------------------------------------------
    01:09:35.41: SPFcheck_host called:
    01:09:35.41: source ip = 2a00:1450:400c:c05::22e
    01:09:35.41: domain = gmail.com
    01:09:35.41: sender = [email protected]
    01:09:35.41: local_part = postmaster
    01:09:35.41: helo_domain = gmail.com
    01:09:35.41:
    01:09:35.41: Looking up "v=spf1" records for gmail.com
    01:09:35.42: DNS query status: Pass
    01:09:35.42: "v=spf1 redirect=_spf.google.com"
    01:09:35.42:
    01:09:35.42: Parsing modifier: "redirect = _spf.google.com"
    01:09:35.42: Processing macros in _spf.google.com
    01:09:35.42: Returned: _spf.google.com
    01:09:35.42:
    01:09:35.42: No match found, following redirect to _spf.google.com
    01:09:35.42: Recursing into SPFcheck_host
    01:09:35.42: ----------------------------------------------------------------
    01:09:35.42: SPFcheck_host called:
    01:09:35.42: source ip = 2a00:1450:400c:c05::22e
    01:09:35.42: domain = _spf.google.com
    01:09:35.42: sender = [email protected]
    01:09:35.42: local_part = postmaster
    01:09:35.42: helo_domain = gmail.com
    01:09:35.42:
    01:09:35.42: Looking up "v=spf1" records for _spf.google.com
    01:09:35.43: DNS query status: Pass
    01:09:35.43: "v=spf1 include:_netblocks.google.com include:_netblocks2.google.com include:_netblocks3.google.com ?all"
    01:09:35.43:
    01:09:35.43: Parsing mechanism: " include : _netblocks.google.com"
    01:09:35.43: Assuming a Pass prefix
    01:09:35.43: Processing macros in _netblocks.google.com
    01:09:35.43: Returned: _netblocks.google.com
    01:09:35.43: Recursing into SPFcheck_host
    01:09:35.43: ----------------------------------------------------------------
    01:09:35.43: SPFcheck_host called:
    01:09:35.43: source ip = 2a00:1450:400c:c05::22e
    01:09:35.43: domain = _netblocks.google.com
    01:09:35.43: sender = [email protected]
    01:09:35.43: local_part = postmaster
    01:09:35.43: helo_domain = gmail.com
    01:09:35.44:
    01:09:35.44: Looking up "v=spf1" records for _netblocks.google.com
    01:09:35.44: DNS query status: Pass
    01:09:35.44: "v=spf1 ip4:216.239.32.0/19 ip4:64.233.160.0/19 ip4:66.249.80.0/20 ip4:72.14.192.0/18 ip4:209.85.128.0/17 ip4:66.102.0.0/20 ip4:74.125.0.0/16 ip4:64.18.0.0/20 ip4:207.126.144.0/20 ip4:173.194.0.0/16 ?all"
    01:09:35.44:
    *01:09:35.44: Parsing mechanism: " ip4 : 216.239.32.0/19"*
    *01:09:35.44: Assuming a Pass prefix*
    *01:09:35.44: +"ip4" not supported for IPv6; returning PermError+*
    +01:09:35.44:   Mechanism failed with PermError+
    01:09:35.44:
    01:09:35.44: SPFcheck_host is returning PermError
    01:09:35.45: Returned from recursion with status: PermError
    01:09:35.45: Returning with status: PermError
    01:09:35.45: Mechanism failed with PermError
    01:09:35.45:
    01:09:35.45: SPFcheck_host is returning PermError
    01:09:35.45: Returned from recursion with status: PermError
    01:09:35.45:
    01:09:35.45: SPFcheck_host is returning PermError
    01:09:35.45: ----------------------------------------------------------------
    Mathew
    Edited by: 994254 on 15.03.2013 17:18

  • Another iTunes 7 bug

    I love iTunes 7 except it has few bugs in it, for example if a music folder contains wmp album art itunes 7 will crash if playing music from that folder and you click iTunes's browse button.
    iTunes 7 likes a lot memory, windows mediaplayer uses 18 Meg compared to iTunes 7 which uses 60 meg in cover browser mode or 45 Meg in general.

    two days ago I made the switch to iTunes 7, and at first was quite happy about it, mainly because impressed by CoverFlow.
    but today I noticed that all the covers were missing from my 30Gb Photo iPod.
    So I checked the Support area of ww.apple.com looking for a solution and I spotted this thread and now while trying to reload the covers I want to ask something to Apple:
    Why did you release such a crappy application? what are you afraid of, Zune and is crapware? Come on act as Apple, delight your customers and they will not leave you, act as any other and there will no any reason for choosing you and your products.
    bye
    andrea from Italy

  • Another 808PV SW bug.

    ive found out that a simple text message consumes a temporary 1kb space in phone memory.ive manage to talk to NCC about this matter.the reinstalled again the v311 software,formatted everythng includng my memory card but still the problem exist. decreasing of drive c for some unknown reason.they ddnt know how to xplain this matter to me.well i guess this is just a SW bug.hope this would be fix in the upcoming fp2 version or else my faith in nokia would start to loose.

    Paul:
    Did it finish loading the iView files? If so check the size at the bottom. If it's still incorrect and extremely large try rebuilding the library, launch iPhoto with the Command+Option keys depressed, follow the instructions to rebuild the library, while selecting only the database option. That may clear up the problem.
    I didn't note the size when I was importing my iView collection but iPhoto does reports the correct size now.

  • Another 6500slide favorites bug

    I have some favorites in the favorite "weather".
    In some cases I get the error message, " favorite already exist", if I want to add another favorite.
    This favorite has an other name and an other link.
    If I add this link by manually adding as a new link it is accepted, but not by a move??
    Gerhard

    Paul:
    Did it finish loading the iView files? If so check the size at the bottom. If it's still incorrect and extremely large try rebuilding the library, launch iPhoto with the Command+Option keys depressed, follow the instructions to rebuild the library, while selecting only the database option. That may clear up the problem.
    I didn't note the size when I was importing my iView collection but iPhoto does reports the correct size now.

  • Another big hugly bug

    Moving objects in the layers panel is really anoying. If you tell a layer to go beneath another layer it goes on top. if you pick and drag a layer every grouped object layer opens and everytime you stop moving a layer in the layers panel it resets and goes to a different position so you're oblidged to scroll to wherever you where before.
    Not time saving and a huge pain in the ***!!!!!

    Paul:
    Did it finish loading the iView files? If so check the size at the bottom. If it's still incorrect and extremely large try rebuilding the library, launch iPhoto with the Command+Option keys depressed, follow the instructions to rebuild the library, while selecting only the database option. That may clear up the problem.
    I didn't note the size when I was importing my iView collection but iPhoto does reports the correct size now.

  • Another preview related bug???

    Recently I reported an issue (bug) with preview and
    non-auto-update variable. See
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=65&catid=449&threadid =1364202&enterthread=y
    I have another issue with preview:
    - I update text within the body of a topic (I DO NOT toch
    header/footer that are set in template)
    - Do a preview
    - Close/save topic
    - RH comes up with dialog saying:
    "This topic was created from a template and the header of
    footer has been modified.
    What would you like to do:
    - Apply this modification to all topics created from the
    template
    - Apply this modification to this topic only"
    Again, I never touched header/footer.
    Can anyone using 7.0.2 confirm this behavior?
    Herman

    > See if this helps. Suggests turning off auto update.
    This doesn't help because a preview updates the date
    variable, even when auto update is set to off. When the topic is
    not edited, RH doesn't prompt to save the topic and consequently
    the updated date isn't saved . With edits, save dialog comes up and
    additionally header/footer dialog because date in footer has
    changed.
    See also my earlier post here:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=65&catid=449&threadid =1364202&enterthread=y
    Secondly, I really need it on auto because I'm running
    everything through batch files
    I think that we need an option like Colum McAndrew described
    in the thread you're referring to. An option not to update a
    template variable when applied to a topic, or when previewing a
    topic.
    Herman

  • ANOTHER Lightroom 5 Bug??

    This is another bug that I had during the Beta which I hoped would have been solved. It is difficult to reproduce but happens frequent enough to be a real pain.
    Using the adjustment brush or gradient tool, I can apply settings to photos. Then when I switch to a new photo, I can select the brush or gradient, but I cannot apply it to the photo. Nothing happens when I paint or drag gradients. I can select and deselct the tool as many times as I want and even switch between tools. Only way to get it working again is to restart Lightroom.

    True.... except that in the Beta it was more the gradient tool causing this issue and now it is mostly the adjustment brush. I am not ruling out the fact that it can be something on my side... Could be a plugin or something causing this too. Once I can replicate the problem I will post the steps - but for now I am just keeping an ear out to see if anyone else have this issue.

Maybe you are looking for

  • Frieght in consigment process

    Hi; In consingment process, i have maintain price and frieght in consigment inforecord. While transfering the stock from consigment to own,(mvt. type 411K) system is considering(inventorising) frieght part in the accounting accounting doc.. Regards M

  • Clarification in the FM job_OPEN

    Hello all,             In the FM JOB_OPEN the parameter name is being passed . Is that the  name of the current report or the report which needs to be submitted in Back ground. Regards, K.Sibi

  • Finder items taking long time to delete

    used to be instant, but lately i command delete and it's pausing for a second before deleting. Running SSD so things have been super snappy all the way around. Any insight as to what's causing this? thanks.

  • Cannot print Chinese character in postscript 11iAS

    We are using HRMS 11.5.10AS. We want to print the report in postscript. However, some chinese character cannot be print correctly. ( it's right in TXT ) Anyone know how to solve it?

  • Cannot see the elements in Web Service Action block

    Hi, When I use SoapUI I can see the elements of a Service but when I use Web Service Action block of MII, I can only see the first element (job). The children of job are not appearing in link editor. Any Idea? <soapenv:Envelope xmlns:soapenv="http://