Terminated by signal sigsegv address boundary error

Whenever trying to train using GPU, I get the error: ...(process name) terminated by signal SIGSEGV (Address boundary error) I'm using CUDA 9.1: running nvcc --version gives nvcc: NVIDIA (R) Cu...
(gdb) thread apply all bt

Thread 16 (Thread 0x7ffff004e700 (LWP 15766)):
#0  0x00007ffff77baffc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x000000000068a020 in TCondVar::TImpl::WaitD(TMutex&, TInstant) ()
#2  0x0000000000681abf in Event::WaitD(TInstant) ()
#3  0x000000000065e31b in NPar::TLocalExecutor::TImpl::HostWorkerThread(void*) ()
#4  0x0000000000676b12 in ?? ()
#5  0x00007ffff77b5075 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff74ea53f in clone () from /usr/lib/libc.so.6

Thread 15 (Thread 0x7ffff084f700 (LWP 15765)):
#0  0x00007ffff77baffc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x000000000068a020 in TCondVar::TImpl::WaitD(TMutex&, TInstant) ()
#2  0x0000000000681abf in Event::WaitD(TInstant) ()
#3  0x000000000065e31b in NPar::TLocalExecutor::TImpl::HostWorkerThread(void*) ()
#4  0x0000000000676b12 in ?? ()
#5  0x00007ffff77b5075 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff74ea53f in clone () from /usr/lib/libc.so.6

Thread 14 (Thread 0x7ffff1050700 (LWP 15764)):
#0  0x000000000062ec04 in ?? ()
#1  0x000000000062e102 in ?? ()
#2  0x00000000009725c3 in ?? ()
#3  0x00000000009724bb in ?? ()
#4  0x0000000000971c84 in NCatboostCuda::TBordersBuilder::operator()(NCatboostOptions::TBinarizationOptions const&) ()
#5  0x00000000009710e5 in NCatboostCuda::BuildBorders(TVector<float, std::__y1::allocator<float> > const&, unsigned int, NCatboostOptions::TBinarizationOptions const&) ()
#6  0x00000000009820f1 in ?? ()
#7  0x00000000006600e9 in ?? ()
#8  0x00000000006605de in ?? ()
#9  0x000000000065e247 in NPar::TLocalExecutor::TImpl::HostWorkerThread(void*) ()
#10 0x0000000000676b12 in ?? ()
#11 0x00007ffff77b5075 in start_thread () from /usr/lib/libpthread.so.0
#12 0x00007ffff74ea53f in clone () from /usr/lib/libc.so.6

Thread 13 (Thread 0x7ffff1851700 (LWP 15763)):
#0  0x00007ffff77baffc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x000000000068a020 in TCondVar::TImpl::WaitD(TMutex&, TInstant) ()
#2  0x0000000000681abf in Event::WaitD(TInstant) ()
#3  0x000000000065e31b in NPar::TLocalExecutor::TImpl::HostWorkerThread(void*) ()
#4  0x0000000000676b12 in ?? ()
#5  0x00007ffff77b5075 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff74ea53f in clone () from /usr/lib/libc.so.6

Thread 12 (Thread 0x7ffff2052700 (LWP 15762)):
#0  0x00007ffff77baffc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x000000000068a020 in TCondVar::TImpl::WaitD(TMutex&, TInstant) ()
#2  0x0000000000681abf in Event::WaitD(TInstant) ()
#3  0x000000000065e31b in NPar::TLocalExecutor::TImpl::HostWorkerThread(void*) ()
#4  0x0000000000676b12 in ?? ()
#5  0x00007ffff77b5075 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff74ea53f in clone () from /usr/lib/libc.so.6

Thread 11 (Thread 0x7ffff2853700 (LWP 15761)):
#0  0x00007ffff77baffc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x000000000068a020 in TCondVar::TImpl::WaitD(TMutex&, TInstant) ()
#2  0x0000000000681abf in Event::WaitD(TInstant) ()
#3  0x000000000065e31b in NPar::TLocalExecutor::TImpl::HostWorkerThread(void*) ()
#4  0x0000000000676b12 in ?? ()
#5  0x00007ffff77b5075 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff74ea53f in clone () from /usr/lib/libc.so.6

