-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Description
When i run the demo of book/03.image_classification, It generates a bug, here is the log:
[xzl@03.image_classification]$ python train.py
I0615 17:25:26.157414 9625 Util.cpp:166] commandline: --use_gpu=True --trainer_count=1
*** Aborted at 1497518726 (unix time) try "date -d @1497518726" if you are using GNU date ***
Segmentation fault
The problem is here:
[xzl@ 03.image_classification]$ python
Python 2.7.3 (default, May 25 2017, 20:23:14)
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import paddle.v2 as paddle
>>> paddle.init()
I0615 17:31:36.499310 31343 Util.cpp:166] commandline:
*** Aborted at 1497519096 (unix time) try "date -d @1497519096" if you are using GNU date ***
Segmentation fault
here is the gdb log:
(gdb) bt
#0 0x00007fffeea5790c in paddle::runInitFunctions() () at /home/xingzhaolong/.jumbo/opt/gcc48/include/c++/4.8.3/mutex:776
#1 0x00007fffeea59a53 in paddle::initMain(int, char**) () at /home/xingzhaolong/pr/temp/paddle_me/paddle/utils/Util.cpp:199
#2 0x00007fffeeaed721 in initPaddle(int, char**) () at /home/xingzhaolong/pr/temp/paddle_me/paddle/api/Util.cpp:28
#3 0x00007fffee7730f9 in _wrap_initPaddle () at /home/xingzhaolong/pr/temp/paddle_me/build/paddle/api/PaddlePYTHON_wrap.cxx:15504
#4 0x00007ffff7d1d3a3 in ext_do_call (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:4331
#5 PyEval_EvalFrameEx (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:2705
#6 0x00007ffff7d1f130 in PyEval_EvalCodeEx (co=Traceback (most recent call last):
File "/home/xingzhaolong/.jumbo/lib/go/src/runtime/runtime-gdb.py", line 303, in ifacematcher
if is_iface(val) or is_eface(val):
File "/home/xingzhaolong/.jumbo/lib/go/src/runtime/runtime-gdb.py", line 205, in is_iface
except gdb.error:
AttributeError: 'module' object has no attribute 'error'
0x7ffff1c5e730, globals=<value optimized out>, locals=<value optimized out>, args=<value optimized out>, argcount=Traceback (most recent call last):
File "/home/xingzhaolong/.jumbo/lib/go/src/runtime/runtime-gdb.py", line 303, in ifacematcher
if is_iface(val) or is_eface(val):
File "/home/xingzhaolong/.jumbo/lib/go/src/runtime/runtime-gdb.py", line 205, in is_iface
except gdb.error:
AttributeError: 'module' object has no attribute 'error'
1, kws=<value optimized out>, kwcount=Traceback (most recent call last):
File "/home/xingzhaolong/.jumbo/lib/go/src/runtime/runtime-gdb.py", line 303, in ifacematcher
if is_iface(val) or is_eface(val):
File "/home/xingzhaolong/.jumbo/lib/go/src/runtime/runtime-gdb.py", line 205, in is_iface
except gdb.error:
AttributeError: 'module' object has no attribute 'error'
0, defs=Traceback (most recent call last):
File "/home/xingzhaolong/.jumbo/lib/go/src/runtime/runtime-gdb.py", line 303, in ifacematcher
if is_iface(val) or is_eface(val):
File "/home/xingzhaolong/.jumbo/lib/go/src/runtime/runtime-gdb.py", line 205, in is_iface
except gdb.error:
AttributeError: 'module' object has no attribute 'error'
0x0, defcount=Traceback (most recent call last):
File "/home/xingzhaolong/.jumbo/lib/go/src/runtime/runtime-gdb.py", line 303, in ifacematcher
if is_iface(val) or is_eface(val):
File "/home/xingzhaolong/.jumbo/lib/go/src/runtime/runtime-gdb.py", line 205, in is_iface
except gdb.error:
AttributeError: 'module' object has no attribute 'error'
0, closure=Traceback (most recent call last):
File "/home/xingzhaolong/.jumbo/lib/go/src/runtime/runtime-gdb.py", line 303, in ifacematcher
if is_iface(val) or is_eface(val):
File "/home/xingzhaolong/.jumbo/lib/go/src/runtime/runtime-gdb.py", line 205, in is_iface
except gdb.error:
AttributeError: 'module' object has no attribute 'error'
0x0) at Python/ceval.c:3253
#7 0x00007ffff7d1d4a1 in fast_function (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:4117
#8 call_function (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:4042
---Type <return> to continue, or q <return> to quit---q
I hope it can be settled ASAP, thank you!
Metadata
Metadata
Assignees
Labels
No labels