My favorites | Sign in
Logo
          
New issue | Search
for
| Advanced search | Search tips
Issue 83: tpserver-cpp segfaults with mzscheme on amd64
2 people starred this issue and may be notified of changes. Back to list
Status:  Unstarted
Owner:  mithro
Component-tpserver-cpp
Type-Code
Severity-4
Language-CPP


Sign in to add a comment
 
Reported by mithro, Jun 18, 2009
tansell@tansell:/opt/tpserver-cpp/bin$ ./tpserver-cpp --debug -C 
/tmp/tpserver-cpp/quickstart-minisec.conf 
2009-06-19 11:45:07 < Info  > Logger started
2009-06-19 11:45:07 < Info  > Tpserver-cpp 0.6.2 starting
2009-06-19 11:45:07 < Info  > This is GPL software, please see the COPYING 
file
2009-06-19 11:45:07 < Info  > No automatically loaded plugins were defined 
in the configuation, add "autoload_plugins = <comma list of plugins>" to 
conf to have them loaded.
2009-06-19 11:45:07 < Info  > Started looking for preloaded modules.
2009-06-19 11:45:07 < Info  > Finished looking for preloaded modules.
2009-06-19 11:45:07 < Error > Failed to load plugin "/opt/tpserver-
cpp/lib/tpserver/tpscheme/libtpguile": "/opt/tpserver-
cpp/lib/tpserver/tpscheme/libtpguile.so: cannot open shared object file: No 
such file or directory" (nil)
2009-06-19 11:45:07 <Warning> Did not load TpScheme "tpguile", trying 
tpmzscheme
Segmentation fault
tansell@tansell:/opt/tpserver-cpp/bin$ gdb ./tpserver-cpp 
GNU gdb 6.8-gg16
Copyright (C) 2008 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"...
FAQ: http://go/gdb Wiki: http://wiki/Main/GnuDebugger Email: gdb-team
(gdb) run --debug -C /tmp/tpserver-cpp/quickstart-minisec.conf
Starting program: /opt/tpserver-cpp/bin/tpserver-cpp --debug -C 
/tmp/tpserver-cpp/quickstart-minisec.conf
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
2009-06-19 11:45:21 < Info  > Logger started
2009-06-19 11:45:21 < Info  > Tpserver-cpp 0.6.2 starting
2009-06-19 11:45:21 < Info  > This is GPL software, please see the COPYING 
file
2009-06-19 11:45:21 < Info  > No automatically loaded plugins were defined 
in the configuation, add "autoload_plugins = <comma list of plugins>" to 
conf to have them loaded.
2009-06-19 11:45:21 < Info  > Started looking for preloaded modules.
2009-06-19 11:45:21 < Info  > Finished looking for preloaded modules.
2009-06-19 11:45:21 < Error > Failed to load plugin "/opt/tpserver-
cpp/lib/tpserver/tpscheme/libtpguile": "/opt/tpserver-
cpp/lib/tpserver/tpscheme/libtpguile.so: cannot open shared object file: No 
such file or directory" (nil)
2009-06-19 11:45:21 <Warning> Did not load TpScheme "tpguile", trying 
tpmzscheme
[New Thread 0x7ffff7fdc6f0 (LWP 17025)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff7fdc6f0 (LWP 17025)]
0x00007ffff6d2c330 in memset () from /lib/libc.so.6
(gdb) bt
#0  0x00007ffff6d2c330 in memset () from /lib/libc.so.6
#1  0x00007ffff653139a in GC_malloc_one_small_tagged () from 
/usr/lib/libmzscheme3m-372.so
#2  0x00007ffff63a9404 in scheme_make_hash_table () from 
/usr/lib/libmzscheme3m-372.so
#3  0x00007ffff63ff708 in scheme_make_hash_table_equal () from 
/usr/lib/libmzscheme3m-372.so
#4  0x00007ffff633dbb8 in scheme_basic_env () from /usr/lib/libmzscheme3m-
372.so
#5  0x00007ffff6897029 in TpMzScheme (this=0x7630f0) at tpmzscheme.cpp:248
#6  0x00007ffff6898e84 in libtpmzscheme_LTX_tp_init () at tpmzscheme.cpp:54
#7  0x00000000004caa94 in PluginManager::load (this=0x7619e0, 
libname=@0x7fffffffdd40) at pluginmanager.cpp:139
#8  0x00000000004cab77 in PluginManager::loadTpScheme (this=0x7619e0, 
name=@0x7fffffffde50) at pluginmanager.cpp:205
#9  0x0000000000486926 in main (argc=4, argv=0x7fffffffe058) at 
main.cpp:172
(gdb) 

processor	: 3
vendor_id	: AuthenticAMD
cpu family	: 15
model		: 65
model name	: Dual-Core AMD Opteron(tm) Processor 8214 HE
stepping	: 2
cpu MHz		: 2200.000
cache size	: 1024 KB
physical id	: 1
siblings	: 2

Comment 1 by l...@paradise.net.nz, Jun 28, 2009
Something is odd. Adding labels.
Labels: Type-Code Severity-4 Language-CPP
Sign in to add a comment

Hosted by Google Code