question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Segmentation fault (core dumped)

See original GitHub issue

❓ Questions & Help

Hi,

I implemented the program with reference to examples/pointnet2_classification.py and used Google Colablatory’s GPU to learn the model.

I save the model that I learned in Colab and try to call that model in Jetson Xavier NX to make an inference, I get the Segmentation fault (core dumped).

I ran the same code on the Jetson Nano, but in that case Segmentation fault (core dumped) did not occur.

I think I’m getting Segmentation fault (core dumped) when I run test().

How do I solve this problem?

Thanks!

Enviroment

$ uname -a
Linux Jetson Xavier NX 4.9.140-tegra #1 SMP PREEMPT Wed Apr 8 18:15:20 PDT 2020 aarch64 aarch64 aarch64 GNU/Linux
Device Nano Xavier NX
OS Ubuntu 18.04 Ubuntu 18.04
Python 3.6.9 3.6.9
torch 1.4.0 1.4.0a0+7f73f1d
torch.version.cuda 10.0 10.2
nvcc -V 10.0 10.2
torch-scatter 2.0.4 2.0.4
torch-sparse 0.6.1 0.6.1
torch-cluster 1.5.4 1.5.4
torch-spline-conv 1.2.0 1.2.0
torch-geometric 1.4.3 1.4.3
$ pointnet++.py
load model
Test Acc: 0.9238
Segmentation fault (core dumped)

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
rusty1scommented, Jun 23, 2020

Yes, but do you know which operation in model(data) produces this error?

0reactions
KCSeshcommented, Mar 23, 2022

@Dave0995 Was any progress ever made on this?

This exact issue is showing for me, still.

self.cfx = cuda.Device(0).make_context() works in a stand alone script.

But it throws a segfault when another process is introduced.

Read more comments on GitHub >

github_iconTop Results From Across the Web

what is Segmentation fault (core dumped)? - Stack Overflow
"Segmentation fault" means that you tried to access memory that you do not have access to. The first problem is with your arguments...
Read more >
Identify what's causing segmentation faults (segfaults)
A segmentation fault (aka segfault) is a common condition that causes programs to crash; they are often associated with a file named core...
Read more >
Error :- Segmentation fault(Core Dumped) - CodeChef Discuss
A segmentation fault ( SEGFAULT ) occurs when you are trying to access memory which you should not be trying to access (...
Read more >
Resolving Segmentation Fault (“Core dumped”) in Ubuntu - Blog
Segmentation fault is when your system tries to access a page of memory that doesn't exist. Core dumped means when a part of...
Read more >
When I get a 'segmentation fault (core dumped)' error ... - Quora
A segmentation fault occurs when a process attempts to access memory in a way that the operating system and processor cannot or will...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found