Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osrm-extract: Segmentation fault #744

Closed
rocketlab-zz opened this issue Sep 27, 2013 · 3 comments
Closed

osrm-extract: Segmentation fault #744

rocketlab-zz opened this issue Sep 27, 2013 · 3 comments

Comments

@rocketlab-zz
Copy link

Compiled on Debian Squeeze with:

  • boost 1.53.0
  • libstxxl 1.2.1-3
  • luabind 0.9.1
  • cmake 2.8.11.2
  • lua 5.1.4

Flags:
-DCMAKE_BUILD_TYPE=Debug
-DWITH_TOOLS=1

Without trace:
$./osrm-extract ~/software/osm-data-extracts/europe-latest.osm.pbf
[info] Input file: europe-latest.osm.pbf
[info] Profile: profile.lua
[info] Threads: 10
[info] Using script profile.lua
Segmentation fault

With trace:
$ gdb ./osrm-extract
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /home/erik/software/Project-OSRM/build/osrm-extract...done.
(gdb) run ~/software/osm-data-extracts/europe-latest.osm.pbf
Starting program: /home/erik/software/Project-OSRM/build/osrm-extract ~/software/osm-data-extracts/europe-latest.osm.pbf
[Thread debugging using libthread_db enabled]
[info] Input file: europe-latest.osm.pbf
[info] Profile: profile.lua
[info] Threads: 10
[info] Using script profile.lua
[New Thread 0x7ffff5026700 (LWP 2906)]
[New Thread 0x7ffff4825700 (LWP 2907)]
[New Thread 0x7ffff4024700 (LWP 2908)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff4024700 (LWP 2908)]
0x00007ffff6c104e2 in ?? () from /usr/lib/liblua5.1.so.0
(gdb) bt full
#0 0x00007ffff6c104e2 in ?? () from /usr/lib/liblua5.1.so.0

No symbol table info available.
#1 0x00007ffff6c114ab in lua_rawset () from /usr/lib/liblua5.1.so.0

No symbol table info available.
#2 0x00000000005f922b in lua_rawsetp(lua_State_, int, void_) ()

No symbol table info available.
#3 0x0000000000607801 in void* luabind::(anonymous namespace)::create_gc_udataluabind::detail::class_registry(lua_State_, void_) ()

No symbol table info available.
#4 0x0000000000607584 in void luabind::(anonymous namespace)::push_gc_udata<luabind::detail::class_registry, lua_State*>(lua_State_, void_, lua_State*) ()

No symbol table info available.
#5 0x000000000060743f in luabind::open(lua_State*) ()

No symbol table info available.
#6 0x00000000005bd830 in ScriptingEnvironment::ScriptingEnvironment (.omp_data_i=0x7fffffffbd20) at /home/erik/software/Project-OSRM/Extractor/ScriptingEnvironment.cpp:36

    myLuaState = 0x8ac430
    this = 0x7fffffffcbe0
    fileName = 0x8a26b8 "profile.lua"

#7 0x00007ffff5bcf872 in ?? () from /usr/lib/libgomp.so.1

No symbol table info available.
#8 0x00007ffff579b8ca in start_thread () from /lib/libpthread.so.0

No symbol table info available.
#9 0x00007ffff5502b6d in clone () from /lib/libc.so.6

No symbol table info available.
#10 0x0000000000000000 in ?? ()

Using different PBF files, disabling debug, changing profile.lua and switching between dev/branch have same result.

Any clues? Thanks!

@DennisOSRM
Copy link
Collaborator

Upgrade stxxl to 1.3.1

@rocketlab-zz
Copy link
Author

Fixed by upgrading Debian from 6 to 7.

@DennisOSRM
Copy link
Collaborator

Thx for feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants