[dolphin] [Bug 393058] Embedded terminal crashes with invalid pointer

2018-08-01 Thread John Ramsden
https://bugs.kde.org/show_bug.cgi?id=393058

--- Comment #11 from John Ramsden  ---
At least on Arch, this has been fixed by zsh.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 393058] Embedded terminal crashes with invalid pointer

2018-08-01 Thread David Faure
https://bugs.kde.org/show_bug.cgi?id=393058

David Faure  changed:

   What|Removed |Added

 CC||fa...@kde.org

--- Comment #10 from David Faure  ---
Interestingly, after hitting this bug and reading this report, I simply
compiled zsh from git (git://git.code.sf.net/p/zsh/code) (master was at commit
79153bec1 back then) using the same configure flags as the openSUSE RPM
(http://www.davidfaure.fr/2018/myconf_zsh.sh)
and the bug seems gone !?

Either it got fixed meanwhile (but I don't see a relevant commit), or building
it myself is slightly different from the RPM binary...

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 393058] Embedded terminal crashes with invalid pointer

2018-04-13 Thread John Ramsden
https://bugs.kde.org/show_bug.cgi?id=393058

--- Comment #9 from John Ramsden  ---
A tldr if someone doesn't want to read the previous attachment. A work around
is adding a small sleep to zshrc. It seems to be related to zsh not being happy
while the window is resizing and the sleep makes sure the window is completely
open before the stage that causes the problem occurs.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 393058] Embedded terminal crashes with invalid pointer

2018-04-13 Thread John Ramsden
https://bugs.kde.org/show_bug.cgi?id=393058

--- Comment #8 from John Ramsden  ---
Created attachment 112021
  --> https://bugs.kde.org/attachment.cgi?id=112021&action=edit
Email thread with ZSH developer.

Email thread going into more detail about the ZSH problem, and a workaround
that was found.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 393058] Embedded terminal crashes with invalid pointer

2018-04-13 Thread John Ramsden
https://bugs.kde.org/show_bug.cgi?id=393058

--- Comment #7 from John Ramsden  ---
I sent an email to zsh-work...@zsh.org, hopefully they can solve the issue.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 393058] Embedded terminal crashes with invalid pointer

2018-04-13 Thread dreem
https://bugs.kde.org/show_bug.cgi?id=393058

--- Comment #6 from dreem  ---
Christoph is right.
Downgrade of zsh (5.5-1 => 5.4.2-2) fixed the issue

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 393058] Embedded terminal crashes with invalid pointer

2018-04-12 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=393058

Christoph Feck  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |DOWNSTREAM

--- Comment #5 from Christoph Feck  ---
It is zsh that crashes, for whatever reason.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 393058] Embedded terminal crashes with invalid pointer

2018-04-12 Thread John Ramsden
https://bugs.kde.org/show_bug.cgi?id=393058

--- Comment #4 from John Ramsden  ---
(In reply to Kai Uwe Broulik from comment #2)
> Can you get a gdb backtrace for this, please?

Hope this helps, had to recompile dolphin with debugging symbols.

Here's the Dolphin back-trace, is there a way to get more information? What I
did was:

---

(gdb) set logging file trace.log
(gdb) set logging on
Copying output to trace.log.
(gdb) thread apply all bt full

---

Starting program: /usr/bin/dolphin 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffe0981700 (LWP 27638)]
[New Thread 0x7fffda28b700 (LWP 27639)]
[New Thread 0x7fffd1c49700 (LWP 27640)]
[Thread 0x7fffd1c49700 (LWP 27640) exited]
[Thread 0x7fffe0981700 (LWP 27638) exited]
[Thread 0x7fffda28b700 (LWP 27639) exited]
[Inferior 1 (process 27637) exited normally]

---

And the core dump:

---

   PID: 27641 (zsh)
   UID: 1000 (john)
   GID: 1000 (john)
Signal: 6 (ABRT)
 Timestamp: Thu 2018-04-12 14:44:47 PDT (1min 47s ago)
  Command Line: /usr/bin/zsh
Executable: /usr/bin/zsh
 Control Group: /user.slice/user-1000.slice/session-c1.scope
  Unit: session-c1.scope
 Slice: user-1000.slice
   Session: c1
 Owner UID: 1000 (john)
   Boot ID: 3b1a9f82088f4a9a820938ba9f91a719
Machine ID: 6f76760fe58f4b6293e0004853517d7d
  Hostname: wooly
   Storage:
/var/lib/systemd/coredump/core.zsh.1000.3b1a9f82088f4a9a820938ba9f91a719.27641.152356948700.lz4
   Message: Process 27641 (zsh) of user 1000 dumped core.

