An error occur when i delete the pointer memcache_get( ) returned (use libmemcached.dll in windows)

hi, every one, I meet a problem when I test the libmemcached in windows platform, the code I use is a example from internet.
but I move memcache_get() to a while cyclic, like this:
while(1)
 char* result = memcached_get(memc,key.c_str(),key_length,&value_length,&flags,&rc);
 if( MEMCACHED_SUCCESS != rc)
  printf("memcached_get fail [%d] [%s]\n", rc, memcached_strerror( memc, rc ));
  return -1;
       printf("memcached_get success [%d] [%s]\n", rc, result);
when I run this program, there will be a quick memory leak under both linux and windows platform, so I add a delete after print the result:
delete result,result=NULL;
this solve the memory leak under linux , but the program crash under windows in the delete sentence.
I don't known if it is because I use it in wrong way, I'll appreciate if you gave an advance or explain why this happened.

Hi,
Please refer to http://libmemcached.org/libMemcached.html for more information about libMemcached, you can get source code and document from that link, since this forum is discussing the issue
of azure, if this issue don't relate to azure, I suggest you post it to the
appropriate forum for a better help.
Best Regards,
Jambor
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • PARSE_APPLICATION_DATA Error during XML = ABAP conversion: Response Message; CX_ST_DESERIALIZATION_ERROR in /1SAI/SAS0446CC11CC6EC1AD4789 Line 24 An error occurred when deserializing in the simple transformation program /1SAI/SAS0446CC11CC6EC1AD4789

    Hi Experts ,
    i have a scenario proxy to soap  where i am getting error while getting the response .
    we are sending the request successfully and getting response .some times we are getting in proxy level error below
    PARSE_APPLICATION_DATA Error during XML => ABAP conversion: Response Message; CX_ST_DESERIALIZATION_ERROR in /1SAI/SAS0446CC11CC6EC1AD4789 Line 24 An error occurred when deserializing in the simple transformation program /1SAI/SAS0446CC11CC6EC1AD4789 (Cha
    Please help us to fix this bug in proxy response.
    Regards
    Ravi

    Hello Ravinder,
    Can you please post the complete stack trace, it seems to be some fields are getting truncated i,e data sent from the program to the proxy object might be violating some length restrictions.
    Please check your message interface field lengths and what is being passed to the proxy.
    Regards,
    Ravi.

  • An error occurred when connecting to the accounting system ID3DEV310

    Hi Friends,
    We are Implementing collaboration project 4.5 and want to link with project system in ECC 6.0. Both these are in the different servers.
    I have done the configuration on both the servers and also maintain the RFC (ID3DEV310) in Object Links.
    When I create or open the existing project I get the following error: "An error occurred when connecting to the accounting system ID3DEV310"
    Costing Variant taken is PS01 (Project Planning).
    Your reply would be highly appreciated.
    Aryan

    Hi Deepak,
    I have assigned the RFC destination and web server to the object type: "0WBSELEMENT" only
    Also the same has been done for define Object links for accounting integration "0FIN_INT_ERP_PS"
    I have entered these specific to PS objects only.
    Aryan

  • "An error occurred when communicating with the server. Check connectivity with your administrator to determine whether further action is necessary", then attempt to approve TimeSheet.

    Kind day, colleague.
    It was required to organize a statement chain for TimeSheet of employees, as we realized. Everything is good, but at linear managers in PSW opportunity to execute Approve when viewing TimeSheet of the employee remained, and in attempt to approve TimeSheet there
    is a mistake.
    500 Internal Server Error
    "An error occurred when communicating with the server.  Check connectivity with your administrator to determine whether further action is necessary. "
    Accept, is carried out as it is necessary.
    It is a bug or we not correctly realized approval chain?

     issue is  related to the user booking time against a task that was past the finish/end date listed in the Project Schedule.
    To resolve the user needs to submit their time on a valid task that is still within the current reporting timeframe, or have the Project Manager
    update the task in questions so that the finish/end dates are at or beyond the submission period and then republish the project. After that, the user should be able to go in and submit their timesheet with success.
    http://patrickdrews.com/2012/09/project-server-2010-timesheet-submission-produces-an-error-occurred-while-communicating-with-the-server/
    kirtesh

  • Error occurs when I open the tasks list in MS Project Professional 2013 from SharePoint 2013

    Hi,
    I have created a SharePoint 2010 workflow for a tasks list that updates a list item column if the Date Complete <= Today's date & Percentage Complete = 100%
    I used 'Set Field in Current Item' in the workflow & the values are updated in the list for the current item.
    However, when I open the tasks list in MS Project Professional 2013 from SharePoint 2013, then I get a error "We can't write task - taskname to the SharePoint site. This is either because tasks list is in read only mode or because this task has a column
    that requires unique value."
    If I remove the 'Set Field in Current Item' in the workflow, then the error does not occur. However, the 'Set Field in Current Item' in the workflow is required.
    Please provide solution to this issue ASAP. Your reply will be greatly appreciated.
    Thanks in advance

    Hi Jack,
    A shot in the dark here.  I'm not convinced the error is from the workflow.  What is the definition of the list item column in SharePoint?  Have you set the column to requiring a unique vale?  Look at the column definition.

  • Help!  SAP-LSO - LSO-AE "A Read-Write Error Occurred when checking in the Object"

    Using version 14 of LSO-AE
    WBT publishes fine
    Error occurs during check-in to Master Repository
    It seems to be a 3rd party WBT created by the NTSB, so I only have the SCORM 1.2 package, no source files unfortunately.
    Thanks in advance for any advice that is offered!

    Figured it out.  Not that this forum helped!  But here is the answer should anyone else have a similar problem on check-in.  The standard setting for the LSO Repository is 100MB.  Trying to check in anything larger than this, caused the above error.  Increasing the configuration setting fixed the issue and allowed successful course check in without the above error.

  • Operations error occured when executing LDAP query to read members of AD group in windows 8 operating system using javascript and active-x

     My code javascript script  is
     objConnection = new ActiveXObject("ADODB.Connection");
     objConnection.Provider="ADsDSOObject";
     objConnection.Open("ADs Provider");
     objCommand = new ActiveXObject("ADODB.Command");
     objCommand.ActiveConnection = objConnection;
       objCommand.CommandText = "SELECT sAMAccountName,displayName, givenName, SN,CN,    mail,distinguishedName,primaryGroupToken,member,ADsPath,MemberOf FROM 'LDAP://"+GrpDomain+".corp.com' WHERE objectCategory='group'
    and objectClass='group' and sAMAccountName='"+GrpName+"'";
    objRecordSet = objCommand.Execute();
    This code executes successfully on window 2008 server machine,
    but gives "Operations error occurred" on windows 8 operating system
    on line of code highlighted above

    Hi,
    In regard to scripts related issue, I suggest you refer to The Official Scripting Guys Forum to get professional support:
    The Official Scripting Guys Forum
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    Thank you for your understanding and support.
    Best Regards,
    Amy Wang

  • Got "Unknown error occured" when access to the Approval page in Project Server 2013

    So long time find the solution, but cn't. Pls. help me

    Hi,
    Let's verify the following:
    Whether the issue exists in all of the users? Done a test with a user with full control permission, compare the results. 
    What is the current SP\CU version installed on Server? deploy the latest CU, compare the results.
    Whether the issue exists in other browsers, done a test in another browser, compare the results.
    Whether all resources experiencing this error.
    "An Unknown Error has occurred" is a generic error message. Please check ULS log for more detail information about the issue.
    In addition, as this issue is related to project server, I suggest you create a new thread on project server, more experts will assist you:
    https://social.technet.microsoft.com/Forums/projectserver/en-US/home?category=project
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • An unforeseeable error occurred when generating from the maintenance

    Hi All,
    When i am activating  LGMST feature i am getting "Unforeseeable error  I am defaulting max wagetypes and allowance grouping (Eg: 40/DD02 ) when i am trying to activate this feature this error is appearing how to solve this error
    Regards,
    Sita

    than it shd not show any error
    as 4.7 we can have only 20 wage types
    where as 6.00 we can have 40
    make sure u have defaulted all the wagte types of the IT 8 , 14 ,15 at a time or differently
    Edited by: Sikindar on Jul 21, 2008 4:33 PM

  • Error occurred when I execute the ship confirm

    Submitted 1 out of 1 documents for this document set. (REQ_IDS=5813936)
    Unexpected Error: Error in Routine WSH_NEW_DELIVERY_ACTIONS.setInTransit, Oracle Error - -29280
    ORA-29280: invalid directory path
    ORA-06512: at "SYS.UTL_FILE", line 41
    ORA-06512: at "SYS.UTL_FILE", line 478
    ORA-06512: at "APPS.ADS_UTIL_PKG", line 22
    ORA-06512: at "APPS.ADS_WSH_DELIVERY_DET_TRG1", line 67
    ORA-01403: no data found
    ORA-04088: error during execution of trigger 'APPS.ADS_WSH_DELIVERY_DET_TRG1'
    Interface Trip Stop request 5813937 has been submitted
    Error: Stop SHE:Bangko cannot be set to status CLOSED.
    Error: Stop SHE:Bangko on trip 3128352 is not closed and is prior to the stop 24685:Moon Street, Moon Town on trip 3128352. Please close the previous stop or re-sequence the stops, if necessary.
    Error: Stop 24685:Moon Street, Moon Town cannot be set to status CLOSED.
    Error: 0 stops were successfully closed.
    0 stops were closed with warnings.
    2 stops had errors and could not be closed.
    0 stops had warnings and could not be closed.
    Please help

    Hello,
    Look at 852639.1. You have issue with tigger.
    Regards,
    Luko

  • The following error occured when searching for on-premises exchange server

    I look after a company where I installed a new DELL server last year, The server is running Windows Small Business Server 2011 which we installed. Exchange 2010 was installed as part of the Windows Small Business Server 2011 installation. At the time we
    did not configure Exchange because they use external POP accounts for email. Eventually they wanted to move over to Exchange
    When we created the user accounts using Windows SBS Console, it created a local mailbox for each user
    No problems - [email protected]
    Since late last year every time I create a new user within SBS Console, it errors creating the mailbox
    Add a user account and assign a user role
    Getting "Unexpected error occurred" when Setting up an e-mail account for user
    Looking at the error "Unexpected error occurred" & MessagingManagement "Unexpected error occured"
    The user account is created ok just no e-mail address is created for the user
    I never thought much about this at the time as we weren't using Exchange email accounts. I decided to have a look at this issue over weekend
    When I try to open Microsoft Exchange Management Console I'm getting "Initialization failed"
    The following error occurred when searching for the On-Premises Exchange server
    When I try to open Microsoft Exchange Management Shell, I get a similar error
    I've download & run EMTShooter which just identifies there is an error & gives me the same error
    I've installed & re-installed WinRM IIS Extensions
    I've checked all the settings in IIS, Default Web Site, PowerShell, Modules & Paths...
    Still cannot connect to Exchange
    I've trawled through the internet for two days checking & testing every solution but no luck
    I've checked every setting against another Windows SBS 2011 Server we've installed & works
    I cannot find a difference
    Can someone help me or point me in the right direction?
    Peter Ralphs

    Thanks for the reply Cara
    Here's the original error I was getting when opening Exchange Management Console
    Initialization failed
    The following error ocurred while searching for the on-premises Exchange server:
    [server.myd.local] Connecting to remote server failed with the following error message : The WinRM client cannot process the request. It cannot determine the content type of the HTTP response from the destination computer. The content type is absent or invalid.
    For more information, see the about_Remote_Troubleshooting Help topic. It was running the command 'Discover-ExchangeServer -UseWIA $true -SuppressError $true -CurrentVersion 'Version 14.1 (Build 218.15)
    I got similar error when trying to access the Exchange Management Shell
    VERBOSE: Connecting to SERVER.myd.local
    [server.myd.local] Connecting to remote server failed with the following error message : The WinRM client cannot process the request. It cannot determine the content type of the HTTP response from the destination computer. The content type is absent or invalid.
    For more information, see the about_Remote_Troubleshooting Help topic.
        + CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [],                          
    PSRemotingTransportException
        + FullyQualifiedErrorId : PSSessionOpenFailed
    When I opened the Exchange Management Console this week, the error had changed slightly
    Initialization failed
    The following error ocurred while searching for the on-premises Exchange server:
    [server.myd.local] Connecting to remote server failed with the following error message : The WinRM client received an HTTP server error status (500), but the remote service did not include any other information about the cause of the failure. For more information,
    see the about_Remote_Troubleshooting Help topic. It was running the command 'Discover-ExchangeServer -UseWIA $true -SuppressError $true -CurrentVersion 'Version 14.1 (Build 218.15)
    I could only run Exbpa from a command prompt (obviously no access from Exchange Management Console)
    This is the result of the Health Check Scan
    Organization: First Organization
    Default Global Address List Changed
    The 'msExchQueryFilter' attribute of the default Global Address List 'Default Global Address List' has been changed. Default: '(Alias -ne $null -and (ObjectClass -eq 'user' -or ObjectClass -eq 'contact' -or ObjectClass -eq 'msExchSystemMailbox' -or ObjectClass
    -eq 'msExchDynamicDistributionList' -or ObjectClass -eq 'group' -or ObjectClass - eq 'publicFolder'))'. Current: '((Alias -ne $null) -and (((ObjectClass -eq 'user') -or (ObjectClass -eq 'contact') -or (ObjectClass -eq 'msExchSystemMailbox') -or (ObjectClass
    -eq 'msExchDynamicDistributionList') -or (ObjectClass -eq 'group') -or (ObjectClass -eq 'publicFolder'))))'.
    Admin Group: Exchange Administrative Group (FYDIBOHF23SPDLT)
    The default public folder database is remote
    The default public folder database for mailbox database 'Mailbox Database' on server SERVER isn't local. Public folder database: CN=Public Folder Database 1529293969,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=First
    Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=myd,DC=local.
    Server: SERVER
    Disk timeout changed
    Disk timeout on server SERVER.myd.local is not set at the default of 10 seconds. This is normal if third-party storage software is installed. Current timeout value is 160 seconds.
    Client RPC binding found
    The 'Rpc_Binding_Order' is set on server SERVER.myd.local. It is possible that either the Exchange or Outlook client is installed on the server. Current registry value: ncalrpc,ncacn_ip_tcp.
    One thing I've noticed from the start is that the error occurs when it is "searching" for the Exchange Server, it then goes on to name the server [server.myd.local] it knows it's there but cannot access it ?
    Another thing I've noticed is that it always refers to the "remote server" this server is Windows SBS 2011, it's the Domain Controller, DHCP Server, DNS Server & Exchange Server all in the same box
    I also noticed that the Health Check stated that "The default public folder database is remote"
    Has this something to do with it ?
    Regards
    Peter

  • EREC: An error occurred when you tried to insert infotype 1001 in IDOC

    Hello Experts,
    I have standalone e-Recruitment system and separate SAP HR system. I have ALE configuration done to talk both system.
    In the Initial Transfer, I ran PFAL in HR system in 5 steps.
    Step 1  Execute PFAL (RHALEINI)for Obj Type O, Infotype 1000 and Transfer mode as Update mode
    Step 2  Execute PFAL (RHALEINI)for Obj Type S, Infotype 1000 and Transfer mode  as Update mode
    Step 3  Execute PFAL (RHALEINI)for Obj Type O and Transfer mode as Insert
    Step 4:  Execute PFAL (RHALEINI)for Obj Type S and Transfer mode as Insert
    Step 5:  Execute PFAL (RHALEINI)for Obj Type P and Transfer mode as Insert
    All IDOC created in update mode (Step 1 & 2) are green in receiving e-recruitment system but IDOC getting create in Insert mode (Step 3 ,4 &5) are in status 51/52 I mean Red.
    Error messages are as below:
    1) An error occurred when you tried to insert infotype 1001 using RH_INSERT_INFTY (return code 3).
    2) You tried to create a relationship from object 01S 76037685 to object 01AGC:R3HCM:OM_DISPLAY_US. However, object 01AGC:R3HCM:OM_DISPLAY_US does not exist or is not active in the period from 20110101 to 99991231
    3) You tried to create a relationship from object 01O 10840305 to object 01O 10299323. However, object 01O 10299323 does not exist or is not active in the period from 20110101 to 99991231.
    @ 3rd message : Object 10299323 exist but I still don't understand why I get this message.
    Please provide valuable suggestion so that I can get rid of this error in IDOC
    Appreciate your help.
    Regards,
    Krishna Bidwai
    Losangeles USA.
    818 527 0204.
    Edited by: krishna bidwai on Aug 22, 2011 7:19 PM

    Dear Krishna,
    Hope you are doing good.
    I know its very late in getting into this conversation. Since I am also experiencing the same issue, i need some inputs from you.
    The error you posted on the top is same what i am getting when I am doing data transfers from SAP HR to E-Rec systems. Our iDoc is working file in Development server but not in Quality server. I am experiencing the same errors what you have mentioned above.
    When i checked the error, this error has occurred in subroutine read_namtb for structure  of infotype.
    Proceedure is to Check the entry for infotype  in table T777D (structure, IDoc segment,
    expanded structure) and the corresponding structures.
    As you have resolved this issue before, can you please suggest what needs to be maintained in the tables such as T777D, T777E, and T777Z.
    Appreciate your valuable inputs on this.
    Thank you.

  • I'm getting a message "An error occurred when attempting to change modules"

    Hi, I have just loaded LR CC on to my new iMac & I'm getting a message "An error occurred when attempting to change modules" I have used a Catalog from my Macbook stored on an external hard drive & there are no images, no panels & i can't access LR preferences, please help as i have images to process for clients! PLEASE HELP...

    I have tried to look for download as it says but no down load, so i went to step 2 but i don't understand & can't find the files they are asking me to change. I am not super good with macs or any computer so I'm finding it hard to follow there instructions e.g. Preference file and other file locations | Lightroom 5.x I'm not sure if I'm looking for the rite areas of the iMac & i can't find what they are asking.

  • Error occuring when opening file programatically?

    I am trying to create a directory(ok) and then create a file from information obtained from a program(error). In this example i am calling the directory C:\TESTDATA\`serialnumber`\`type of test` and the file called `date``operator`.xls
    However once the directory is created, an error occurs when i open the file to write my table into?
    Can anyone help?
    Thanks
    Attachments:
    test.llb ‏77 KB

    Hi,
    Can you do two things to help us help you? First, save your vi's using the "Save with options" selection "Development distribution", as some us don't have the OpenG libraries installed, and two, give us the error code/message you are getting.
    Thanks
    P.M.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • WMIProviderException: An error occurred when attempting to connect to the report server remote procedure call (RPC) end point

    I am getting the following error message while trying to configure a database for a Reporting Service Server.  Both SQL Server and Reporting server are 2012 named instances.  I have 2014 instances as well on the same server.
    Exception details...
    Microsoft.ReportingServices.WmiProvider.WMIProviderException: An error occurred when attempting to connect to the report server remote procedure call (RPC) end point. Verify that the Report Server Windows service is running, and then retry the operation.
     ---> System.Runtime.InteropServices.COMException (0x800706B3): The RPC server is not listening. (Exception from HRESULT: 0x800706B3)
       --- End of inner exception stack trace ---
       at Microsoft.ReportingServices.WmiProvider.RSWmiAdmin.ThrowOnError(ManagementBaseObject mo)
       at Microsoft.ReportingServices.WmiProvider.RSWmiAdmin.GenerateDatabaseScript(String databaseName, Int32 lcid, Boolean isSharePointIntegrated, String& script)
       at ReportServicesConfigUI.WMIProvider.RSReportServerAdmin.GenerateDatabaseScript(String databaseName, Int32 lcid, Boolean isSharePointIntegrated, String& script)
    Can someone help me on this please?

    Hi Jaigi,
    According to your description, you want to change a report server database for Reporting Services. But it fails on the last step and returns a error. Right?
    In this scenario, it seems you are creating a report server database on another server via remote connection. Based on the error message, it has issues on executing the script for generating new database. Please check if you have permission to connect the
    server and create a new database. Also please check if the Reporting Services Windows services is working properly.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

