Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.

View Entry Info: Crash when folder contains filenames with Windows encoding

Category:
Possible Bug
What ViX Image build number are you using?
Please provide your ViX Team image build number. Menu > Information > About > Build number > ENTER THIS NUMBER e.g. 4.2.028
6.2.005
Have you tried a flash WITHOUT settings restore?
Have you tried this? PLEASE SELECT YES OR NO.
No
Have you tried a flash WITH settings restore?
Have you tried this? PLEASE SELECT YES OR NO.
No
Attachments
Page 1 of 10 123 ... LastLast
Results 1 to 15 of 138

Thread: Crash when folder contains filenames with Windows encoding

  1. #1

    Title
    Member
    Join Date
    Jun 2022
    Posts
    70
    Thanks
    1
    Thanked 33 Times in 19 Posts

    Crash when folder contains filenames with Windows encoding

    Created folder "mymovies" and copied some mp4 files from Win10 to HDD. But now E2 crashes when I try to access folder /media/hdd/mymovies

    Easy to reproduce. In WINDOWS: Create folder "mymovies" and add new empty file "pöllö.mp4" and FTP folder to HDD. Now try to access folder..

    See attached screenshots. Box is Osmio, but I don't think it matters, SF8008 crashes also..
    Attached Images Attached Images

  2. #2

    Title
    Senior Member
    Join Date
    Mar 2017
    Posts
    311
    Thanks
    13
    Thanked 49 Times in 42 Posts
    Done exactly as you asked and it played fine

    mymovies.jpg

    mymovies2.jpg
    Last edited by JonMMM; 23-06-22 at 08:58. Reason: add screen shots

  3. #3

    Title
    Senior Member
    Join Date
    Mar 2017
    Posts
    311
    Thanks
    13
    Thanked 49 Times in 42 Posts
    Your MP4 file looks corrupted the size is 0

  4. #4
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    23,339
    Thanks
    6,422
    Thanked 9,146 Times in 6,224 Posts
    Can you please upload the crashlog instead of a screenshot of it. Default location is /home/root/logs

  5. #5

    Title
    Member
    Join Date
    Jun 2022
    Posts
    70
    Thanks
    1
    Thanked 33 Times in 19 Posts
    Log attached

    Code:
    <    37.4687> 10:51:11.6917 [ActionMap] Keymap 'OkCancelActions' -> Action = 'ok'.
    <    37.5573> 10:51:11.7803 [Trashcan] Debug path /media/hdd/mymovies/ => /media/hdd/.Trash
    <    37.5620> 10:51:11.7850 [Pixmap] setPixmapNum(7) failed! defined pixmaps: [<enigma.gPixmapPtr; proxy of <Swig Object of type 'ePtr< gPixmap > *' at 0xaf82de90> >, <enigma.gPixmapPtr; proxy of <Swig Object of type 'ePtr< gPixmap > *' at 0xaf82df20> >, <enigma.gPixmapPtr; proxy of <Swig Object of type 'ePtr< gPixmap > *' at 0xaf82dfc8> >, <enigma.gPixmapPtr; proxy of <Swig Object of type 'ePtr< gPixmap > *' at 0xaf82df68> >, <enigma.gPixmapPtr; proxy of <Swig Object of type 'ePtr< gPixmap > *' at 0xaf82de48> >, <enigma.gPixmapPtr; proxy of <Swig Object of type 'ePtr< gPixmap > *' at 0xaf838020> >, <enigma.gPixmapPtr; proxy of <Swig Object of type 'ePtr< gPixmap > *' at 0xaf8380b0> >]
    <    37.5651> 10:51:11.7881 PC: b5d9dae0
    <    37.5652> 10:51:11.7881 Fault Address: 00000000
    <    37.5652> 10:51:11.7882 Error Code: 0
    <    37.5654> 10:51:11.7884 Backtrace:
    <    37.5656> 10:51:11.7886 /usr/bin/enigma2(_Z17handleFatalSignaliP9siginfo_tPv) [0x7B6B0]
    <    37.5657> 10:51:11.7887 /lib/libc.so.6(__default_rt_sa_restorer) [0xB5D64D30]
    <    37.5658> 10:51:11.7888 /lib/libc.so.6(n/a) [0xB5D9DAE0]
    <    37.5659> 10:51:11.7889 /lib/libc.so.6(raise) [0xB5D63EE0]
    <    37.5660> 10:51:11.7890 /lib/libc.so.6(abort) [0xB5D51638]
    <    37.5665> 10:51:11.7894 /usr/lib/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv) [0xB5FC4DC8]
    <    37.5666> 10:51:11.7896 /usr/lib/libstdc++.so.6(n/a) [0xB5FC2E10]
    <    37.5666> 10:51:11.7896 -------FATAL SIGNAL (6)
    @JonMMM File content does not matter, it crashes when building the list.. And you need to use Windows (Latin-1 encoding), UTF8 ofcourse works
    Attached Files Attached Files
    Last edited by abu baniaz; 23-06-22 at 18:32. Reason: Crash excerpt

  6. The Following User Says Thank You to ocean For This Useful Post:

    abu baniaz (23-06-22)

  7. #6

    Title
    Senior Member
    Join Date
    Mar 2017
    Posts
    311
    Thanks
    13
    Thanked 49 Times in 42 Posts
    i did use windows, right click new folder, rename, copy a mkv into it and upload via thumb zilla

  8. #7

    Title
    Member
    Join Date
    Jun 2022
    Posts
    70
    Thanks
    1
    Thanked 33 Times in 19 Posts
    @JonMMM There are no special / scandinavian characters in your screenshot..

  9. #8

    Title
    Senior Member
    Join Date
    Mar 2017
    Posts
    311
    Thanks
    13
    Thanked 49 Times in 42 Posts
    Quote Originally Posted by ocean View Post
    @JonMMM There are no special / scandinavian characters in your screenshot..

    I think you have just found your problem, try to recreate without special characters and see if you still get the error

  10. #9

    Title
    Member
    Join Date
    Jun 2022
    Posts
    70
    Thanks
    1
    Thanked 33 Times in 19 Posts
    Quote Originally Posted by JonMMM View Post
    I think you have just found your problem, try to recreate without special characters and see if you still get the error
    That's exactly what this bug report is about. Special characters in filenames crashes E2. Renaming files is just a workaround.. BTW no crash in older Openvix 5.2
    Last edited by ocean; 23-06-22 at 12:02.

  11. #10

    Title
    Senior Member
    Join Date
    Mar 2017
    Posts
    311
    Thanks
    13
    Thanked 49 Times in 42 Posts
    Sorry somehow I missed that

  12. #11
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,384
    Thanks
    988
    Thanked 2,888 Times in 2,243 Posts
    So I have created pöllö.mp4 on both windows & linux.... no issues.
    So post the file here............
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> DUR-Line DCR 5-1-8-L4 Multiswitch to 1.5M dish(28.2E)
    ------------------> Spaun SUS 5581/33 NFA Multiswitch to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using Legacy ports on multiswitches
    Zgemma H9 C/S into Giga4K

  13. #12

    Title
    Member
    Join Date
    Jun 2022
    Posts
    70
    Thanks
    1
    Thanked 33 Times in 19 Posts
    Quote Originally Posted by twol View Post
    So I have created pöllö.mp4 on both windows & linux.... no issues.
    So post the file here............
    Could you post screenshot what it looks like when you open that folder? (Don't create file with Linux, that works)

    I can reproduce this in every box. Vu zero4K crashes same way.

    See screenshot what folder looks like in Windows telnet:
    Attached Images Attached Images

  14. #13
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,384
    Thanks
    988
    Thanked 2,888 Times in 2,243 Posts
    Quote Originally Posted by ocean View Post
    Could you post screenshot what it looks like when you open that folder? (Don't create file with Linux, that works)

    I can reproduce this in every box. Vu zero4K crashes same way.

    See screenshot what folder looks like in Windows telnet:
    so in my windows putty it shows as pöllö.mk4, so its obviously your windows language setup, which is why I need you to post the attachment here to see if I can repeat on my boxes - I need more than the crash log to be able to recreate
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> DUR-Line DCR 5-1-8-L4 Multiswitch to 1.5M dish(28.2E)
    ------------------> Spaun SUS 5581/33 NFA Multiswitch to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using Legacy ports on multiswitches
    Zgemma H9 C/S into Giga4K

  15. #14
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,771
    Thanks
    235
    Thanked 1,656 Times in 1,305 Posts
    The actual error message indicates that it has been asked to get a Pixmap that is outside the list of pixmaps it has.

    My suspicion is that while this error is reported, the rest of the code assumes that the self.instance.setPixmap has been set; but it hasn't.

    So there are probably two bugs here.

    • Why is it being asked to use something which doesn't exist?
    • What should the code be doing on such an error such that the caller doesn't crash after the failure?


    My suggestion for the latter is that there should be a fallback, empty/blank pixmap that gets returned when the error is printed.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  16. #15

    Title
    Member
    Join Date
    Jun 2022
    Posts
    70
    Thanks
    1
    Thanked 33 Times in 19 Posts
    Quote Originally Posted by twol View Post
    so in my windows putty it shows as pöllö.mk4, so its obviously your windows language setup, which is why I need you to post the attachment here to see if I can repeat on my boxes - I need more than the crash log to be able to recreate
    pöllö.mp4 is just empty file. Attached zipped folder. Windows is Finnish locale. I'd guess this is Python3 related issue..
    Attached Files Attached Files

  17. The Following User Says Thank You to ocean For This Useful Post:

    twol (23-06-22)

Page 1 of 10 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.