Thread 10 (Thread 0x7ffff3054700 (LWP 15760)):
---Type <return> to continue, or q <return> to quit---
#0  0x00007ffff77baffc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x000000000068a020 in TCondVar::TImpl::WaitD(TMutex&, TInstant) ()
#2  0x0000000000681abf in Event::WaitD(TInstant) ()
#3  0x000000000065e31b in NPar::TLocalExecutor::TImpl::HostWorkerThread(void*) ()
#4  0x0000000000676b12 in ?? ()
#5  0x00007ffff77b5075 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff74ea53f in clone () from /usr/lib/libc.so.6

Thread 9 (Thread 0x7ffff3855700 (LWP 15759)):
#0  0x00007ffff77baffc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x000000000068a020 in TCondVar::TImpl::WaitD(TMutex&, TInstant) ()
#2  0x0000000000681abf in Event::WaitD(TInstant) ()
#3  0x000000000065e31b in NPar::TLocalExecutor::TImpl::HostWorkerThread(void*) ()
#4  0x0000000000676b12 in ?? ()
#5  0x00007ffff77b5075 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff74ea53f in clone () from /usr/lib/libc.so.6

Thread 8 (Thread 0x7ffff4056700 (LWP 15758)):
#0  0x00007ffff77baffc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x000000000068a020 in TCondVar::TImpl::WaitD(TMutex&, TInstant) ()
#2  0x0000000000681abf in Event::WaitD(TInstant) ()
#3  0x000000000065e31b in NPar::TLocalExecutor::TImpl::HostWorkerThread(void*) ()
#4  0x0000000000676b12 in ?? ()
#5  0x00007ffff77b5075 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff74ea53f in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7ffff4857700 (LWP 15757)):
#0  0x00007ffff77baffc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x000000000068a020 in TCondVar::TImpl::WaitD(TMutex&, TInstant) ()
#2  0x0000000000681abf in Event::WaitD(TInstant) ()
#3  0x000000000065e31b in NPar::TLocalExecutor::TImpl::HostWorkerThread(void*) ()
#4  0x0000000000676b12 in ?? ()
#5  0x00007ffff77b5075 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff74ea53f in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7ffff5058700 (LWP 15756)):
#0  0x00007ffff77baffc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x000000000068a020 in TCondVar::TImpl::WaitD(TMutex&, TInstant) ()
#2  0x0000000000681abf in Event::WaitD(TInstant) ()
#3  0x000000000065e31b in NPar::TLocalExecutor::TImpl::HostWorkerThread(void*) ()
#4  0x0000000000676b12 in ?? ()
#5  0x00007ffff77b5075 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff74ea53f in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7ffff5859700 (LWP 15755)):
#0  0x00007ffff77baffc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x000000000068a020 in TCondVar::TImpl::WaitD(TMutex&, TInstant) ()
#2  0x0000000000681abf in Event::WaitD(TInstant) ()
#3  0x000000000065e31b in NPar::TLocalExecutor::TImpl::HostWorkerThread(void*) ()
#4  0x0000000000676b12 in ?? ()
#5  0x00007ffff77b5075 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff74ea53f in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7ffff605a700 (LWP 15754)):
#0  0x00007ffff77baffc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x000000000068a020 in TCondVar::TImpl::WaitD(TMutex&, TInstant) ()
#2  0x0000000000681abf in Event::WaitD(TInstant) ()
#3  0x000000000065e31b in NPar::TLocalExecutor::TImpl::HostWorkerThread(void*) ()
#4  0x0000000000676b12 in ?? ()
#5  0x00007ffff77b5075 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff74ea53f in clone () from /usr/lib/libc.so.6

---Type <return> to continue, or q <return> to quit---
Thread 3 (Thread 0x7ffff685b700 (LWP 15753)):
#0  0x00007ffff77baffc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x000000000068a020 in TCondVar::TImpl::WaitD(TMutex&, TInstant) ()
#2  0x0000000000681abf in Event::WaitD(TInstant) ()
#3  0x000000000065e31b in NPar::TLocalExecutor::TImpl::HostWorkerThread(void*) ()
#4  0x0000000000676b12 in ?? ()
#5  0x00007ffff77b5075 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff74ea53f in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7ffff705c700 (LWP 15752)):
#0  0x00007ffff77baffc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x000000000068a020 in TCondVar::TImpl::WaitD(TMutex&, TInstant) ()
#2  0x0000000000681abf in Event::WaitD(TInstant) ()
#3  0x000000000065e31b in NPar::TLocalExecutor::TImpl::HostWorkerThread(void*) ()
#4  0x0000000000676b12 in ?? ()
#5  0x00007ffff77b5075 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff74ea53f in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7ffff7fdc2c0 (LWP 15750)):
#0  0x00007ffff74d1e47 in sched_yield () from /usr/lib/libc.so.6
#1  0x000000000065ed95 in NPar::TLocalExecutor::ExecRange(TIntrusivePtr<NPar::ILocallyExecutable, TDefaultIntrusivePtrOps<NPar::ILocallyExecutable> >, int, int, int) ()
#2  0x000000000065f0b7 in NPar::TLocalExecutor::ExecRange(std::__y1::function<void (int)>, int, int, int) ()
#3  0x000000000097e017 in NCatboostCuda::TDataProviderBuilder::Finish() ()
#4  0x00000000002a1bd9 in NCB::TAsyncProcDataProviderBase<TString>::FinalizeBuilder(bool, NCB::IPoolBuilder*) ()
#5  0x00000000005176d9 in NCB::ReadPool(NCB::TPathWithScheme const&, NCB::TPathWithScheme const&, NCatboostOptions::TDsvPoolFormatParams const&, TVector<int, std::__y1::allocator<int> > const&, bool, TVector<TString, std::__y1::allocator<TString> > const&, NPar::TLocalExecutor*, NCB::IPoolBuilder*) ()
#6  0x00000000003539f0 in NCatboostCuda::TrainModel(NCatboostOptions::TPoolLoadParams const&, NCatboostOptions::TOutputFilesOptions const&, NJson::TJsonValue const&) ()
#7  0x000000000025192f in mode_fit(int, char const**) ()
#8  0x00000000006222fe in PtrWrapper::operator()(TVector<TString, std::__y1::allocator<TString> > const&) ()
#9  0x0000000000620f65 in TModChooser::Run(TVector<TString, std::__y1::allocator<TString> > const&) const ()
#10 0x00000000006209ee in TModChooser::Run(int, char const**) const ()
#11 0x00000000002688b7 in main ()
(gdb)

Hi,

I was doing a bit of multitasking, and the kernel ran out of SWAP and crashed. After reboot everything is borked. Every program I had open prior to crash wont start or crashes soon after opening. (Chromium, Clementine, Terminal, Smuxi, VMware…). The error is either segmentation fault or some weird error.

Smuxi:
Stack overflow: IP: 0x7f0d476380ff, fault addr: (nil)
Stacktrace:
  at <unknown> <0xffffffff>
  at Gtk.Application.Run () [0x00001] in /build/gtk-sharp-2/src/gtk-sharp-2.12.22/gtk/Application.cs:135
  <…>
  at Smuxi.Frontend.Gnome.Frontend.Init (string[]) [0x00239] in /build/smuxi/src/smuxi-0.11/src/Frontend-GNOME/Frontend.cs:281
  at Smuxi.Frontend.Gnome.MainClass.Main (string[]) [0x000b2] in /build/smuxi/src/smuxi-0.11/src/Frontend-GNOME/Main.cs:75
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <IL 0x00050, 0xffffffff>

~ % chromium
[7585:7610:0606/150214:ERROR:nss_util.cc(853)] After loading Root Certs, loaded==false: NSS error code: -8018
[7585:7585:0606/150214:ERROR:component_loader.cc(138)] Failed to parse extension manifest.
[7585:7585:0606/150214:ERROR:background_mode_manager_aura.cc(14)] Not implemented reached in virtual void BackgroundModeManager::EnableLaunchOnStartup(bool)
fish: Job 1, “chromium” terminated by signal SIGSEGV (Address boundary error)

~ % lxterminal
fish: Job 1, “lxterminal ” terminated by signal SIGSEGV (Address boundary error)

~ % clementine
14:44:49.823 WARN  unknown                          libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
14:44:50.217 WARN  unknown                          libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
14:54:12.230 WARN  unknown                          QTimeLine::start: already running
14:54:13.089 WARN  unknown                          QTimeLine::start: already running
14:54:13.434 WARN  unknown                          QTimeLine::start: already running
14:54:13.737 WARN  unknown                          QTimeLine::start: already running
14:54:14.378 WARN  unknown                          QTimeLine::start: already running
14:54:14.686 WARN  unknown                          QTimeLine::start: already running
14:54:15.050 WARN  unknown                          QTimeLine::start: already running
14:54:15.876 WARN  unknown                          QTimeLine::start: already running
14:54:16.152 WARN  unknown                          QTimeLine::start: already running
14:54:16.454 WARN  unknown                          QTimeLine::start: already running
14:54:17.409 WARN  unknown                          QTimeLine::start: already running
14:54:20.256 WARN  unknown                          QTimeLine::start: already running
14:54:22.687 WARN  unknown                          QTimeLine::start: already running
14:54:32.169 WARN  unknown                          QTimeLine::start: already running
14:54:33.489 WARN  unknown                          QTimeLine::start: already running
fish: Job 1, “clementine” terminated by signal SIGSEGV (Address boundary error)

~ % steam
Running Steam on arch  64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1401381906_client)
Installing breakpad exception handler for appid(steam)/version(1401381906_client)
Installing breakpad exception handler for appid(steam)/version(1401381906_client)
Uploading dump (out-of-process) [proxy »]
/tmp/dumps/assert_20140606150623_1.dmp
/home/jan/.local/share/Steam/steam.sh: line 755:  8003 Segmentation fault      (core dumped) $STEAM_DEBUGGER «$STEAMROOT/$PLATFORM/$STEAMEXE» «$@»

What do?

EDIT:
It is also worth mentioning that I’ve had ran the update earlier today, which may have something to do with this:
[2014-06-06 14:06] [PACMAN] Running ‘pacman -Syu’
[2014-06-06 14:06] [PACMAN] synchronizing package lists
[2014-06-06 14:06] [PACMAN] starting full system upgrade
[2014-06-06 14:09] [PACMAN] upgraded libwbclient (4.1.7-1 -> 4.1.8-1)
[2014-06-06 14:09] [PACMAN] upgraded cifs-utils (6.2-1 -> 6.3-1)
[2014-06-06 14:09] [PACMAN] upgraded clutter-gst (2.0.10-2 -> 2.0.12-1)
[2014-06-06 14:09] [PACMAN] upgraded dart (1.4.0-1 -> 1.4.2-1)
[2014-06-06 14:09] [PACMAN] upgraded e2fsprogs (1.42.9-2 -> 1.42.10-1)
[2014-06-06 14:09] [PACMAN] installed libx264 (1:142.20140311-4)
[2014-06-06 14:09] [PACMAN] upgraded x264 (1:142.20140311-1 -> 1:142.20140311-4)
[2014-06-06 14:09] [PACMAN] upgraded ffmpeg (1:2.2.2-3 -> 1:2.2.3-1)
[2014-06-06 14:09] [ALPM] warning: /etc/passwd installed as /etc/passwd.pacnew
[2014-06-06 14:09] [ALPM] warning: /etc/group installed as /etc/group.pacnew
[2014-06-06 14:09] [PACMAN] upgraded filesystem (2013.05-2 -> 2014.05-2)
[2014-06-06 14:09] [PACMAN] upgraded gdk-pixbuf2 (2.30.7-1 -> 2.30.8-1)
[2014-06-06 14:09] [PACMAN] upgraded gedit (3.12.1-1 -> 3.12.2-1)
[2014-06-06 14:09] [PACMAN] upgraded gmime (2.6.20-1 -> 2.6.20-2)
[2014-06-06 14:09] [PACMAN] upgraded gnome-calculator (3.12.1-1 -> 3.12.2-1)
[2014-06-06 14:09] [PACMAN] upgraded gnome-icon-theme-symbolic (3.12.0-1 -> 3.12.0-2)
[2014-06-06 14:09] [PACMAN] upgraded gnome-icon-theme (3.12.0-1 -> 3.12.0-2)
[2014-06-06 14:09] [PACMAN] upgraded gnome-menus (3.10.1-1 -> 3.10.1-2)
[2014-06-06 14:09] [PACMAN] upgraded gnome-tetravex (3.12.2-1 -> 3.12.3-1)
[2014-06-06 14:09] [PACMAN] upgraded gnupg (2.0.22-2 -> 2.0.23-1)
[2014-06-06 14:09] [PACMAN] upgraded graphviz (2.36.0-2 -> 2.36.0-3)
[2014-06-06 14:09] [PACMAN] upgraded gupnp (0.20.11-1 -> 0.20.12-1)
[2014-06-06 14:09] [PACMAN] upgraded perl (5.18.2-2 -> 5.20.0-2)
[2014-06-06 14:09] [PACMAN] upgraded vim-runtime (7.4.307-3 -> 7.4.307-4)
[2014-06-06 14:09] [PACMAN] upgraded openssl (1.0.1.g-1 -> 1.0.1.h-1)
[2014-06-06 14:09] [PACMAN] upgraded python2 (2.7.6-3 -> 2.7.7-1)
[2014-06-06 14:09] [PACMAN] upgraded gvim (7.4.307-3 -> 7.4.307-4)
[2014-06-06 14:09] [PACMAN] upgraded imagemagick (6.8.9.1-2 -> 6.8.9.1-3)
[2014-06-06 14:09] [PACMAN] upgraded python-setuptools (3.6-1 -> 4.0.1-1)
[2014-06-06 14:09] [PACMAN] upgraded ipython (2.0.0-1 -> 2.1.0-1)
[2014-06-06 14:09] [PACMAN] upgraded irssi (0.8.15-8 -> 0.8.16-1)
[2014-06-06 14:09] [PACMAN] upgraded json-glib (1.0.0-1 -> 1.0.2-1)
[2014-06-06 14:09] [PACMAN] upgraded lib32-libdbus (1.8.0-1 -> 1.8.2-1)
[2014-06-06 14:09] [PACMAN] upgraded libsystemd (212-3 -> 213-5)
[2014-06-06 14:09] [PACMAN] upgraded libatasmart (0.19-2 -> 0.19-3)
[2014-06-06 14:09] [PACMAN] upgraded libgdata (0.15.0-1 -> 0.15.1-1)
[2014-06-06 14:09] [PACMAN] upgraded libinput (0.1.0-1 -> 0.2.0-1)
[2014-06-06 14:09] [PACMAN] upgraded libmms (0.6.2-1 -> 0.6.4-1)
[2014-06-06 14:09] [PACMAN] upgraded libproxy (0.4.11-2 -> 0.4.11-3)
[2014-06-06 14:09] [PACMAN] upgraded libpurple (2.10.9-1 -> 2.10.9-2)
[2014-06-06 14:09] [PACMAN] upgraded libxcursor (1.1.14-1 -> 1.1.14-2)
[2014-06-06 14:09] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait …
[2014-06-06 14:09] [ALPM-SCRIPTLET] >>> Generating initial ramdisk, using mkinitcpio.  Please wait…
[2014-06-06 14:09] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: ‘default’
[2014-06-06 14:09] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2014-06-06 14:09] [ALPM-SCRIPTLET] ==> Starting build: 3.14.5-1-ARCH
[2014-06-06 14:09] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2014-06-06 14:09] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2014-06-06 14:09] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2014-06-06 14:09] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2014-06-06 14:09] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2014-06-06 14:09] [ALPM-SCRIPTLET]   -> Running build hook: [encrypt]
[2014-06-06 14:09] [ALPM-SCRIPTLET]   -> Running build hook: [lvm2]
[2014-06-06 14:09] [ALPM-SCRIPTLET]   -> Running build hook: [resume]
[2014-06-06 14:09] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2014-06-06 14:09] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2014-06-06 14:09] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2014-06-06 14:09] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2014-06-06 14:09] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2014-06-06 14:09] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
[2014-06-06 14:09] [ALPM-SCRIPTLET] ==> Image generation successful
[2014-06-06 14:09] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: ‘fallback’
[2014-06-06 14:09] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2014-06-06 14:09] [ALPM-SCRIPTLET] ==> Starting build: 3.14.5-1-ARCH
[2014-06-06 14:09] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2014-06-06 14:09] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2014-06-06 14:09] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2014-06-06 14:09] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2014-06-06 14:09] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2014-06-06 14:09] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: smsmdtv
[2014-06-06 14:09] [ALPM-SCRIPTLET]   -> Running build hook: [encrypt]
[2014-06-06 14:09] [ALPM-SCRIPTLET]   -> Running build hook: [lvm2]
[2014-06-06 14:09] [ALPM-SCRIPTLET]   -> Running build hook: [resume]
[2014-06-06 14:09] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2014-06-06 14:09] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2014-06-06 14:09] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2014-06-06 14:09] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2014-06-06 14:09] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2014-06-06 14:09] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
[2014-06-06 14:10] [ALPM-SCRIPTLET] ==> Image generation successful
[2014-06-06 14:10] [PACMAN] upgraded linux (3.14.4-1 -> 3.14.5-1)
[2014-06-06 14:10] [PACMAN] upgraded linux-headers (3.14.4-1 -> 3.14.5-1)
[2014-06-06 14:10] [PACMAN] upgraded mercurial (3.0-1 -> 3.0.1-1)
[2014-06-06 14:10] [PACMAN] upgraded net-snmp (5.7.2.1-2 -> 5.7.2.1-3)
[2014-06-06 14:10] [PACMAN] upgraded perl-io-tty (1.11-1 -> 1.11-2)
[2014-06-06 14:10] [PACMAN] upgraded perl-xml-parser (2.41-4 -> 2.41-5)
[2014-06-06 14:10] [PACMAN] upgraded postgresql-libs (9.3.4-1 -> 9.3.4-2)
[2014-06-06 14:10] [PACMAN] upgraded postgresql (9.3.4-1 -> 9.3.4-2)
[2014-06-06 14:10] [PACMAN] upgraded python2-setuptools (3.6-1 -> 4.0.1-1)
[2014-06-06 14:10] [ALPM-SCRIPTLET] Redis starts from redis user by default. Check redis.service file
[2014-06-06 14:10] [PACMAN] upgraded redis (2.8.9-1 -> 2.8.10-1)
[2014-06-06 14:10] [PACMAN] upgraded rrdtool (1.4.8-3 -> 1.4.8-4)
[2014-06-06 14:10] [PACMAN] upgraded rygel (0.22.1-1 -> 0.22.2-1)
[2014-06-06 14:10] [PACMAN] upgraded smbclient (4.1.7-1 -> 4.1.8-1)
[2014-06-06 14:10] [PACMAN] upgraded systemd (212-3 -> 213-5)
[2014-06-06 14:10] [PACMAN] upgraded subversion (1.8.9-1 -> 1.8.9-2)
[2014-06-06 14:10] [PACMAN] upgraded systemd-sysvcompat (212-3 -> 213-5)
[2014-06-06 14:10] [PACMAN] upgraded xfconf (4.10.0-3 -> 4.10.0-4)
[2014-06-06 14:10] [PACMAN] upgraded youtube-dl (2014.06.02-1 -> 2014.06.04-1)

