Using nanosleep() in a threaded program cause SIGBUS or SIGSEGV

Greetings,
I'm working on a multit-threaded program using Solaris' threads (not POSIX).
When I call nanosleep() or usleep(), sometimes the program works well, but often I get either a SIGSEGV or a SIGBUS.
Have a look at the following dbx output using a core file:
(dbx) threads
o>    t@1  a  l@1   ?()   signal SIGSEGV in  t_splay()
      t@2  a  l@2   cpu_thread()   LWP suspended in  ___nanosleep()
(dbx) thread 2
dbx: unrecognized arg/option '2'
Use the 'help' command for more information.
(dbx) thread t@2
Current function is cpu_thread
  367           nanosleep(&sleep_time, NULL);
t@2 (l@2) stopped in ___nanosleep at 0xfe5c017c
0xfe5c017c: ___nanosleep+0x0008:        bcc,a,pt  %icc,___nanosleep+0x18       ! 0xfe5c018c
(dbx) list
  367           nanosleep(&sleep_time, NULL);
(dbx)The code used to create the thread:
thr_create(NULL, 0, cpu_thread, NULL, 0, &tid);Am I missing something?
Any suggestions are welcome.
Thanks,
-Thomas

t@1 a l@1 ?() signal SIGSEGV in t_splay() Most likely a corrupted malloc heap. Thread t@1 is crashing
somewhere inside malloc() or free().
Use libumem(3LIB) or dbx's access / memory checking support
to find out where you're corrupting the malloc heap.
t@2 a l@2 cpu_thread() LWP suspended in ___nanosleep() The nanosleeping thread isn't responsible for the crash.
The t@1 thread is the culprit. Print a stack trace for thread t@1.

Similar Messages

  • HELP!....GUI crashes when i call a multi-threaded program from it

    Hi..I have encountered a problem in my end of year project, which i cant see to solve. The problem is i am starting a multi-threaded program for a JButton on a GUI. All though this starts the other program it crashes the GUI completely how do i stop this.
    this is the code i use to call the threaded program.
    public void actionPerformed(ActionEvent e)
    Object target=e.getSource();
    String line = new String();
    if( target==b1 )
         try
    cl = new client();
         cl.startup();
         catch(Exception ex){ex.printStackTrace();}
    thanks Mike

    No there is no exceptions being given. this is one of the reasons why i dont no what to do. i thought myself that the threaded was taking all the resources and not going back to the GUI. if this is the case is there anyway that i can call back the GUI and keep the threaded program running?
    thanks
    mike.

  • Multi threaded programming

    I am quite new to multi threaded programming.
    The problem I am facing in my code is as follows:
    I can instantiate 1-10 threads from my controller class. For example if my controller class generates 10 threads, 5 threads
    finish the task they are assigned to do(i.e send SMS and Update the Database) and the other 5 threads eventhough send SMS but
    get stuck when they are supposed to update the Database (this is inferred from the logs).
    Due to this problem my controller class remains in a wait state as I am using the join() method and some of the threads never
    join.
    Another interesting observation is that it always happens that the thread numbered 0-5 always get stuck at the exact point
    where database has to be updated and thread number 6-10 complete their task. Same is the case when i instantiate 2 threads, i
    thread completes its task and another thread gets stuck, again at the same point.
    I am using Connection Pooling to connect to the database.
    I am sure that the problem is with the query
    int j=dbObject.execute_pst("UPDATE table SET flag='true' WHERE message IN("+trueFlag+")",con);
    where true flag is a comma seperated string containing some ID's.
    What i cannot understand is why some of the threads (almost 50% of them), work fine with this query and the others get stuck
    (i.e. just wait at this query during runtime)

    The problem must lie in the connection, as the SQL statement is to basic to cause an endless loop inside the DBMS. If you are in doubt, try the setMaxRows() method of the Statement interface, I'm using Sybase and it also limits the number of rows processed in update and delete statements (which I'm pretty sure is buggy, but you can still try it).
    Which DBMS are you using by the way?

  • SOME SERVICES STOP AUTOMATICALLY IF THEY ARE NOT IN USE BY OTHER SERVICES OR PROGRAMS

    I currently install a software that needs to have a services run in order to for the license to be detected.When i run the services manually i got this error message
    'THE UBSLAN_LDR SERVICE ON LOCAL COMPUTER STARTED AND THEN STOPPED.SOME SERVICES STOP AUTOMATICALLY IF THEY ARE NOT IN USE BY OTHER SERVICES OR PROGRAMS'
    What can cause this and solution please

    Hi kuados  ,
    Thanks for posting here.
    After reading your posting I understand that when you establish USBLAN_LDR service on windows server 2008, system prompt an error message.
    According the information what you provided right now, it’s hard to determine what cause this issue, you may like to post more information about your environment
    (Event log ,Other  System prompting etc… ).
    Please check if it worked with assign a  Local System account instead of Local Service account to run this service.
    Open service MMC snap-in.
    Right UBSLAN_LDR service , and click “properties”.
    Click “Log on” tab , and assign a local account for running this services.
    Seems this issue related to a third party software, I suggest to consult software vendor for future troubleshooting.
    Please understand that I don't mean to bounce you between different solution provider as I am fully aware how time consuming this can be. However, they really are
    in a better position to be able to assist you with this issue as they may have experienced similar issues.
    Thanks for your understanding.
    Tiger Li
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • How to use the Eudora e-mail program with new ports

    For those of you that still use Eudora as your mail program. Here is how I made the required changes for the new port settings
    1) Open Eudora and from the "Tools" drop down menu select "Personalities"
    2) In the "Personalities" pane - right click the account you want to change and select "Properties"
    3) In the "Generic Properties" pane change the following
       a) Change the SMTP server to    smtp.verizon.net      and leave the "Authentication Allowed" box checked
       b) In the"Secure Sockets When Sending" selection box pick "Required,Alternate Port" . This both turns on SSL
           and makes the port  number 465 as required by Verizon
    4) Click the "Incoming Mail" tab at the top and then make the following changes
       a) Change the POP server to     pop.verizon.net
       b) In the"Secure Sockets When Sending"  selection box pick "Required,Alternate Port" . This both turns on SSL
            and makes this port  number 995 as required by Verizon
    Thats it . It should work for you now. You need to do this for each "Personality" (Sub account) you have

    Eudora users may also need to make changes to Eudora's Options (Tools > Options) "Getting Started", "Checking Mail" and "Sending Mail" in addition to the changes for each Eudora Personality. I outlined those changes in the "Eudora & server changes" thread--note there is a typo ("smpt" rather than "smtp") in the first post (couldn't edit that post to make the correction) in the thread so make sure to check the entire thread as a later post shows the correct entry.
    I had problems with Eudora sending mail (I didn't have problem with incoming mail because I don't use Verizon's servers for that) until I made changes to both Personality accounts and to the Option/suboptions noted above.
    Did you get things to work properly without having to make changes in Options?

  • TS2326 when I import my ppictures to my PC it wont let me rotate and it says THIS FILE MIGHT BE IN USE OR OPEN IN ANOTHER PROGRAM OR THE FILE OR FOLDER MIGHT BE READ ONLY

    can somebody help me cause i cant rotate my pics its a message came out when i try to do that.its says the file might be in use or open in another program or the file or folder might be read only

    Are you saving the files to a server? Did you email a version of the file and then continue to work on it without closing it?

  • Use of submit in report programming

    What is submit ..how it is used to pass parameters to reports....In what scenario we will use submit .
    can anyone guide me ???
    Helpful answers will be rewarded.

    when we have to run some other report from any report then we are using submit statement. there are lot of options to use submit command bellow you can check this. But the prime concern is running another report from your report.
    SUBMIT
    Basic forms:
    1. SUBMIT rep.
    2. SUBMIT (name).
    Extras:
    1. ... LINE-SIZE col
    2. ... LINE-COUNT line
    3. ... TO SAP-SPOOL List output to the SAP spool database
    4. ... USING SELECTION-SCREEN scr
    5. ... VIA SELECTION-SCREEN
    6. ... AND RETURN
    7. ... EXPORTING LIST TO MEMORY
    8. ... USER user VIA JOB job NUMBER n
    9. ...Various additions for passing parameters to rep
    10. ... USING SELECTION-SETS OF PROGRAM prog
    Effect
    Calls report rep.
    The system leaves the active program and starts the new report rep. In basic form 2, you can specify the name of the report in the field name. You must specify the name in uppercase, otherwise a runtime error occurs.
    Note
    You can only start programs with type '1' using SUBMIT. If the program has a different type, the system triggers a runtime error.
    Please consult Data Area and Modularization Unit Organization documentation as well.
    Addition 1
    ... LINE-SIZE col
    Effect
    The list generated by the report has the line width col.
    Addition 2
    ... LINE-COUNT line
    Effect
    The list generated by the report has line lines per page.
    Addition 4
    ... USING SELECTION-SCREEN scr
    Effect
    When you execute the report, the system uses the selection screen number that you specify in the scr field. This must be a selection screen defined using the SELECT-OPTIONS, PARAMETERS and SELECTION-SCREEN statements.If you omit the addition, the system uses the standard selection screen 1000.
    This addition allows you to start the same report in different situations, using a different selection screen each time.
    Notes
    The addition VIA SELECTION SCREEN determines whether the report is processed in the foreground or the background.
    What happens if the required screen does not exist or is not a selection screen?
    Screen 1000:
    If you want to use the standard selection screen (... USING SELECTION-SCREEN 1000 or do not specify a ... USING SELECTION-SCREEN) addition, the system does not process a selection screen.
    Other selection screens:
    The system triggers a runtime error.
    Addition 5
    ... VIA SELECTION-SCREEN
    Effect
    The selection screen is displayed. In this case, the selection screen is displayed again after the report list has been displayed. The values entered by the user remain displayed.
    Addition 6
    ... AND RETURN
    Effect
    Returns to the calling transaction or program after the called program has been executed. SUBMIT ... AND RETURN creates a new internal session.
    Addition 7
    ... EXPORTING LIST TO MEMORY
    Effect
    Does not display the output list of the called report, but saves it in ABAP memory and leaves the called report immediately. Since the calling program can read the list from memory and process it further, you need to use the addition ... AND RETURN . Also, since the called report cannot be requested for printing, the addition ... TO SAP-SPOOL is not allowed here. In addition, you must not assign a function code to the ENTER key in the current GUI status. The saved list is read from the SAP memory using the function module 'LIST_FROM_MEMORY' and can then be saved to the database using EXPORT, for example. You can process this list further with the function modules 'WRITE_LIST', 'DISPLAY_LIST' ... of the function group "SLST".
    Addition 8
    ... USER user VIA JOB job NUMBER n
    Effect
    Schedules the specified report in the job specified by the job name job and the job number n. The job runs under the user name user and you can omit the addition USER user. The assignment of the job number occurs via the function module JOB_OPEN (see also the documentation for the function modules JOB_CLOSE and JOB_SUBMIT). This addition can only be used with the addition ...AND RETURN.
    Note
    When scheduling a report with the SUBMIT ... VIA JOB job NUMBER n statement, you should always use the addition ...TO SAP-SPOOL to pass print and/or archive parameters. Otherwise, default values are used to generate the list and this disturbs operations in a production environment.
    SY-SUBRC = 0:
    Job scheduled successfully
    SY-SUBRC = 4:
    Job scheduling terminated by user
    SY-SUBRC = 8:
    Error in job scheduling (JOB_SUBMIT)
    SY-SUBRC = 12:
    Error in internal number assignment
    Addition 10
    ... USING SELECTION-SETS OF PROGRAM prog
    Effect
    Uses variants of the program prog when executing the program rep.
    Note
    Important
    The programs prog and rep must have the same SELECT-OPTIONS and PARAMETERs. Otherwise, variants of the program prog may be destroyed.
    Note
    When using this addition, the specified variant vari of the program prog is taken in USING SELECTION-SET vari. On the other hand, all variant-related actions on the selection screen of rep (Get, Save as variant, Display, Delete) refer to the variants of prog.
    Example
    SUBMIT REPORT01
           VIA SELECTION-SCREEN
           USING SELECTION-SET 'VARIANT1'
           USING SELECTION-SETS OF PROGRAM 'REPORT00'
           AND RETURN.
    Effect
    Executes the program REPORT01 with the variant VARIANT1 of the program REPORT00.
    Exceptions
    Non-Catchable Exceptions
    Cause: The specified program was not found.
    Runtime Error: LOAD_PROGRAM_NOT_FOUND
    Cause: Invalid value passed to a selection with SIGN.
    Runtime Error: SUBMIT_WRONG_SIGN
    Cause: The specified program is not a report.
    Runtime Error: SUBMIT_WRONG_TYPE
    Cause: More than one value passed to a report parameter.
    Runtime Error: SUBMIT_IMPORT_ONLY_PARAMETER
    Cause: Table passed to a selection with WITH sel IN itab that has an unexpected structure.
    Runtime Error: SUBMIT_IN_ITAB_ILL_STRUCTURE
    regards
    shiba dutta

  • Titler program causes cs5 premium pro to crash

    I was in the middle of a project using cs5 premium pro and using titler with no problems.  There was a momentary power outage (don't know if this had anything to do with the problem) and computer rebooted without issue.  Next day when I went to use the titler program it froze the program and caused a shutdown.  Everything in premium pro works fine except the titler.  I reloaded the program, ran all windows updates, defragged, shut off virus protection and everything I can think of but still titler program causes a program freeze and shutdown.  When I click on an old title or click on new title, the title window comes up and then freezes.  If I click anywhere in the title window the program not responding window comes up and I have to shut down the program.  Any help or advice would be appreciated.
    Thanks
    I am running windows 7, 64.  I7, 12 GB ram and 1 TB.

    Thank you for the reply.  I fiddled with windows for several hours and finally just reloaded it.  It fixed the problem so it was a windows problem not premier pro.  I only use this computer for video so it wasn't much hassle.  Thanks again.  Oh, I do have several drives to keep data on.  It is a necessity.  I really think I will go mac soon.
    Blake
    From: Harm Millaard <[email protected]>
    To: blake barnett <[email protected]>
    Sent: Monday, July 18, 2011 10:03 AM
    Subject: Titler program causes cs5 premium pro to crash
    Check your fonts for corruption. 1TB does not mean a single disk, does it? You need at least two physically separate disks, but better 3.

  • Mouse freezes while using Firefox. No other programs affected. Also in safe mode. Tried reinstall without resolution. Disabled Addons. Happens especially while loading pages but also at other times.

    Hi.
    The mouse freezes when using firefox. No other programs are causing this problem, which stops immediately once I use CTRL-ALT-DELETE to delete the firefox task.
    I have done a full uninstall of firefox after trying safe mode without resolution. I deleted the install directory to make sure that no files remained in the default installation area.

    radjrown wrote:
    was only after migrating the old account that things went wrong.
    Hmm...that's the last place I'd expect an issue?
    EDIT: Wait... if you didn't migrate the first time you booted up the system in Setup Assistant than you may have created another Home folder. Check your /Users in Safe Mode.
    Thought twice about cracking open a new MBP, but spent quite a bit of cash fitting SSDs in 2 desktops and a laptop 6 months ago, so didn't feel like coughing up another 600 USD again.
    Yes, that what I thought and in concept it's a good idea but I'm actually quite hardware challenged myself, so wouldn't even dream of it
    Again, there's a lot of savvy hardware folks here, so I hope you get some concrete help.
    -mj

  • "Could not use the ***** because of a program error"

    I'm using Photoshop CS CC on the new Mac which looks like a rubbish bin, and keep receiving "Could not use the ***** because of a program error". Does anyone know a work around or fix as I can't work with photoshop.

    There seem to be recurring permissions errors for Photoshop running under OS X Mavericks. You might check into disk utility : repair permissions, or very carefully manually altering permissions here and there.
    Not entirely sure this relates to your issue, but it might help:  http://forums.adobe.com/thread/1404674?tstart=0
    And  http://forums.adobe.com/thread/1403095?tstart=120
    And I'm sure you can search for several more threads related to permissions issues with Mavericks. I think Apple needs to do an update to Mavericks. But with careful permissions alteration, you can probably get PS working.
    Once you're pretty secure in what permissions can change and what permissions should never change, you can Google a permissions utility called BatChmod. It rocks, is extremely powerful, and in the wrong hands can destroy your entire system.  :+)  So be careful ...

  • Thread Programming and Condition.Await

    I'm trying to get better acquainted with threaded programming by building a mock music player. It's not going over so well
    What am I doing wrong in the code snipped below? The snippet below is inside the run() method of the MusicPlayer class.
    It seems that it simply doesn't excute as intended. The behavior I want is:
    - When in Off mode: do nothing
    - When in Playing mode: Wait until song finishes, then remove song from playlist (call PlaySong)
    - When in Pause mode: Wait (pauseTimeOut) milliseconds, and if nothing happens, go to Off mode.
    The thread runs fine, but it seems that it waits forever in whatever state it is in.
    I apologize for the weird if statements..
    while (alive) {
                   System.out.println("State: "+state);
                   switch (state) {
                   case Off:
                        System.out.println("System is off");
                        try { cond.await(); }
                        catch(InterruptedException e) { alive = false; }
                        break;
                   case Paused:
                        boolean stillWaiting=true;
                        System.out.println("Waiting..");
                        try { stillWaiting=cond.await(pauseTimeOut, TimeUnit.MILLISECONDS); }
                        catch(InterruptedException e) { alive = false; }
                        if(stillWaiting) {
                             //Do nothing
                        } else if (state == States.Paused) {
                             state=States.Off;
                        break;
                   case Playing:
                        System.out.println("Playing..");
                        if(playlist == 0) {
                             state = States.Paused;
                        } else {
                             boolean waitingEndSong=true;
                             try { waitingEndSong=cond.await(songTime, TimeUnit.MILLISECONDS); }
                             catch(InterruptedException e) { alive = false; }
                             if(waitingEndSong) {
                                  //Do nothing
                             } else if (state == States.Playing) {
                                  PlaySong();
                             break;
                        try { cond.await(); }
                        catch(InterruptedException e) { alive = false; }
                        break;
                   default:
                        alive = false;
    }

    To get better help sooner, post a SSCCE that clearly demonstrates the problem.
    Use 2 to 4 spaces, not tabs, for indentation. Most members won't take the trouble to read code that is too deeeply indented. I know I don't.
    luck, db

  • Does Java program cause a memory violation?

    Hi
    My Java Swing program runs well, but some time there is a message popped up which says "The Instruction at "Ox77f83941" referenced memory at "Ox72697088". The memory could not be written. Click on OK to terminate the program"
    This message can pop up usually when I am running the program , but also at the time I am not running it ( though rarely). I would like to khow whether my program causes it or whether there is something wrong with my computer. The message has never shown before I write and use my program.
    Does anyone can help me to find the cause of this problem? I would be very thankful.

    It's also possible, if this is occuring on a Windows 9x platform, that the operating system needs to be reinstalled. There is something wrong with the Win9x kernel or some of its associated files. A friend of mine archived a copy of his WINDOWS\SYSTEM directory and compared it using diff two weeks later; by that time, system DLLs had changed (and he hadn't installed or updated anything during that time period). This suggested to us that Win9x is self-corrupting.
    I have frequently found that unexplainable problems on Win9x platforms can be solved by an OS reinstall. You might look into it if nothing else works and your install of 9x is three to six months old or older.

  • A question about thread programming ...

    Is it possible to modify the following program such that the output is
    ABCABCABC ...
    I tried yield, but not getting results on every run.
    The program is:
    public class Example1 {
    public static void main(String[] args) {
    MyThread t1 = new MyThread("A");
    MyThread t2 = new MyThread("B");
    MyThread t3 = new MyThread("C");
    t1.start();
    t2.start();
    t3.start();
    class MyThread extends Thread {
    private String message = "Hallo!";
    public MyThread() {}
    public MyThread(String s) {message = s;}
    public void run() {
    for (int i = 1; i <= 5; i++) {
    System.out.print(message);
    }

    Not really, no. It's possible (not using yield) to force threads to run in a particular order, but it's kind of missing the point of using threads in the first place!
    Yield is there purely to allow other threads the opportunity to run. It makes no guarantee about which thread will run next.
    If you really must, you need to use a wait() call to force the thread to block, notifyAll calls to resurrect them, and some commonly accessed resource that allows each thread in turn to determine IF it is its turn to run when it is awakened by the notifyAll call. That seems to be the closest to the spirit of what you're trying to do.
    It's a lot of work for something that you can more simply achieve by having only one thread of execution in the first place!

  • After closing Firefox to use IE8 or any other program, everything is very choppy and slow. I have to go into Taskbar, Processes, and close firefox.exe manually (which is using up all the memory/CPU). Then, and only then, does everything behave normally. W

    After closing Firefox to use IE8 or any other program (like InterVideo to watch a DVD), everything is very choppy and slow. I have to go into Taskbar, Processes, and close firefox.exe manually (which is using up all the memory/CPU and should have closed before). Then, and only then, does everything behave normally. What is going on and what am I doing wrong or missing??
    == This happened ==
    Every time Firefox opened
    == about a couple months ago and happens every time I close Firefox.

    <u>'''Kill Application'''</u>
    In Task Manager, does firefox.exe show in the <u>'''Processes'''</u> tab?
    See: '''[http://kb.mozillazine.org/Kill_application Kill Application]'''
    '''<u>Causes and solutions for Firefox hanging at exit:</u>'''
    '''[[Firefox hangs]]'''
    '''[http://kb.mozillazine.org/Firefox_hangs#Hang_at_exit Firefox hangs at exit (Mozillazine article)]'''
    '''[[Firefox is already running but is not responding]]'''
    <u>'''Safe Mode'''</u>
    You may need to use '''[[Safe Mode]]''' (click on "Safe Mode" and read) to localize the problem. Firefox SafeMode is a diagnostic mode that disables extensions and some other features of Firefox. If you are using a theme, switch to the DEFAULT theme: Tools > Add-ons > Themes before starting Safe Mode. When entering Safe Mode, do not check any items on the entry window, just click "Continue in Safe Mode". Test to see if the problem you are experiencing is corrected.
    See:
    '''[[Troubleshooting extensions and themes]]'''
    '''[[Troubleshooting plugins]]'''
    '''[[Basic Troubleshooting]]'''
    If the problem does not occur in Safe-mode then disable all of your extensions and then try to find which is causing it by enabling one at a time until the problem reappears. You have to close and restart Firefox after each change via File > Restart Firefox (on Mac: Firefox > Quit). You can use "Disable all add-ons" on the Safe mode start window.
    <u>'''''Other Issues''''': to correct security/stability issues</u>
    <u>'''Update Java'''</u>: your ver. 1.6.0.19; current ver. 1.6.0.20 (<u>important security update 04-15-2010</u>)
    ''(Windows users: Do the manual update; very easy.)''
    See: '''[http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates Updating Java]'''
    Do the update with Firefox closed.

  • Does HP Officejet Pro 6835 support Scan to E-Mail using the HP Printer assistant Program?

    I receive error.
    Scan to EMAIL application not found. The HP Scan application cannot find an email application installed on this computer. Please ensure your e-mail application is installed and properly configured. Note: Internet-based email applications are not supported.
    Note: Accessing the EWS on the printer does not show a Scan to Email Setup under the Scan tab it only shows Scan to Computer and WEBSCAN.
    Running Windows 8.1 64 bit with Mozilla Thunderbird as default Mail application.
    When I let HP Detect my product it lists two printers installed. HP Officejet Pro 6830  e all-in-one printer (Not my Printer) and HP Officejet Pro 6835 e-all-in one Printer (My Printer with correct Ser # and Product #)
    Windows 8.1 only lists HP Officejet Pro 6830 (Network) as my default printer.
    Does HP have an application that will remove all printers from Windows 8?
    If so I may remove printer and reinstall with OJ6830_73.exe the full function printer listed for my printer on the HP web site.
    Any assistance in this matter would be appreciated. Please read all above before responding because I have been told that WINDOWS 8.1 needs my default e-mail and other solutions that did not work. 

    Hey @HenryRC,
    Welcome to the HP Support Forums!
    I would like to assist you today with resolving the 'scan to email' issue that you're experiencing when attempting to Scan to email via HP Scan from your HP Officejet 6835 All-in-One Printer to your Windows 8.1 computer using the Mozilla Thunderbird email program. Thank you for including in your post that you have already ensured that Mozilla Thunderbird is your default Mail application. At this time I'm going to have you run some additional steps.
    Step 1: Check Email Application:
    Ensure that your Mozilla Thunderbird email application is the full version of the software installed on your computer and not a Windows 8.1 App. It has to be installed as a local email client. Web-based email clients (email apps, Gmail, Hotmail, Yahoo Mail, etc . . .) will not work.
    If Mozilla Thunderbird is fully installed on your computer, please proceed to the next step.
    Step 2: Update Firmware:
    This issue may be caused by a programming issue with your printer. To ensure that your printer is running the latest programming Firmware version please click here. Once the website opens select the download button on the top left. Once the download is complete please follow through with any onscreen instructions to upgrade the Firmware.
    Once the Firmware has been updated please test scanning again. Should the issue persist please proceed to the next step.
    Step 3: Uninstall Drivers:
    The HP Officejet Pro 6830 and HP Officejet Pro 6835 are the same products. It's just that the 6830 is the series and you have the 6835 within that series. Don't be alarmed if your product comes up as a 6830.
    Open your Start screen by selecting the Windows button on the bottom left hand corner of your computer screen or by selecting the Windows key on the bottom left of your keyboard to the right of the Ctrl button
    Once the Start screen opens type Programs and Features. Click on Programs and Features to launch it
    In the Programs and Features window a list of programs installed on your computer will populate
    Scroll down the list and look for the HP Officejet
    Click on the HP Officejet and select Uninstall
    Follow any onscreen steps to complete the uninstall. Once your printer has been successfully uninstalled please continue to the next step.
    Step 4: Install Printer:
    Please click here to download the HP Full Feature Drivers and Software for your printer
    Once the website opens select the Download button on the top left
    Allow the Download to Run if prompted
    Once the download is complete please follow the onscreen steps to install your printer
    Once the installation is complete please try HP Scan 'Scan to Email' again to verify if everything is working.
    Please let me know if the steps I've provided resolve your scanning issue. Good luck!
    X-23
    I work on behalf of HP
    Please click "Accept as Solution" if you feel my post solved your issue, it will help others find the solution.
    Click the "Kudos, Thumbs Up" on the right to say "Thanks" for helping!

Maybe you are looking for