Giter Club home page Giter Club logo

bless-old-fork's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bless-old-fork's Issues

unhadled exception

can't execute it on gentoo, v0.6.0-r2 always fails

$ bless

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exception: Magic number is wrong: 542
at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) <0x407a0180 + 0x0013b> in :0
at System.TermInfoReader..ctor (System.String term, System.String filename) <0x4079ff60 + 0x0013b> in :0
at System.TermInfoDriver..ctor (System.String term) <0x4079e8c0 + 0x001af> in :0
at System.ConsoleDriver.CreateTermInfoDriver (System.String term) <0x4079e870 + 0x0002f> in :0
at System.ConsoleDriver..cctor () <0x4079e500 + 0x000b7> in :0
--- End of inner exception stack trace ---
at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) <0x4079dd90 + 0x00043> in :0
at System.Console..cctor () <0x4079d8e0 + 0x001c3> in :0
--- End of inner exception stack trace ---
at BlessMain.LoadPreferences (System.String path) <0x4079a150 + 0x00077> in :0
at BlessMain..ctor (System.String[] args) <0x412a2610 + 0x00bfb> in :0
at BlessMain.Main (System.String[] args) <0x412a1e20 + 0x00027> in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exception: Magic number is wrong: 542
at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) <0x407a0180 + 0x0013b> in :0
at System.TermInfoReader..ctor (System.String term, System.String filename) <0x4079ff60 + 0x0013b> in :0
at System.TermInfoDriver..ctor (System.String term) <0x4079e8c0 + 0x001af> in :0
at System.ConsoleDriver.CreateTermInfoDriver (System.String term) <0x4079e870 + 0x0002f> in :0
at System.ConsoleDriver..cctor () <0x4079e500 + 0x000b7> in :0
--- End of inner exception stack trace ---
at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) <0x4079dd90 + 0x00043> in :0
at System.Console..cctor () <0x4079d8e0 + 0x001c3> in :0
--- End of inner exception stack trace ---
at BlessMain.LoadPreferences (System.String path) <0x4079a150 + 0x00077> in :0
at BlessMain..ctor (System.String[] args) <0x412a2610 + 0x00bfb> in :0
at BlessMain.Main (System.String[] args) <0x412a1e20 + 0x00027> in :0

Error saving file

Hello

I have 35GB free on this drive, so think this isn't accurate.
I'm using v0.6.0 on latest Ubuntu

==================
Error saving file '/home/jon/testfile.txt'

There is not enough free space on the device to safe file
'lvmtedq.bless'.
[OK]

Crash on selection

Reproduce:

  • open a wasm file
  • select in text
  • ๐Ÿ’ฅ

I'm using:

Distributor ID: Ubuntu
Description:    Ubuntu 17.10
Release:        17.10
Codename:       artful

The error is: *** Error in 'mono': double free or corruption (out): 0x00005608ff7e3740 *** or *** Error in 'mono': free(): invalid pointer: 0x000055793af8f720 ***

Here's the output:

Root element is missing.
Directory '/home/foo/.config/bless/plugins' not found.
Directory '/home/foo/.config/bless/plugins' not found.
Directory '/home/foo/.config/bless/plugins' not found.
Could not find file "/home/foo/.config/bless/export_patterns".
Could not find file "/home/foo/.config/bless/history.xml".
Root element is missing.
Document does not have a root element.
Sharing violation on path /home/foo/.config/bless/preferences.xml
Sharing violation on path /home/foo/.config/bless/preferences.xml
Sharing violation on path /home/foo/.config/bless/preferences.xml
Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) GLib.SList.g_free (intptr) <0x0005f>
  at GLib.ListBase.Empty () <0x0013c>
  at GLib.ListBase.Dispose (bool) <0x0000f>
  at GLib.ListBase.Finalize () <0x0001d>
  at (wrapper runtime-invoke) object.runtime_invoke_virtual_void__this__ (object,intptr,intptr,intptr) <0x00068>

