Skip to content

[Client/XP] Crash when syncing folders "failed to create dibsection" #2648

Closed

Description

@stephanedupont

Hello,

I've tried to sync my owncloud installation on a XP laptop, and even if I try to sync only a small folder, the client crashes.

Here's the log file when I tried to sync a folder with 5 files in it:

...
12-27 16:14:38:140 0x5da6128 csync_reconcile: Reconciliation for remote replica took 0.00 seconds visiting 5 files.
12-27 16:14:38:140 0x5da6128 csync_statedb_close: sqlite3_close=0
12-27 16:14:38:140 0x5da6128 socketapi.cpp:325 SocketApi: Sending message: "STATUS:SYNC:"
12-27 16:14:38:140 0x5da6128 socketapi.cpp:325 SocketApi: Sending message: "STATUS:SYNC:"
12-27 16:14:38:140 0x5da6128 socketapi.cpp:325 SocketApi: Sending message: "STATUS:SYNC:"
12-27 16:14:38:140 0x5da6128 socketapi.cpp:325 SocketApi: Sending message: "STATUS:SYNC:"
12-27 16:14:38:140 0x5da6128 socketapi.cpp:325 SocketApi: Sending message: "STATUS:SYNC:"
12-27 16:14:38:156 0x5da6128 syncjournaldb.cpp:1157 void Mirall::SyncJournalDb::commitInternal(const QString&, bool) Transaction commit "post treewalk" and starting new transaction
12-27 16:14:38:156 0x5da6128 syncjournaldb.cpp:1157 void Mirall::SyncJournalDb::commitInternal(const QString&, bool) Transaction commit "post stale entry removal" and starting new transaction
12-27 16:14:38:156 0x5da6128 owncloudpropagator.cpp:315 Using QNAM/HTTP parallel code path
12-27 16:14:38:156 0x5da6128 folder.cpp:823 * csync thread started
12-27 16:14:38:156 0x5da6128 socketapi.cpp:275 Not sending UPDATE_VIEW for "Home" because status() is 3
12-27 16:14:38:906 0x5da6128 owncloudgui.cpp:264 Folder in overallStatus Message: Mirall::Folder(0x668c730) with name "Home"
12-27 16:14:38:906 0x5da6128 owncloudgui.cpp:180 Sync state changed for folder "Home" : "Sync Running"
12-27 16:14:38:906 0x5da6128 :0 QWindowsXPStylePrivate::buffer(w,h), failed to create dibsection ()

No problem on my desktop Windows Seven computer.

I think it might be the same issue than this closed one: #2541 (I didn't find how to reopen it, so I opened a new one, but let me know if I must move this one to the old one)

Activity

  1. guruz commented on Dec 27, 2014

    @guruz
    Contributor

    The other issue mentioned

    It seems that this issue regards with poor video memory. I run client on a host with more video memory the issue disappears and everything seems OK.

    Can you do something in that direction?

  2. stephanedupont commented on Dec 27, 2014

    @stephanedupont
    Author

    Thank you for your answer, I've read his comment, but I don't know what is "poor video memory"... All I know is that it's the laptop I use for music on stage (DAW, virtual instruments, etc.), and for many other things, since 4 years now, never have a problem with any software.

    The "poor video memory" problem explanation is kinda strange: the other user says he runs it on a host with more video. As it is another host, I guess there's many differences between the tho hosts, not only "more video memory". Even if if's the case, why would owncloud client need a lot of video memory? And is it "poor video memory" as he first says, or "not enough video memory"?

    Again, it's not like the computer has other issues with other softwares. I use it on a daily basis for many things.

  3. guruz commented on Dec 28, 2014

    @guruz
    Contributor

    @stephanedupont OK. I guess a DAW should be more memory intensive ;-) I'm wondering if it is related to Qt on XP then. Maybe @danimo has an insight..

    Right now I only find https://bugreports.qt-project.org/issues/?jql=text%20~%20%22failed%20to%20create%20dibsection%22

  4. added this to the 1.8 - UI Enhancements milestone on Dec 28, 2014
  5. stephanedupont commented on Dec 29, 2014

    @stephanedupont
    Author

    I don't know what technologies Owncloud client or Qt uses, so is there anything that I can do? Like try to update DirectX, video drivers, ...?

  6. stephanedupont commented on Dec 29, 2014

    @stephanedupont
    Author

    The problem seems to be in the UI, and I've got a workaround if anyone is in the same case: the crash only happens if the client is displayed, as in "not minimized".

    If you run the sync with the client minimized in the system tray, it doesn't crash.

  7. modified the milestones: , 1.8 - UI Enhancements on Jan 19, 2015
  8. guruz commented on Jan 19, 2015

    @guruz
    Contributor

    @danimo yes that's the reason I was asking for the video memory. But I doubt this is the real cause.

  9. guruz commented on Jan 19, 2015

    @guruz
    Contributor

    @danimo won't Qt 5.4 possibly select a different rendering backend or so? Which could influence this?

  10. ogoffart commented on Jan 22, 2015

    @ogoffart
    Contributor

    What is the memory usage of the application? Maybe we have another leak on XP or something?

  11. stephanedupont commented on Jan 22, 2015

    @stephanedupont
    Author

    I don't remember exactly, but it was small, something like 30Mo.

  12. 11 remaining items

  13. reopened this on Feb 12, 2015
  14. ckamm commented on Feb 12, 2015

    @ckamm
    Contributor
  15. dahan1999 commented on Feb 12, 2015

    @dahan1999

    @k3cco90 sorry for late respond. @ckamm I will test it tomorrow.

  16. nekoal commented on Feb 13, 2015

    @nekoal

    1.8.0-nightly20150213 (4715) Tested.

  17. dahan1999 commented on Feb 13, 2015

    @dahan1999

    @nekoal can you describe your steps to reproduce the crash?

  18. dahan1999 commented on Feb 13, 2015

    @dahan1999

    @ckamm I tested and the crash did not occur. nekoal mentioned another crash but I suspect that the crash has nothing to do with this one.

  19. nekoal commented on Feb 13, 2015

    @nekoal

    @ckamm @dahan1999 Sorry, I was wrong. It's separate issue. Same crash occurs in others applications then I tried uninstall client and install without shell integration. On Win 7 shell integration was already disabled 'cause explorer crash.
    Without shell integration AddFolder don't show any errors and syncrun started successfully. Pause/resume test also passed.

  20. danimo commented on Feb 17, 2015

    @danimo
    Contributor

    This is done then?

  21. added
    ReadyToTest
    on Feb 17, 2015
  22. luciamaestro commented on Feb 18, 2015

    @luciamaestro

    If the crash did not occur as @dahan1999 said I close this issue.
    And if anyone is able to reproduce it please reopen it, thx.

  23. removed
    ReadyToTest
    on Feb 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions