[Bug 68818] New: Accidentally cross linked libraries cause endless looping and eventually crash.

nick smethurst nick.smethurst at free.fr
Sun Nov 23 01:35:08 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=68818     
           Summary: Accidentally cross linked libraries cause endless
                    looping and eventually crash.
           Product: kdevelop
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at kdevelop.org
        ReportedBy: nick.smethurst at free.fr


Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.3.1 
OS:          Linux

In auto project, if a project contains two libtool libraries and they are mistakenly crosslinked, KDevelop enters into an endless loop when the user types F7 to compile, and eventually crashes:

A bit of the resulting kdebug output (full directory paths not shown):

kdevelop (auto project):

Scheduling : < .. /src/libkvvtk/>  target <libkvvtk.la>
Looking for path src/libkvvtk
 ... checking -/ .. -
 ... (tailored: -- against -src/libkvvtk- )
 ... checking -/ .. /doc-
 ... (tailored: -doc- against -src/libkvvtk- )
 ... checking -/ .. /doc/en-
 ... (tailored: -doc/en- against -src/libkvvtk- )
 ... checking -/ .. /po-
 ... (tailored: -po- against -src/libkvvtk- )
 ... checking -/ .. /src-
 ... (tailored: -src- against -src/libkvvtk- )
 ... checking -/ .. /src/libkvisualiser-
 ... (tailored: -src/libkvisualiser- against -src/libkvvtk- )
 ... checking -/ .. /src/libkvvtk-
 ... (tailored: -src/libkvvtk- against -src/libkvvtk- )
Found it!
Found config optimized
Found config debug
Scheduling : < .. /src/libkvisualiser/>  target <libkvisualiser.la>
Looking for path src/libkvisualiser
 ... checking -/ .. -
 ... (tailored: -- against -src/libkvisualiser- )
 ... checking -/ .. /doc-
 ... (tailored: -doc- against -src/libkvisualiser- )
 ... checking -/ .. /doc/en-
 ... (tailored: -doc/en- against -src/libkvisualiser- )
 ... checking -/ .. /po-
 ... (tailored: -po- against -src/libkvisualiser- )
 ... checking -/ .. /src-
 ... (tailored: -src- against -src/libkvisualiser- )
 ... checking -/ .. /src/libkvisualiser-
 ... (tailored: -src/libkvisualiser- against -src/libkvisualiser- )
Found it!
Found config optimized
Found config debug
Scheduling : < .. /src/libkvvtk/>  target <libkvvtk.la>
Looking for path src/libkvvtk
 ... checking -/ .. -
 ... (tailored: -- against -src/libkvvtk- )
 ... checking -/ .. /doc-
 ... (tailored: -doc- against -src/libkvvtk- )
 ... checking -/ .. /doc/en-
 ... (tailored: -doc/en- against -src/libkvvtk- )
 ... checking -/ .. /po-
 ... (tailored: -po- against -src/libkvvtk- )
 ... checking -/ .. /src-
 ... (tailored: -src- against -src/libkvvtk- )
 ... checking -/ .. /src/libkvisualiser-
 ... (tailored: -src/libkvisualiser- against -src/libkvvtk- )
 ... checking -/ .. /src/libkvvtk-
 ... (tailored: -src/libkvvtk- against -src/libkvvtk- )
Found it!
Found config optimized

and so on ..

Maybe there should be some kind of check for this user error which prevents the crash?




More information about the KDevelop-devel mailing list