Bug SS-2387
1 vote

[Excel Files] Crash at Export to xlsx if file exists

Created by Martin Kraska on 9/6/2016 1:07 PM Last Updated by Davide on 2/24/2017 3:09 PM
%
 (hrs)
Logged: 0   (hrs)

 Description

Smath crashes (windows message "SMath Studio doesn't work any more") if I try to save the attached file as xlsx and the file already exists (without being opened by another program). The crash occures once I confirm that the existing file should be overwritten.

If I delete the file prior to repeated export, then everything works except for the contents of the file (separate issue)

 

SMath Studio: SMath Studio Desktop 0.98.6089.6946, x64
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 (Microsoft Windows 7 Professional , x64)
Screen: 1920x1080 px, 96x96 dpi
Localization: separator=<semicolon>; decimal symbol=<comma>; system decimal symbol=<comma>; language=GER
Frameworks: CLR 2.0.50727.5485

    installed versions:
    v2.0.50727    2.0.50727.5420 SP2
    v3.0    3.0.30729.5420 SP2
    v3.5    3.5.30729.5420 SP1
    v4    
        Client    4.6.01055
        Full    4.6.01055
    v4.0    
        Client    4.0.0.0

    Davide (Friday, February 24, 2017 3:09 PM) #

The issue is related to threading and drawing resources of SS used in built-in 2D plot. If you remove that region you should be able to save & overwrite the file in 100% of attempts.