Comments (4)
could you please provide a stack trace by gdb with your dumped core?
% gdb -c core (your application binary)
(gdb) bt
should give a stack trace.
from net-next-nuse.
@thehajime
Well๏ผ I have done something like that.
The application I use to test is
ping, with the command
sudo NUSECONF=nuse.conf ./nuse ping <my gateway>
The problem is that I can't see the function in stack trace , like that
sunlifei@sunlifei-VPC:~/Documents/net-next-nuse/arch/lib/tools$ sudo gdb -c core.74460 ping 192.168.108.133 Excess command line arguments ignored. (192.168.108.133) GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ping...(no debugging symbols found)...done. warning: core file may not match specified executable file. [New LWP 74460] [New LWP 74463] [New LWP 74464] [New LWP 74461] [New LWP 74462] [New LWP 74465] [New LWP 74466] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `ping 192.168.108.133'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007f5763c88bee in nuse_vif_create (type=NUSE_VIF_NETMAP, ifname=0x13708a0 "eth0") at nuse-vif.c:69 69 return impl->create(ifname); (gdb) bt #0 0x00007f5763c88bee in nuse_vif_create (type=NUSE_VIF_NETMAP, ifname=0x13708a0 "eth0") at nuse-vif.c:69 #1 0x00007f5763c8e35a in nuse_netdev_create (vifcf=0x13708a0) at nuse.c:367 #2 0x00007f5763c8eb6a in nuse_init () at nuse.c:524 #3 0x00007f57646f513a in call_init (l=, argc=argc@entry=2, argv=argv@entry=0x7fffb61640d8, env=env@entry=0x7fffb61640f0) at dl-init.c:78 #4 0x00007f57646f5223 in call_init (env=, argv=, argc=, l=) at dl-init.c:36 #5 _dl_init (main_map=0x7f57649091c8, argc=2, argv=0x7fffb61640d8, env=0x7fffb61640f0) at dl-init.c:126 #6 0x00007f57646e630a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2 #7 0x0000000000000002 in ?? () #8 0x00007fffb61657e6 in ?? () #9 0x00007fffb61657eb in ?? () #10 0x0000000000000000 in ?? () (gdb)
from net-next-nuse.
This issue was moved to libos-nuse/linux-libos-tools#15
from net-next-nuse.
Since the issue is not related to LibOS itself, but NUSE which is in libos-nuse/linux-libos-tools, I moved this issue to the project.
from net-next-nuse.
Related Issues (20)
- /proc/sys redirection for sysctl HOT 1
- nodejs (websocket) support HOT 1
- rumpclient: if_nametoindex(3) looks and opens host socket HOT 1
- rumpclient: duplicated hijack code between NUSE process and rumpclient HOT 1
- rump_server: make nuse-syscalls.c and rump_syscalls.c Linux-ize HOT 1
- code coverage with nuse HOT 1
- This could be the road to freestanding protocol-less all-software networking HOT 3
- cross-compile as UML does
- simple nuse crashes with wait_queue HOT 7
- NET_NS=n leads to strange program header in liblinux.so HOT 4
- arch/lib/tools missing. HOT 1
- crosscompile to arm64
- QCA9887 not reply arp message HOT 2
- net-next-nuse merged to linux upstream ? HOT 1
- Can libos works with mptcp of higher versions?
- Fail to build mptcp_trunk_libos HOT 2
- Fail to install bake.py configure -e dce-linux-1.10 Ubuntu 16.4 HOT 2
- build failure due to GitHub.com no longer supporting unauthenticated git HOT 1
- Typo in net-next-nuse/include/net/cfg80211.h
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 net-next-nuse.