Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR:test-mu-cmd.c:101:search: assertion failed #47

Closed
mschristiansen opened this issue Aug 18, 2012 · 7 comments
Closed

ERROR:test-mu-cmd.c:101:search: assertion failed #47

mschristiansen opened this issue Aug 18, 2012 · 7 comments

Comments

@mschristiansen
Copy link

I get a failing test from running 'make check'. Carried on and did a 'make install' -- Haven't found any fault in the program so far.

commit e77abbe

TEST: test-mu-cmd... (pid=10356)
/mu-cmd/test-mu-index: OK
/mu-cmd/test-mu-find-empty-query: OK
/mu-cmd/test-mu-find-01: OK
/mu-cmd/test-mu-find-02: OK
/mu-cmd/test-mu-find-file: OK
/mu-cmd/test-mu-find-mime: OK
/mu-cmd/test-mu-find-links: OK
/mu-cmd/test-mu-find-text-in-rfc822: **
ERROR:test-mu-cmd.c:101:search: assertion failed (newlines_in_output(output) == expected): (0 == 1)
FAIL
GTester: last random seed: R02S1f2c20ce231db8a573c72696ab82c705
/bin/sh: line 5: 10340 Terminated gtester --verbose test-mu-query test-mu-contacts test-mu-cmd test-mu-cmd-cfind test-mu-threads
make[2]: *** [test] Error 143
make[2]: Leaving directory /home/mikkel/code/lisp/mu/mu/tests' make[1]: *** [test] Error 2 make[1]: Leaving directory/home/mikkel/code/lisp/mu/mu'
make: *** [test] Error 2

@djcb
Copy link
Owner

djcb commented Aug 19, 2012

Can you paste the little report that 'configure' gives? (ie., which has the versions of various libraries). I can reproduce the error, but only when trying with ubuntu 10.04, and only with optimized builds.

Should be too serious a problem in practice, but would be nice to fix anyway...

@mschristiansen
Copy link
Author

Using Archlinux. This report?


mu version : 0.9.9-dev3

Xapian version : 1.2.12
GLib version : 2.32.4
GMime version : 2.6.10
GTK+ version : 2.24.11
GIO version : 2.32.4
Emacs version : GNU Emacs 24.1.1

Build mu4e emacs frontend : yes
Build crypto support (gmime >= 2.6) : yes
Build 'mug' toy-ui (gtk+/webkit) : yes
McCabe's Cyclomatic Complexity tool : yes

Have direntry->d_ino : yes

Have direntry->d_type : yes

BTW Thanks for a great program!

@unzvfu
Copy link

unzvfu commented Aug 22, 2012

I checked out the latest version and I'm getting exactly the same error as mschristiansen:

 TEST: test-mu-cmd... (pid=8478)
  /mu-cmd/test-mu-index:                                               OK
  /mu-cmd/test-mu-find-empty-query:                                    OK
  /mu-cmd/test-mu-find-01:                                             OK
  /mu-cmd/test-mu-find-02:                                             OK
  /mu-cmd/test-mu-find-file:                                           OK
  /mu-cmd/test-mu-find-mime:                                           OK
  /mu-cmd/test-mu-find-links:                                          OK
  /mu-cmd/test-mu-find-text-in-rfc822:                                 **
ERROR:test-mu-cmd.c:101:search: assertion failed (newlines_in_output(output) == expected): (0 == 1)
FAIL
GTester: last random seed: R02S9b100481ae232db7a283042477861b6c
/bin/bash: line 5:  8457 Terminated              gtester --verbose test-mu-query test-mu-contacts test-mu-cmd test-mu-cmd-cfind test-mu-threads
make[2]: *** [test] Error 143

I'm using Ubuntu 12.04. Here's my configuration:

mu configuration is complete.
------------------------------------------------
mu version                           : 0.9.9-dev3

Xapian version                       : 1.2.8
GLib version                         : 2.32.3
GMime version                        : 2.6.7
GIO version                          : 2.32.3
Emacs version                        : GNU Emacs 23.3.1

Build mu4e emacs frontend            : yes
Build crypto support (gmime >= 2.6)  : yes
Build 'mug' toy-ui (gtk+/webkit)     : no
McCabe's Cyclomatic Complexity tool  : yes

Have direntry->d_ino                 : yes
Have direntry->d_type                : yes
------------------------------------------------

Hope that helps.

@djcb
Copy link
Owner

djcb commented Aug 22, 2012

Thanks! I've think I may have found the cause -- can you try with the latest git?

@unzvfu
Copy link

unzvfu commented Aug 23, 2012

All tests pass on the latest update. Thanks!

@djcb
Copy link
Owner

djcb commented Aug 23, 2012

Thanks! Clossing this issue.

@djcb djcb closed this as completed Aug 23, 2012
@mschristiansen
Copy link
Author

Fixed here as well. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants