Menu

#31 Regex Crash with Macs

open-works-for-me
5
2014-08-18
2008-05-11
j_house
No

u@koala:~/Programmieren/projects/housebot/trunk/housebot$ ./housebot-0.7
Warning - Adaptive timing control had to correct internal tracking variables
HBerr works
All self-initialization complete.
All unit tests passed.
HouseBot now starting...
boardsize 9
Bus error

Using gdb:
u@koala:~/Programmieren/projects/housebot/trunk/housebot$ gdb
./housebot-0.7
GNU gdb 6.3.50-20050815 (Apple version gdb-768) (Tue Oct 2 04:07:49 UTC
2007)
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 "i386-apple-darwin"...No symbol table is
loaded. Use the "file" command.
Breakpoint 1 (-[NSException raise]) pending.
Reading symbols for shared libraries ... done

(gdb) run
Starting program:
/Users/u/Programmieren/projects/housebot/trunk/housebot/housebot-0.7
Reading symbols for shared libraries ++. done
Warning - Adaptive timing control had to correct internal tracking variables
HBerr works

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x00007dc3 in
_D5tango4text6stream14StreamIterator22__T14StreamIteratorTaZ14StreamIterator7consumeMFZb
(this=@0xbfffee4c) at
/usr/share/gdc/bin/../lib/gcc/i386-apple-darwin9.2.2/4.1.2/../../../../include/d/4.1.2/tango/text/Regex.d:1961
#2 0x00007c85 in
_D5tango4text6stream14StreamIterator22__T14StreamIteratorTaZ14StreamIterator4nextMFZAa
(this=@0xbfffee4c) at
/usr/share/gdc/bin/../lib/gcc/i386-apple-darwin9.2.2/4.1.2/../../../../include/d/4.1.2/tango/text/Regex.d:1954
#3 0x0000788a in
_D5tango4text6stream12LineIterator20__T12LineIteratorTaZ12LineIterator6readlnMFKAaZb
(this=@0xbfffee4c, content=@0xbfffe314) at
/usr/share/gdc/bin/../lib/gcc/i386-apple-darwin9.2.2/4.1.2/../../../../include/d/4.1.2/tango/text/Regex.d:1871
#4 0x00005653 in _D3gtp9gtpClient11__unittest0FZv11sendCommandMFAaAaiZv
(input={length = 8, ptr = 0xc5e24 "VoidVoid"}, expectedResponse={length
= 1, ptr = 0xc5ede "="}, callCounterIncrement=1) at
/usr/share/gdc/bin/../lib/gcc/i386-apple-darwin9.2.2/4.1.2/../../../../include/d/4.1.2/tango/text/stream/StreamIterator.d:134
#5 0x00004fc5 in _D3gtp9gtpClient11__unittest0FZv () at gtp.d:1
#6 0x00007812 in _D3gtp9__modtestFZv () at
/usr/share/gdc/bin/../lib/gcc/i386-apple-darwin9.2.2/4.1.2/../../../../include/d/4.1.2/tango/text/Regex.d:1865
#7 0x000c33b2 in
_D5tango4core7Runtime18runModuleUnitTestsUZb14__foreachbody1MFKC10ModuleInfoZi
()
#8 0x000c33ea in runModuleUnitTests ()
#9 0x000b73ad in
_D9dgccmain211_d_run_mainUiPPaPUAAaZiZi7tryExecMFDFZvZv (dg={object =
0xbffff0c4, func = 0xb77dc
<_D9dgccmain211_d_run_mainUiPPaPUAAaZiZi6runAllMFZv>}) at dgccmain2.d:64
#10 0x000b7739 in _d_run_main (argc=1, argv=0xbffff17c,
main_func=0x13f75 <_Dmain>) at dgccmain2.d:64
#11 0x000b70fe in main (argc=-1073745576, argv=0x21c4) at cmain.d:6
(gdb)

Discussion

  • j_house

    j_house - 2008-05-29
    • assigned_to: nobody --> urbanhafner
    • status: open --> closed-works-for-me
     
  • j_house

    j_house - 2008-05-29

    Logged In: YES
    user_id=1353569
    Originator: YES

    Tango-internal unit tests crash on Macs. The offending module for this crash has its unit tests fail. This bug has been reported to the Tango team. I hope it gets fixed soon.

     
  • Urban Hafner

    Urban Hafner - 2008-05-29
    • status: closed-works-for-me --> open-works-for-me
     
  • Urban Hafner

    Urban Hafner - 2008-05-29

    Logged In: YES
    user_id=159737
    Originator: NO

    Reopened, as this hasn't been fixed in Tango, yet.

     
  • j_house

    j_house - 2008-05-31

    Logged In: YES
    user_id=1353569
    Originator: YES

    Changed title for greater accuracy (based on current understanding of problem)

    Depends on http://www.dsource.org/projects/tango/ticket/1112

     
  • j_house

    j_house - 2008-05-31
    • summary: I/O Crash with Macs --> Regex Crash with Macs
     

Log in to post a comment.

MongoDB Logo MongoDB