Last edited by jan1024188 (2014-06-06 13:54:27)

Created on 2018-08-08 06:47 by ybon, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (8)
msg323263 — (view) Author: Yohan Boniface (ybon) Date: 2018-08-08 06:47
Hi!

Just installed 3.7 (ArchLinux) and I've a SIGSEGV on one of my projects.
I've a hard time reducing to a minimal testcase, because it seems whatever random piece of code I remove the crash disappears at some point.

Here is the repository:

https://framagit.org/ybon/trefle

To reproduce, install the project in a 3.7 venv with `python setup.py develop` then run `python trefle/bin.py` (or even `python -c 'from trefle import routine'`).

Here is the output I have:

```
Initializing config
Done initializing config
fish: “python trefle/bin.py” terminated by signal SIGSEGV (Address boundary error)
```

Here are some elements:

- if I run the code with PYTHONMALLOC=debug, I have no crash
- the project is using quite a lot of unicode (French content written in config files), even in some file names
- the project is using asyncio (but it does not seem directly related at first look)
- it is running without issue as is on python 3.6

Here is a gdb backtrace:

```
$ gdb python                                                                                                                                GNU gdb (GDB) 8.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from python...(no debugging symbols found)...done.
(gdb) run trefle/bin.py 
Starting program: /home/ybon/.virtualenvs/trefle/bin/python trefle/bin.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Initializing config
Done initializing config

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff791a9ce in PyObject_Malloc () from /usr/lib/libpython3.7m.so.1.0
(gdb) backtrace 
#0  0x00007ffff791a9ce in PyObject_Malloc () from /usr/lib/libpython3.7m.so.1.0
#1  0x00007ffff79fec6e in ?? () from /usr/lib/libpython3.7m.so.1.0
#2  0x00007ffff7a05874 in PyParser_ASTFromStringObject () from /usr/lib/libpython3.7m.so.1.0
#3  0x00007ffff7a693f2 in Py_CompileStringObject () from /usr/lib/libpython3.7m.so.1.0
#4  0x00007ffff7a695c3 in ?? () from /usr/lib/libpython3.7m.so.1.0
#5  0x00007ffff795963f in _PyMethodDef_RawFastCallDict () from /usr/lib/libpython3.7m.so.1.0
#6  0x00007ffff79597d1 in _PyCFunction_FastCallDict () from /usr/lib/libpython3.7m.so.1.0
#7  0x00007ffff79f7e16 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.7m.so.1.0
#8  0x00007ffff7939069 in _PyEval_EvalCodeWithName () from /usr/lib/libpython3.7m.so.1.0
#9  0x00007ffff7980982 in _PyFunction_FastCallKeywords () from /usr/lib/libpython3.7m.so.1.0
#10 0x00007ffff79f3142 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.7m.so.1.0
#11 0x00007ffff7939069 in _PyEval_EvalCodeWithName () from /usr/lib/libpython3.7m.so.1.0
#12 0x00007ffff7980982 in _PyFunction_FastCallKeywords () from /usr/lib/libpython3.7m.so.1.0
#13 0x00007ffff79f2225 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.7m.so.1.0
#14 0x00007ffff79807db in _PyFunction_FastCallKeywords () from /usr/lib/libpython3.7m.so.1.0
#15 0x00007ffff79f2225 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.7m.so.1.0
#16 0x00007ffff79807db in _PyFunction_FastCallKeywords () from /usr/lib/libpython3.7m.so.1.0
#17 0x00007ffff79f2225 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.7m.so.1.0
#18 0x00007ffff79807db in _PyFunction_FastCallKeywords () from /usr/lib/libpython3.7m.so.1.0
#19 0x00007ffff79f23cd in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.7m.so.1.0
#20 0x00007ffff79807db in _PyFunction_FastCallKeywords () from /usr/lib/libpython3.7m.so.1.0
#21 0x00007ffff79f23cd in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.7m.so.1.0
#22 0x00007ffff793a08b in _PyFunction_FastCallDict () from /usr/lib/libpython3.7m.so.1.0
#23 0x00007ffff7949888 in ?? () from /usr/lib/libpython3.7m.so.1.0
#24 0x00007ffff79b71b9 in _PyObject_CallMethodIdObjArgs () from /usr/lib/libpython3.7m.so.1.0
#25 0x00007ffff792e285 in PyImport_ImportModuleLevelObject () from /usr/lib/libpython3.7m.so.1.0
#26 0x00007ffff79f4434 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.7m.so.1.0
#27 0x00007ffff7939069 in _PyEval_EvalCodeWithName () from /usr/lib/libpython3.7m.so.1.0
#28 0x00007ffff7939f34 in PyEval_EvalCodeEx () from /usr/lib/libpython3.7m.so.1.0
#29 0x00007ffff7939f5c in PyEval_EvalCode () from /usr/lib/libpython3.7m.so.1.0
#30 0x00007ffff7a05a64 in ?? () from /usr/lib/libpython3.7m.so.1.0
#31 0x00007ffff7959709 in _PyMethodDef_RawFastCallDict () from /usr/lib/libpython3.7m.so.1.0
#32 0x00007ffff79597d1 in _PyCFunction_FastCallDict () from /usr/lib/libpython3.7m.so.1.0
#33 0x00007ffff79f7e16 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.7m.so.1.0
#34 0x00007ffff7939069 in _PyEval_EvalCodeWithName () from /usr/lib/libpython3.7m.so.1.0
#35 0x00007ffff7980982 in _PyFunction_FastCallKeywords () from /usr/lib/libpython3.7m.so.1.0
#36 0x00007ffff79f6933 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.7m.so.1.0
#37 0x00007ffff79807db in _PyFunction_FastCallKeywords () from /usr/lib/libpython3.7m.so.1.0
#38 0x00007ffff79f2225 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.7m.so.1.0
#39 0x00007ffff79807db in _PyFunction_FastCallKeywords () from /usr/lib/libpython3.7m.so.1.0
#40 0x00007ffff79f23cd in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.7m.so.1.0
#41 0x00007ffff79807db in _PyFunction_FastCallKeywords () from /usr/lib/libpython3.7m.so.1.0
#42 0x00007ffff79f23cd in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.7m.so.1.0
#43 0x00007ffff793a08b in _PyFunction_FastCallDict () from /usr/lib/libpython3.7m.so.1.0
#44 0x00007ffff7949888 in ?? () from /usr/lib/libpython3.7m.so.1.0
#45 0x00007ffff79b71b9 in _PyObject_CallMethodIdObjArgs () from /usr/lib/libpython3.7m.so.1.0
#46 0x00007ffff792e285 in PyImport_ImportModuleLevelObject () from /usr/lib/libpython3.7m.so.1.0
#47 0x00007ffff79f4434 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.7m.so.1.0
#48 0x00007ffff7939069 in _PyEval_EvalCodeWithName () from /usr/lib/libpython3.7m.so.1.0
#49 0x00007ffff7939f34 in PyEval_EvalCodeEx () from /usr/lib/libpython3.7m.so.1.0
#50 0x00007ffff7939f5c in PyEval_EvalCode () from /usr/lib/libpython3.7m.so.1.0
#51 0x00007ffff7a68770 in ?? () from /usr/lib/libpython3.7m.so.1.0
#52 0x00007ffff7a6a54a in PyRun_FileExFlags () from /usr/lib/libpython3.7m.so.1.0
#53 0x00007ffff7a6bac5 in PyRun_SimpleFileExFlags () from /usr/lib/libpython3.7m.so.1.0
#54 0x00007ffff7a6da8f in ?? () from /usr/lib/libpython3.7m.so.1.0
#55 0x00007ffff7a6e420 in _Py_UnixMain () from /usr/lib/libpython3.7m.so.1.0
#56 0x00007ffff7dc9003 in __libc_start_main () from /usr/lib/libc.so.6
#57 0x000055555555477a in _start ()
```

