Discussion:
an error causes Alpine to quit!
(too old to reply)
Rob Pyott
2021-02-13 21:42:21 UTC
Permalink
Sorry to post so much at once. Appreciate the expertise.

I received this error today after deleting 150+ messages in my Junk folder. The message is shown after Alpine crashes/quits. Any suggestions? Thanks.... Rob

Last login: Sat Feb 13 07:38:08 on ttys000
***@ARP-mini ~ % alpine


Problem detected: "Bad msgno 0 in mail_elt, nmsgs = 0, mbx={imap.mail.me.com.akadns.net:993/imap/nostarttls/ssl/user="pyott"}Junk".
Alpine Exiting.
zsh: abort alpine
***@ARP-mini ~ % ,,q
***@ARP-mini ~ % alpine
Eduardo Chappa
2021-02-14 09:07:57 UTC
Permalink
Post by Rob Pyott
Sorry to post so much at once. Appreciate the expertise.
I received this error today after deleting 150+ messages in my Junk folder. The message is shown after Alpine crashes/quits. Any suggestions? Thanks.... Rob
Problem detected: "Bad msgno 0 in mail_elt, nmsgs = 0, mbx={imap.mail.me.com.akadns.net:993/imap/nostarttls/ssl/user="pyott"}Junk".
Alpine Exiting.
Could you repeat this crash one more time, but execute Alpine under gdb
and send us the output of the

(gdb) bt

comand?

Thank you
--
Eduardo
https://tinyurl.com/yc377wlh (web)
http://repo.or.cz/alpine.git (Git)
Rob Pyott
2021-02-14 17:29:09 UTC
Permalink
Not sure if I'm using gdb right. I got this:

(gdb) file /usr/local/Cellar/alpine/2.24/bin/alpine
Reading symbols from /usr/local/Cellar/alpine/2.24/bin/alpine...
(No debugging symbols found in /usr/local/Cellar/alpine/2.24/bin/alpine)
../../gdb/thread.c:95: internal-error: struct thread_info *inferior_thread(): Assertion `current_thread_ != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y

This is a bug, please report it. For instructions, see:
<https://www.gnu.org/software/gdb/bugs/>.

../../gdb/thread.c:95: internal-error: struct thread_info *inferior_thread(): Assertion `current_thread_ != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) n
Post by Eduardo Chappa
I received this error today after deleting 150+ messages in my Junk folder. The message is shown after Alpine crashes/quits. Any suggestions? Thanks.... Rob
Problem detected: "Bad msgno 0 in mail_elt, nmsgs = 0, mbx={imap.mail.me.com.akadns.net:993/imap/nostarttls/ssl/user="pyott"}Junk".
Alpine Exiting.
Could you repeat this crash one more time, but execute Alpine under gdb
and send us the output of the
Eduardo Chappa
2021-02-14 23:13:41 UTC
Permalink
Post by Rob Pyott
(gdb) file /usr/local/Cellar/alpine/2.24/bin/alpine
Reading symbols from /usr/local/Cellar/alpine/2.24/bin/alpine...
(No debugging symbols found in /usr/local/Cellar/alpine/2.24/bin/alpine)
Your version of Alpine was not built with debug support. You need to find
one that has debug support so you can reproduce the problem.
--
Eduardo
https://tinyurl.com/yc377wlh (web)
http://repo.or.cz/alpine.git (Git)
Carlos E.R.
2021-02-15 00:05:55 UTC
Permalink
Post by Eduardo Chappa
Post by Rob Pyott
(gdb) file /usr/local/Cellar/alpine/2.24/bin/alpine
Reading symbols from /usr/local/Cellar/alpine/2.24/bin/alpine...
(No debugging symbols found in /usr/local/Cellar/alpine/2.24/bin/alpine)
Your version of Alpine was not built with debug support. You need to
find one that has debug support so you can reproduce the problem.
Depending on the distro, the debug information could be on another
repository; that's what openSUSE does. One has to add the debug repo,
and gdb prints an error message that tells the exact zypper command to
install what is missing. Cool :-)

But it seems Rob is using a local build :-?
--
Cheers, Carlos.
Rob Pyott
2021-02-15 00:29:25 UTC
Permalink
Post by Carlos E.R.
Post by Eduardo Chappa
Post by Rob Pyott
(gdb) file /usr/local/Cellar/alpine/2.24/bin/alpine
Reading symbols from /usr/local/Cellar/alpine/2.24/bin/alpine...
(No debugging symbols found in /usr/local/Cellar/alpine/2.24/bin/alpine)
Your version of Alpine was not built with debug support. You need to
find one that has debug support so you can reproduce the problem.
Depending on the distro, the debug information could be on another
repository; that's what openSUSE does. One has to add the debug repo,
and gdb prints an error message that tells the exact zypper command to
install what is missing. Cool :-)
But it seems Rob is using a local build :-?
I'm using the build prepared for mac -- it's from the Homebrew repository. I don't know how to add a debug repo :(

I'm not sure I can repeat the error at this point though. I occurred when I was deleting a lot of junk mails. So those 150+ items are gone and things seem to be running ok.
Loading...