Re: [dev] surf crash

From: Greg Minshall <>
Date: Sun, 15 Jan 2017 21:16:57 -0800

Hiro, thanks for the reply.

> try compiling your system without dbus.
> then, add a gdb backtrace.

i'm not sure how to interpret the first line. if it means compile Linux
without dbus, i'm afraid i don't know how to do that. (but, with hints
and some time, could possibly figure it out; i'm running lubuntu.)

if the first line means surf(1), i don't (grep(1) doesn't) see any
references to dbus in the sources.

for the second line, i downloaded the current (0.7) release of surf,
compiled with -g. below is the output (*does* look a bit like someone
stomped on the stack).

cheers, Greg
bash minshall-apollo: {1068} gdb surf
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 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 surf...done.
(gdb) run
Starting program: /home/minshall/src/import/suckless/surf/surf-0.7/surf
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/".
[New Thread 0x7fffe4812700 (LWP 31539)]
[New Thread 0x7fffa400f700 (LWP 31540)]
[New Thread 0x7fffa33b5700 (LWP 31541)]
[New Thread 0x7fffa2bb4700 (LWP 31542)]
[New Thread 0x7fffa1d49700 (LWP 31543)]
[New Thread 0x7fff9218f700 (LWP 31544)]
[New Thread 0x7fff9198e700 (LWP 31545)]
[New Thread 0x7fff9118d700 (LWP 31546)]
[New Thread 0x7fff9098c700 (LWP 31547)]
[New Thread 0x7fff87fff700 (LWP 31548)]
[New Thread 0x7fff877fe700 (LWP 31549)]
[Thread 0x7fff9218f700 (LWP 31544) exited]
[New Thread 0x7fff9218f700 (LWP 31551)]
[New Thread 0x7fff867d4700 (LWP 31552)]
[New Thread 0x7fff85fd3700 (LWP 31553)]
[New Thread 0x7fff857d2700 (LWP 31554)]
[New Thread 0x7fff63fff700 (LWP 31555)]
[New Thread 0x7fff637fe700 (LWP 31556)]
[New Thread 0x7fff62ffd700 (LWP 31557)]
[New Thread 0x7fff627fc700 (LWP 31558)]
Thread 1 "surf" received signal SIGSEGV, Segmentation fault.
0x00007ffff3e15c16 in ?? () from /usr/lib/x86_64-linux-gnu/
(gdb) where
#0  0x00007ffff3e15c16 in ?? () from /usr/lib/x86_64-linux-gnu/
#1  0x00007ffff3e16563 in ?? () from /usr/lib/x86_64-linux-gnu/
#2  0x00007fffa404abe9 in ?? ()
#3  0x00007fffffffce70 in ?? ()
#4  0x00007ffff7e71000 in ?? ()
#5  0x00007fff8496a728 in ?? ()
#6  0x00007fffffffcee0 in ?? ()
#7  0x00007fff86ffdff8 in ?? ()
#8  0x00007fffffffcef0 in ?? ()
#9  0x00007fffffffce70 in ?? ()
#10 0x00007ffff3dffc03 in JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*, JSC::Register*) () from /usr/lib/x86_64-linux-gnu/
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Received on Mon Jan 16 2017 - 06:16:57 CET

This archive was generated by hypermail 2.3.0 : Mon Jan 16 2017 - 06:24:14 CET