Skip to content

segfault in hash access (possibly alias analysis) #2490

Closed
@grahame

Description

@grahame

Checkout http://github.com/grahame/limerick/

make
wget http://www.transperth.wa.gov.au/TimetablePDFs/GoogleTransit/google_transit.zip
mkdir data && cd data && unzip ../google_transit.zip
cd ..
gdb ./feedinfo
(gdb) run ./data
Starting program: /Users/grahame/code/limerick/feedinfo ./data
Reading symbols for shared libraries .....+................................................................ done
loading file: ./data/agency.txt

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000020
[Switching to process 95567 thread 0x1c03]
0x00000001000162bc in str::hash::_f0ffd86f4899f548::_02 ()
(gdb) bt
#0  0x00000001000162bc in str::hash::_f0ffd86f4899f548::_02 ()
#1  0x0000000100820e60 in ?? ()
#2  0x00000001004b17cf in gtfs_load::no_overwrite944::_82e59d78a8472226::_01 ()
#3  0x00000001004b143b in gtfs_load::load_agencies::anon ()
#4  0x00000001004b0e29 in gtfs_load::file_iter::anon ()
#5  0x0000000100489244 in rowiter::meth89::iter::_3cf1bd4f7d58a1ce::_02 ()
#6  0x00000001004b0a1d in gtfs_load::file_iter::_fcad8389d2eb128e::_01 ()
#7  0x00000001004c4f9c in __morestack ()
Previous frame inner to this frame (gdb could not unwind past this frame)

With rust 77c470d on a x86_64 MacOS 10.7.4 system.
Latest master of limerick.

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions