Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #1112 (new defect)

Opened 4 months ago

Last modified 2 months ago

Regex crash on Mac

Reported by: jhouse Assigned to: jascha
Priority: major Milestone: 0.99.8
Component: Core Functionality Version: 0.99.6 Jeff
Keywords: triage Cc: jason.james.house@gmail.com, urban@bettong.net

Description

After getting Bus Errors while inside Regex, I decided to test just the Regex module's unit tests. See below for further details. This is based on the contents of /Users/jhouse/bugtest on Anders' machine.

Test Program: import tango.text.Regex; void main(){}

Key gdc compilation flags: -fversion=RegexUnittests? -funittest

Program output: CharClass? unittest [(0)-(a)(0)-(6)(5)-(c)(c)-(11)(14)-'d'] optimized: [(0)-(11)(14)-'d'] negated: [(12)-(13)'e'-(ff)] optimized: [(12)-(13)'e'-(ff)] negated: [(0)-(11)(14)-'d'] [] optimized: [] negated: [(0)-(ff)] optimized: [(0)-(ff)] negated: [] [(0)-'d'(c8)-(ff)] negated: ['e'-(c7)] negated: [(0)-'d'(c8)-(ff)] [(0)-(c8)'d'-(ff)] optimized: [(0)-(ff)] [(9)-(13)(20)-'~'(a0)-(ff)(100)-(17f)(180)-(24f)(20a3)-(20b5)] optimized: [(9)-(13)(20)-'~'(a0)-(24f)(20a3)-(20b5)] negated: [(0)-(8)(14)-(1f)(7f)-(9f)(250)-(20a2)(20b6)-(10ffff)] optimized: [(0)-(8)(14)-(1f)(7f)-(9f)(250)-(20a2)(20b6)-(10ffff)] negated: [(9)-(13)(20)-'~'(a0)-(24f)(20a3)-(20b5)] tango.core.Exception.AssertException?@/opt/d/include/d/4.0.1/tango/text/Regex.d(972): control the results for yourself, i'm too lazy to type all those asserts ;)

Change History

05/17/08 22:54:19 changed by jhouse

  • cc changed from jason.james.house@gmail.com to jason.james.house@gmail.com, urban@bettong.net.

05/18/08 10:48:13 changed by sean

  • owner changed from sean to jascha.

05/24/08 12:47:54 changed by larsivi

  • keywords set to triage.

07/02/08 17:32:45 changed by jascha

  • milestone changed from 0.99.7 to 0.99.8.