Thanks for your help on tracking this! :)

Yohan
msg323267 — (view) Author: Julien Palard (mdk) * (Python committer) Date: 2018-08-08 07:30
Can reproduce with python3.7 from Debian packages, but can't reproduce with a python3.7 built with --with-pydebug.
msg323270 — (view) Author: Stéphane Wirtel (matrixise) * (Python committer) Date: 2018-08-08 09:50
With the last revision of 3.7 (w/o --with-debug), I don't get this issue on Fedora 28 :/
msg323271 — (view) Author: Stéphane Wirtel (matrixise) * (Python committer) Date: 2018-08-08 09:51
and what's the issue with asyncio ?
msg323272 — (view) Author: Yohan Boniface (ybon) Date: 2018-08-08 10:46
Thanks all :)

As noted by Julien, to reproduce the test cases, one also needs to install the dev requirements (or just `pip instal minicli hupper`):

pip install -r requirements-dev.txt

> and what's the issue with asyncio ?

Nothing specific as far as I can tell.
I mentioned it because not all projects use asyncio so I thought it was an significative point to have in mind, just in case.
Also I blindly checked "asyncio" in the "Components" because the project does use asyncio, without foreseeing that this would point asyncio as a guilty and that asyncio maintainers would have been specifically CCed.
Thanks for fixing this.