Maybe you are looking for

  • Missing keyframes when opening fla-file

    I am working freelance on an animated show for children, animating characters in flash, and I have a problem that is driving me crazy. I will try to explain it so it won't be too confusing.. This just happened on the file I am working on now, an anim

  • Overwriting Drag and Drop Interaction

    I've got a Flash slide presentation with a drag and drop learning interaction added. When I try to add a second drag and drop interaction to the presentation, I get prompted to either replace or don't replace the existing drag and drop, even though I

  • How to default Noted Items, etc. in FLB1N

    When I run FBL1N,  I want all the Types (Special G/L transactions, Noted Items, Parked items, Customer items) ) to be selected. After I log out of SAP and Log in again.  The fields are unselected (except for Normal Items) again.  I saved a variant, b

  • Cd- and HDs icon no more on the deskop

    hey everybody. iam a little in trouble with my emac. iam using mac osx 10.2.x, dunno exactly. since a few days there are no more cd/DVDR - icons and no icons from portable HD or usb-sticks on the desktop and i dont no how i can get hese icons back or

  • I want to block a website that is harassing me please help

    I want to block a website that is harassing me by popping up everytime I start firefox. I have already deleted cookies that I thought belonged to the website through firefox's browser but to no avail. This website creates its cookies as soon as I del