[egenix-users] segfault in mxte_impl.h on tag()

Ivan Beschastnikh ivan at cs.washington.edu
Mon Mar 8 09:57:16 CET 2010


I'm attempting to run tag() on a string that has 1314211 chars in it
(~1.3MB). The same program works fine on other relatively large
strings, although they probably don't have as bad a structure as this
particular string.

Running the python program with gdb I'm getting:

Program received signal SIGSEGV, Segmentation fault.

0xb7d17d2f in mxTextTools_TaggingEngine (textobj=0xb6b99008,
sliceleft=422374, sliceright=1314211, table=0x84c97f0,
taglist=0x85aa5cc, context=0x0, next=0xbf6ca178) at

Is the string too long, or is something else the culprit here?

Attached is tagit.tar.gz which includes tagit.py. You can run it to
reproduce the segfault.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: tagit.tar.gz
Type: application/x-gzip
Size: 14715 bytes
Desc: not available
Url : /mailman-archives/egenix-users/attachments/20100308/a1f473f9/tagit.tar.bin

More information about the egenix-users mailing list