One other thing to notice just in case: the code base do have unicode chars (in comments, strings and raw strings).
msg323304 — (view) Author: Julien Palard (mdk) * (Python committer) Date: 2018-08-08 21:52
After noticing that without pydebug I can reproduce in v3.7.0 but not in master I ran a git bisect, the following commit looks like it fixes the issue:

```
commit 16dfca4d829e45f36e71bf43f83226659ce49315
Author: INADA Naoki <methane@users.noreply.github.com>
Date:   Sat Jul 14 12:06:43 2018 +0900

    bpo-34087: Fix buffer overflow in int(s) and similar functions (GH-8274)
    
    `_PyUnicode_TransformDecimalAndSpaceToASCII()` missed trailing NUL char.
    It caused buffer overflow in `_Py_string_to_number_with_underscores()`.
    
    This bug is introduced in 9b6c60cb.
```
msg324048 — (view) Author: Xiang Zhang (xiang.zhang) * (Python committer) Date: 2018-08-25 07:44
So this is a dupliate of #34087 and we can close it?
msg324169 — (view) Author: Inada Naoki (methane) * (Python committer) Date: 2018-08-27 11:42
I think so.
History
Date User Action Args
2022-04-11 14:59:04 admin set github: 78536
2018-08-27 11:42:54 methane set status: open -> closed
superseder: int(s), float(s) and others may cause segmentation fault
messages:
+ msg324169

resolution: duplicate
stage: resolved

2018-08-25 07:44:32 xiang.zhang set nosy:
+ methane, xiang.zhang
messages:
+ msg324048
2018-08-08 21:52:35 mdk set messages:
+ msg323304
2018-08-08 10:46:23 ybon set messages:
+ msg323272
2018-08-08 09:52:58 matrixise set nosy:
— asvetlov, yselivanov
components:
— asyncio
2018-08-08 09:51:31 matrixise set messages:
+ msg323271
2018-08-08 09:50:09 matrixise set nosy:
+ matrixise
messages:
+ msg323270
2018-08-08 07:30:27 mdk set nosy:
+ mdk
messages:
+ msg323267
2018-08-08 06:47:22 ybon create

Понравилась статья? Поделить с друзьями:
  • Termet ошибка e01
  • Termdd ошибка 56 windows 2008 r2
  • Terma ошибка е7 ktx 3
  • Terma ktx4 ошибки
  • Term sig null error code 2