Segmentation fault (core dumped)
See original GitHub issueWhen running single_gradient.py
, the entire process crashes with a Segmentation fault (core dumped)
error.
~/diffvg/apps$ CUDA_VISIBLE_DEVICES=1 python single_gradient.py
Segmentation fault (core dumped)
I tried to remove some part of the code and found the error was triggered by the following call to render
:
render = pydiffvg.RenderFunction.apply
img = render(256, # width
256, # height
2, # num_samples_x
2, # num_samples_y
0, # seed
None, # background_image
*scene_args)
I am using Python 3.7.9 [GCC 7.3.0] :: Anaconda, on Mac, my torch version is 1.6.0
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top 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 >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 >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 >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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@fuyunfei @oeway Should be fixed now. Let me know if there’s any issue.
Closing as I’m pretty sure it’s fixed. Feel free to reopen.