[k3b] [Bug 485432] Fail to build with ffmpeg 7

2024-04-14 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=485432

--- Comment #5 from Leslie Zhai  ---
(In reply to Albert Astals Cid from comment #4)
> Can you please point to invent instead of the github mirror¿

Hi Albert,

I will point to invent, I thought it was internal unavailable without KDE
Identity :P

Thanks,
Leslie Zhai

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

[k3b] [Bug 485432] Fail to build with ffmpeg 7

2024-04-13 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=485432

--- Comment #3 from Leslie Zhai  ---
(In reply to marillat from comment #2)
> (In reply to Leslie Zhai from comment #1)
> > Hi,
> > https://github.com/KDE/k3b/commit/712ef4adc992fd848dfd769f346f87216029c285
> 
> For the record LIBAVCODEC_VERSION_MAJOR come from the library soname
> We have libavcodec.so.61.3.100 in FFmpeg 7.0
> #if LIBAVCODEC_VERSION_MAJOR < 70
> must be 
> #if LIBAVCODEC_VERSION_MAJOR < 61

Thanks for pointing out my fault! Fixed: 
https://github.com/KDE/k3b/commit/071535a79c3d2b074163cbb0881117a995ed17cd

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

[k3b] [Bug 485432] Fail to build with ffmpeg 7

2024-04-12 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=485432

--- Comment #1 from Leslie Zhai  ---
Hi,

Thanks for your bug report!

FFmpeg avutil: remove deprecated FF_API_OLD_CHANNEL_LAYOUT[1] and tag as
7.0[2].

So add libavcodec version major check for FFmpeg in k3b side[3]. But I still
need to migrate the deprecated `channels`[4] to FFmpeg v7.0. 

[1]
https://patchwork.ffmpeg.org/project/ffmpeg/patch/20240125134425.374-17-jamr...@gmail.com/
[2]
https://github.com/FFmpeg/FFmpeg/commit/65ddc74988245a01421a63c5cffa4d900c47117c
[3] https://github.com/KDE/k3b/commit/712ef4adc992fd848dfd769f346f87216029c285
[4] https://github.com/FFmpeg/FFmpeg/blob/n6.2-dev/libavcodec/avcodec.h#L1072

Thanks,
Leslie Zhai

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

[k3b] [Bug 485432] Fail to build with ffmpeg 7

2024-04-12 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=485432

Leslie Zhai  changed:

   What|Removed |Added

 CC||zhaixi...@loongson.cn
 Ever confirmed|0   |1
 Status|REPORTED|ASSIGNED

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

[k3b] [Bug 481821] Write RW discs without needing exclusive access.

2024-03-30 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=481821

Leslie Zhai  changed:

   What|Removed |Added

 CC||zhaixi...@loongson.cn

--- Comment #2 from Leslie Zhai  ---
Hi Gordon,

Perhaps it is able to hack dvd+rw-tools-7.1/growisofs.c about line 705 and 2598
to open the file descriptor:

int fd = open64 (ioctl_device,O_RDONLY|O_NONBLOCK|O_EXCL);

Opening a file descriptor with O_EXCL might not give the exclusive access:
https://www.gnu.org/software/libc/manual/html_node/Open_002dtime-Flags.html

Thanks,
Leslie Zhai

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

[k3b] [Bug 429584] growisofs crashes @ 99%

2024-03-30 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=429584

Leslie Zhai  changed:

   What|Removed |Added

 CC||zhaixi...@loongson.cn

--- Comment #8 from Leslie Zhai  ---
Hi Thomas,

I miss you so much!

Lng time no see :)

Miss you,
Leslie Zhai

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

[k3b] [Bug 484737] Always add hidden files.

2024-03-29 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=484737

Leslie Zhai  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|ASSIGNED

--- Comment #2 from Leslie Zhai  ---
Hi Gorden,

Thanks for your report!

I added dontAskAgain about add hidden files for DataUrlAddingDialog: 
https://github.com/KDE/k3b/commit/e3325e1ef917cf938f7724f632e47ac91503db4f

Shown as the attachment:  https://bugsfiles.kde.org/attachment.cgi?id=167933

Thanks,
Leslie Zhai

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

[k3b] [Bug 484737] Always add hidden files.

2024-03-29 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=484737

Leslie Zhai  changed:

   What|Removed |Added

   Assignee|k...@kde.org |zhaixi...@loongson.cn

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

[k3b] [Bug 484737] Always add hidden files.

2024-03-29 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=484737

Leslie Zhai  changed:

   What|Removed |Added

 CC||zhaixi...@loongson.cn

--- Comment #1 from Leslie Zhai  ---
Created attachment 167933
  --> https://bugs.kde.org/attachment.cgi?id=167933=edit
Add dontAskAgain about add hidden files for DataUrlAddingDialog

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

[k3b] [Bug 398190] Can't copy CD after upgrading from Ubuntu 16.04 LTS to 18.04 LTS. Error log in comment.

2018-09-04 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=398190

--- Comment #3 from Leslie Zhai  ---
Hi Thomas,

Thanks for your kind response!

> the wodim option -raw96r is unusual and (years ago) was a source of trouble
> for me. Any idea how K3B came to think that it is good to use it ?
> 
> It is chosen in libk3b/projects/k3bcdrecordwriter.cpp if
>d->writingMode == K3b::WritingModeRaw
> 
> This seems to be configurable. Try to choose "TAO" or "SAO" instead.

Is it better to *remove* the unusual -raw96r option by default, what I mean,
just set writingMode's default value to TAO or SAO?  Welcome suggestion.

> 
> (I see code which sets WritingModeRaw in src/k3bwritingmodewidget.cpp)
> 
> -
> 
> I further wonder about the strange file addresses, like
>   /tmp/SO U/SO U/SO U/SO U/k3bCdCopy0/Track02.wav
> 
> I assume that this is one path, not five. But why the blanks and why
> four directories "SO U" ?
> Can this be due to a misconfiguration of K3B ?
> Does a directory "/tmp/SO U/SO U/SO U/SO U" exist while K3B is
> attempting to do its job ?

Related to BUG385367 and BUG384117  What about change the *tmp* directory to
$HOME/Music?
It failed to mkdir for such weird path:
$mkdir -p /tmp/SO U/SO U/SO U/SO U/k3bCdCopy0/

Regards,
Leslie Zhai

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

[k3b] [Bug 398190] Can't copy CD after upgrading from Ubuntu 16.04 LTS to 18.04 LTS. Error log in comment.

2018-09-03 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=398190

Leslie Zhai  changed:

   What|Removed |Added

 CC||scdbac...@gmx.net,
   ||zhaixi...@loongson.cn

--- Comment #1 from Leslie Zhai  ---
Hi,

Thanks for your bug report!

Could you try other backend, for example libburnia
https://dev.lovelyhq.com/libburnia/web/wikis/home

Regards,
Leslie Zhai

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

[k3b] [Bug 397732] K3B: data project: when burning wrong size of written data is displayed

2018-08-28 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=397732

--- Comment #3 from Leslie Zhai  ---
(In reply to Thomas Schmitt from comment #2)
> Hi,
> 
> @Leslie:
> 
> I am the backend guy. Operating K3B is not really my turf and my K3B is old.
> (But i just pulled the freshest code from git.)

You are always my teacher :)

> 
> @Armin Mohring:
> 
> As far as i can see, the numbers for the progress messages stem from
> the writer modules k3bgrowisofswriter.cpp or k3bcdrecordwriter.cpp.

$ git log k3bgrowisofswriter.cpp or k3bcdrecordwriter.cpp

You lead me to fix BUG380064, BUG367639, BUG137436 and BUG372094.

> (Like "emit processedSize(...);".
> They seem to take their numbers from message output of the respective
> programs growisofs or cdrecord (or wodim).
> 
> When a burn run with my K3B has ended, then the window with the progress
> bar offers a button "Show Debugging Output" (at the lower right).
> There i can see the pacifier messages from growisofs.
> 
> In my try (with DVD+RW) the progress bar waited at 93 % until the medium
> was ejected. Then it hopped to 100 %. But the text still says
>   "755.0 MiB of 805.0 MiB"
> 
> This is halfways plausible from the view of K3B by the last pacifier
> message of growisofs:
> 
>   807534592/859508736 (94.0%) @4.0x, remaining 0:09 RBU 100.0% UBU  99.7%
> 
> growisofs reports to have written 807534592 of 859508736 bytes
> and to consider this as 94.0 percent of the job.
> 
> The "94 %" is very near to the "93 %" which i remember to have seen.
> 807534592/859508736 = .939530406355288. So it is plausible to see 93.
> But 807534592 bytes = 770.125 MiB. 859508736 bytes = 819.69140625 MiB.
> So why 755.0 and 805 ? (xorriso too says its 859508736 bytes.)
> 
> No further message is recorded from growisofs. That's strange.
> 
> A direct run of growisofs (with an ISO image of similar size) ends by 
> 805109760/858783744 (93.8%) @4.0x, remaining 0:09 RBU 100.0% UBU  99.7%
> 823623680/858783744 (95.9%) @4.0x, remaining 0:06 RBU 100.0% UBU  99.7%
> 842104832/858783744 (98.1%) @4.0x, remaining 0:03 RBU  49.7% UBU  99.7%

I need to find the root cause why K3B failed to receive the "full data volume",
for example 98.1%. And I need to build growisofs for mips64el manually.
https://mail.kde.org/pipermail/k3b/2018-August/002201.html

Hi Armin, please directly run growisofs in your environment to double check,
thanks!

>   builtin_dd: 419328*2KB out @ average 3.9x1352KBps
>   /dev/sr4: flushing cache
>   /dev/sr4: stopping de-icing
>   /dev/sr4: writing lead-out
> 
> In comparison, this looks as if K3B is not logging all messages from
> growisofs, possibly because it does not receive them all.
> The reasons for this would be out of my expertise.

It is my job :)

> 
> Have a nice day :)
> 
> Thomas

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

[k3b] [Bug 397732] K3B: data project: when burning wrong size of written data is displayed

2018-08-28 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=397732

--- Comment #1 from Leslie Zhai  ---
Hi Armin,

Thanks for your bug report!

Hi Thomas,

Please help Armin to generate some *log* files for my debugging, thanks a lot!

Regards,
Leslie Zhai

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

[k3b] [Bug 397732] K3B: data project: when burning wrong size of written data is displayed

2018-08-28 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=397732

Leslie Zhai  changed:

   What|Removed |Added

 CC||scdbac...@gmx.net,
   ||zhaixi...@loongson.cn

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

[k3b] [Bug 377105] Disc space/time bar is broken

2018-08-28 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=377105

--- Comment #26 from Leslie Zhai  ---
Git commit 9bc7e9517f6c67e8a2fad95fdb7af5743c0eb52a by Leslie Zhai.
Committed on 28/08/2018 at 12:35.
Pushed by lesliezhai into branch 'master'.

Make the color of normalPen in FillStatusDisplayWidget desktop environment
independent

It is able to change k3b.theme's Foregroundcolor, for example
/usr/share/k3b/pics/quant/k3b.theme
So the color of normalPen could be same whethor under GNOME, KDE or other
desktop enviroments

M  +5-1src/projects/k3bfillstatusdisplay.cpp

https://commits.kde.org/k3b/9bc7e9517f6c67e8a2fad95fdb7af5743c0eb52a

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

[k3b] [Bug 397930] faulty changing temporary folder

2018-08-28 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=397930

Leslie Zhai  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE
 CC||zhaixi...@loongson.cn

--- Comment #1 from Leslie Zhai  ---


*** This bug has been marked as a duplicate of bug 385367 ***

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

[k3b] [Bug 385367] K3b uses "/tmp" as default path to save DVD/VCD rips

2018-08-28 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=385367

Leslie Zhai  changed:

   What|Removed |Added

 CC||gabriele.ci...@gmail.com

--- Comment #21 from Leslie Zhai  ---
*** Bug 397930 has been marked as a duplicate of this bug. ***

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

[k3b] [Bug 381074] [MATSHITA BD-MLT UJ240AS] Does not write image "debian-8.8.0-amd64-BD-1.iso"

2018-08-28 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=381074

--- Comment #85 from Leslie Zhai  ---
Git commit 7114ed5d9661af6a833e55d76d63ab06de148032 by Leslie Zhai.
Committed on 28/08/2018 at 07:53.
Pushed by lesliezhai into branch 'master'.

Change my email address.

Hi Thomas, my brain is better now except kidney stones, I want to
maintainsee K3B until my brain is old, nothing could stop me, but
right now I can find out the bug ID :)

