| Summary: | media-libs/libmtp: crash in mtp-delfile | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Dima Ryazanov <dima> |
| Component: | Current packages | Assignee: | Gentoo Sound Team <sound> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | bugs, lfmunozmejias, tcort |
| Priority: | High | ||
| Version: | 2006.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Dima Ryazanov
2006-10-31 12:04:19 UTC
Sending to herd wrt Bug 122588 *** Bug 157620 has been marked as a duplicate of this bug. *** Judging by the date on this, odds are it has been addressed upstream and will be fixed by bug 159056. I'll poke this bug again when libmtp-0.1.2 lands in portage and we will see if it is resolved or not. The ebuild posted in bug 159056 doesn't solve the crash. It may be a gcc-related problem. I'm re-emerging GCC 3.4 and will report my results. It crashes with GCC 3.4.6 too, even with empty CFLAGS and CXXFLAGS. A "gcc-related problem"? You're kidding me... I posted the exact line that causes a crash: int len = strlen(strrchr(path,'/')); "path" doesn't contain a "/", so strrchr returns NULL, and strlen crashes. It's as simple as that. If you read the bug I reported, and I got marked as a duplicate of this one, you'll see what I mean. And if you read the comment I wrote just before yours, you'll see I discarded any GCC misbehaviour. I did an emerge -e libmtp and it didn't solve my problems. I tested two old versions that used to work: 0.0.16 and 0.0.12, and now they don't work anymore. So, it may be libusb or kernel related... Could you please see whether this is resolved with libmtp 0.1.5 please? Apologies for the stalled bug, it appears Gentoo developers haven't had access to suitable test hardware for quite a while. |