Comments (8)
Did you change the configuration file? If so, can you send me the config file you used?
Thanks
from dbx1000.
I think I did not change the configuration.
from dbx1000.
Did you 1) checkout the repo, 2) run 'make', and 3) run './rundb'? Also, can you try running the program with a debugger (e.g., gdb) and let me know which line causes the trouble? Right now I don't have enough information to understand what the issue is.
from dbx1000.
I did nothing except editing the test.py to make it work in python 3.6. Then I run the './rundb', the results is like
mem_allocator initialized!
Segmentation fault (core dumped)
And I will try to find out which line caused this.
Thank you.
from dbx1000.
I got the results below in gdb:
(gdb) continue
Continuing.
[New Thread 0x7ffff63ff700 (LWP 5250)]
[New Thread 0x7ffff5bfe700 (LWP 5251)]
[New Thread 0x7ffff53fd700 (LWP 5252)]
Thread 3 "rundb" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff5bfe700 (LWP 5251)]
table_t::get_new_row (this=0x0, row=@0x7ffff5bfde68: 0x0, part_id=part_id@entry=0, row_id=@0x7ffff5bfde70: 0)
at storage/table.cpp:22
22 cur_tab_size ++;
(gdb) continue
Continuing.
[Thread 0x7ffff53fd700 (LWP 5252) exited]
[Thread 0x7ffff5bfe700 (LWP 5251) exited]
[Thread 0x7ffff63ff700 (LWP 5250) exited]
Thread 2 received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff63ff700 (LWP 5250)]
Cannot remove breakpoints because program is no longer writable.
Further execution is probably impossible.
from dbx1000.
I guess the problem is caused after and close to main.cpp:44
from dbx1000.
Do you have GRAPHITE_HOME defined in your system? If so, this is a very rare bug triggered by some legacy code. I have just pushed some changes to the repo. Specifically,
--- a/benchmarks/ycsb_wl.cpp
+++ b/benchmarks/ycsb_wl.cpp
@@ -21,14 +21,7 @@ int ycsb_wl::next_tid;
RC ycsb_wl::init() {
workload::init();
next_tid = 0;
- char * cpath = getenv("GRAPHITE_HOME");
- string path;
- if (cpath == NULL)
- path = "./benchmarks/YCSB_schema.txt";
- else {
- path = string(cpath);
- path += "/tests/apps/dbms/YCSB_schema.txt";
- }
+ string path = "./benchmarks/YCSB_schema.txt";
init_schema( path );
Let me know if this works.
from dbx1000.
It works now.
I am not sure about GRAPHITE_HOME.
Thank you sincerely.
from dbx1000.
Related Issues (20)
- Commented out sections in TPCC HOT 2
- wirte local data or the row in table HOT 1
- valgrind - Row_hekaton::prepare_read - use of uninitalised value HOT 3
- How to interpret the experiment result? HOT 1
- YCSB workload & table generation concerns HOT 4
- TIMESTAMP in TPC-C benchmarks
- WAIT_DIE in conflict situation HOT 1
- When make the project in ubuntu 64-bit machine, encounter relocation error HOT 7
- Build Fails HOT 3
- Build error HOT 4
- Inserts missing in TPC-C benchmark? HOT 3
- SUT generating date and time in TPCC Benchmark HOT 1
- How to analyse hash join operations from the callgraph? HOT 1
- Compilation error: strncpy truncates string HOT 5
- Uninitialized next_tid in TPC-C
- Stack buffer overflow in tpcc_wl::init_tab_item()
- Stack-buffer-overflow in tpcc_wl::init_tab_wh()
- dirty write
- No failure recovery?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbx1000.