Stack trace of thread 27641:
#0  0x77094860 raise (libc.so.6)
#1  0x77095ec9 abort (libc.so.6)
#2  0x770d7437 __libc_message (libc.so.6)
#3  0x770dd78b malloc_printerr (libc.so.6)
#4  0x770df24c _int_free (libc.so.6)
#5  0x76c29e19 zrefresh (zle.so)
#6  0x76c1d2e6 zleread (zle.so)
#7  0x555a4784 zleentry (zsh)
#8  0x555a5cb8 n/a (zsh)
#9  0x5559d56c n/a (zsh)
#10 0x555af65e n/a (zsh)
#11 0x555cf437 parse_event (zsh)
#12 0x555a0ee5 loop (zsh)
#13 0x555a4df6 zsh_main (zsh)
#14 0x77080f4a __libc_start_main (libc.so.6)
#15 0x5556a9aa _start (zsh)

---

You have the following choices:

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 393058] Embedded terminal crashes with invalid pointer

2018-04-12 Thread dreem
https://bugs.kde.org/show_bug.cgi?id=393058

dreem  changed:

   What|Removed |Added

 CC||dreem...@gmail.com
 Ever confirmed|0   |1
 Status|UNCONFIRMED |CONFIRMED

--- Comment #3 from dreem  ---
Hi, I can confirm, just occured on my arch.

dreem@mecho ~/Desktop % coredumpctl gdb 1531
   PID: 1531 (zsh)
   UID: 1000 (dreem)
   GID: 1000 (dreem)
Signal: 6 (ABRT)
 Timestamp: Thu 2018-04-12 22:49:56 CEST (2min 24s ago)
  Command Line: /usr/bin/zsh
Executable: /usr/bin/zsh
 Control Group: /user.slice/user-1000.slice/session-c2.scope
  Unit: session-c2.scope
 Slice: user-1000.slice
   Session: c2
 Owner UID: 1000 (dreem)
   Boot ID: 5061339e45b94107b4dcc442b5aaeebb
Machine ID: 663c77d312cf43228f53b38197a75db7
  Hostname: mecho
   Storage:
/var/lib/systemd/coredump/core.zsh.1000.5061339e45b94107b4dcc442b5aaeebb.1531.152356619600.lz4
   Message: Process 1531 (zsh) of user 1000 dumped core.

Stack trace of thread 1531:
#0  0x7f46e80ca860 raise (libc.so.6)
#1  0x7f46e80cbec9 abort (libc.so.6)
#2  0x7f46e810d437 __libc_message (libc.so.6)
#3  0x7f46e811378b malloc_printerr (libc.so.6)
#4  0x7f46e811524c _int_free (libc.so.6)
#5  0x7f46e789ee19 zrefresh (zle.so)
#6  0x7f46e78922e6 zleread (zle.so)
#7  0x555af11bb784 zleentry (zsh)
#8  0x555af11bccb8 n/a (zsh)
#9  0x555af11b456c n/a (zsh)
#10 0x555af11c665e n/a (zsh)
#11 0x555af11e6437 parse_event (zsh)
#12 0x555af11b7ee5 loop (zsh)
#13 0x555af11bbdf6 zsh_main (zsh)
#14 0x7f46e80b6f4a __libc_start_main (libc.so.6)
#15 0x555af11819aa _start (zsh)

GNU gdb (GDB) 8.1
Copyright (C) 2018 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-pc-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 /usr/bin/zsh...(no debugging symbols found)...done.
[New LWP 1531]
Core was generated by `/usr/bin/zsh'.
Program terminated with signal SIGABRT, Aborted.
#0  0x7f46e80ca860 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0  0x7f46e80ca860 in raise () from /usr/lib/libc.so.6  
#1  0x7f46e80cbec9 in abort () from /usr/lib/libc.so.6  
#2  0x7f46e810d437 in __libc_message () from /usr/lib/libc.so.6 
#3  0x7f46e811378b in malloc_printerr () from /usr/lib/libc.so.6
#4  0x7f46e811524c in _int_free () from /usr/lib/libc.so.6  
#5  0x7f46e789ee19 in zrefresh () from /usr/lib/zsh/5.5/zsh/zle.so  
#6  0x7f46e78922e6 in zleread () from /usr/lib/zsh/5.5/zsh/zle.so   
#7  0x555af11bb784 in zleentry ()   
#8  0x555af11bccb8 in ?? () 
#9  0x555af11b456c in ?? () 
#10 0x555af11c665e in ?? () 
#11 0x555af11e6437 in parse_event ()
#12 0x555af11b7ee5 in loop ()   
#13 0x555af11bbdf6 in zsh_main ()   
#14 0x7f46e80b6f4a in __libc_start_main () from /usr/lib/libc.so.6  
#15 0x555af11819aa in _start ()

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 393058] Embedded terminal crashes with invalid pointer

2018-04-12 Thread Kai Uwe Broulik
https://bugs.kde.org/show_bug.cgi?id=393058

Kai Uwe Broulik  changed:

   What|Removed |Added

 CC||k...@privat.broulik.de

--- Comment #2 from Kai Uwe Broulik  ---
Can you get a gdb backtrace for this, please?

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 393058] Embedded terminal crashes with invalid pointer

2018-04-12 Thread John Ramsden
https://bugs.kde.org/show_bug.cgi?id=393058

--- Comment #1 from John Ramsden  ---
Actually, closing and re-opening the terminal panel still causes a crash.

-- 
You are receiving this mail because:
You are watching all bug changes.