Menu

#86 Problem with large Files / Win32

open-postponed
None
1
2004-11-02
2002-04-25
ReKa
No

When using large files on the version I created I have
the problem that the line number (lineno variable) gets
too large and after that I get an internal error. I did
not find an obvious reason why this happens. I tried
enlarging the buffer size but that didn't help.

An example where my version does not run with
QT3.0.3/Win32 is the dsp file created with qmake from
the (actually my) pro file.

Regards,

Reinhard

Discussion

  • Martin Blais

    Martin Blais - 2002-05-18
    • assigned_to: nobody --> blais
     
  • Martin Blais

    Martin Blais - 2002-05-19
    • status: open --> open-postponed
     
  • Martin Blais

    Martin Blais - 2002-05-19

    Logged In: YES
    user_id=10996

    i need more information to help you... i have never compiled a
    windows version of it... i don't have qt/comm.
    i'd be happy to assist though.

    what line is the internal error? can you get a stack trace?

     
  • ReKa

    ReKa - 2002-05-21

    Logged In: YES
    user_id=57955

    On QT3.0.4 I now get an exception with the current version
    so I can't really help on that, but here is the backtrace
    just before the exception occurs (I double checked that the
    pathes from the files to be diffed are ok):

    QFileInfo::doStat() line 443
    QFileInfo::isDir() line 543
    XxApp::processFileNames(const XxCmdline & {...}, QString *
    0x0012f74c {"" len=0}, QString * 0x0012f760 {"" len=0},
    unsigned char * 0x0012f75c, unsigned char & 0x00) line 493 +
    11 bytes
    XxApp::XxApp(int & 0x00000001, char * * 0x0012fdd8, const
    XxCmdline & {...}) line 270 + 43 bytes
    main(int 0x00000003, char * * 0x00d455e0, char * *
    0x0012ff0c) line 75 + 32 bytes

    It's qfileinfo_win.cpp line 443 which causes the exception:
    r = _tstat((const TCHAR*)qt_winTchar(fn,TRUE),
    (QT_STATBUF4TSTAT*)b);

    maybe you have an idea, why tstat fails here (it's the second
    parameter which makes problems).

    The file names are:

    k:\misc\xxdiff\src\exceptions.cpp
    k:\misc\xxdiff-2.5\src\exceptions.cpp

     
  • Martin Blais

    Martin Blais - 2004-11-02
    • priority: 5 --> 1
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.