Get File List crashes application

Bug #234527 reported by 2Die4
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DC++
Fix Released
High
Unassigned

Bug Description

When using "Get file List" form any other user, the file is downloaded, the browser window is opend and then the application crashes. DC++ 7.06
Windows Vista 64 Home.

Revision history for this message
2Die4 (greinart) wrote :

Sorry forgot somthing.
After restarting DC++ the Downloadqueue has been filled with the download file list.

Revision history for this message
MikeJJ (mrmikejj) wrote :

Does this happen with every filelist for you, or just from certain users ?

Revision history for this message
2Die4 (greinart) wrote :

Hi,

Yes, for all the Users I tried. No exception.

Revision history for this message
poy (poy) wrote :

does it also crash when you use the "File > Open own list" menu command?

Changed in dcplusplus:
importance: Undecided → High
status: New → Incomplete
Revision history for this message
2Die4 (greinart) wrote :

Hi,

Just tried to open my own file list and it crashed with a error box:

Microsoft Visual C++ Runtime Library
This application has requested the Runtimeto terminate it in an unusual way.

OK Button

I Tried it 2 times and everytime the same.

The Download Queue was not affected.

Event Viewer:
Log Name: Application
Source: Application Error
Date: 03/06/2008 21:07:41
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer:
Description:
Faulting application DCPlusPlus.exe, version 0.7.0.6, time stamp 0x48107022, faulting module DCPlusPlus.exe, version 0.7.0.6, time stamp 0x48107022, exception code 0x40000015, fault offset 0x002b6fb5, process id 0x990, application start time 0x01c8c5a17bc03df0.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2008-06-03T19:07:41.000Z" />
    <EventRecordID>1769</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Sahadoum</Computer>
    <Security />
  </System>
  <EventData>
    <Data>DCPlusPlus.exe</Data>
    <Data>0.7.0.6</Data>
    <Data>48107022</Data>
    <Data>DCPlusPlus.exe</Data>
    <Data>0.7.0.6</Data>
    <Data>48107022</Data>
    <Data>40000015</Data>
    <Data>002b6fb5</Data>
    <Data>990</Data>
    <Data>01c8c5a17bc03df0</Data>
  </EventData>
</Event>

Log Name: Application
Source: Application Error
Date: 03/06/2008 21:10:20
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer:
Description:
Faulting application DCPlusPlus.exe, version 0.7.0.6, time stamp 0x48107022, faulting module DCPlusPlus.exe, version 0.7.0.6, time stamp 0x48107022, exception code 0x40000015, fault offset 0x002b6fb5, process id 0xf38, application start time 0x01c8c5ad3877f1d0.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2008-06-03T19:10:20.000Z" />
    <EventRecordID>1770</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Sahadoum</Computer>
    <Security />
  </System>
  <EventData>
    <Data>DCPlusPlus.exe</Data>
    <Data>0.7.0.6</Data>
    <Data>48107022</Data>
    <Data>DCPlusPlus.exe</Data>
    <Data>0.7.0.6</Data>
    <Data>48107022</Data>
    <Data>40000015</Data>
    <Data>002b6fb5</Data>
    <Data>f38</Data>
    <Data>01c8c5ad3877f1d0</Data>
  </EventData>
</Event>

Revision history for this message
poy (poy) wrote :

thanks for the report, unfortunately i have no idea how to interpret the various numbers in that event log...

some more questions:
- are there other windows that crash, like the search window, etc?
- does it still crash if you switch the setting "Open new file list windows in the background" in Settings > Windows > Window options?
- does it still crash with DC++ 0.705?

Revision history for this message
2Die4 (greinart) wrote :

Hi,

I tried the new windows Option settings and it still crashes.

It only crahes on the file list. Search and others are ok.

I gonna try the 7.05 version and report back.

Revision history for this message
2Die4 (greinart) wrote :

Just tried 7.05 and it is the same.

Revision history for this message
poy (poy) wrote :
Revision history for this message
poy (poy) wrote :
Revision history for this message
poy (poy) wrote :

since most possible GUI causes have been ruled out, let's find out if this is caused by the compression code. i have attached 2 file lists; try to open them using the [File > Open file list...] menu command (and select "All files" in the file selection dialog to see the uncompressed file list). if we are lucky, the uncompressed one ("*.xml") will successfully open whereas the compressed one ("*.xml.bz2") will lead to a crash.

