You are not logged in.

#1 2013-01-01 02:09:54

Registered: 2011-10-06
Posts: 36

Look at my backtrace -, nvidia, mesa


Please have a look at the backtrace and advise on whether to post a bug or not.

The problem is that the supplied with Linux nvidia driver 310.19-2 thows a segmentation fault with my program but if I replace it with the that comes from mesa, it works.  Unfortunately the test program is quite hard to install and comes from dolfin-bzr in the AUR, it is a demo at demo/pde/poisson/cpp.

After the segmentation fault, starting gdb with the dumped core file gives this backtrace:

myles@bill:~/tmp/demo/pde/poisson/cpp/bld [⚡ master] $ gdb ./demo_poisson core.demo_poisson.15458
GNU gdb (GDB) 7.5.1
Copyright (C) 2012 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-unknown-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from /home/myles/tmp/demo/pde/poisson/cpp/bld/demo_poisson...done.
[New LWP 15458]

warning: Could not load shared library symbols for
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/".
Core was generated by `./demo_poisson'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007fc465db757a in __strcmp_ssse3 () from /lib64/
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
(gdb) bt
#0 0x00007fc465db757a in __strcmp_ssse3 () from /lib64/
#1 0x00007fc45e34d926 in ?? () from /lib64/
#2 0x00007fc455e90362 in ?? () from /lib64/
#3 0x00007fc455e8fc9e in ?? () from /lib64/
#4 0x00000000023e98b0 in ?? ()
#5 0x00007fff5e2d7520 in ?? ()
#6 0x0000000000000080 in ?? ()
#7 0x00007fc4636e05bc in ?? () from /lib64/
#8 0x00007fc4636df8d3 in lt_dlsym () from /lib64/
#9 0x00007fc46d592550 in ?? () from /usr/lib/openmpi/
#10 0x00007fc46d593b26 in mca_base_component_find () from /usr/lib/openmpi/
#11 0x00007fc46d59548b in mca_base_components_open () from /usr/lib/openmpi/
#12 0x00007fc46d5b3188 in opal_paffinity_base_open () from /usr/lib/openmpi/
#13 0x00007fc46d5ae273 in opal_init () from /usr/lib/openmpi/
#14 0x00007fc46d510e57 in orte_init () from /usr/lib/openmpi/
#15 0x00007fc46d4babd9 in ompi_mpi_init () from /usr/lib/openmpi/
#16 0x00007fc46d4dbc1e in PMPI_Init_thread () from /usr/lib/openmpi/
#17 0x00007fc478008615 in dolfin::SubSystemsManager::init_mpi (argc=argc@entry=0,
    argv=argv@entry=0x7fff5e2d7c48, required_thread_level=required_thread_level@entry=3)
    at /home/myles/myaur/dev/dolfin-bzr/src/dolfin-build/dolfin/common/SubSystemsManager.cpp:105
#18 0x00007fc478008861 in dolfin::SubSystemsManager::init_mpi ()
    at /home/myles/myaur/dev/dolfin-bzr/src/dolfin-build/dolfin/common/SubSystemsManager.c---Type <return> to continue, or q <return> to quit---
#19 0x00007fc478006d5b in dolfin::MPI::num_processes ()
    at /home/myles/myaur/dev/dolfin-bzr/src/dolfin-build/dolfin/common/MPI.cpp:89
#20 0x00007fc478006da3 in dolfin::MPI::is_receiver ()
    at /home/myles/myaur/dev/dolfin-bzr/src/dolfin-build/dolfin/common/MPI.cpp:104
#21 0x00007fc47842d1b0 in dolfin::RectangleMesh::RectangleMesh (this=0x7fff5e2d8800, x0=
    0, y0=0, x1=1, y1=1, nx=32, ny=32, diagonal=
    "XZ>\002\000\000\000\000\002", '\000' <repeats 23 times>"\250, \246@\000\000\000\000\000(\240@\000\000\000\000\000 \n>\002\000\000\000\000\330\375\064^\304\177\000\000\000\031\tV\304\177\000\000\020d8\002\000\000\000\000\060\000\000\000\000\000\000\000\220\375\064^\304\177\000\000\000\031\tV\304\177\000\000a\017\351U\304\177\000\000\300\033>\002\000\000\000\000\060\000\000\000\000\000\000\000p\030>\002\000\000\000\000\277\276\236f\304\177\000\000XZ>\002\000\000\000\000p\030>\002\000\000\000\000`", '\000' <repeats 39 times>, "\004\000\000\000\061\000\000\000[\000\000\000n\000\000\000w\000\000\000|\000\000\000x\030>\002\000\000\000\000@F\003f\304\177\000\000\060\000\000\000\000\000\000\000\220\375\064^\304\177\000\000\000 >\002\000\000\000\000"...<Address 0x7fff5e2dc000 out of bounds>)
    at /home/myles/myaur/dev/dolfin-bzr/src/dolfin-build/dolfin/generation/RectangleMesh.cpp:40
#22 0x000000000040d790 in dolfin::UnitSquareMesh::UnitSquareMesh (this=0x7fff5e2d8800,
    nx=32, ny=32, diagonal=...)
    at /usr/lib/cmake/Trilinos/../../../include/dolfin/generation/UnitSquareMesh.h:61
#23 0x000000000040a028 in main () at /home/myles/tmp/demo/pde/poisson/cpp/main.cpp:71



Board footer

Powered by FluxBB