Package: doxygen
Version: 1.4.2-1
Severity: important

Hello,

A simple file bug.h containing:
/**
 * \fn
 */

makes doxygen crash:
  $ doxygen Doxyfile 
  Searching for include files...
  Searching for example files...
  Searching for images...
  Searching for dot files...
  Searching for files to exclude
  Reading input files...
  Reading and parsing tag files
  Preprocessing /home/lroussea/Sources/doxygen/src/bug.h...
  Read 59 bytes
  Parsing input...
  Parsing file /home/lroussea/Sources/doxygen/src/bug.h...
  Segmentation fault

If you add something after "\fn", like "\fn a" the execution completes
without error.

I have the same behavior with \var, \typedef and possible some other
declarations.

Maybe doxygen could indicate a syntax error instead of crashing?

It is even more problematic when you use doxywizard since you will not
see the segmentation fault. The output in doxywizard is:
  Searching for include files...
  Searching for example files...
  Searching for images...
  Searching for dot files...
  Searching for files to exclude
  Reading input files...
  Reading and parsing tag files
  Preprocessing /home/lroussea/Sources/doxygen/src/bug.h...
  Read 64 bytes
  Parsing input...
  Parsing file /home/lroussea/Sources/doxygen/src/bug.h...
  *** Doxygen has finished

Regards,

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686-smp
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages doxygen depends on:
ii  libc6                       2.3.2.ds1-21 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.4.3-12   GCC support library
ii  libpng12-0                  1.2.8rel-1   PNG library - runtime
ii  libstdc++5                  1:3.3.5-12   The GNU Standard C++ Library v3

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to