Native stacktrace:

	mono(+0xc8514) [0x5608fdf25514]
	/lib/x86_64-linux-gnu/libpthread.so.0(+0x13150) [0x7fb584bbc150]
	/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb) [0x7fb5845e90bb]
	/lib/x86_64-linux-gnu/libc.so.6(abort+0x16d) [0x7fb5845eaf5d]
	/lib/x86_64-linux-gnu/libc.so.6(+0x8128d) [0x7fb58463328d]
	/lib/x86_64-linux-gnu/libc.so.6(+0x8864a) [0x7fb58463a64a]
	/lib/x86_64-linux-gnu/libc.so.6(+0x8a73e) [0x7fb58463c73e]
	/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6e) [0x7fb58464144e]
	[0x41ea6b70]

Debug info from gdb:

[New LWP 28063]
[New LWP 28064]
[New LWP 28085]
[New LWP 28086]
[New LWP 28110]
[New LWP 28141]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fb5846ba951 in __GI___poll (fds=0x5608ff7e2120, nfds=3, timeout=500) at ../sysdeps/unix/sysv/linux/poll.c:29
29	../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
  Id   Target Id         Frame 
* 1    Thread 0x7fb585725780 (LWP 28062) "Main" 0x00007fb5846ba951 in __GI___poll (fds=0x5608ff7e2120, nfds=3, timeout=500) at ../sysdeps/unix/sysv/linux/poll.c:29
  2    Thread 0x7fb583bff700 (LWP 28063) "SGen worker" 0x00007fb584bb7072 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5608fe418a08) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
  3    Thread 0x7fb5842d4700 (LWP 28064) "Finalizer" 0x00007fb584bbba4a in __waitpid (pid=28165, stat_loc=0x7fb5842d256c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
  4    Thread 0x7fb570e47700 (LWP 28085) "gmain" 0x00007fb5846ba951 in __GI___poll (fds=0x5608ff7d5570, nfds=2, timeout=3607) at ../sysdeps/unix/sysv/linux/poll.c:29
  5    Thread 0x7fb56bfff700 (LWP 28086) "gdbus" 0x00007fb5846ba951 in __GI___poll (fds=0x5608ff7e5ee0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
  6    Thread 0x7fb56affd700 (LWP 28110) "pool" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  7    Thread 0x7fb57031c700 (LWP 28141) "Main" 0x00007fb5846b606d in __GI___libc_read (fd=13, buf=0x7fb583d9c988, nbytes=4096) at ../sysdeps/unix/sysv/linux/read.c:26

Thread 7 (Thread 0x7fb57031c700 (LWP 28141)):
#0  0x00007fb5846b606d in __GI___libc_read (fd=13, buf=0x7fb583d9c988, nbytes=4096) at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x0000000041e97de0 in  ()
#2  0x00007fb583d9a710 in  ()
#3  0x00007fb583d9a8c0 in  ()
#4  0x00007fb583d9c968 in  ()
#5  0x0000000000000020 in  ()
#6  0x00007fb583d9a570 in  ()
#7  0x00007fb5580019e0 in  ()
#8  0x00007fb57031b810 in  ()
#9  0x00007fb57031b810 in  ()
#10 0x00007fb57031b730 in  ()
#11 0x0000000041e97ba4 in  ()
#12 0x0000000000000065 in  ()
#13 0x6e696f706b636568 in  ()
#14 0x727265746e695f65 in  ()
#15 0x0000000000000000 in  ()

Thread 6 (Thread 0x7fb56affd700 (LWP 28110)):
#0  0x00007fb5846c0a49 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fb57a89580a in g_cond_wait_until () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb57a8242e1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb57a82489c in g_async_queue_timeout_pop () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb57a8780ee in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb57a877645 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fb584bb07fc in start_thread (arg=0x7fb56affd700) at pthread_create.c:465
#7  0x00007fb5846c6b5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fb56bfff700 (LWP 28086)):
#0  0x00007fb5846ba951 in __GI___poll (fds=0x5608ff7e5ee0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb57a850169 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb57a850502 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb57b29db26 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fb57a877645 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb584bb07fc in start_thread (arg=0x7fb56bfff700) at pthread_create.c:465
#6  0x00007fb5846c6b5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fb570e47700 (LWP 28085)):
#0  0x00007fb5846ba951 in __GI___poll (fds=0x5608ff7d5570, nfds=2, timeout=3607) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb57a850169 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb57a85027c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb57a8502c1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb57a877645 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb584bb07fc in start_thread (arg=0x7fb570e47700) at pthread_create.c:465
#6  0x00007fb5846c6b5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fb5842d4700 (LWP 28064)):
#0  0x00007fb584bbba4a in __waitpid (pid=28165, stat_loc=0x7fb5842d256c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
#1  0x00005608fdf255f0 in  ()
#2  0x00007fb584bbc150 in <signal handler called> () at /lib/x86_64-linux-gnu/libpthread.so.0
#3  0x00007fb5845e90bb in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#4  0x00007fb5845eaf5d in __GI_abort () at abort.c:90
#5  0x00007fb58463328d in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7fb58475a528 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:181
#6  0x00007fb58463a64a in malloc_printerr (action=<optimized out>, str=0x7fb58475a8b0 "double free or corruption (out)", ptr=<optimized out>, ar_ptr=<optimized out>) at malloc.c:5426
#7  0x00007fb58463c73e in _int_free (av=0x7fb58498cc20 <main_arena>, p=<optimized out>, have_lock=0) at malloc.c:4175
#8  0x00007fb58464144e in __GI___libc_free (mem=<optimized out>) at malloc.c:3145
#9  0x0000000041ea6b70 in  ()
#10 0x00005608ff7e3740 in  ()
#11 0x00005608fee5be90 in  ()
#12 0x00005608fee5be90 in  ()
#13 0x0000000000000000 in  ()

Thread 2 (Thread 0x7fb583bff700 (LWP 28063)):
#0  0x00007fb584bb7072 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5608fe418a08) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fb584bb7072 in __pthread_cond_wait_common (abstime=0x0, mutex=0x5608fe418a20, cond=0x5608fe4189e0) at pthread_cond_wait.c:502
#2  0x00007fb584bb7072 in __pthread_cond_wait (cond=0x5608fe4189e0, mutex=0x5608fe418a20) at pthread_cond_wait.c:655
#3  0x00005608fe0ad863 in  ()
#4  0x00007fb584bb07fc in start_thread (arg=0x7fb583bff700) at pthread_create.c:465
#5  0x00007fb5846c6b5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fb585725780 (LWP 28062)):
#0  0x00007fb5846ba951 in __GI___poll (fds=0x5608ff7e2120, nfds=3, timeout=500) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb57a850169 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb57a850502 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb580b04727 in gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#4  0x0000000041e8adda in  ()
#5  0x00007ffece3e3b30 in  ()
#6  0x00007ffece3e3b20 in  ()
#7  0x00005608fee5fbc8 in  ()
#8  0x00007ffece3e3b20 in  ()
#9  0x0000000041e02f70 in  ()
#10 0x00005608fee8ead0 in  ()
#11 0x0000000041e058b8 in  ()
#12 0x00007ffece3e36a0 in  ()
#13 0x00007ffece3e30b0 in  ()
#14 0x0000000041e8ad6c in  ()
#15 0x00007ffece3e36a0 in  ()
#16 0x0000000041e057bc in  ()
#17 0x00007fb583c34678 in  ()
#18 0x0000000000000000 in  ()

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

/usr/bin/bless: line 3: 28062 Aborted                 (core dumped) mono "/usr/lib/bless/bless.exe" "$@"

Root element is missing.
Directory '/home/foo/.config/bless/plugins' not found.
Directory '/home/foo/.config/bless/plugins' not found.
Directory '/home/foo/.config/bless/plugins' not found.
Could not find file "/home/foo/.config/bless/export_patterns".
Could not find file "/home/foo/.config/bless/history.xml".
Root element is missing.
Document does not have a root element.
Sharing violation on path /home/foo/.config/bless/preferences.xml
Sharing violation on path /home/foo/.config/bless/preferences.xml
Sharing violation on path /home/foo/.config/bless/preferences.xml
Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) GLib.SList.g_free (intptr) <0x0005f>
  at GLib.ListBase.Empty () <0x0013c>
  at GLib.ListBase.Dispose (bool) <0x0000f>
  at GLib.ListBase.Finalize () <0x0001d>
  at (wrapper runtime-invoke) object.runtime_invoke_virtual_void__this__ (object,intptr,intptr,intptr) <0x00068>

Native stacktrace:

	mono(+0xc8514) [0x5608fdf25514]
	/lib/x86_64-linux-gnu/libpthread.so.0(+0x13150) [0x7fb584bbc150]
	/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb) [0x7fb5845e90bb]
	/lib/x86_64-linux-gnu/libc.so.6(abort+0x16d) [0x7fb5845eaf5d]
	/lib/x86_64-linux-gnu/libc.so.6(+0x8128d) [0x7fb58463328d]
	/lib/x86_64-linux-gnu/libc.so.6(+0x8864a) [0x7fb58463a64a]
	/lib/x86_64-linux-gnu/libc.so.6(+0x8a73e) [0x7fb58463c73e]
	/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6e) [0x7fb58464144e]
	[0x41ea6b70]

