segfault in mxte_impl.h on tag()

Ivan Beschastnikh <[email protected]>
Newsgroups gmane.comp.python.egenix.user
Message-ID <[email protected]>
Hi,

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
mx/TextTools/mxTextTools/mxte_impl.h:62


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.


thanks,
ivan.


_______________________________________________________________________
eGenix.com User Mailing List                     http://www.egenix.com/
https://www.egenix.com/mailman/listinfo/egenix-users
tagit.tar.gz (application/x-gzip, 10.6 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.