Skip to content

  • 体验新版
    • 正在加载...
  • 登录
  • PaddlePaddle
  • Paddle
  • Issue
  • #2475

P
Paddle
  • 项目概览

PaddlePaddle / Paddle
大约 2 年 前同步成功

通知 2325
Star 20933
Fork 5424
  • 代码
    • 文件
    • 提交
    • 分支
    • Tags
    • 贡献者
    • 分支图
    • Diff
  • Issue 1423
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 543
  • Wiki 0
    • Wiki
  • 分析
    • 仓库
    • DevOps
  • 项目成员
  • Pages
P
Paddle
  • 项目概览
    • 项目概览
    • 详情
    • 发布
  • 仓库
    • 仓库
    • 文件
    • 提交
    • 分支
    • 标签
    • 贡献者
    • 分支图
    • 比较
  • Issue 1,423
    • Issue 1,423
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 543
    • 合并请求 543
  • Pages
  • 分析
    • 分析
    • 仓库分析
    • DevOps
  • Wiki 0
    • Wiki
  • 成员
    • 成员
  • 收起侧边栏
  • 动态
  • 分支图
  • 创建新Issue
  • 提交
  • Issue看板
已关闭
开放中
Opened 6月 15, 2017 by saxon_zh@saxon_zhGuest

A bug of the up-to-date develop branch code.

Created by: NHZlX

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!

指派人
分配到
无
里程碑
无
分配里程碑
工时统计
无
截止日期
无
标识: paddlepaddle/Paddle#2475
渝ICP备2023009037号

京公网安备11010502055752号

网络110报警服务 Powered by GitLab CE v13.7
开源知识
Git 入门 Pro Git 电子书 在线学 Git
Markdown 基础入门 IT 技术知识开源图谱
帮助
使用手册 反馈建议 博客
《GitCode 隐私声明》 《GitCode 服务条款》 关于GitCode
Powered by GitLab CE v13.7