Strange Behaviour in Pentium IV machine

Hi all. I put this post in Java HotSpot forum, but that forum seems not to be as popular as this, so I've decided to post it here too.
I've been reading posts in this forum (and another in this site) for more than a week trying to find any idea that could help me with my "strange" problem, but with no success.
I've developed an application that manages some info stored in Mysql. My developing machine is a Pentium II (400MHz) with Red Hat 7.3 Valhalla installed. I use Mysql 3.23.49 and J/Connector (version 2.0.14) downloaded from Mysql site and JRE version 1.4.1.-b21.
The production machine is a Pentium IV (1.60 GHz) , with the same Red Hat version, the same JRE version and Mysql 3.23.51.
Well, in developing machine I am able to run up to 4 instances of the application witout crashing, only decreasing timing performance. But in production machine, I get and "strange" behaviour. Sometimes (1 of each 10 times) the application crashes (even the machine crashes sometimes), and I get Hot Spot log files (hs_err_pid####.log) like these
Type 1 ------------------------------------->
Unexpected Signal : 11 occurred at PC=0x403291D8
Function=skip_method_invoke_and_aux_frames__12vframeStream+0x58
Library=/usr/java/j2sdk1.4.1/jre/lib/i386/client/libjvm.so
Current Java thread:
at java.security.AccessController.doPrivileged(Native Method)
at sun.io.Converters.getDefaultEncodingName(Converters.java:66)
at java.lang.StringCoding.decode(StringCoding.java:226)
at java.lang.String.<init>(String.java:383)
at com.mysql.jdbc.Buffer.readLenString(Unknown Source)
at com.mysql.jdbc.MysqlIO.getResultSet(Unknown Source)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(Unknown Source)
at com.mysql.jdbc.MysqlIO.sqlQuery(Unknown Source)
at com.mysql.jdbc.Connection.execSQL(Unknown Source)
- locked <0x448f92d0> (a com.mysql.jdbc.jdbc2.IO)
at com.mysql.jdbc.Connection.execSQL(Unknown Source)
at com.mysql.jdbc.Statement.executeQuery(Unknown Source)
- locked <0x448f92d0> (a com.mysql.jdbc.jdbc2.IO)
at com.mysql.jdbc.jdbc2.Statement.executeQuery(Unknown Source)
at GeneraTablaDiasCerrados.<init>(GeneraTablaDiasCerrados.java:99)
at GeneraTablaDiasCerrados.main(GeneraTablaDiasCerrados.java:425)
Type 2------------------------------------------------>
Unexpected Signal : 11 occurred at PC=0x424AC980
Function=sqlQueryDirect (//or nextRow//) (compiled Java code) (or nextRow)
Library=(N/A)
Current Java thread: (//No output in this case//)
Type 3------------------------------------------------------>
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4212E3B0
Function=(null)+0x4212E3B0
Library=java
NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.
Current Java thread:
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
- locked <0x44901b38> (a java.io.BufferedInputStream)
at com.mysql.jdbc.MysqlIO.readPacket(Unknown Source)
at com.mysql.jdbc.MysqlIO.sendCommand(Unknown Source)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(Unknown Source)
at com.mysql.jdbc.MysqlIO.sqlQuery(Unknown Source)
at com.mysql.jdbc.Connection.execSQL(Unknown Source)
- locked <0x448f92e8> (a com.mysql.jdbc.jdbc2.IO)
at com.mysql.jdbc.Connection.execSQL(Unknown Source)
at com.mysql.jdbc.Statement.executeQuery(Unknown Source)
- locked <0x448f92e8> (a com.mysql.jdbc.jdbc2.IO)
at com.mysql.jdbc.jdbc2.Statement.executeQuery(Unknown Source)
at GeneraTablaDiasCerrados.<init>(GeneraTablaDiasCerrados.java:99)
at GeneraTablaDiasCerrados.main(GeneraTablaDiasCerrados.java:425)
---------------------------------------------->
After this text, I get Dynamic libraries info.
I can't figure out what's happening. I have read in these forums that Signal 11 is about Segmentation Fault, or JVM trying to write in forbidden positions.
Later I read that JVM could crash on Pentium IV processors under certain circumstances, but isn't those issues supossed to be fixed in version 1.4.1?
The last trail I'm following is J/Connector, because in error messages type 2 and 3 are involved mysql classes. But it doesn't explain the fact that in developing machine everything runs properly.
I also consider the posibility of corrupted files in hard disk, but all of them seem to be OK (sizes in production machine matches those in developing machine).
Can anyone help me showing me another trail to follow?
Thanks to all in advance.
Note: Please, forgive my English and the length of this post.

Hi OMcGovern. Thanks for your answer.
I've a couple of theorys,
1) The second last stack trace call is for encoding.
The basic US version of the JRE only supports about
ut 8 basic encoding schemes. You could try running it
with the international version of the JRE.
( To check version : if i18n.jar is in JRE's lib
directory, it's the international version )I've checked it and I don't have the international version (not in production machine and not in developing machine). I downloaded the "Linux RPM in self-extracting file" version, (in both cases) and there is no choice for downloading any "international" version or something like this. I'll search for it in sun site. It seems to be a good guess to follow, because production machine is allocated in the USA, and developing machine is here in Spain.
2) Running java -Xint ( interpreted mode ), might
rule out any hotspot errors. It could give you more
debugging information too.
Worth a shot.I'm not running with that option.
3) It doesn't quite make sense that the last stack
trace entry is a
security call, in an application. Are you doing
ng anything strange ?
Eg. writing your own classloaders or the like ?No I'm not doing. Maybe a problem with J/Connector, but my deep doubt and what's driving me crazy is : Why is runnig all ok (I was really proud of this fact because this is my first "big" app in Java) in my developing machine and crashing in production machine?
I'll look for i18n.jar, will install it and let's see what happens..
Thanks again.

Similar Messages

  • APEX Listener and EPG - strange behaviour

    Hi
    For some years, I've used EPG for APEX but have struggled with performance particularly as I can have up to 150 student developers using at any one time.
    I do a fair amount of work using ORDImage and have successfully developed APEX applications to upload image files and display full-size and thumbnail images.
    After upgrading to APEX 4.1 (from 4.0), I decided to install APEX Listener standalone.
    Before I did so I checked that my applications still worked in 4.1 and they did.
    However, just installing APEX Listener but not configuring it (yet) has meant that my image display in a report using a procedure based on wpg_docload.download_file( l_ordimage_image.source.localData ) no longer works in EPG - the images are not displayed.
    Configuring APEX Listener and running the same application through that DOES display the images.
    So this part of the application works under APEX Listener but not under EPG.
    My application also allows users to upload images from APEX_APPLICATION_FILES using standard code. Under APEX Listener after uploading, I'm left with a blank page with a wwv_flow.accept URL although the image does indeed upload. Under EPG it works as expected and I get a success confirmation.
    So this part of the application works under EPG but not under APEX Listener.
    Has anyone else come across different behaviour depending on the mode of connection?
    Thanks
    Brian
    [Oracle EE 11gR2, Windows Server 2008R2, APEX 4.1, APEX Listener 1.1.3]

    Hi Brian,
    it sounds like you have both EPG and APEX Listener running on the same machine, so your problem might result from a port conflict. Note that both services use TCP port 8080 as default.
    At least a port conflict would explain the strange behaviour in your case, some things working on one web server and some on the other.
    Some parts of your initial post hint to that direction, e.g.
    However, just installing APEX Listener but not configuring it (yet) has meant that my image display in a report using a procedure based on >wpg_docload.download_file( l_ordimage_image.source.localData ) no longer works in EPG - the images are not displayed.... because the APEX Listener only interfere with the EPG if it is at least running on the same machine as your database and furthermore, if it is unconfigured in terms of ist database connection, a port conflict might be the only way it could cause anything like that.
    However, if you are sure that's not the issue, please check if you see any error in the APEX Listener's log for the following action you performed:
    My application also allows users to upload images from APEX_APPLICATION_FILES using standard code. Under APEX Listener after uploading, I'm left with a blank >page with a wwv_flow.accept URL although the image does indeed uploadIf you actually see just a blank screen, something very bad must have happened and you should see some kind of stack trace there.
    For further investigations, if necessary, it would be helpful to know how you deployed or started your APEX Listener and which JDK version you use.
    For the moment, I still think the port conflict is my best guess.
    You could avoid it by either changing the port for EPG (I'd not recommend that if you have other users still using it) or by changing the port for your APEX Listener.
    -Udo

  • Strange behaviour in Mail

    I have ongoing strange behaviour with Mail in Mountain Lion on a MacBook Pro.
    As well as randomly and intermitttently dropping connections to my various mail servers, I also, randomly and intermittently, fail to get to Print, or to create a new Mailbox, or to Quit. I just get a beep.
    Have to quit Mail - sometimes forcibly, and restart it.
    Mail will not automatically reconnect to servers after a Sleep , or moving to a differnt location.
    None of this was happenning on an older MacBook, but I was running 10.7 on that machine.
    Had to upgrade machine to allow upgrade to Mountain Lion.  Not sure which is responsible - new MB PRo , or 10.8?!
    Do I really have to re-install OSX  just to reinstall Mail?
    Any other pointers/hints very welcome.
    Thanks

    Please follow these directions to delete the Mail "sandbox" folder.
    Back up all data.
    Triple-click the line below on this page to select it:
    ~/Library/Containers/com.apple.mail
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu.* A Finder window should open with a folder named "com.apple.mail" selected. If it does, move the selected folder — not just its contents — to the Desktop. Leave the Finder window open for now.
    Log out and log back in. Launch Mail and test. If the problem is resolved, you may have to recreate some of your Mail settings. You can then delete the folder you moved and close the Finder window. If you still have the problem, quit Mail again and put the folder back where it was, overwriting the one that may have been created in its place. Post your results.
    Caution: If you change any of the contents of the sandbox, but leave the folder itself in place, Mail may crash or not launch at all. Deleting the whole sandbox will cause it to be rebuilt automatically.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • Strange Behaviour after 6.0.2 install

    Hello all,
    This is my first posting to Apple Discussions, so please be kind...
    I recently installed iTunes 6.0.2 via Software Update and noticed strange behaviour while trying to edit a smart playlist. I have a smart playlist set up to select songs between 3 and 5 stars in My Rating, which have not been played in the last four weeks. While trying to edit the star range, I found that I could only select two stars or five stars. If I clicked one star, it changed to two; if I clicked any other number of stars, it changed to five. As a test, I restored the previous iTunes.app from backup and the problem disappeared.
    Anyone have any ideas what might be causing this?
    Thanks,
    Jon

    Hello Web_Diko,
    I'm sorry but I don't know where you can find that package. I take nightly backups of my machine so I just restored the previous version from my backup. Maybe try a search for "iTunes 6.0.1" on Google or on www.apple.com?
    When I mentioned the "privacy thing" I was alluding to the various items about iTunes 6.0.3 "phoning home" with details of what tracks you are playing together with your Apple ID. It doesn't bother me personally, but I think that the complaints are legitimate, because people should be told whenever they install a program that sends information back to the vendor.
    Jon

  • Strange behaviour in ORacle Forms Webutil 106 / Error message WUC-14 WUC-12

    This is to inform you about a strange behaviour in Webutil V1.0.6
    Hosting environment is Oracle Application Server 10.1.2.0.2 on Unix Solaris 10
    Oracle Server 10.2.0.4.0 Enterprise Edition
    Client-envionment : Windows 2000, IE 6
    I created an Forms based application which reads in certain text files into the database using
    Webutil. The data will get changed using the application with logic and lateron a different textfile
    will be transmitted using either ftp or it may be created on the client side (again with Webutil).
    This solution worked perfect for some time (a year or so) using CLIENT_TEXT_IO...
    Hoewever, during the week, I recognized users coming up with the statement that the download
    to the local client does not worked anymore in certain situations. The system is producing an error-msg
    on the Form in the following sequence :
    WUC-14 [getFromObjectCache] ...
    WUC-14 [getFromObjectCache] ...
    WUC-12 [FileFunctions.newLine()] ...
    I traced the session and traced WebUtil, was able to reproduce the problem but could not find out the source
    of it in the first place.
    Hoewever, it came out, that part of the file being created on the client is a "¿" sign : hex :$BF
    This was already part of the file being read in the first place, so the value is stored in the database.
    There is no problem when reading a file having a content like this with CLIENT_TEXT_IO but there obviously is one
    when writing it to the local client.
    The file is getting processed on the client and gets closed with CLIENT_TEXT_IO.FCLOSE.
    After the FCLOSE statement is getting processed, the above errors occurs, The length of the produced file is then : 0 bytes ^^
    Whenever facing a problem like this check the content of the file you are trying to create.
    Workaround was :
    - set workingDirectory in formsweb.cfg
    - using Forms based TEXT_IO rather than CLIENT_TEXT_IO to create the file on the backend side (Apps-server)
    - implement WEBUTIL_FILE_TRANSFER.AS_To_Client_With_Progress to download the file to the client
    In order to make it a little bit "colourful" I implemented a bean with progressbar when creating the file on the back end side
    Works perfect... and looks nice :)

    XeM wrote:
    Hi Andreas,
    install.syslib.location.client.0=webutil\syslibi found the above line over google but when i check my webutility configuration file i didn't found it there. I added this line after the line i have mentioned in previous post but this also not worked. And then i worked on changing permission over folder.
    HI XeM
    Your adding location is ok. But i suggest try something different. Change the above line to
    /* i'm confuse with the \ or / *\
    install.syslib.location.client.0=\webutil
    or
    install.syslib.location.client.0=/webutilAnd do the following work In the client
    1. Close ALL open browsers.
    2. On the client machine search all directories for webutil.*properties and delete all instances of that file.
    3. Delete d2kwut60.dll, JNIsharedstubs.dll, and jacob.dll from the JRE\bin directory.
    4. Clear the JRE jar cache. This can be done several ways, but using the Java Control Panel is likely the easiest and safest.
    Now stop the OC4J instance and start again and try at client...
    Hope this works...
    If works... please post the solutions.
    Hamid

  • FIM Load Balancing and SPN's - Strange behaviour

    I have a FIM setup in a domain
    I have mycorp.com and a domain in the same forest contractor.mycorp.com (fictional setup)
    I have 2 servers built in the contractors.mycorp.com domain
    Id1
    Id2
    Id1 has the Service and portal on wss3 in SharePoint farm mode, Sp central admin is on this as well
    Id2 has the service and is a load balanced SharePoint farm.
    I have NLB setup and working the service name is identity.mycorp.com pointing at the IP of the NLB
    I have a CNAME identity pointing at identity.mycorp.com
    Identity.mycorp.com is used as the name of the Service and the Portal.
    In the ApplicationHost.config I have
    <system.webServer>
       <security>
          <authentication>
             <windowsAuthentication enabled="true" useKernelMode="true"
    useAppPoolCredentials="true" />
          </authentication>
       </security>
    </system.webServer>
    I have kernel mode enabled, and I have Windows authentication enabled in the IIS console on id1 and id2.
    The app pool credentials are a domain account SPService for SharePoint Service, the app pool is set on both id1 and id2 servers. The root domain account mycorp\SPService us used.
    In
    c:\inetpub\wwwroot\wss\VirtualDirectories
    I have set
    <resourceManagementClient
    requireKerberos="true"
    I have registered the alternate URL mappings for SharePoint as
    Identity
    Identity.myCorp.com
    I have registered SPN's for
    Setspn –S FIMService/identity.myCorp.com myCorp\FIMService
    Setspn –S FIMService/identity  myCorp\FIMService
    Setspn –S HTTP/identity.myCorp.com myCorp\SPService
    Setspn –S HTTP/identity myCorp\SPService
    I have configured delegation for both accounts in ADUC for the identity.mycorp.com
    So all is well and I installed everything fine.
    Now my problem is that if I go to id1 and browse to http://identity/identitymanagement I get redirected , and authenticated with my admin account to
    http://id1/IdentityManagement/default.aspx
    On id1 if I go to http://identity.myCorp.com/identitymanagement I get prompted for credentials, when I enter myCorp\FIMAdmin and my password I get redirected to the portal at
    http://id1/IdentityManagement/default.aspx
    If I try and authenticate to any of the previous URL's from other machines in my domain, including the load balanced box id2 I get "HTTP Error 401. The requested resource requires user authentication."
    Even if I try and browse to
    http://id1/identitymanagement from another machine I am getting 401. Only on
    http://id1 am I getting a result, even if there is a prompt.
    I am sure my SPN's are fine, there are no duplicate SPN's , I checked with the -x switch
    So my load balanced portal and service are not working as I would have thought , I have looked at
    http://blogs.msdn.com/b/webtopics/archive/2009/01/19/service-principal-name-spn-checklist-for-kerberos-authentication-with-iis-7-0.aspx
    http://social.technet.microsoft.com/Forums/en-US/484faae8-4df6-4b81-8b2d-9d75d5258e4f/fim-portal-http-error-401-the-requested-resource-requires-user-authentication?forum=ilm2
    http://social.technet.microsoft.com/wiki/contents/articles/4473.fim-http-error-401-the-requested-resource-requires-user-authentication.aspx
    http://setspn.blogspot.ie/2010/06/kerberos-basic-troubleshooting-tip-3.html
    The only thing that I can think of is that the machine is in the contractors.myCorp.com domain which makes the machine  
    unique from where the SPN's are registered, but if that was the case then browsing to the portal from
    http://id1 would certainly fail.
    Can anyone see anything wrong with my approach ?
    Normally I find SharePoint a pain, but this week it seems to be this.
    When I ran the fim service install I specified identity.myCorp.com as the name of the server
    Rob

    In my Load Balanced setup it helped a lot (on some strange behaviours) when I set up Load Balancer to keep session on one server.
    Borys Majewski, Identity Management Solutions Architect (Blog: IDArchitect.NET)

  • Strange behaviour after querying a friendly device name

    Hi,
    I have observed some very strange behaviour after querying the friendly name of an audio capturing device. This is my code:
    #include "stdafx.h"
    #include <mmdeviceapi.h>
    #include <Functiondiscoverykeys_devpkey.h>
    int main(int argc, char *argv[]) {
        HRESULT hr = CoInitializeEx(0, COINIT_APARTMENTTHREADED);
        if(FAILED(hr)) throw;
        IMMDeviceEnumerator *pIMMDeviceEnumerator = 0;
        hr = CoCreateInstance(__uuidof(MMDeviceEnumerator), 0, CLSCTX_INPROC_SERVER, __uuidof(IMMDeviceEnumerator), (LPVOID *) &pIMMDeviceEnumerator);
        if(FAILED(hr)) throw;
        IMMDeviceCollection *pIDeviceCollection = 0;
        hr = pIMMDeviceEnumerator->EnumAudioEndpoints(eCapture, DEVICE_STATE_ACTIVE, &pIDeviceCollection);
        if(FAILED(hr)) throw;
        IMMDevice *pIMMDevice = 0;
        hr = pIDeviceCollection->Item(0, &pIMMDevice);
        if(FAILED(hr)) throw;
        IPropertyStore *pIPropertyStore = 0;
        hr = pIMMDevice->OpenPropertyStore(STGM_READ, &pIPropertyStore);
        if(FAILED(hr)) throw;
        PROPVARIANT propVariant;
        PropVariantInit(&propVariant);
        pIPropertyStore->GetValue(PKEY_Device_FriendlyName, &propVariant);
        PropVariantClear(&propVariant);
        pIPropertyStore->Release();
        pIMMDevice->Release();
        pIDeviceCollection->Release();
        pIMMDeviceEnumerator->Release();
        CoUninitialize();
        return -1;
    Please ignore the strange error handling, it's just to make the example code short.
    The problem is the return value (as can be seen in the output window of Visual Studio after running the program or using "echo %errorlevel%" in cmd.exe). Certainly, one would expect to get -1. However, I get 0 instead of -1. What makes this
    really strange is that -1 is properly returned when the line "pIPropertyStore->GetValue..." is commented out. Why does this have any effect on the return value of the process? I have observed this on two different Window 7 machines with different
    soundcard configurations. However, I did another test on a Windows 8.1 machine, where everything worked correctly.
    Can anyone explain what's going on here?
    Thanks,
    Holger

    OK, here's what's going on.
    Everything goes fine until main() exits.
    At that point, mmdevapi.dll's DllMain is called with lpReserved set to a non-NULL value, which is to say, "don't bother to clean up."
    mmdevapi.dll decides to clean up anyway (for shame) and calls into some SetupAPI.dll functions.
    SetupAPI.dll is waiting on a critical section, but at that point ntdll.dll kicks in and says "you know what, the process is shutting down, and this is the last thread, so I can guarantee you this critical section will never be set." ntdll.dll then
    terminates the process, and main()'s exit code is lost.
    Matthew van Eerde

  • Strange behaviour with Subjective Assessments comments in SSM10 SP10

    Good day community,
    We have strange behaviour with Subjective Assessments comments in SSM10 SP10.
    We have been using this successfully for 3 quarters.
    The scenario is as follows.
    Business users capture Subjective Assessment comments successfully and these can be viewed on the scorecard overview for Q3. This can be printed to PDF successfully as well.
    A few hours later, when the user accesses the Scorecard Overview, the Q3(March 2014) comments are now replaced with the
    Q2(Dec 2013) comments. 
    This has not happened previously. We have recently deployed Internet Explorer (IE) 10 to some of the machines that previously used IE9 or IE8. Could this be a contributing factor?
    This has happened with one database on 2 contexts.  Although the database/scorecard in question has been created on SSM10, we have recently upgraded the rest of the organisation onto SSM10 from SSM7.5 but those are completely separate databases.
    We have not found a pattern yet, but there is only one assigned administrator for this database and she often has 'funny' things happen on her machine. Could it be possible that there's a virus on her machine? Or maybe there's a sequence or combination of steps that she's doing that could cause this? We have not been able to recreate the situation in our developer offices.
    Any ideas on this strange behaviour would be appreciated.
    Regards,
    Natasha

    Hi everyone,
    We have since noticed that if you go into the Administrator > Context Management > and change the "Person Responsible" and then save, once you go back to the Scorecard Overview all the Q3 comments have been overwritten with the Q2 comments.
    This happened on a different machine so it seems there could be a bug in the Administrator.
    Any thoughts on this strange behaviour would be appreciated.
    Regards,

  • Roaming Profiles / Wrong permissions? Strange Behaviour...

    Hi, got some problems with roaming windows profiles.
    Server: XServe G5 | Mac OS X 10.5 | working as PDC
    Client: Windows XP Professional SP2
    1. I'm able to connect with Windows-Client to PDC, newly created folders (e.g. on Desktop)
    are stored in the profile, also files / programs within this folders - when user logs off
    files and folders are stored properly.
    2. When I try to get the same profile at a second Windows-Client the profile could not be
    loaded because of that created file within that folder (1.).
    I get an Windows-Error-Message: "Error performing Inpage Operation"
    That only happens because of the saved /created files in the new created folders. When I create a folder, without saving a file inside, it works without problems. Profile settings are loaded properly.
    Here is the content of my samba config (with testparm) , hope that helps - I didn't make any modifications to that file manually. Would be really nice to get help with that strange behaviour.
    [global]
    dos charset = 437
    unix charset = UTF-8-MAC
    display charset = UTF-8-MAC
    workgroup = SKDL
    server string = skdl-pdc
    auth methods = guest, odsam
    map to guest = Bad User
    obey pam restrictions = Yes
    passdb backend = odsam
    log level = 2
    debug pid = Yes
    max xmit = 131072
    printcap name = cups
    add user script = /usr/bin/opendirectorypdbconfig -c createuseraccount -r %u -n /LDAPv3/127.0.0.1
    add machine script = /usr/bin/opendirectorypdbconfig -c createcomputeraccount -r %u -n /LDAPv3/127.0.0.1
    logon path = \\%N\profiles\%u
    logon drive = H:
    domain logons = Yes
    os level = 65
    preferred master = Yes
    domain master = Yes
    wins support = Yes
    usershare allow guests = Yes
    usershare allow full config = Yes
    usershare max shares = 1000
    usershare owner only = No
    usershare path = /var/samba/shares
    idmap domains = default
    idmap alloc backend = odsam
    idmap negative cache time = 5
    com.apple:filter shares by access = yes
    darwin_streams:brlm = yes
    idmap config default:backend = odsam
    idmap config default:default = yes
    ea support = Yes
    stream support = Yes
    use sendfile = Yes
    printing = cups
    print command =
    lpq command = %p
    lprm command =
    include = /var/run/smb.conf
    vfs objects = darwinacl, darwin_streams
    [netlogon]
    path = /etc/netlogon
    write list = @admin
    browseable = No
    strict locking = No
    [profiles]
    path = /Users/Profiles
    read only = No
    browseable = No
    strict locking = No
    [homes]
    comment = User Home Directories
    read only = No
    create mask = 0750
    browseable = No
    root preexec = /usr/sbin/inituser %U
    com.apple:show admin all volumes = no
    [printers]
    comment = All Printers
    path = /tmp
    create mask = 0700
    printable = Yes
    browseable = No
    ----------------

    try using cacls to check the access control on the files and directories

  • Strange behaviour of 32bit app on 64bit OS

    I have a piece of software developed by the company where I work , that is refusing to run on a couple of virtual Windows 7 (64bit) machines and a couple of client machines. (it should be noted, that it runs fine on my Win 7 x64 machine, and also
    on a couple of 64bit laptops used by our Sales staff)
    the machines in question are running Windows 7 Professional (x64)
    The application I'm trying to run  is a .NET4 based app (32bit)
    Now this is where it gets strange.
    On restoring a clean snapshot of my Win 7 machine, and installing my application , I will get clr.dll errors (which, I'm led to believe are generic .NET errors, usually indicating that there is a dependancy missing)
    If I then launch the application in Compatability Mode (Win XP SP3)  it works okay
    If I then disable Compatability Mode (ie reverting the machine back to the state is was at step #1....the application continues to work fine (even after the virtual has been restarted/ shut down)
    This would imply that all the pre-reqs are present (in this case .NET 4.x and VCRedist2010)
    Whilst this is a workaround, it's just that, and I  can't really tell my clients to do this on each machine that is going to be using our software (clients concerned enforce very strict Group Policies)
    Any idea as to what could be causing this strange behaviour, and how I can get past this without the need for a workaround.

    Hi,
    Firstly, Please understand that third party software has its own way to program codes and call corresponding system resources when installing and running.
    You may use the hotfix below to check the issue:
    FIX: "Faulting module name: clr.dll" error message when you run a Microsoft .NET Framework 4-based application
    http://support.microsoft.com/kb/2640103/en-us
    clr.dll error usually occurs when a program crashes and is really generic.
    Hope it helps.
    Regards,
    Blair Deng
    Blair Deng
    TechNet Community Support

  • P43-Neo Strange behaviour with LG IDE/PATA DVD Burner attached

    Hello, I have spent several hours installing an OS on my new MSI P43 Neo-F v1.0 Bios v1.9:
    - 1x 1000 GB SATA HDD Seagate
    - 1x DVD Burner LG IDE/PATA HL-DT-ST_DVDRAM_GSA-H42N Firmware RL01
    - 4GB OCZ Gold
    - MSI RX2600 Graphic Card
    - Bequit! Power Supply 350 Watt
    Trying to boot from the DVD Drive works, but either XP not Vista could make it to the setup screen.
    - Vista stops after some seconds with an unexpected I/O error.
    - XP Setup just crashes and dumps register values.
    Boot from USB memory stick (DVD still attached but no DVD in) lets you enter the setup and select the HDD as intall target. But, if you click "next" it gives you a message that Vista could not verify if a suitable system disk is installed.
    I could only solve the problem by completely disconnecting the GSA-H42N DVD Burner from the IDE/PATA connector.
    I could install Vista now from USB.
    After Vista was installed I reconnected the GSA-H42N DVD Burner to the IDE/PATA connector and could install software etc.
    Anyone being able to comment on this very strange behaviour ?
    In conjunction with other boards I did not encounter issues like this with that LG DVD Burner.
    It has shown that with the MSI P43 Neo F the LG GSA-H42N is unable to boot any CD/DVD. Linux for example stops booting with image crc check error.
    I have now swapped the LG GSA-H42N with an GSA-H10N from my other machine and it can boot any CD/DVD from it - everything runs fine.
    The LG GSA-H42N now runs with my other machine (with an Asrock P43 DE motherboard) also without any problems it can boot any CD/DVD from it
    Thank you,
    CPU

    Please post your Full System Specs with PSU specs amps.
    >>Posting Guide<<

  • Strange behaviour of Runtime.getRuntime().exec(command)

    hello guys,
    i wrote a program which executes some commands in commandline (actually tried multiple stuff.)
    what did i try?
    open "cmd.exe" manually (administrator)
    type "echo %PROCESSOR_ARCHITECTURE%" and hit enter, which returns me
    "AMD64"
    type "java -version" and hit enter, which returns me:
    "java version "1.6.0_10-beta"
    Java(TM) SE Runtime Environment (build 1.6.0_10-beta-b25)
    Java HotSpot(TM) 64-Bit Server VM (build 11.0-b12, mixed mode)"
    type "reg query "HKLM\SOFTWARE\7-zip"" returns me:
    HKEY_LOCAL_MACHINE\SOFTWARE\7-zip
    Path REG_SZ C:\Program Files\7-Zip\
    i wrote two functions to execute an command
    1) simply calls exec and reads errin and stdout from the process started:
    public static String execute(String command) {
              String result = "";
              try {
                   // Execute a command
                   Process child = Runtime.getRuntime().exec(command);
                   // Read from an input stream
                   InputStream in = child.getInputStream();
                   int c;
                   while ((c = in.read()) != -1) {
                        result += ((char) c);
                   in.close();
                   in = child.getErrorStream();
                   while ((c = in.read()) != -1) {
                        result += ((char) c);
                   in.close();
              } catch (IOException e) {
              return result;
         }the second function allows me to send multiple commands to the cmd
    public static String exec(String[] commands) {
              String line;
              String result = "";
              OutputStream stdin = null;
              InputStream stderr = null;
              InputStream stdout = null;
              // launch EXE and grab stdin/stdout and stderr
              try {
                   Process process;
                   process = Runtime.getRuntime().exec("cmd.exe");
                   stdin = process.getOutputStream();
                   stderr = process.getErrorStream();
                   stdout = process.getInputStream();
                   // "write" the parms into stdin
                   for (int i = 0; i < commands.length; i++) {
                        line = commands[i] + "\n";
                        stdin.write(line.getBytes());
                        stdin.flush();
                   stdin.close();
                   // clean up if any output in stdout
                   BufferedReader brCleanUp = new BufferedReader(
                             new InputStreamReader(stdout));
                   while ((line = brCleanUp.readLine()) != null) {
                        result += line + "\n";
                   brCleanUp.close();
                   // clean up if any output in stderr
                   brCleanUp = new BufferedReader(new InputStreamReader(stderr));
                   while ((line = brCleanUp.readLine()) != null) {
                        result += "ERR: " + line + "\n";
                   brCleanUp.close();
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              return result;
         }so i try to execute the commands from above (yes, i am using \\ and \" in java)
    (1) "echo %PROCESSOR_ARCHITECTURE%"
    (2) "java -version"
    (3) "reg query "HKLM\SOFTWARE\7-zip""
    the first function returns me (note that ALL results are different from the stuff above!):
    (1) "" <-- empty ?!
    (2) java version "1.6.0_11"
    Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
    Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)
    (3) ERROR: The system was unable to find the specified registry key or value.
    the second function returns me:
    (1) x86 <-- huh? i have AMD64
    (2) java version "1.6.0_11"
    Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
    Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)
    (3) ERROR: The system was unable to find the specified registry key or value.
    horray! in this version the java version is correct! processor architecture is not empty but totally incorrect and the reg query is still err.
    any help is wellcome
    note: i only put stuff here, which returns me strange behaviour, most things are working correct with my functions (using the Runtime.getRuntime().exec(command); code)
    note2: "reg query "HKLM\HARDWARE\DESCRIPTION\System\CentralProcessor\0" /t REG_SZ" IS working, so why are "some" queries result in ERR, while they are working if typed by hand in cmd.exe?

    ok, i exported a jar file and execute it from cmd:
    java -jar myjar.jar
    now the output is:
    (1) "" if called by version 1, possible to retrieve by version 2 (no clue why!)
    (2) "java version "1.6.0_10-beta"
    Java(TM) SE Runtime Environment (build 1.6.0_10-beta-b25)
    Java HotSpot(TM) 64-Bit Server VM (build 11.0-b12, mixed mode)"
    (3) C:\Program Files\7-Zip\
    so all three problems are gone! (but its a hard way, as i need both functions and parse a lot of text... :/ )
    thanks for the tip, that eclipse changes variables (i really did not knew this one...)

  • Report S_ALR_87013542 strange behaviour

    Hi All,
    Report S_ALR_87013542 - Actual/Comm/Total/Plan in COAr crcy -  is showing up cross signs in some of the columns.When the cross sign (like any other column value) is clicked the line item detail are sown correctly.
    Has anybody encountered this kind of issue before ?
    I googled and searched various forums but all in vain.
    Please provide inputs to correct this strange behaviour of Report S_ALR_87013542. Thanks!
    Regards
    Dev

    Hello Dev,
    Did you execute report RKACOR04 for the affected object number and checked if this still happens ?
    Suresh Jayanthi.

  • View Master mode strange behaviour with jpg files

    Hy all,
    I'm using Aperture, and I'm tweakin a lot the SW to discover all secrets ....
    I'm really concerned about a strange behaviour of the SW in view mode.
    If I open a jpg file, do not apply ANY modification, and apply the "show master" command (pressing M), there's a subtle behaviour :
    *the images get sharper !!!!*
    It behaves as if an "edge sharpening" was applied !!!!!!
    With _RAW files this thing doesn't happen at all._
    Even stranger, if I zoom to full definition (by pressing Z), and toggle between normal view and "show master" view, the immage remains the same !
    The effect is not so evident with all images, but sometimes it is !!
    Anyway, I expect not to have such kind of things with a professional SW.
    With professional cameras and good quality files it's really annoying not to beeing sure what's the REAL content of the jpg image.
    Has anyone noted this thing ? Is there a reasonable explanation ?
    The only one I tried to figure out is the following : may be Aperture applies some kind of resampling algorithm with jpg files (bicubic, bilinear, etc).
    May be this resampling is not applied with 100% magnification, as weel as with raw files.
    But it's only my guessing. Now, I'm tweaking other viewers and other SW to understand what's the real jpg image stored in the file : the blurer one form normal view or the sharper one with "show master" mode.
    I stress once again : of course, the jpg file I'm talking about have no settings at all, just imported and toggled with M button.
    Thanks in advance.
    Regards,
    Enzo

    Hy,
    I'm afraid I'm not been clear.
    The problem is this :
    1) jpg image opened in normal view mode, no zoom, (no quick preview, of course) : image with a certain amount of blour
    2) jpg image opened in show master mode, no zoom, (no quick previre, of course) : image SHARPER with respect with the previous.
    No edit applied from import, so "show master" command shouln't apply any change in rendering, should it ?
    The only thing I said on 100% view is that such difference (between normal mode e show mastermode) is not present with 100% magnification.
    That was the issue.
    Enzo

  • Strange behaviour: two servers on the same port

    Hi!
    I hope this is the right section for this post. I need help about a strange behaviour involving a ServerSocket.
    For my thesis I need to write a program that receives data from a pre-existing DSMS client, filters them and then sends them to a pre-existing DSMS server. And here is my problem: if I try to create a ServerSocket on the same port of the DSMS server, my program throws no exception, and the servers seem running on the same port. This is a behaviour that I'd like to avoid, but I cannot understand what the problem is. Can you help me?
    The source code of the DSMS server can be found here (it's written in C++): http://infolab.stanford.edu/stream/code/stream-0.6.0.tar.gz
    The source code of my server class, instead, is this one:
    import java.io.*;
    import java.net.*;
    public class ThreadGenerator {
         private ServerSocket server;
         public void connect(String servPort, String cHost, String cPort) {
              try {
                   server = new ServerSocket(servPort);
                   System.out.println("SERVER running on port "+servPort);
              } catch (BindException e) {
                   System.out.println("Address already in use!");
              } catch (Exception e) {
                   System.err.println(e);
              try {
                   while(true){
                        Socket client = server.accept();
                        StreamThread T = new StreamThread(client, cHost, cPort);
                        T.start();
              } catch (EOFException e) {
                   System.out.println("Server closed connection!");
              } catch (Exception e) {
                   System.err.println(e);
    }I'm programming on Mac OSX Tiger, with Java 1.5.0.
    Thanks in advance for your help.

    The problem is still happening to me, I tried in this very moment. The code I'm using is the one I posted, and the second server is the one that I linked. I don't think there's anything else to add.
    If you're sure that the problem is not in my code, then it means that it is in the linked server, which partially solves the problem. But I'd like to know, if it's possibile, if there is any other way to check if the port is already in use.

Maybe you are looking for

  • Default to "view as icon" in Mail.app messages (with attachments)

    Hello, Other than using Mail Attachments Iconizer (http://lokiware.info/Mail-Attachments-Iconizer), does anyone know of a way to default mail.app to "view as icon" when adding attachments to messages? Working in print design, we're always sending PDF

  • Macbook Pro Constantly Restarting after Upgrading to Mavericks

    Upgraded this afternoon and Macbook will not stay up for more that 3 minutes before restarting and giving the message that it is restarting because of a problem.

  • Using the paint() function on a JFrame

    I'm currently enrolled in a graphics course and we've done several programs with line drawing algorithms, polygon filling algorithms, and the like. The only problem is, I have to work on our computers in the lab on campus because of this problem: On

  • Cannot order smart playlists by date (sort of)

    Hi, After syncing, the order of my Smart Playlists are reversed.  In other words, if sorted by "date added" in itunes the most recent song shows up at the bottom on my ipod. Nothing I have tried fixes the problem including copying it to a regular pla

  • How download and apply addon

    Dear , I am using SAP ECC 6.0 with Oracle . When I run RTCCTOOL .It give Status list Missing addon/ transport / note  . [Note 69455  ]      Addon ST-A/PI 01M_ECC600 [Note 69455  ]      Note 888889 for ST-A/PI these two Red Color. Now I want to implem