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

crash on directory with carriage returns and spaces #11

Closed
kanliot opened this issue May 29, 2018 · 3 comments
Closed

crash on directory with carriage returns and spaces #11

kanliot opened this issue May 29, 2018 · 3 comments
Assignees

Comments

@kanliot
Copy link

kanliot commented May 29, 2018

Something like this


$  stat *Syphilect*
  File: '     '$'\n\n''Epidemic Consummation'$'\n''by Syphilectomy'$'\n'

I did a mkdir from a clipboard copy of a web page. That's why it has the carriage returns in it.

the filename is exactly

anliot@ace ~/music/     Epidemic Consummationby Syphilectomy $ pwd |od -t x1 
0000000 2f 68 6f 6d 65 2f 61 6e 6c 69 6f 74 2f 6d 75 73
0000020 69 63 2f 20 20 20 20 20 0a 0a 45 70 69 64 65 6d
0000040 69 63 20 43 6f 6e 73 75 6d 6d 61 74 69 6f 6e 0a
0000060 62 79 20 53 79 70 68 69 6c 65 63 74 6f 6d 79 0a
0000100 0a
0000101

this didn't crash detox :
$ detox *Syphil* -s uncgi -v
I have built (and retested with ) your detox current code from github. I don't know the issue, but I wouldn't be a bit surprised if it was a library error.
I don't see any unicode in the filename, really

cheers!

@kanliot
Copy link
Author

kanliot commented May 29, 2018

*** Error in `detox': free(): corrupted unsorted chunks: 0x0000000000b17b40 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f2b2aeda7e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7f2b2aee337a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f2b2aee753c]
detox[0x401de2]
detox[0x4017ea]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f2b2ae83830]
detox[0x401b99]
======= Memory map: ========
00400000-00409000 r-xp 00000000 08:05 25938983                           /usr/local/bin/detox
00608000-00609000 r--p 00008000 08:05 25938983                           /usr/local/bin/detox
00609000-0060b000 rw-p 00009000 08:05 25938983                           /usr/local/bin/detox
00b07000-00b28000 rw-p 00000000 00:00 0                                  [heap]
7f2b24000000-7f2b24021000 rw-p 00000000 00:00 0 
7f2b24021000-7f2b28000000 ---p 00000000 00:00 0 
7f2b2a975000-7f2b2a98b000 r-xp 00000000 08:05 25348537                   /lib/x86_64-linux-gnu/libgcc_s.so.1
7f2b2a98b000-7f2b2ab8a000 ---p 00016000 08:05 25348537                   /lib/x86_64-linux-gnu/libgcc_s.so.1
7f2b2ab8a000-7f2b2ab8b000 rw-p 00015000 08:05 25348537                   /lib/x86_64-linux-gnu/libgcc_s.so.1
7f2b2ab8b000-7f2b2ae63000 r--p 00000000 08:05 264015                     /usr/lib/locale/locale-archive
7f2b2ae63000-7f2b2b023000 r-xp 00000000 08:05 25462511                   /lib/x86_64-linux-gnu/libc-2.23.so
7f2b2b023000-7f2b2b223000 ---p 001c0000 08:05 25462511                   /lib/x86_64-linux-gnu/libc-2.23.so
7f2b2b223000-7f2b2b227000 r--p 001c0000 08:05 25462511                   /lib/x86_64-linux-gnu/libc-2.23.so
7f2b2b227000-7f2b2b229000 rw-p 001c4000 08:05 25462511                   /lib/x86_64-linux-gnu/libc-2.23.so
7f2b2b229000-7f2b2b22d000 rw-p 00000000 00:00 0 
7f2b2b22d000-7f2b2b253000 r-xp 00000000 08:05 25462509                   /lib/x86_64-linux-gnu/ld-2.23.so
7f2b2b42e000-7f2b2b431000 rw-p 00000000 00:00 0 
7f2b2b451000-7f2b2b452000 rw-p 00000000 00:00 0 
7f2b2b452000-7f2b2b453000 r--p 00025000 08:05 25462509                   /lib/x86_64-linux-gnu/ld-2.23.so
7f2b2b453000-7f2b2b454000 rw-p 00026000 08:05 25462509                   /lib/x86_64-linux-gnu/ld-2.23.so
7f2b2b454000-7f2b2b455000 rw-p 00000000 00:00 0 
7ffdc4c02000-7ffdc4c23000 rw-p 00000000 00:00 0                          [stack]
7ffdc4c29000-7ffdc4c2b000 r--p 00000000 00:00 0                          [vvar]
7ffdc4c2b000-7ffdc4c2d000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Aborted (core dumped)

@dharple
Copy link
Owner

dharple commented Jan 30, 2021

Thank you.

@dharple dharple closed this as completed in 2d741e1 Feb 2, 2021
dharple added a commit that referenced this issue Feb 2, 2021
@dharple
Copy link
Owner

dharple commented Feb 12, 2021

I was unable to reproduce this issue. If possible, can you try again with the latest release and let me know if you're still encountering the problem?

Thanks!

@dharple dharple self-assigned this Feb 12, 2021
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

2 participants