Alpha Video Training
Results 1 to 8 of 8

Thread: Crashes following upgrade to 4.5

  1. #1
    Member Jenny Earnshaw's Avatar
    Real Name
    Jenny Earnshaw
    Join Date
    Feb 2001
    Location
    Hertfordshire, UK
    Posts
    77

    Default Crashes following upgrade to 4.5

    I have experienced the following problem since upgrading from Version 4.03 Build 230 to Version 4.5 Build 263.

    I have a form, which has an order of PICKING_NO and a Print button on it which prints the current record. It has the following Code attached to it.

    dim A_ASK_PRINT as c
    A_ASK_PRINT = ui_get_radio("Print Picking Ticket No.:"+space(1)+PICK_HEAD->PICKING_NO, 1, "Print", "Preview")
    if A_ASK_PRINT = "Print"
    goto print
    elseif A_ASK_PRINT = "Preview"
    goto preview
    else
    goto cleanup
    end if
    print:
    current_record = alltrim(str(recno(),10,0))
    :Report.print("Pick Ticket(Current)","BETWEEN(RECNO(),"+ current_record+ "," + current_record+")")
    goto cleanup
    preview:
    current_record = alltrim(str(recno(),10,0))
    :Report.preview("Pick Ticket(Current)","BETWEEN(RECNO(),"+ current_record+ "," + current_record+")")
    goto cleanup
    cleanup:
    end

    I have a second form ("Create ConN") which has an embedded browse in which I want to display only records where a field (CONSIGN_NO) is blank. I have created an ON ACTIVATE event which is:
    tbl = table.current()
    indx = tbl.index_get("noCN")
    tbl.index_primary_put(indx)

    After I have used the Print button on the first form and then tried to load the second form with the following code:

    if is_object("Create ConN") then
    Create ConN.show()
    Create ConN.activate()
    else
    :Form.view("Create ConN")
    end if

    I get both the following messages and Alpha will not let me continue or re-load the application without re-booting the PC.

    ALPHA5 caused an exception 10H in module A2ENGINE.DLL at 0167:005e78b1.
    Registers:
    EAX=00000044 CS=0167 EIP=005e78b1 EFLGS=00010212
    EBX=00da7290 SS=016f ESP=00da6dec EBP=00da6e04
    ECX=00000000 DS=016f ESI=00da7690 FS=4a8f
    EDX=03b428dc ES=016f EDI=00da726c GS=0000
    Bytes at CS:EIP:
    dc 1d d8 90 63 00 53 56 57 df e0 9e 0f 82 fe 00
    Stack dump:
    00da726c 00da7690 00da7290 00000000 00000000 00000000 00da7274 005f0151 000003ff 00000000 03a213f1 00da76e2 00da7690 00000000 4145485f 00000044

    ALPHA5 caused an invalid page fault in
    module MFC40.DLL at 0167:5f8012b6.
    Registers:
    EAX=00000071 CS=0167 EIP=5f8012b6 EFLGS=00010207
    EBX=00000004 SS=016f ESP=00dafa94 EBP=00dafae0
    ECX=00000000 DS=016f ESI=0000071c FS=4a8f
    EDX=00000000 ES=016f EDI=027fdfc8 GS=0000
    Bytes at CS:EIP:
    f7 71 08 8b 44 24 0c 89 10 8b 41 04 85 c0 74 12
    Stack dump:
    027fdfa8 5f8012ef 0000071c 00dafaa4 ffffffff 5f8048a8 0000071c 00dafac0 00c80288 00000000 00000004 5f80129f 5f82c034 00c802d0 00c801b8 00c801b8

    Any ideas?? Thanks.

  2. #2
    "Certified" Alphaholic
    Real Name
    Michael Humby
    Join Date
    Apr 2000
    Location
    Leicester, UK
    Posts
    1,036

    Default RE: Crashes following upgrade to 4.5

    My first check would be on the table containing the index 'noCN'. Make certain the index does still exist. If it does delete it and re create it.

    Michael

  3. #3
    Member Jenny Earnshaw's Avatar
    Real Name
    Jenny Earnshaw
    Join Date
    Feb 2001
    Location
    Hertfordshire, UK
    Posts
    77

    Default RE: Crashes following upgrade to 4.5

    Thanks for your help. I think I may have discovered what is causing the crashes. The crashes occur after almost every print preview when using my HP Deskjet 990cxi printer as the default printer. If I change the default printer the crashes appear to stop.

    I have tried several of my applications and all crash after a Print Preview using the HP Deskjet 990cxi.

    I did check all the indexes and even deleted and rebuilt the index file before I discovered the link with the printer.

  4. #4
    "Certified" Alphaholic
    Real Name
    Michael Humby
    Join Date
    Apr 2000
    Location
    Leicester, UK
    Posts
    1,036

    Default RE: Crashes following upgrade to 4.5

    Jenny,

    Glad that you have discovered the cause, but the cure would be of interest, I have come up against this problem myself in the past after opening a print preview. Switching the default printer often stopped the problem but was not a satisfactory solution.

    I am curious to know if the same printer and settings triggered the crash before V4.5

    Michael

  5. #5
    Member Jenny Earnshaw's Avatar
    Real Name
    Jenny Earnshaw
    Join Date
    Feb 2001
    Location
    Hertfordshire, UK
    Posts
    77

    Default RE: Crashes following upgrade to 4.5

    I think this printer was causing problems last week. I only installed it last Monday and was working on one of my applications last week on Version 4.03. and was having the same crash. As I only tested Print Preview a couple of times I didn't link the crashes to the printer but am sure they were the same two messages.

    Therefore, I think it is the printer not the upgrade. It ia brand new HP Deskjet 990cxi. I am designing it for a client who will be using an old Brother laser so don't think I'll have the same problem there!

    Wonder if any one else is trying to use this printer with Alpha Five. By the way it crashes Alpha Five when printing to it as well as Print Previews and as it is the printer that wins all the review tests (in UK anyway!) this might be a problem for Alpha.

  6. #6
    "Certified" Alphaholic
    Real Name
    Michael Humby
    Join Date
    Apr 2000
    Location
    Leicester, UK
    Posts
    1,036

    Default RE: Crashes following upgrade to 4.5

    Jenny,

    Strange but I had a simialar experience only last week. I visit a potential client who wanted a second look at my application and installed my app with V4.5 runtime and experienced embarassing crashes.

    I imediately blamed V4.5 since I had demoed the app previously on his computer loaded with V4.03 with no problem. But on reflection the client had just installed a new printer and this may well have been the cause of crashes. Unfortunately, I do not know the make of his printer, all I know is, it incorporates, copier, color and is huge. After the embarrasing crashes, I am not that welcome to enquire further.

    I would loke to hear of other encounters with printer conflicts and their cures so that I can be prepared.

    Michael

  7. #7
    Member Jenny Earnshaw's Avatar
    Real Name
    Jenny Earnshaw
    Join Date
    Feb 2001
    Location
    Hertfordshire, UK
    Posts
    77

    Default RE: Crashes following upgrade to 4.5

    I am going to do some more testing tomorrow but I have about 6 applications that I have designed which have never caused crashes before. Now if print and then load a form A5 crashes and it is since I installed the HP Deskjet last Monday.

    I thought it was Version 4.5 at first but I remember having the same messages last week after installing the printer and before the Alpha upgrade.

    Maybe your client's printer was one of the combined HP printer/scanner/copiers.

  8. #8
    Member
    Real Name
    Stephen Williams
    Join Date
    Apr 2000
    Location
    Oakland, CA
    Posts
    930

    Default RE: Crashes following upgrade to 4.5

    Michael:
    I asked this board about printers before buying an HP2100. I had a horrible time as I wanted to print some reports for a board meeting (I was treasurer, now secretary, for a contractors association). I used Excels print to fit option on a landscape page and the whole thing locked up. Next I had a landscape report from A5 lock up. I spent a LOT of time checking cables etc, talking with HP support. The printer properties paper source was set to tray1 (which had paper, and was the correct source) but at best it would print as manual - which requires a button pressed on the printer on each page. By setting this paper source choice to Auto it usually works. I haven't figured the other issues yet.

    Cutting through the fat - I think HP printer drivers are not too rugged. Probably trying to please too many machines under too many circumstances...

Similar Threads

  1. Upgrade to Upgrade prices??
    By patelxyz in forum Alpha Five Version 5
    Replies: 7
    Last Post: 07-27-2002, 11:24 PM
  2. Crashes?
    By Joan Hannan in forum Alpha Four Versions 7 and 8
    Replies: 8
    Last Post: 12-09-2001, 03:11 PM
  3. More crashes
    By davidv43 in forum Alpha Five Version 4
    Replies: 1
    Last Post: 02-20-2001, 11:23 AM
  4. V1.03 CRASHES
    By andrew pettey in forum Alpha Five Version 1
    Replies: 3
    Last Post: 08-22-2000, 10:52 AM
  5. GPF Crashes
    By Bonnie Jacques in forum Alpha Five Version 1
    Replies: 0
    Last Post: 08-17-2000, 09:50 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •