View Issue Details

IDProjectCategoryView StatusLast Update
0027780LazarusIDEpublic2015-04-04 18:20
ReporterdelfionAssigned ToBart Broersma 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSMintOS Version
Product Version1.4RC2Product Build 
Target VersionFixed in Version1.4 
Summary0027780: AV in compare files
DescriptionAccess violation in compare files, when filename 2 is empty fSelectedFile2.fFile
TagsNo tags attached.
Fixed in Revisionr48620
LazTarget1.4
WidgetsetGTK 2
Attached Files

Activities

delfion

2015-04-04 08:50

reporter   ~0082573

Addition: fSelectedFile2.fFile = nil when closing the dialog

Bart Broersma

2015-04-04 13:13

developer   ~0082580

Happens in trunk as well.

Bart Broersma

2015-04-04 13:33

developer   ~0082581

Program received signal SIGSEGV, Segmentation fault.
0x00847a8b in TDIFFDLG__SAVESETTINGS (this=<error reading variable>)
    at diffdialog.pas:465
465 InputHistories.DiffText2:=fSelectedFile2.fFile.Name;
(gdb) bt
# 0 0x00847a8b in TDIFFDLG__SAVESETTINGS (this=<error reading variable>)
    at diffdialog.pas:465
# 1 0x0084676e in SHOWDIFFDIALOG (TEXT1INDEX=1, DIFF=0x0)
    at diffdialog.pas:184
# 2 0x004680cd in TMAINIDE__DODIFF (this=<error reading variable>)
    at main.pp:10202
# 3 0x00453e34 in TMAINIDE__MNUTOOLDIFFCLICKED (SENDER=0x1228f4b0,
    this=<error reading variable>) at main.pp:4579
# 4 0x007108f6 in TIDEMENUITEM__MENUITEMCLICK (SENDER=0x122ba7b8,
    this=<error reading variable>) at menuintf.pas:575
# 5 0x00713b37 in TIDEMENUCOMMAND__MENUITEMCLICK (SENDER=0x122ba7b8,
    this=<error reading variable>) at menuintf.pas:1651
# 6 0x005bde94 in TMENUITEM__CLICK (this=<error reading variable>)
     at ./include/menuitem.inc:84

....
(gdb)

Bart Broersma

2015-04-04 13:38

developer   ~0082583

Please test and close if OK.

Issue History

Date Modified Username Field Change
2015-04-04 08:45 delfion New Issue
2015-04-04 08:50 delfion Note Added: 0082573
2015-04-04 13:13 Bart Broersma LazTarget => -
2015-04-04 13:13 Bart Broersma Note Added: 0082580
2015-04-04 13:13 Bart Broersma Status new => confirmed
2015-04-04 13:33 Bart Broersma Note Added: 0082581
2015-04-04 13:36 Bart Broersma Assigned To => Bart Broersma
2015-04-04 13:36 Bart Broersma Status confirmed => assigned
2015-04-04 13:38 Bart Broersma Fixed in Revision => r48620
2015-04-04 13:38 Bart Broersma LazTarget - => 1.4
2015-04-04 13:38 Bart Broersma Note Added: 0082583
2015-04-04 13:38 Bart Broersma Status assigned => resolved
2015-04-04 13:38 Bart Broersma Fixed in Version => 1.4
2015-04-04 13:38 Bart Broersma Resolution open => fixed
2015-04-04 18:20 delfion Status resolved => closed