M  +1-1README.txt
M  +1-1libk3b/projects/datacd/k3bisooptions.cpp
M  +1-1src/k3bwelcomewidget.cpp
M  +2-2src/main.cpp

https://commits.kde.org/k3b/7114ed5d9661af6a833e55d76d63ab06de148032

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

[frameworks-kio] [Bug 397829] New: Got unknown type (ysssssssssbbbba{s(siv)})

2018-08-24 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=397829

Bug ID: 397829
   Summary: Got unknown type (ysa{s(siv)})
   Product: frameworks-kio
   Version: git master
  Platform: Fedora RPMs
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: fa...@kde.org
  Reporter: zhaixi...@loongson.cn
CC: kdelibs-b...@kde.org
  Target Milestone: ---

Hi KDE developer,

Like BUG397787 I can reproduce QTBUG-2597 when building kio git master with Qt
5.6 for mips64el:

Generating kpasswdserver_interface.cpp, kpasswdserver_interface.h
Got unknown type `(ysa{s(siv)})'
You should add  to the XML description
src/core/CMakeFiles/KF5KIOCore.dir/build.make:70: recipe for target
'src/core/kpasswdserver_interface.cpp' failed
make[2]: *** [src/core/kpasswdserver_interface.cpp] Error 1

Workaround is:

diff --git a/src/core/org.kde.KPasswdServer.xml
b/src/core/org.kde.KPasswdServer.xml
index 1a6f6f7..d684058 100644
--- a/src/core/org.kde.KPasswdServer.xml
+++ b/src/core/org.kde.KPasswdServer.xml
@@ -6,12 +6,14 @@
   
   
   
+  
 
 
   
   
   
   
+  
 
  
   

But I am also investigating the root cause, please give me some hint, thanks a
lot!

Regards,
Leslie Zhai

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

[frameworks-kglobalaccel] [Bug 397787] New: Got unknown type ai

2018-08-23 Thread Leslie Zhai
el.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Workaround is:

diff --git a/src/org.kde.KGlobalAccel.xml b/src/org.kde.KGlobalAccel.xml
index 818360b..08cf621 100644
--- a/src/org.kde.KGlobalAccel.xml
+++ b/src/org.kde.KGlobalAccel.xml
@@ -6,6 +6,7 @@
   
   
   
+  
 
 
   

But I am also investigating the root cause, please give me some hint, thanks a
lot!

Regards,
Leslie Zhai
zhaixi...@loongson.cn

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

[k3b] [Bug 386105] K3b FFmpeg decode plugin seems to be broken, produces noise

2018-04-03 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=386105

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

  Latest Commit||https://commits.kde.org/k3b
   ||/059d0da2e2c6865c93b7d5726d
   ||8f19830074be57
 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #13 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Git commit 059d0da2e2c6865c93b7d5726d8f19830074be57 by Leslie Zhai.
Committed on 03/04/2018 at 14:45.
Pushed by lesliezhai into branch 'master'.

[plugins] K3b FFMpeg Decoder Plugin Fix

A patch by Mikołaj Płomieński!

Reviewers: lesliezhai, anthonyfieroni

Differential Revision: https://phabricator.kde.org/D11634

M  +56   -23   plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp

https://commits.kde.org/k3b/059d0da2e2c6865c93b7d5726d8f19830074be57

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

[k3b] [Bug 390878] K3b crashes when a theme from kde store is uninstalled

2018-03-30 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=390878

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

  Latest Commit||https://commits.kde.org/k3b
   ||/166c2d8897d66348f46572d19e
   ||a8ee3100e726a4
 Resolution|--- |FIXED
 Status|CONFIRMED   |RESOLVED

--- Comment #3 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Git commit 166c2d8897d66348f46572d19ea8ee3100e726a4 by Leslie Zhai.
Committed on 30/03/2018 at 14:28.
Pushed by lesliezhai into branch 'master'.

Fix heap-use-after-free issue for ThemeManager

M  +4-2src/k3bthememanager.cpp

https://commits.kde.org/k3b/166c2d8897d66348f46572d19ea8ee3100e726a4

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

[k3b] [Bug 390878] K3b crashes when a theme from kde store is uninstalled

2018-03-30 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=390878

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |CONFIRMED
 CC||lesliez...@llvm.org.cn

--- Comment #2 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Thanks for your report! reproduced:

SUMMARY: AddressSanitizer: undefined-behavior
=
==4226==ERROR: AddressSanitizer: heap-use-after-free on address 0x60c0011f84d8
at pc 0x00cafa84 bp 0x7fff1aa0 sp 0x7fff1a98
READ of size 8 at 0x60c0011f84d8 thread T0
Detaching after fork from child process 4336.
#0 0xcafa83 in QMap<QString, QPixmap>::~QMap()
/usr/include/qt5/QtCore/qmap.h:341:27
#1 0xca94de in K3b::Theme::~Theme()
/data/project/kde/k3b/src/k3bthememanager.h:28:11
#2 0xc97ba9 in K3b::ThemeManager::loadThemes()
/data/project/kde/k3b/src/k3bthememanager.cpp:277:9
#3 0x13b0ecc in K3b::ThemeModel::reload()
/data/project/kde/k3b/src/option/k3bthememodel.cpp:41:21
#4 0x13696b7 in K3b::ThemeOptionTab::readSettings()
/data/project/kde/k3b/src/option/k3bthemeoptiontab.cpp:71:19
#5 0x137fc0a in K3b::ThemeOptionTab::slotRemoveTheme()
/data/project/kde/k3b/src/option/k3bthemeoptiontab.cpp:218:9

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

[k3b] [Bug 391610] k3b crashed with SIGSEGV in QString::size()

2018-03-30 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=391610

--- Comment #1 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Git commit 1e771f7f3ddf83fd7c3bf78b35247a82ebbb8c2c by Leslie Zhai.
Committed on 30/03/2018 at 13:38.
Pushed by lesliezhai into branch 'master'.

There is k3bfuzzertest to test QFile::encodeName and
 QString::fromRawData using libFuzzer, it might be duplicate of
QTBUG-57553

CCMAIL: carav...@gmail.com

M  +2-2tests/k3bfuzzertest.cpp

https://commits.kde.org/k3b/1e771f7f3ddf83fd7c3bf78b35247a82ebbb8c2c

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

[k3b] [Bug 388120] cannot burn audio cd using wma files: "error while decoding track"

2018-02-03 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=388120

--- Comment #11 from Leslie Zhai <lesliez...@llvm.org.cn> ---
(In reply to Dr. Chapatin from comment #9)
> (In reply to Leslie Zhai from comment #8)
> 
> > @Dr. Chapatin please upload your wma files which can reproduce the issue to
> > somewhere I can download from my region, thanks a lot!
> I can reproduce using any wma file. I uploaded a sample for you in onedrive
> https://1drv.ms/u/s!AkEb8acM9pYjghsa_vagLwgBLvZS
> If you can not download from onedrive, tell me an alternative that you can
> access.

Sorry it is not available... how about https://pan.baidu.com   I have no idea
whether or not it provides English.

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

[k3b] [Bug 257602] K3B cannot burn Blurays (or AVCHDs)

2018-02-03 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=257602

--- Comment #21 from Leslie Zhai <lesliez...@llvm.org.cn> ---
(In reply to King_DuckZ from comment #12)
> Is there anything that can be done to help adding this feature? If there was
> some bounty to help towards buying whatever equipment developers need, I'd
> be happy to contribute to it.
> 
> As of now, running ImgBurn in Wine seems to be the only option, and
> unfortunately it's sketchy at best. Given the bluray price, a program that
> has a 50% success rate is not ideal.
> 
> I also found this https://github.com/pali/udftools and this
> http://devs.dhgirault.fr/article26.html hopefully it's useful stuff.

Hi King,

Thank you so much! But I argue that I don't need real equipment, CDEmu[1] is
enough to reproduce general issues or debug for supporting general features, so
I prefer K3B users build k3b from github[2] by themselves, and provide
screenshot, debug log, or gdb back trace info.

Hi Thomas,

Thanks for your teaching! Yes, K3B is just the frontend, it is just like
Compiler Technology, the MinddleEnd and BackEnd are much more important than
FrontEnd, so please continue leading me to fix relative issues :)

[1] http://cdemu.sourceforge.net/
[2] https://github.com/kde/k3b

Regards,
Leslie Zhai
GCC developer https://github.com/loongson-community/gcc/
LLVM developer https://reviews.llvm.org/p/xiangzhai/

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

[k3b] [Bug 388120] cannot burn audio cd using wma files: "error while decoding track"

2018-01-31 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=388120

--- Comment #8 from Leslie Zhai <lesliez...@llvm.org.cn> ---
(In reply to Thomas Schmitt from comment #7)
> Hi,
> 
> Leslie Zhai wrote:
> > I have no idea why cdrecord failed to work...
> 
> Did cdrecord start at all ?
> 
> The log only shows "started" and then complaints begin.
> It is not clear to me whether K3b::AudioTrackReader tries to read the
> input file which shall be burned, or whether it tries to read the
> track from CD, where it should have been written.
> 
> The report beginning at "DiskInfo:" shows that the medium is not written.
> 
> Somebody would have to test whether the log of a successful K3B run of
> audio burning with cdrecord would show any cdrecord messages.
> 
> The cdrecord job has option -useinfo and *.inf files as input.
> man cdrecord states: "The audio data is read from stdin in this case."
> 
> So it would not be cdrecord which opens the input audio data files
> but rather K3B which pipes the audio data into cdrecord's standard
> input.
> If this reading of input fails early, it may be that cdrecord was not
> started by K3B at all.


Hi Thomas,

Thanks for your detailed investigation!

@Dr. Chapatin please upload your wma files which can reproduce the issue to
somewhere I can download from my region, thanks a lot!

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

[k3b] [Bug 389428] Device > Media info shows black text on dark background

2018-01-30 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=389428

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://commits.kde.org/k3b
   ||/205e57e9d21f4da8229e407399
   ||395de3aeceb0a2
 Status|UNCONFIRMED |RESOLVED

--- Comment #1 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Git commit 205e57e9d21f4da8229e407399395de3aeceb0a2 by Leslie Zhai.
Committed on 31/01/2018 at 02:17.
Pushed by lesliezhai into branch 'master'.

Add Foreground color for DiskInfoView's infokey and infovalue.

M  +5-2src/k3bdiskinfoview.cpp

https://commits.kde.org/k3b/205e57e9d21f4da8229e407399395de3aeceb0a2

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

[k3b] [Bug 388120] cannot burn audio cd using wma files: "error while decoding track"

2018-01-30 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=388120

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 CC||scdbac...@gmx.net

--- Comment #6 from Leslie Zhai <lesliez...@llvm.org.cn> ---
(In reply to Dr. Chapatin from comment #4)
> K3b::AudioBurnDialog(0x55744836ffe0)
> QLayout: Attempting to add QLayout "" to QFrame "", which already has a
> layout
> kernel version:  "4.14.8-1-zen"
> connecting
> kernel version:  "4.14.8-1-zen"
> "Preparing data"
> "Determining maximum writing speed"
> (K3b::AudioMaxSpeedJob) read failure.
> K3bQProcess::QProcess(0x0)
> "Writing"
> "Waiting for media"
> QLayout: Attempting to add QLayout "" to K3b::EmptyDiscWaiter "", which
> already has a layout
> QLayout: Attempting to add QLayout "" to K3b::EmptyDiscWaiter "", which
> already has a layout
> Waiting for medium "empty medium" "CD-R, CD-RW" ""
> "/dev/sr0"
> finishWaiting() 
> *  "cdrecord"  parameters:
> 
> "/usr/bin/cdrecord -v gracetime=2 dev=/dev/sr0 speed=10 -sao
> driveropts=burnfree -useinfo -audio /tmp/k3b_audio_0_01.inf
> /tmp/k3b_audio_0_02.inf /tmp/k3b_audio_0_03.inf"
> "Preparing write process..."
> "/dev/sr0"
> started
> QIODevice::seek (K3b::AudioTrackReader): The device is not open
> (K3b::AudioDecoder) seek from  "00:00:00"  (+ 0 ) to  "00:00:00" 
> 
> (K3b::AudioImager::WorkThread) read error on track  1  at pos  "00:00:00" 

I have no idea why cdrecord failed to work...


> 
> received finished signal!
> org.kde.knotifications: Audio notification requested, but sound file from
> notifyrc file was not found, aborting audio notification
> "/dev/sr0"
> starting command:  "(CommandUnblock)"
> finished command:  "(CommandUnblock)"
> "Ejecting Medium"
> starting command:  "(CommandEject)"
> found medium: ( "/dev/sr0" ) 
> =
> DiskInfo: 
> Mediatype:"CD-RW" 
> Current Profile:  "CD-RW" 
> Disk state:   empty 
> Empty:true 
> Rewritable:   true 
> Appendable:   false 
> Sessions: 0 
> Tracks:   0 
> Layers:   1 
> Capacity: "79:57:73"  (LBA  359848 ) ( 736968704  Bytes) 
> Remaining size:   "79:57:73"  (LBA  359848 ) ( 736968704  Bytes) 
> Used Size:"00:00:00"  (LBA  0 ) ( 0  Bytes) 
> 
> =
> Resetting medium in "/dev/sr0"
> (K3b::Device::Device)  "/dev/sr0" :  Number of supported write speeds via
> GET PERFORMANCE:  1 
> 
> (K3b::Device::Device)  "/dev/sr0"  :  6400  KB/s 
> 
> finished command:  "(CommandEject)"
> MEDIA CHANGED in "/org/freedesktop/UDisks2/block_devices/sr0" ; size is: 0
> "/org/freedesktop/UDisks2/block_devices/sr0"
> no medium found

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

[k3b] [Bug 389423] k3b unable to burn all

2018-01-30 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=389423

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|UNCONFIRMED |RESOLVED
 CC||lesliez...@llvm.org.cn

--- Comment #1 from Leslie Zhai <lesliez...@llvm.org.cn> ---


*** This bug has been marked as a duplicate of bug 382754 ***

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

[k3b] [Bug 382754] K3b complains about missing cdrskin at start up

2018-01-30 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=382754

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 CC||alberto.m...@tiscali.it

--- Comment #25 from Leslie Zhai <lesliez...@llvm.org.cn> ---
*** Bug 389423 has been marked as a duplicate of this bug. ***

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

[k3b] [Bug 387765] K3b says that blu-ray ISO is not recognizable

2018-01-18 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387765

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 Resolution|--- |INVALID
 Status|REOPENED|RESOLVED

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

[k3b] [Bug 387765] K3b says that blu-ray ISO is not recognizable

2018-01-18 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387765

--- Comment #32 from Leslie Zhai <lesliez...@llvm.org.cn> ---
(In reply to Dr. Chapatin from comment #31)
> I use K3b 18.03.70 installed from AUR (k3b-git package) on my laptop and I
> can reproduce the problem.

It is better to provide screenshot step by step, and please attach the debug
log, thanks!

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

[k3b] [Bug 387765] K3b says that blu-ray ISO is not recognizable

2018-01-18 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387765

--- Comment #28 from Leslie Zhai <lesliez...@llvm.org.cn> ---
(In reply to Thomas Schmitt from comment #27)
> Hi,
> 
> i have put a copy of the image at
>   http://scdbackup.webframe.org/udf+image+created+with+nero.iso
> 
> 
> Have a nice day :)
> 
> Thomas

@Thomas
Thank you so much :)


$ md5sum udf+image+created+with+nero.iso 
38e92048b0cbc1a366a67acbf78d7f2a  udf+image+created+with+nero.iso


And I can Burn Image successfully:


Burned media
---
DVD+R

Devices
---
CDEmu Virt. CD/DVD-ROM 1.10 (/dev/sr0, CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R,
DVD+R) [DVD-ROM, DVD+R, CD-ROM, CD-R] [SAO, TAO, RAW, SAO/R96R, RAW/R16,
RAW/R96R] [%7]

System
---
K3b Version: 18.3.70
KDE Version: 5.38.0
Qt Version:  5.7.1
Kernel:  4.13.16-100.fc25.x86_64

Used versions
---
growisofs: 7.1

growisofs
---
Executing 'builtin_dd if=/dev/fd/0 of=/dev/sr0 obs=32k seek=0'

growisofs command:
---
/usr/bin/growisofs -Z /dev/sr0=/dev/fd/0 -use-the-force-luke=notray
-use-the-force-luke=tty -use-the-force-luke=4gms
-use-the-force-luke=tracksize:4768 -use-the-force-luke=dao:4768 -dvd-compat
-speed=18 -use-the-force-luke=bufsize:32m

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

[k3b] [Bug 387765] K3b says that blu-ray ISO is not recognizable

2018-01-17 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387765

--- Comment #26 from Leslie Zhai <lesliez...@llvm.org.cn> ---
(In reply to Dr. Chapatin from comment #24)
> Hi Leslie
> I just noticed that the problem affects any ISO image created with nero
> using udf file system.
> I created a small ISO file to help you.
> Download it from here
> http://www.mediafire.com/file/26outwdcybhtzyp/
> udf%20image%20created%20with%20nero.iso


Sorry, the URL is not available... the same story is Google unavailable in my
country...

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

[k3b] [Bug 387765] K3b says that blu-ray ISO is not recognizable

2018-01-16 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387765

--- Comment #23 from Leslie Zhai <lesliez...@llvm.org.cn> ---
(In reply to Dr. Chapatin from comment #22)
> You need use "burn image..." option from "tools" menu.

Not easy means blu-ray ISO is not available!


> @Leslie:
> I propose you create some dummy image file and make test with CDemu
> whether K3B accepts it for burning. The dummy could be e.g. a compressed
> tar archive. Maybe you can read and verify it from CDemu after the
> burn run looks successful.


And I used dummy ISO as Thomas suggested, but I can't reproduce the issue, and
I even experienced mkisofs' segfault... Oops
https://bugs.kde.org/show_bug.cgi?id=387765#c18


I know the steps :) but still thanks for your response!

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

[k3b] [Bug 387765] K3b says that blu-ray ISO is not recognizable

2018-01-16 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387765

--- Comment #21 from Leslie Zhai <lesliez...@llvm.org.cn> ---
(In reply to Dr. Chapatin from comment #20)
> Hi Leslie
> Any progress with this problem?

Sorry, I can't reproduce the issue easily
https://bugs.kde.org/show_bug.cgi?id=387765#c18

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

[k3b] [Bug 385367] K3b uses "/tmp" as default path to save DVD/VCD rips

2018-01-08 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=385367

--- Comment #19 from Leslie Zhai <lesliez...@llvm.org.cn> ---
(In reply to Dr. Chapatin from comment #18)
> Today I installed k3b-git on Arch Linux.
> The problem described here is still happening.

Then you need to push ArchLinux packager :)

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

[k3b] [Bug 382775] Settings window has no "cancel" button

2018-01-06 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=382775

--- Comment #6 from Leslie Zhai <lesliez...@llvm.org.cn> ---
(In reply to Pino Toscano from comment #5)
> It is fixed in k3b >= 17.11.80.

Hi Pino,

Could you review my code as a Reviewer? It is better to double check my work in
future for BUG FREE :) thanks a lot!

Regards,
Leslie Zhai -a LLVM developer https://reviews.llvm.org/p/xiangzhai/

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

[k3b] [Bug 375125] Settings dialog resizes itself when I select "CDDB" in left side

2018-01-06 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=375125

--- Comment #7 from Leslie Zhai <lesliez...@llvm.org.cn> ---
(In reply to Leslie Zhai from comment #6)
> (In reply to Pino Toscano from comment #5)
> > I do not think this is a correct fix.  Now the config dialog has a fixed
> > size, and cannot be resized at all: this is bad for usability, since it
> > truncates labels of checkboxes, texts in list views, and so on.
> > 
> > I reverted it, and thus reopened this bug.
> 
> Sorry for my dirty patch...

I think it is better to code review firstly, if LGTM by Pino, then I git push
:)

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

[k3b] [Bug 375125] Settings dialog resizes itself when I select "CDDB" in left side

2018-01-06 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=375125

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 CC||lesliez...@llvm.org.cn

--- Comment #6 from Leslie Zhai <lesliez...@llvm.org.cn> ---
(In reply to Pino Toscano from comment #5)
> I do not think this is a correct fix.  Now the config dialog has a fixed
> size, and cannot be resized at all: this is bad for usability, since it
> truncates labels of checkboxes, texts in list views, and so on.
> 
> I reverted it, and thus reopened this bug.

Sorry for my dirty patch...

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

[k3b] [Bug 385367] K3b uses "/tmp" as default path to save DVD/VCD rips

2018-01-02 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=385367

--- Comment #17 from Leslie Zhai <lesliez...@llvm.org.cn> ---
(In reply to Leslie Zhai from comment #14)
> Git commit 92e20a4b144e5306838eb348bb14bdbada41d616 by Leslie Zhai.
> Committed on 18/12/2017 at 02:45.
> Pushed by lesliezhai into branch 'master'.
> 
> Change default save path to $HOME/Videos or fallback $HOME instead of /tmp
> or /var/tmp
> 
> M  +8-2libk3b/core/k3bglobalsettings.cpp
> M  +4-9src/rip/k3bvideocdrippingoptions.h
> 
> https://commits.kde.org/k3b/92e20a4b144e5306838eb348bb14bdbada41d616

Hi Dr. Chapatin,

This commit fixed the issue "k3b also uses "/tmp" to save DVD rips".

Regards,
Leslie Zhai

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

[k3b] [Bug 388120] cannot burn audio cd using wma files: "error while decoding track"

2017-12-25 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=388120

--- Comment #3 from Leslie Zhai <lesliez...@llvm.org.cn> ---
or could you run k3b under konsole and paste the output, the log as you
mentioned is not helpful.

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

[k3b] [Bug 388120] cannot burn audio cd using wma files: "error while decoding track"

2017-12-24 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=388120

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 CC||lesliez...@llvm.org.cn

--- Comment #1 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Hi Dr. Chapatin,

Can you use ffmpeg to convert wma to ogg
https://www.linuxquestions.org/questions/linux-software-2/converting-wma-to-mp3-or-ogg-816682/

Did ffmpeg throw some related error about "decoding"?

Regards,
Leslie Zhai

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

[k3b] [Bug 388192] trancode error code 1

2017-12-24 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=388192

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 CC||lesliez...@llvm.org.cn

--- Comment #1 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Try the patch for transcode https://bugs.kde.org/show_bug.cgi?id=381131#c11

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

[k3b] [Bug 385367] K3b uses "/tmp" as default path to save DVD/VCD rips

2017-12-17 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=385367

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
  Latest Commit|https://commits.kde.org/k3b |https://commits.kde.org/k3b
   |/087d694664ad63cd598029cd74 |/92e20a4b144e5306838eb348bb
   |acc49cb1e9595b  |14bdbada41d616
 Resolution|--- |FIXED

--- Comment #14 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Git commit 92e20a4b144e5306838eb348bb14bdbada41d616 by Leslie Zhai.
Committed on 18/12/2017 at 02:45.
Pushed by lesliezhai into branch 'master'.

Change default save path to $HOME/Videos or fallback $HOME instead of /tmp or
/var/tmp

M  +8-2libk3b/core/k3bglobalsettings.cpp
M  +4-9src/rip/k3bvideocdrippingoptions.h

https://commits.kde.org/k3b/92e20a4b144e5306838eb348bb14bdbada41d616

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

[k3b] [Bug 382776] Enable "apply" button only when some setting is changed

2017-12-16 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=382776

--- Comment #7 from Leslie Zhai <lesliez...@llvm.org.cn> ---
(In reply to Nate Graham from comment #6)
> Sorry, I'm afraid I can't contribute much to K3b as I don't have any
> hardware with a disc drive.

Never mind :) I don't have any hardware neither but use CDEmu instead
https://www.leetcode.cn/2016/08/k3b.html#test

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

[k3b] [Bug 385367] K3b uses "/tmp" as default path to save DVD/VCD rips

2017-12-16 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=385367

--- Comment #12 from Leslie Zhai <lesliez...@llvm.org.cn> ---
(In reply to Nate Graham from comment #11)
> Also, Leslie, if K3b is distributed through KDE Applications, then you
> should work with the release team to write the release notes for each
> release.

Thanks for your advise! but I don't have received notification email or should
I follow which mailinglist?

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

[k3b] [Bug 385367] K3b uses "/tmp" as default path to save DVD/VCD rips

2017-12-14 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=385367

--- Comment #10 from Leslie Zhai <lesliez...@llvm.org.cn> ---
(In reply to Dr. Chapatin from comment #9)
> hi Leslie
> I talked about this changelog
> https://www.kde.org/announcements/fulllog_applications.php?version=17.12.
> 0#k3b

I have *NO* idea who wrote it, but please follow the https://github.com/kde/k3b
thanks!

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

[k3b] [Bug 385367] K3b uses "/tmp" as default path to save DVD/VCD rips

2017-12-14 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=385367

--- Comment #8 from Leslie Zhai <lesliez...@llvm.org.cn> ---
(In reply to Dr. Chapatin from comment #6)
> K3b 17.12 changelog says that this bug is fixed, but it's not.

There is *NO* log related to PR385367
https://github.com/KDE/k3b/blob/master/ChangeLog and PR384117 is Changes, not
Bugfixes! please keep seeking truth from facts, I hate lie!

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

[k3b] [Bug 385367] K3b uses "/tmp" as default path to save DVD/VCD rips

2017-12-14 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=385367

--- Comment #7 from Leslie Zhai <lesliez...@llvm.org.cn> ---
(In reply to Dr. Chapatin from comment #5)
> I just noticed k3b also uses "/tmp" to save DVD rips.

Hi Nate Graham,

Welcome patch, thanks a lot!

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

[k3b] [Bug 382776] Enable "apply" button only when some setting is changed

2017-12-14 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=382776

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 CC||pointedst...@zoho.com

--- Comment #5 from Leslie Zhai <lesliez...@llvm.org.cn> ---
(In reply to Dr. Chapatin from comment #4)
> K3b 17.12 changelog says that this issue is solved.
> It's not true.

https://github.com/KDE/k3b/blob/master/ChangeLog#L3

Changes, not Bugfixes :)


https://github.com/KDE/k3b/blob/master/ChangeLog#L12

Implemented enable "apply" button only when some setting is changed.

Hi Nate Graham,
But it is only skeleton, welcome patch to save the changes when clicked "apply"
button. thanks a lot!

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

[k3b] [Bug 387765] K3b says that blu-ray ISO is not recognizable

2017-12-13 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387765

--- Comment #18 from Leslie Zhai <lesliez...@llvm.org.cn> ---
mkisofs crashed...


Burned media
---
DVD+R

Devices
---
CDEmu Virt. CD/DVD-ROM 1.10 (/dev/sr0, CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R,
DVD+R) [DVD-ROM, DVD+R, CD-ROM, CD-R] [SAO, TAO, RAW, SAO/R96R, RAW/R16,
RAW/R96R] [%7]

K3b::IsoImager
---
mkisofs print size result: 113852 (233168896 bytes)

System
---
K3b Version: 18.3.70
KDE Version: 5.38.0
Qt Version:  5.7.1
Kernel:  4.13.16-100.fc25.x86_64

Used versions
---
mkisofs: 1.1.11
growisofs: 7.1

growisofs
---
Executing 'builtin_dd if=/dev/fd/0 of=/dev/sr0 obs=32k seek=0'

growisofs command:
---
/usr/bin/growisofs -Z /dev/sr0=/dev/fd/0 -use-the-force-luke=notray
-use-the-force-luke=tty -use-the-force-luke=4gms
-use-the-force-luke=tracksize:113852 -speed=18 -use-the-force-luke=bufsize:32m

mkisofs
---
113852
I: -input-charset not specified, using utf-8 (detected in locale settings)
  0.45% done, estimate finish Thu Dec 14 09:59:32 2017
  0.88% done, estimate finish Thu Dec 14 09:59:32 2017
  1.32% done, estimate finish Thu Dec 14 09:59:32 2017
  1.77% done, estimate finish Thu Dec 14 09:59:32 2017
  2.21% done, estimate finish Thu Dec 14 09:59:32 2017
  2.64% done, estimate finish Thu Dec 14 09:59:32 2017
  3.08% done, estimate finish Thu Dec 14 09:59:32 2017
  3.53% done, estimate finish Thu Dec 14 09:59:32 2017
  3.96% done, estimate finish Thu Dec 14 09:59:32 2017
  4.40% done, estimate finish Thu Dec 14 09:59:32 2017
  4.83% done, estimate finish Thu Dec 14 09:59:32 2017
  5.28% done, estimate finish Thu Dec 14 09:59:32 2017
  5.72% done, estimate finish Thu Dec 14 09:59:32 2017
  6.15% done, estimate finish Thu Dec 14 09:59:32 2017
  6.59% done, estimate finish Thu Dec 14 09:59:32 2017
  7.04% done, estimate finish Thu Dec 14 09:59:32 2017
  7.48% done, estimate finish Thu Dec 14 09:59:32 2017
  7.91% done, estimate finish Thu Dec 14 09:59:32 2017
  8.35% done, estimate finish Thu Dec 14 09:59:32 2017
  8.80% done, estimate finish Thu Dec 14 09:59:32 2017
  9.23% done, estimate finish Thu Dec 14 09:59:32 2017
  9.67% done, estimate finish Thu Dec 14 09:59:32 2017
 10.10% done, estimate finish Thu Dec 14 09:59:32 2017
 10.55% done, estimate finish Thu Dec 14 09:59:32 2017
 10.99% done, estimate finish Thu Dec 14 09:59:32 2017
 11.42% done, estimate finish Thu Dec 14 09:59:40 2017
 11.86% done, estimate finish Thu Dec 14 09:59:40 2017
 12.31% done, estimate finish Thu Dec 14 09:59:40 2017
 12.75% done, estimate finish Thu Dec 14 09:59:39 2017
 13.18% done, estimate finish Thu Dec 14 09:59:39 2017
 13.62% done, estimate finish Thu Dec 14 09:59:39 2017
 14.07% done, estimate finish Thu Dec 14 09:59:39 2017

mkisofs calculate size command:
---
/usr/bin/genisoimage -gui -graft-points -print-size -quiet -volid k3b -volset 
-appid K3B THE CD KREATOR (C) 1998-2017 SEBASTIAN TRUEG, MICHAL MALEK AND
LESLIE ZHAI -publisher  -preparer  -sysid LINUX -volset-size 1 -volset-seqno 1
-sort /tmp/k3b.Et3463 -rational-rock -hide-list /tmp/k3b.bw3463 -joliet
-joliet-long -hide-joliet-list /tmp/k3b.hZ3463 -no-cache-inodes
-full-iso9660-filenames -iso-level 3 -path-list /tmp/k3b.XF3463

mkisofs command:
---
/usr/bin/genisoimage -gui -graft-points -volid k3b -volset  -appid K3B THE CD
KREATOR (C) 1998-2017 SEBASTIAN TRUEG, MICHAL MALEK AND LESLIE ZHAI -publisher 
-preparer  -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /tmp/k3b.VU3463
-rational-rock -hide-list /tmp/k3b.Tc3463 -joliet -joliet-long
-hide-joliet-list /tmp/k3b.mj3463 -no-cache-inodes -full-iso9660-filenames
-iso-level 3 -path-list /tmp/k3b.OU3463



$ tar -cjf k3b.tar.bz2 k3b
$ mv k3b.tar.bz2 k3b.iso

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

[k3b] [Bug 387765] K3b says that blu-ray ISO is not recognizable

2017-12-12 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387765

--- Comment #3 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Thomas has already reviewed src/misc/k3bimagewritingdialog.cpp, which produced
the message as you reported, and he introduced a new image type RAW
https://github.com/KDE/k3b/commits/master/src/misc/k3bimagewritingdialog.cpp

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

[k3b] [Bug 387765] K3b says that blu-ray ISO is not recognizable

2017-12-12 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387765

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE
 CC||lesliez...@llvm.org.cn

--- Comment #1 from Leslie Zhai <lesliez...@llvm.org.cn> ---


*** This bug has been marked as a duplicate of bug 344392 ***

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

[k3b] [Bug 344392] Can't burn BD50 ISO image - Seems not to be a usable image

2017-12-12 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=344392

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 CC||bugsefor...@gmx.com

--- Comment #33 from Leslie Zhai <lesliez...@llvm.org.cn> ---
*** Bug 387765 has been marked as a duplicate of this bug. ***

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

[k3b] [Bug 384750] Progress bars don't work when I save a project to an ISO file

2017-12-07 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=384750

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

  Latest Commit||https://commits.kde.org/k3b
   ||/00cda753f75dc25e0ff2050c64
   ||f56131fbfefe6e
 Resolution|--- |FIXED
 Status|UNCONFIRMED |RESOLVED

--- Comment #18 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Git commit 00cda753f75dc25e0ff2050c64f56131fbfefe6e by Leslie Zhai.
Committed on 08/12/2017 at 02:59.
Pushed by lesliezhai into branch 'master'.

Workaround for parsing mkisofs progress when perStr is not digit

M  +20   -10   libk3b/projects/datacd/k3bmkisofshandler.cpp
M  +17   -0tests/k3bfuzzertest.cpp

https://commits.kde.org/k3b/00cda753f75dc25e0ff2050c64f56131fbfefe6e

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

[k3b] [Bug 384750] Progress bars don't work when I save a project to an ISO file

2017-12-06 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=384750

--- Comment #11 from Leslie Zhai <lesliez...@llvm.org.cn> ---
(In reply to Dr. Chapatin from comment #10)
> which mkisofs version do you use on Fedora?

$ whereis mkisofs
mkisofs: /usr/bin/mkisofs /usr/share/man/man1/mkisofs.1.gz
$ rpm -qf /usr/bin/mkisofs
genisoimage-1.1.11-31.fc24.x86_64
xorriso-1.4.8-1.fc25.x86_64

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

[k3b] [Bug 386983] Refresh button in the Programs section causes segfault

2017-12-05 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=386983

--- Comment #17 from Leslie Zhai <lesliez...@llvm.org.cn> ---
(In reply to Ismail Donmez from comment #16)
> (In reply to Leslie Zhai from comment #15)
> > (In reply to Ismail Donmez from comment #14)
> > > Hi,
> > > 
> > > I don't understand
> > > https://cgit.kde.org/k3b.git/commit/
> > > ?id=ce5d7b139d07a875ea89fe049be852baf23f99f7 at all.
> > > 
> > > +d->gcBins << d->bins;
> > >  d->bins.clear();
> > > 
> > > and where do you use d->gcBins exactly?
> > 
> > https://github.com/KDE/k3b/blob/master/libk3b/core/k3bexternalbinmanager.
> > cpp#L188
> 
> That's deletion, you don't actually use it at all. This fix looks very very
> wrong.

So it is called gcBins for Garbage Collection.

But it is not able to free d->bins directly due to heap-use-after-free issue
https://bugsfiles.kde.org/attachment.cgi?id=109022

You could rollback the commit, then rebuild K3B with such option to reproduce
the issue:

cmake .. -DCMAKE_INSTALL_PREFIX=/usr\ 
-DCMAKE_CXX_COMPILER=clang++\   
-DECM_ENABLE_SANITIZERS='address;undefined'\
   
-DCMAKE_CXX_FLAGS="-fsanitize-coverage=edge,indirect-calls,8bit-counters,trace-bb,trace-cmp"
\
-DCMAKE_BUILD_TYPE=Debug \  
-DKDE_INSTALL_LIBDIR=lib\   
-DKDE_INSTALL_LIBEXECDIR=lib\   
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON   \   
-DK3B_BUILD_API_DOCS=ON \   
-DK3B_ENABLE_PERMISSION_HELPER=ON   \   
-DK3B_DEBUG=ON


Regards,
Leslie Zhai - a LLVM developer https://reviews.llvm.org/p/xiangzhai/

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

[k3b] [Bug 384750] Progress bars don't work when I save a project to an ISO file

2017-12-05 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=384750

--- Comment #9 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Sorry I do not use ArchLinux any more, I am using Fedora for ARMmbed
development, because there are more RedHat engineers working for GNU and LLVM
Toolchain, and I can not reproduce this issue for Fedora.

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

[k3b] [Bug 386983] Refresh button in the Programs section causes segfault

2017-12-05 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=386983

--- Comment #15 from Leslie Zhai <lesliez...@llvm.org.cn> ---
(In reply to Ismail Donmez from comment #14)
> Hi,
> 
> I don't understand
> https://cgit.kde.org/k3b.git/commit/
> ?id=ce5d7b139d07a875ea89fe049be852baf23f99f7 at all.
> 
> +d->gcBins << d->bins;
>  d->bins.clear();
> 
> and where do you use d->gcBins exactly?

https://github.com/KDE/k3b/blob/master/libk3b/core/k3bexternalbinmanager.cpp#L188

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

[k3b] [Bug 387599] K3B won't close after copying

2017-12-04 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387599

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 CC||lesliez...@llvm.org.cn
 Status|UNCONFIRMED |RESOLVED

--- Comment #1 from Leslie Zhai <lesliez...@llvm.org.cn> ---


*** This bug has been marked as a duplicate of bug 385667 ***

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

[k3b] [Bug 385667] K3B doesn't close Blu-ray discs correctly

2017-12-04 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=385667

--- Comment #4 from Leslie Zhai <lesliez...@llvm.org.cn> ---
*** Bug 387599 has been marked as a duplicate of this bug. ***

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

[k3b] [Bug 385667] K3B doesn't close Blu-ray discs correctly

2017-12-04 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=385667

--- Comment #3 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Hi Thomas,

Please help Lloyd to debug GROWISOFS, thanks a lot!

Regards,
Leslie Zhai

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

[k3b] [Bug 385667] K3B doesn't close Blu-ray discs correctly

2017-12-04 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=385667

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 CC||scdbac...@gmx.net

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

[k3b] [Bug 387533] K3b finds not enough space on a 25 GB BlueRay for a 23.1 GiB .iso

2017-12-04 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387533

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|UNCONFIRMED |RESOLVED
 CC||lesliez...@llvm.org.cn

--- Comment #3 from Leslie Zhai <lesliez...@llvm.org.cn> ---


*** This bug has been marked as a duplicate of bug 381074 ***

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

[k3b] [Bug 381074] [MATSHITA BD-MLT UJ240AS] Does not write image "debian-8.8.0-amd64-BD-1.iso"

2017-12-04 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=381074

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 CC||julius...@gmail.com

--- Comment #84 from Leslie Zhai <lesliez...@llvm.org.cn> ---
*** Bug 387533 has been marked as a duplicate of this bug. ***

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

[k3b] [Bug 387298] Crash when I try to burn audio cd or mixed mode cd using wma files

2017-12-01 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387298

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://commits.kde.org/k3b
   ||/947aebe181cda58933eafc28d0
   ||c46f7dc0515453
 Status|UNCONFIRMED |RESOLVED

--- Comment #15 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Git commit 947aebe181cda58933eafc28d0c46f7dc0515453 by Leslie Zhai.
Committed on 02/12/2017 at 07:11.
Pushed by lesliezhai into branch 'master'.

Fix potential null passed to a callee that requires a non-null argument.

M  +5-2plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp

https://commits.kde.org/k3b/947aebe181cda58933eafc28d0c46f7dc0515453

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

[k3b] [Bug 387298] Crash when I try to burn audio cd or mixed mode cd using wma files

2017-12-01 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387298

--- Comment #13 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Hi Pino,

I respect you the pioneer of KDE developer, please code review firstly, when
LGTM, then git push to the K3B repository, thanks a lot!

The latest commit log:

https://github.com/KDE/k3b/commits/master/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp


commit c01a9cbffec61c7a5fe4c835d166924aff7c2c75
Merge: 93855a3 1777236
Author: Pino Toscano <p...@kde.org>
Date:   Sat Feb 4 11:18:34 2017 +0100

commit c01a9cbffec61c7a5fe4c835d166924aff7c2c75
Merge: 93855a3 1777236
Author: Pino Toscano <p...@kde.org>
Date:   Sat Feb 4 11:18:34 2017 +0100

Merge remote-tracking branch 'origin/2.0'

commit 1777236203f21eed7a9baade632472094c8081d3
Author: Pino Toscano <p...@kde.org>
Date:   Sat Feb 4 10:48:45 2017 +0100

ffmpeg: fix/simplify metadata conversion to string

Comparing a pointer with an integer value is (correctly) an error with
GCC 7.

commit 3690ab2246c8e3d050d65f3d24171573ecafd501
Author: Pino Toscano <p...@kde.org>
Date:   Sat Feb 4 10:38:53 2017 +0100

ffmpeg: fix avcodec version for av_frame_alloc

Fixes commit 5b9b3537b658ad342d688fa4f210113a3d066d2a.

commit 88b3596675e06c04573b4c0a296d4eabcc94680f
Author: Leslie Zhai <xiangzha...@gmail.com>
Date:   Mon Nov 28 12:28:15 2016 +0800

Export K3b::BootItem compiled for clang++


I will fix the bug, it is my responsibility!

Regards,
Leslie Zhai

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

[k3b] [Bug 387511] Sometimes K3b thinks that an AppImage file is a disc image

2017-12-01 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387511

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 CC||lesliez...@llvm.org.cn

--- Comment #1 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Nice test! it is smart to DIFF AppImage and ISO :)

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

[k3b] [Bug 387298] Crash when I try to burn audio cd or mixed mode cd using wma files

2017-12-01 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387298

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 CC||p...@kde.org

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

[k3b] [Bug 387298] Crash when I try to burn audio cd or mixed mode cd using wma files

2017-12-01 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387298

--- Comment #11 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Clang Static Analyzer is very helpful to hunt potential bugs:

https://git.reviewboard.kde.org/r/129994/
https://git.reviewboard.kde.org/r/129995/
https://git.reviewboard.kde.org/r/129976/
https://git.reviewboard.kde.org/r/129768/
https://git.reviewboard.kde.org/r/129767/
https://git.reviewboard.kde.org/r/129599/

My sincere thanks will go to Apple Analysis team :)

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

[k3b] [Bug 387298] Crash when I try to burn audio cd or mixed mode cd using wma files

2017-12-01 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387298

--- Comment #10 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Hi Dr. Chapatin,

Also thank you for bug report! it is able to use Clang Static Analyzer to
detect potential bugs, for example: the testcase for memcpy
https://github.com/llvm-mirror/clang/blob/master/test/Analysis/bstring.c

Regards,
Leslie Zhai

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

[k3b] [Bug 387298] Crash when I try to burn audio cd or mixed mode cd using wma files

2017-12-01 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387298

--- Comment #9 from Leslie Zhai <lesliez...@llvm.org.cn> ---
(In reply to Dr. Chapatin from comment #7)
> Created attachment 109163 [details]
> backtrace from opensuse
> 
> Sorry, I have no technical knowledge to follow your instructions.
> But maybe this backtrace generated on OpenSuse can help.

Hi Pino,

Sorry I am not good at English language, I am inputting slowly try to express
clearly, please wait for minutes patiently :)

Please help me to check
https://github.com/KDE/k3b/blob/master/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp#L289

I argue that it might be:

1. Memory copy function accesses out-of-bound array element
2. Memory copy function overflows destination buffer
3. Memory copy function accesses out-of-bound array element
4. Memory copy function overflows destination buffer
5. overlapping
6. Null pointer argument in call to memory copy function

But my sincere thanks goes to you for maintaining ffmpeg plugin
https://github.com/KDE/k3b/commits/master/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp
 

Regards,
Leslie Zhai - a LLVM developer https://reviews.llvm.org/p/xiangzhai/

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

[k3b] [Bug 387298] Crash when I try to burn audio cd or mixed mode cd using wma files

2017-12-01 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387298

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 CC||p...@kde.org

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

[k3b] [Bug 387298] Crash when I try to burn audio cd or mixed mode cd using wma files

2017-12-01 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387298

--- Comment #6 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Created attachment 109160
  --> https://bugs.kde.org/attachment.cgi?id=109160=edit
Disassembly

Built with clang and enabled debug -g option, then use objdump, it contains
.debug_XXX sections and Intermix source code with disassembly.

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

[k3b] [Bug 387298] Crash when I try to burn audio cd or mixed mode cd using wma files

2017-12-01 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387298

--- Comment #5 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Sorry unhelpful.. it has to use -DCMAKE_BUILD_TYPE=Debug option to rebuild K3B,
then ELF contains helpful .debug_XXX sections.

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

[k3b] [Bug 387384] Rewritable media is not cleared on burn

2017-12-01 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387384

--- Comment #4 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Hi Thomas,

Thanks for your kind response!

> libk3b/jobs/k3bblankingjob.cpp

https://github.com/KDE/k3b/commits/master/libk3b/jobs/k3bblankingjob.cpp

The latest git commit:

commit 3fbe112ed24676fb65bb40d2c3f82b44b6fcd806
Author: Pino Toscano <p...@debian.org>
Date:   Sun Feb 15 20:21:05 2015 +0100

i18n fixes

- spell "CD-Text", "CDDB", "ISO 9660", "MD5", "MP3", "SoX, "URL", and "WMA"
correctly
- remove extra white space in few places
- a couple of small changes



Hi Aloysius, Could you add some qDebug to Basic Blocks in the slotStartErasing
Function? 


> src/k3bemptydiscwaiter.cpp

The latest git commit: Teach K3B learned to handle BD by Thomas Schmitt to fix
BUG-381074
Perhaps we might need to teach K3B again to handle "formatted" media :)


Hi Aloysius, Could you attach some log and screenshot before reviewing the
history code.

Regards,
Leslie Zhai

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

[k3b] [Bug 387384] Rewritable media is not cleared on burn

2017-11-30 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387384

--- Comment #2 from Leslie Zhai <lesliez...@llvm.org.cn> ---
> Same hardware works with Brasero

Please use Brasero for hurry requirement firstly.

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

[k3b] [Bug 387384] Rewritable media is not cleared on burn

2017-11-30 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387384

--- Comment #1 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Hi Thomas, Call for help!

Hi Aloysius, I can not reproduce the issue by simulator - CDEmu, please attach
some log or screenshot?

Regards,
Leslie Zhai

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

[k3b] [Bug 387384] Rewritable media is not cleared on burn

2017-11-30 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387384

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 CC||lesliez...@llvm.org.cn,
   ||scdbac...@gmx.net

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

[k3b] [Bug 387473] When I click on "Details" button in an error message, window size is not enough to show its content

2017-11-30 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387473

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 CC||lesliez...@llvm.org.cn

--- Comment #1 from Leslie Zhai <lesliez...@llvm.org.cn> ---
https://git.reviewboard.kde.org/r/128768/

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

[k3b] [Bug 386983] Refresh button in the Programs section causes segfault

2017-11-27 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=386983

--- Comment #12 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Git commit ce5d7b139d07a875ea89fe049be852baf23f99f7 by Leslie Zhai.
Committed on 28/11/2017 at 02:00.
Pushed by lesliezhai into branch 'master'.

Fix Memory-leak issue detected by clang analyzer long time ago

M  +4-1libk3b/core/k3bexternalbinmanager.cpp

https://commits.kde.org/k3b/ce5d7b139d07a875ea89fe049be852baf23f99f7

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

[k3b] [Bug 387298] Crash when I try to burn audio cd or mixed mode cd using wma files

2017-11-26 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387298

--- Comment #2 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Helpful BT and fuzzer info like this
https://bugs.kde.org/show_bug.cgi?id=386983

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

[k3b] [Bug 386983] Refresh button in the Programs section causes segfault

2017-11-26 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=386983

--- Comment #11 from Leslie Zhai <lesliez...@llvm.org.cn> ---
(In reply to Aloysius from comment #10)
> But, by the way, doesn't this introduce the risk of a memory leak?

Yes, workaround patch, I need to find the root cause!

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

[k3b] [Bug 387298] Crash when I try to burn audio cd or mixed mode cd using wma files

2017-11-26 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387298

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 CC||lesliez...@llvm.org.cn

--- Comment #1 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Hi Dr. Chapatin,

BT info could't help, it only indicated might owing to k3b ffmpeg plugin, but
no debug info, please build as:

cmake .. -DCMAKE_INSTALL_PREFIX=/usr\
-DCMAKE_CXX_COMPILER=clang++\
-DECM_ENABLE_SANITIZERS='address;undefined'\
   
-DCMAKE_CXX_FLAGS="-fsanitize-coverage=edge,indirect-calls,8bit-counters,trace-bb,trace-cmp"
\
-DCMAKE_BUILD_TYPE=Debug \
-DKDE_INSTALL_LIBDIR=lib\
-DKDE_INSTALL_LIBEXECDIR=lib\
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON   \
-DK3B_BUILD_API_DOCS=ON \
-DK3B_ENABLE_PERMISSION_HELPER=ON   \
-DK3B_DEBUG=ON

Regards,
Leslie Zhai

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

[k3b] [Bug 386983] Refresh button in the Programs section causes segfault

2017-11-22 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=386983

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 Resolution|UPSTREAM|FIXED
  Latest Commit||https://commits.kde.org/k3b
   ||/5e13d929f4c1e48462826ca126
   ||49475ff663ac62

--- Comment #8 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Git commit 5e13d929f4c1e48462826ca12649475ff663ac62 by Leslie Zhai.
Committed on 23/11/2017 at 05:19.
Pushed by lesliezhai into branch 'master'.

Workaround for fixing segfault.

M  +0-1libk3b/core/k3bexternalbinmanager.cpp

https://commits.kde.org/k3b/5e13d929f4c1e48462826ca12649475ff663ac62

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

[k3b] [Bug 386983] Refresh button in the Programs section causes segfault

2017-11-22 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=386983

--- Comment #7 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Git commit d2d1b578acb3a71ca8e6f0c8019c2dc0193819de by Leslie Zhai.
Committed on 23/11/2017 at 03:50.
Pushed by lesliezhai into branch 'master'.

Update fuzzer testcase for QFile and QString.

M  +1-1CMakeLists.txt
M  +2-1INSTALL.txt
M  +4-5tests/CMakeLists.txt
M  +17   -7tests/k3bfuzzertest.cpp

https://commits.kde.org/k3b/d2d1b578acb3a71ca8e6f0c8019c2dc0193819de

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

[k3b] [Bug 386983] Refresh button in the Programs section causes segfault

2017-11-22 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=386983

--- Comment #6 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Created attachment 109022
  --> https://bugs.kde.org/attachment.cgi?id=109022=edit
sanitizer.log

1. UndefinedBehaviorSanitizer: undefined-behavior
/data/project/kde/k3b/src/option/k3bexternalbinpermissionmodel.cpp:109:44 in 
/data/project/kde/k3b/libk3b/core/k3bexternalbinmanager.cpp:117:12: runtime
error: member access within address 0x6020001c9ab0 which does not point to an
object of type 'const K3b::ExternalBin'
0x6020001c9ab0: note: object has invalid vptr

2. AddressSanitizer: heap-use-after-free on address 0x6020001c9ab8 at pc
0x7f7f6d951526 bp 0x7ffe4852c8b0 sp 0x7ffe4852c8a8
READ of size 8 at 0x6020001c9ab8 thread T0  
#0 0x7f7f6d951525 in K3b::ExternalBin::path() const
/data/project/kde/k3b/libk3b/core/k3bexternalbinmanager.cpp:117:12

3. 0x6020001c9ab8 is located 8 bytes inside of 16-byte region
[0x6020001c9ab0,0x6020001c9ac0)
freed by thread T0 here:
#0 0x58f5fb in operator delete(void*)
/data/project/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:149:3
#1 0x7f7f6d9508f7 in K3b::ExternalBin::~ExternalBin()
/data/project/kde/k3b/libk3b/core/k3bexternalbinmanager.cpp:74:1

4. previously allocated by thread T0 here:  
#0 0x58e99b in operator new(unsigned long)
/data/project/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:92:3
#1 0x7f7f6d956482 in K3b::SimpleExternalProgram::scan(QString const&)
/data/project/kde/k3b/libk3b/core/k3bexternalbinmanager.cpp:346:33



Workaround patch is remove delete to bring in Memory-leak issue, but I want to
find the root cause instead!

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

[k3b] [Bug 386983] Refresh button in the Programs section causes segfault

2017-11-22 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=386983

--- Comment #5 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Git commit 5a0d015cbd440ae42440e682375a43df82dfec98 by Leslie Zhai.
Committed on 23/11/2017 at 02:25.
Pushed by lesliezhai into branch 'master'.

Use Address and Undefined Behaviour Sanitizer to debug.

Please see attachment: sanitizer.log

M  +3-1INSTALL.txt

https://commits.kde.org/k3b/5a0d015cbd440ae42440e682375a43df82dfec98

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

[k3b] [Bug 387087] K3b shows unnecessary spaces at the end of files names during audio cd extraction

2017-11-21 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387087

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://commits.kde.org/k3b
   ||/55688a8bc9bf526169aca8dfb7
   ||c906c5c89cd6ba
 Status|UNCONFIRMED |RESOLVED

--- Comment #1 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Git commit 55688a8bc9bf526169aca8dfb7c906c5c89cd6ba by Leslie Zhai.
Committed on 22/11/2017 at 04:40.
Pushed by lesliezhai into branch 'master'.

Fix unnecessary spaces at the end of files names during audio cd extraction.
Related: bug 380322

M  +9-9src/rip/k3baudioripjob.cpp

https://commits.kde.org/k3b/55688a8bc9bf526169aca8dfb7c906c5c89cd6ba

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

[k3b] [Bug 380322] K3b adds unnecessary spaces to file names of tracks extracted from audio cd

2017-11-21 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=380322

--- Comment #10 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Git commit 55688a8bc9bf526169aca8dfb7c906c5c89cd6ba by Leslie Zhai.
Committed on 22/11/2017 at 04:40.
Pushed by lesliezhai into branch 'master'.

Fix unnecessary spaces at the end of files names during audio cd extraction.
Related: bug 387087

M  +9-9src/rip/k3baudioripjob.cpp

https://commits.kde.org/k3b/55688a8bc9bf526169aca8dfb7c906c5c89cd6ba

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

[k3b] [Bug 387054] Bad columns width in audio cd and mixed mode cd projects

2017-11-21 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387054

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

  Latest Commit||https://commits.kde.org/k3b
   ||/f8ea41d2b26ceaa8c04d0d241e
   ||343c459f47347f
 Resolution|--- |FIXED
 Status|UNCONFIRMED |RESOLVED

--- Comment #2 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Git commit f8ea41d2b26ceaa8c04d0d241e343c459f47347f by Leslie Zhai.
Committed on 22/11/2017 at 04:27.
Pushed by lesliezhai into branch 'master'.

Add UpdateLater event for ViewColumnAdjuster.

M  +3-3src/k3bviewcolumnadjuster.cpp

https://commits.kde.org/k3b/f8ea41d2b26ceaa8c04d0d241e343c459f47347f

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

[k3b] [Bug 387020] Remove unnecessary line break from copyright bar

2017-11-21 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=387020

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
  Latest Commit||https://commits.kde.org/k3b
   ||/84f019c42d6171883d71812561
   ||1be6ab82846caa
 Resolution|--- |FIXED

--- Comment #1 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Git commit 84f019c42d6171883d718125611be6ab82846caa by Leslie Zhai.
Committed on 22/11/2017 at 03:51.
Pushed by lesliezhai into branch 'master'.

Add 10px for WelcomeWidget's infoText width.

M  +6-8src/k3bwelcomewidget.cpp

https://commits.kde.org/k3b/84f019c42d6171883d718125611be6ab82846caa

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

[k3b] [Bug 386983] Refresh button in the Programs section causes segfault

2017-11-21 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=386983

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 Resolution|--- |UPSTREAM
 Status|UNCONFIRMED |RESOLVED
 CC||lesliez...@llvm.org.cn

--- Comment #1 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Hi Aloysius,

Thanks for your PR! it is very clear: QFile::encodeName(...) failed to work!


(ExternalBinPermissionModel) unable to stat  "\n\u\n\uʱ"
(ExternalBinPermissionModel) unable to stat  "\n\u\n\uʱ"
(ExternalBinPermissionModel) unable to stat  "\n\u\n\uʱ"
(ExternalBinPermissionModel) unable to stat  "\n\u\n\uʱ"


I reported similar BUG https://bugreports.qt.io/browse/QTBUG-57553

Regards,
Leslie Zhai

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

[k3b] [Bug 380064] [MATSHITA BD-MLT UJ240AS] Estimated writing speed: 4046 KB/s (0,9x)*?

2017-11-11 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=380064

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 CC||haman...@gmx.fr

--- Comment #19 from Leslie Zhai <lesliez...@llvm.org.cn> ---
*** Bug 384566 has been marked as a duplicate of this bug. ***

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

[k3b] [Bug 384566] K3b does not correctly determine the write speed of Blu-ray Discs

2017-11-11 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=384566

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #10 from Leslie Zhai <lesliez...@llvm.org.cn> ---


*** This bug has been marked as a duplicate of bug 380064 ***

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

[k3b] [Bug 386401] "Continue Multisession Project" don't work

2017-11-08 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=386401

--- Comment #4 from Leslie Zhai <lesliez...@llvm.org.cn> ---
Hi sebastian,

If you haven't experienced Compiling K3B from source code, please ask Łukasz
(someone report the same bug as verion 17.04.0) to help you
https://bugs.kde.org/show_bug.cgi?id=379268#c50

Regards,
Leslie Zhai

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

[k3b] [Bug 379268] Importing previous session does nothing (version 17.04.0)

2017-11-08 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=379268

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 CC||rikudou__sen...@outlook.com

--- Comment #52 from Leslie Zhai <lesliez...@llvm.org.cn> ---
*** Bug 386401 has been marked as a duplicate of this bug. ***

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

[k3b] [Bug 386401] "Continue Multisession Project" don't work

2017-11-08 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=386401

Leslie Zhai <lesliez...@llvm.org.cn> changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #3 from Leslie Zhai <lesliez...@llvm.org.cn> ---


*** This bug has been marked as a duplicate of bug 379268 ***

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

  1   2   3   4   5   6   7   8   >