bugDotGNU Portable.NET - Bugs: bug #10753, csdoc crashes with segmentation...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #10753: csdoc crashes with segmentation fault

Submitter:  None
Submitted:  Wed 20 Oct 2004 06:19:27 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Thu 28 Oct 2004 02:19:55 PM UTC, comment #3: 

Fixed in CVS Oct 28th 2004

Gopal.V <t3rmin4t0r>
Group administrator
Mon 25 Oct 2004 11:02:11 PM UTC, comment #2: 


> gdb

GNU gdb 6.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-suse-linux".
(gdb) file csdoc
Reading symbols from csdoc...done.
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) run -o api.xml lib/*.cs
Starting program: /usr/local/bin/csdoc -o api.xml lib/*.cs
[Thread debugging using libthread_db enabled]
[New Thread 1075454624 (LWP 6039)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1075454624 (LWP 6039)]
0x080a62a3 in _ILNode_ListIter_Init (iter=0xbfffd0c0, node=0x37) at cg_stmt.tc:220
220             if(node != 0 && yyisa(node, ILNode_List))
(gdb) backtrace
#0  0x080a62a3 in _ILNode_ListIter_Init (iter=0xbfffd0c0, node=0x37) at cg_stmt.tc:220
#1  0x080638f8 in GetIndexerName (info=0x81317c0, attrTree=0x81de0fc, prefixName=0x81de1a0) at cs_grammar.y:393
#2  0x08065b47 in cs_parse () at cs_grammar.y:3233
#3  0x08071c3e in ParseFile (filename=0xbfffd0c0 "<", is_stdin=136175780) at cc_main.c:1066
#4  0x08072764 in CCMain (argc=21, argv=0xbfffee14) at cc_main.c:134
#5  0x0804a617 in main (argc=21, argv=0xbfffee14) at csdoc.c:126
(gdb)

The directory lib in lib.zip contains the affected sources (lib/*.cs).

Anonymous
Mon 25 Oct 2004 12:31:43 PM UTC, comment #1: 

Can I get something useful to debug with ?. coredumps , original files or at least a gdb back trace ?.

Gopal.V <t3rmin4t0r>
Group administrator
Wed 20 Oct 2004 06:19:27 PM UTC, original submission:  

csdoc causes a segmentation fault when
I try to extract the xml documentation from
18 C# files with about 215 kB.
csdoc doesn't write any output before
it crashes (tested on Linux).
And it doesn't print anything with -v and -vv.

I can provide the affected source files if required.

BTW, there is no warning with "csc /doc:doc.xml /warn:1 ...".

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #1929:  lib.zip added by None (134KiB - application/x-zip - directory with source which causes csdoc to crash)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-10-28 t3rmin4t0r StatusNone Fixed
    Open/ClosedOpen Closed
2004-10-25 None Attached File- Added lib.zip, #1802

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code