Revision history for this message
Adrian Moș (adimosh) wrote :

poy, what Pietry asked for in the wishlist recently (paths greater than 255 characters) might be related to this little buggy.

2Die4 - could you check whether your installation of DC++ isn't by any chance giving paths greater than 255 characters to filelists (which are known to have longer names) ?

I know this used to be a serious problem with BitComet (and, apparently, still is a major malfunction).

I've opened both filelists and they opened correctly in my case.

Revision history for this message
2Die4 (greinart) wrote :

Hi,

I tried the uncompressed and the compressed file you send me. Both worked fine and showed "Jeux Olympiques - sports" folder.
I opened the file for e:\ and from the default file list folder "C:\Program Files (x86)\DC++\FileLists\"

I opened a downloaded file list from "C:\Program Files (x86)\DC++\FileLists\!!![Key²][PT]Cedex.BBJVTF5BW63JFJZRHKXZUFCG72G4QHU7MSPNTPI.xml.bz2" and it crashed, but the download queue was unchanged.

Revision history for this message
Adrian Moș (adimosh) wrote :

Opened the file attached, no crash, works just fine, as you can see in the screenshot attached.

Placed some files into queue from the filelist. No crash there either.

Revision history for this message
eMTee (realprogger) wrote :

Adrian, do you use Vista 64 bit? (No crash for me either, XPSP2)

Revision history for this message
poy (poy) wrote :

i didn't have any problem opening that file list, except that it took some time because it's quite a huge one. it will be interesting to see if someone with a 64-bit system can open it.

about the 260 characters limit, i would assume that the file couldn't have been created in the first place, if the path was too long? however, could this be a result of Vista's reparse points?

Revision history for this message
Fredrik Ullner (ullner) wrote :

I'm running 64-bit Vista and I have no problem opening the file. (Running stock 0.706.)

Revision history for this message
Adrian Moș (adimosh) wrote :

eMTee - yes, I'm running 64-bit, standard installation of DC++, no administrative privileges (wanted it to be as restricted as possible when testing).

poy - you can create, through code, a path longer than 260 characters. Limits are enforced only when it comes to manual and API file creation (to promote well-organized folders on few levels, I guess, can't imagine any other reason why they'd still enforce this limit in Vista). Anyway, it seems to not be the case, since the path 2Die4 has given us is not that long.

Revision history for this message
2Die4 (greinart) wrote :

I'm using Windows Vista Home Edition 64Bit SP1 + All Update from Windowsupdate
Intel Quad Core Q6700 4GB Ram
Admin Rights

What Microsoft Visual C++ Runtime Library is used. Pherhaps a reinstall of Microsoft Visual C++ Runtime Library would help

Revision history for this message
MikeJJ (mrmikejj) wrote :

Have you tried a clean install of DC++ ? Just copy the EXE and the DLL to a new directory, run from there, and try opening the filelist which caused a crash. :)

Revision history for this message
2Die4 (greinart) wrote :

Hi

Sorry ot took so long to answer.

Yes I Tried it now and the open file list works.

I added all my XML files for config etc and the same thing happend again.

So I added one by one an when I added ADLSearch.xml it hung again.

So I replaced my ADLSearch.xml with a newly created one.
I could open my own filelist and several randomly coosed ones.

Then I tried an bog one 19574kb. It took sometime to open but it worked fine.

Somehow the XML got damaged or whatever.

Thanks to all for the help.

Best Regards

Revision history for this message
eMTee (realprogger) wrote :

If you haven't deleted that offending adlsearch.xml, please upload to somewhere. Thx.

Revision history for this message
2Die4 (greinart) wrote : Re: [Bug 234527] Re: Get File List crashes application

Sorry I just replaced the xml when i was trying to get it working.

Quoting eMTee <email address hidden>:

> If you haven't deleted that offending adlsearch.xml, please upload to
> somewhere. Thx.
>
> --
> Get File List crashes application
> https://bugs.launchpad.net/bugs/234527
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in DC++: Incomplete
>
> Bug description:
> When using "Get file List" form any other user, the file is
> downloaded, the browser window is opend and then the application
> crashes. DC++ 7.06
> Windows Vista 64 Home.
>
>

poy (poy)
Changed in dcplusplus:
status: Incomplete → Fix Committed
MikeJJ (mrmikejj)
Changed in dcplusplus:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.