Debug info from gdb:

[New LWP 28063]
[New LWP 28064]
[New LWP 28085]
[New LWP 28086]
[New LWP 28110]
[New LWP 28141]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fb5846ba951 in __GI___poll (fds=0x5608ff7e2120, nfds=3, timeout=500) at ../sysdeps/unix/sysv/linux/poll.c:29
29	../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
  Id   Target Id         Frame 
* 1    Thread 0x7fb585725780 (LWP 28062) "Main" 0x00007fb5846ba951 in __GI___poll (fds=0x5608ff7e2120, nfds=3, timeout=500) at ../sysdeps/unix/sysv/linux/poll.c:29
  2    Thread 0x7fb583bff700 (LWP 28063) "SGen worker" 0x00007fb584bb7072 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5608fe418a08) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
  3    Thread 0x7fb5842d4700 (LWP 28064) "Finalizer" 0x00007fb584bbba4a in __waitpid (pid=28165, stat_loc=0x7fb5842d256c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
  4    Thread 0x7fb570e47700 (LWP 28085) "gmain" 0x00007fb5846ba951 in __GI___poll (fds=0x5608ff7d5570, nfds=2, timeout=3607) at ../sysdeps/unix/sysv/linux/poll.c:29
  5    Thread 0x7fb56bfff700 (LWP 28086) "gdbus" 0x00007fb5846ba951 in __GI___poll (fds=0x5608ff7e5ee0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
  6    Thread 0x7fb56affd700 (LWP 28110) "pool" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  7    Thread 0x7fb57031c700 (LWP 28141) "Main" 0x00007fb5846b606d in __GI___libc_read (fd=13, buf=0x7fb583d9c988, nbytes=4096) at ../sysdeps/unix/sysv/linux/read.c:26

Thread 7 (Thread 0x7fb57031c700 (LWP 28141)):
#0  0x00007fb5846b606d in __GI___libc_read (fd=13, buf=0x7fb583d9c988, nbytes=4096) at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x0000000041e97de0 in  ()
#2  0x00007fb583d9a710 in  ()
#3  0x00007fb583d9a8c0 in  ()
#4  0x00007fb583d9c968 in  ()
#5  0x0000000000000020 in  ()
#6  0x00007fb583d9a570 in  ()
#7  0x00007fb5580019e0 in  ()
#8  0x00007fb57031b810 in  ()
#9  0x00007fb57031b810 in  ()
#10 0x00007fb57031b730 in  ()
#11 0x0000000041e97ba4 in  ()
#12 0x0000000000000065 in  ()
#13 0x6e696f706b636568 in  ()
#14 0x727265746e695f65 in  ()
#15 0x0000000000000000 in  ()

Thread 6 (Thread 0x7fb56affd700 (LWP 28110)):
#0  0x00007fb5846c0a49 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fb57a89580a in g_cond_wait_until () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb57a8242e1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb57a82489c in g_async_queue_timeout_pop () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb57a8780ee in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb57a877645 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fb584bb07fc in start_thread (arg=0x7fb56affd700) at pthread_create.c:465
#7  0x00007fb5846c6b5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fb56bfff700 (LWP 28086)):
#0  0x00007fb5846ba951 in __GI___poll (fds=0x5608ff7e5ee0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb57a850169 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb57a850502 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb57b29db26 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fb57a877645 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb584bb07fc in start_thread (arg=0x7fb56bfff700) at pthread_create.c:465
#6  0x00007fb5846c6b5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fb570e47700 (LWP 28085)):
#0  0x00007fb5846ba951 in __GI___poll (fds=0x5608ff7d5570, nfds=2, timeout=3607) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb57a850169 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb57a85027c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb57a8502c1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb57a877645 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb584bb07fc in start_thread (arg=0x7fb570e47700) at pthread_create.c:465
#6  0x00007fb5846c6b5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fb5842d4700 (LWP 28064)):
#0  0x00007fb584bbba4a in __waitpid (pid=28165, stat_loc=0x7fb5842d256c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
#1  0x00005608fdf255f0 in  ()
#2  0x00007fb584bbc150 in <signal handler called> () at /lib/x86_64-linux-gnu/libpthread.so.0
#3  0x00007fb5845e90bb in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#4  0x00007fb5845eaf5d in __GI_abort () at abort.c:90
#5  0x00007fb58463328d in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7fb58475a528 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:181
#6  0x00007fb58463a64a in malloc_printerr (action=<optimized out>, str=0x7fb58475a8b0 "double free or corruption (out)", ptr=<optimized out>, ar_ptr=<optimized out>) at malloc.c:5426
#7  0x00007fb58463c73e in _int_free (av=0x7fb58498cc20 <main_arena>, p=<optimized out>, have_lock=0) at malloc.c:4175
#8  0x00007fb58464144e in __GI___libc_free (mem=<optimized out>) at malloc.c:3145
#9  0x0000000041ea6b70 in  ()
#10 0x00005608ff7e3740 in  ()
#11 0x00005608fee5be90 in  ()
#12 0x00005608fee5be90 in  ()
#13 0x0000000000000000 in  ()

Thread 2 (Thread 0x7fb583bff700 (LWP 28063)):
#0  0x00007fb584bb7072 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5608fe418a08) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fb584bb7072 in __pthread_cond_wait_common (abstime=0x0, mutex=0x5608fe418a20, cond=0x5608fe4189e0) at pthread_cond_wait.c:502
#2  0x00007fb584bb7072 in __pthread_cond_wait (cond=0x5608fe4189e0, mutex=0x5608fe418a20) at pthread_cond_wait.c:655
#3  0x00005608fe0ad863 in  ()
#4  0x00007fb584bb07fc in start_thread (arg=0x7fb583bff700) at pthread_create.c:465
#5  0x00007fb5846c6b5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fb585725780 (LWP 28062)):
#0  0x00007fb5846ba951 in __GI___poll (fds=0x5608ff7e2120, nfds=3, timeout=500) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb57a850169 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb57a850502 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb580b04727 in gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#4  0x0000000041e8adda in  ()
#5  0x00007ffece3e3b30 in  ()
#6  0x00007ffece3e3b20 in  ()
#7  0x00005608fee5fbc8 in  ()
#8  0x00007ffece3e3b20 in  ()
#9  0x0000000041e02f70 in  ()
#10 0x00005608fee8ead0 in  ()
#11 0x0000000041e058b8 in  ()
#12 0x00007ffece3e36a0 in  ()
#13 0x00007ffece3e30b0 in  ()
#14 0x0000000041e8ad6c in  ()
#15 0x00007ffece3e36a0 in  ()
#16 0x0000000041e057bc in  ()
#17 0x00007fb583c34678 in  ()
#18 0x0000000000000000 in  ()

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

/usr/bin/bless: line 3: 28062 Aborted                 (core dumped) mono "/usr/lib/bless/bless.exe" "$@"

Single bytes of a byte offset are sometimes written in reverse

Here's an interesting bug in the offset display area.

Consider the offset as 4 bytes which are each a pair of characters. If a byte should contain exactly one f in its left character e.g. f0 or fa then that byte is instead displayed in reverse e.g. 0f or af. If the byte is ff then it is not displayed at all, and the byte is left blank.

screenshot from 2017-09-12 23-18-41

See the d0, e0, 0f sequence in the picture for an example. I missed this originally but also see that the f is repeated; the display should be 0000ef50 and not 0000eff50. I suspect this is all due to an error in RenderRowNormal, but I haven't been able to get the code to compile so I can't check. This is on Linux, if that's useful.

Build failed compiling

System: Ubuntu 18.04 x86_64

  1. Install nuget, mono-xbuild and nunit-console:
    sudo apt install nuget mono-xbuild
  2. Checkout the package
    git clone https://github.com/bwrsandman/Bless.git
  3. Get dependencies
    nuget restore Bless.sln
    Blank output
  4. Build the program
    xbuild /p:Configuration=Release Bless.sln

Output:
XBuild Engine Version 14.0
Mono, Version 4.6.2.0
Copyright (C) 2005-2013 Various Mono authors

Build started 6/24/2018 10:41:27 AM.


Project "/home/max/dev/Bless/Bless.sln" (default target(s)):
Target ValidateSolutionConfiguration:
Building solution configuration "Release|x86".
Target Build:
Project "/home/max/dev/Bless/src/util/Bless.Util.csproj" (default target(s)):
Target PrepareForBuild:
Configuration: Release Platform: x86
Target GenerateSatelliteAssemblies:
No input files were specified for target GenerateSatelliteAssemblies, skipping.
Target _GenerateTargetFrameworkMonikerAttribute:
Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
Done building project "/home/max/dev/Bless/src/util/Bless.Util.csproj".-- FAILED
Project "/home/max/dev/Bless/src/gui/drawers/Bless.Gui.Drawers.csproj" (default target(s)):
Target PrepareForBuild:
Configuration: Release Platform: x86
Target GenerateSatelliteAssemblies:
No input files were specified for target GenerateSatelliteAssemblies, skipping.
Target _GenerateTargetFrameworkMonikerAttribute:
Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
Done building project "/home/max/dev/Bless/src/gui/drawers/Bless.Gui.Drawers.csproj".-- FAILED
Task "MSBuild" execution -- FAILED
Done building target "Build" in project "/home/max/dev/Bless/Bless.sln".-- FAILED
Done building project "/home/max/dev/Bless/Bless.sln".-- FAILED

Build FAILED.
0 Warning(s)
0 Error(s)

Time Elapsed 00:00:00.4404410

auto updating on file changes sometimes not triggered properly

Good evening,
I am generating and viewing binary files on a synology nas, mounted by cifs. Sometimes it hapens on overwriting a currently opened file in bless, it will not see the change and thus won't trigger the update.
My current workaround is to open the same file (another tab pops up by then) and magically the original file tab provides the reload / ignore feature.
Would love to see a manual refresh button or entry in "view" menue

Greetings woodz

Goto Offset doesn't accept Hex values

I've been using Bless for quite a while now, and it has helped me a lot with debugging and reverse-engineering some binaries.

However, one drawback I found when using it is that the "Goto Offset" option (Ctrl-G) doesn't seem to accept any Hex values for its search, only decimal values.

I was wondering if this is a missing feature, or if I have to enable it somehow.
And if it's a missing feature, I'd like to recommend implementing a Goto Offset option which accepts Hexadecimal values as its parameter, as some of the files I edit through it tend to be quite big, and it takes a while to get to the desired offset at hand.

Crash on saving failure

If there's no write permissions for the file, bless will crash on saving instead of showing error message.

Feature: File templates

Would be great to have the support of file templates/structure like :

  • 010Editor: [http://www.sweetscape.com/010editor/repository/templates/]
    • Helpful tools:
      • [https://github.com/d0c-s4vage/pfp]
      • [https://github.com/d0c-s4vage/py010parser]
  • Okteta: [https://docs.kde.org/trunk5/en/kdesdk/okteta/tools-structures.html]

This by making Bless able to read .bt or/and .osd files.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.