Menu ▾ ▴

#314 system.nsi example crash

2.0 Series
closed-fixed
General (291)
5
2015-04-14
2005-01-14
Instructor
No

${NSISDIR}\Contrib\System\System.nsi

Compile - no errors
Execute - crash

There is some error in sample1.

Discussion

  • Amir Szekely

    Amir Szekely - 2005-01-14

    Logged In: YES
    user_id=584402

    Works fine for me. Please include more information - crash
    details, exact crash line, stack trace and anything else
    that might help.

     
  • Amir Szekely

    Amir Szekely - 2005-01-14
    • assigned_to: nobody --> kichik
     
  • Instructor

    Instructor - 2005-01-15

    Logged In: YES
    user_id=1197108

    I use NSIS v2.04. Error appear in WinME, Win2k SP4, WinXP
    SP2.

     
  • Instructor

    Instructor - 2005-01-15

    Screenshots

     
  • Instructor

    Instructor - 2005-01-19

    Logged In: YES
    user_id=1197108

    What can you say about it (in previos post I added
    attachment)?

     
  • Amir Szekely

    Amir Szekely - 2005-01-20

    Logged In: YES
    user_id=584402

    Not much yet. Click the "more details" text and attach those
    details. Also get into the systemMessageBox function in
    SysFunc.nsh to get the real line that causes the crash.

     
  • Instructor

    Instructor - 2005-01-21

    Logged In: YES
    user_id=1197108

    Line in Function systemMessageBox:
    System::Call '${sysLoadLibrary}($2) .r1'

    Is there way to copy those "more details"?

     
  • Amir Szekely

    Amir Szekely - 2005-01-21

    Logged In: YES
    user_id=584402

    If Control+C doesn't work, a screen shot is ok too.

     
  • Instructor

    Instructor - 2005-01-21

    Logged In: YES
    user_id=1197108

    Attachment

     
  • Amir Szekely

    Amir Szekely - 2005-01-21

    possible fix

     
  • Amir Szekely

    Amir Szekely - 2005-01-21

    Logged In: YES
    user_id=584402

    I think it happens because LoadLibrary is passed 0. I have
    no idea why it causes crashes only for you, but on the other
    hand it's not mentioned anywhere that it does accept 0. I
    have modified StrFunc.nsh a bit to call GetModuleHandle
    first. It's attached. Please test it and let me know if it
    still crahes.

     
  • Amir Szekely

    Amir Szekely - 2005-01-21

    Logged In: YES
    user_id=584402

    BTW, I have deleted your attachment because it contained you
    CPU identifier. I don't know if it really matters, but just
    in case.

     
  • Instructor

    Instructor - 2005-01-21

    Logged In: YES
    user_id=1197108

    Now all is OK. (Posted error appeared on 3 different PC.)

     
  • Amir Szekely

    Amir Szekely - 2005-01-21

    Logged In: YES
    user_id=584402

    Great. Thanks.

     
  • Amir Szekely

    Amir Szekely - 2005-01-21
    • milestone: --> 2.0 Series
    • summary: ${NSISDIR}\Contrib\System\System.nsi --> SysFunc.nsh:systemMessageBox crash
    • labels: --> General
    • status: open --> closed-fixed
     
  • Amir Szekely

    Amir Szekely - 2005-01-21
    • summary: SysFunc.nsh:systemMessageBox crash --> system.nsi example crash
     

Log in to post a comment.