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 received signal SIGSEGV, Segmentation fault. #1026

Closed
mafin opened this issue May 20, 2014 · 3 comments
Closed

osrm-extract received signal SIGSEGV, Segmentation fault. #1026

mafin opened this issue May 20, 2014 · 3 comments

Comments

@mafin
Copy link

mafin commented May 20, 2014

Hello,

I have CentOS 6.2:

  • cmake-2.8.8
  • g++ 4.7.2
  • LuaJIT-2.0.3
  • boost_1_55_0
  • stxxl-1.4.0

After sauccessful compilation I've tried to run osrm-extract and get next error.

$ gdb /usr/local/bin/osrm-extract
GNU gdb (GDB) Red Hat Enterprise Linux (7.5.0.20120926-26.el6)
Copyright (C) 2012 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-redhat-linux-gnu".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/local/bin/osrm-extract...done.
(gdb) run ./czech-republic-latest.osm.pbf
Starting program: /usr/local/bin/osrm-extract ./czech-republic-latest.osm.pbf
warning: Skipping deprecated .gdb_index section in /usr/lib/debug/lib64/ld-2.12.so.debug.
Do "set use-deprecated-index-sections on" before the file is read
to use the section anyway.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[info] Input file: czech-republic-latest.osm.pbf
[info] Profile: profile.lua
[info] Threads: 2 (requested 8)
[info] Using script profile.lua
[New Thread 0x7fffef1c7700 (LWP 21482)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffef1c7700 (LWP 21482)]
0x0000000000755ff0 in lj_obj_equal ()
Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.5-7.el6_0.x86_64 libgcc-4.4.6-3.el6.x86_64 libgomp-4.4.6-3.el6.x86_64 libstdc++-4.4.6-3.el6.x86_64 libxml2-2.7.6-4.el6_2.4.x86_64 protobuf-2.3.0-7.el6.x86_64 zlib-1.2.3-27.el6.x86_64
(gdb) bt
#0 0x0000000000755ff0 in lj_obj_equal ()
#1 0x000000000076fc3c in lj_tab_set ()
#2 0x0000000000000064 in ?? ()
#3 0x0000000040020378 in ?? ()
#4 0x00000000400203b8 in ?? ()
#5 0x00000000400217f0 in ?? ()
#6 0x0000000040021800 in ?? ()
#7 0x000000000075b808 in lua_rawset ()
#8 0x00000000008201c4 in ?? ()
#9 0xfffffffffffffec8 in ?? ()
#10 0x00007fffef1c6a40 in ?? ()
#11 0x00007fffffffbb70 in ?? ()
#12 0x0000000000ca07c0 in ?? ()
#13 0x00000000007ad090 in lua_rawsetp(lua_State_, int, void_) ()

Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)

Is an erro in lua version?

Thank you.

@TheMarex
Copy link
Member

Did you use this version of luabind?
https://github.com/DennisOSRM/luabind

Otherwise, would it be possible to compile OSRM with debug flags? (cmake .. -DCMAKE_BUILD_TYPE=Debug) and run it again?

@mafin
Copy link
Author

mafin commented May 21, 2014

This luabind version and DCMAKE_BUILD_TYPE=Release fixed it.
Thank you!!!

@DennisOSRM
Copy link
Collaborator

happy to hear. Thanks for the 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

3 participants