nextcloud / documentserver_community

Document server for onlyoffice
https://apps.nextcloud.com/apps/documentserver_community
131 stars 29 forks source link

[Bug]: DocumentConversionException: Segmentation fault (core dumped) #285

Open sergiupapuc opened 1 year ago

sergiupapuc commented 1 year ago

⚠️ This issue respects the following points: ⚠️

Bug description

[index] Error: OCA\DocumentServer\Document\DocumentConversionException: Segmentation fault (core dumped) at <>

  1. /var/www/html/nextcloud/apps/documentserver_community/lib/DocumentConverter.php line 125 OCA\DocumentServer\Document\ConverterBinary->run()
  2. /var/www/html/nextcloud/apps/documentserver_community/lib/Document/DocumentStore.php line 255 OCA\DocumentServer\DocumentConverter->runCommand()
  3. /var/www/html/nextcloud/apps/documentserver_community/lib/LocalAppData.php line 102 OCA\DocumentServer\Document\DocumentStore->OCA\DocumentServer\Document{closure}(" sensitive parameters replaced ")
  4. /var/www/html/nextcloud/apps/documentserver_community/lib/Document/DocumentStore.php line 256 OCA\DocumentServer\LocalAppData->getReadWriteLocalPath()
  5. /var/www/html/nextcloud/apps/documentserver_community/lib/Controller/ConvertController.php line 60 OCA\DocumentServer\Document\DocumentStore->convert()
  6. /var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 225 OCA\DocumentServer\Controller\ConvertController->convert()
  7. /var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 133 OC\AppFramework\Http\Dispatcher->executeController()
  8. /var/www/html/nextcloud/lib/private/AppFramework/App.php line 172 OC\AppFramework\Http\Dispatcher->dispatch()
  9. /var/www/html/nextcloud/lib/private/Route/Router.php line 298 OC\AppFramework\App::main()
  10. /var/www/html/nextcloud/lib/base.php line 1047 OC\Route\Router->match()
    1. /var/www/html/nextcloud/index.php line 36 OC::handleRequest()

POST /index.php/apps/documentserver_community/ConvertService.ashx from 188.215.78.202 at 2022-12-12T09:57:05+00:00

Steps to reproduce

1.apears every time cron.php is run! 2. 3.

Expected behavior

no error

Installation method

Community Manual installation with Archive

Operating system

Debian/Ubuntu

PHP engine version

PHP 7.4

Web server

Apache (supported)

Database engine version

MySQL

Is this bug present after an update or on a fresh install?

Fresh Nextcloud Server install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

Configuration report

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cloud.grosu.ro"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "25.0.2.3",
        "overwrite.cli.url": "http:\/\/cloud.grosu.ro\/nextcloud",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "default_phone_region": "RO",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Memcached",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
        "app_install_overwrite": [
            "twofactor_admin",
            "files_antivirus",
            "apporder",
            "impersonate"
        ],
        "maintenance": false,
        "theme": "",
        "loglevel": 2,
        "updater.release.channel": "stable",
        "mail_smtpsecure": "tls"
    }
}

List of activated Apps

Enabled:
  - activity: 2.17.0
  - admin_audit: 1.15.0
  - announcementcenter: 6.4.0
  - appointments: 1.14.7
  - apporder: 0.15.0
  - approval: 1.0.10
  - bruteforcesettings: 2.5.0
  - calendar: 4.1.0
  - circles: 25.0.0
  - cloud_federation_api: 1.8.0
  - comments: 1.15.0
  - contacts: 5.0.1
  - contactsinteraction: 1.6.0
  - dashboard: 7.5.0
  - dav: 1.24.0
  - deck: 1.8.2
  - documentserver_community: 0.1.13
  - event_update_notification: 2.0.0
  - external: 5.0.0
  - federatedfilesharing: 1.15.0
  - federation: 1.15.0
  - files: 1.20.1
  - files_accesscontrol: 1.15.0
  - files_antivirus: 4.0.1
  - files_automatedtagging: 1.15.0
  - files_pdfviewer: 2.6.0
  - files_retention: 1.14.0
  - files_rightclick: 1.4.0
  - files_sharing: 1.17.0
  - files_trashbin: 1.15.0
  - files_versions: 1.18.0
  - firstrunwizard: 2.14.0
  - groupfolders: 13.1.0
  - impersonate: 1.11.0
  - logreader: 2.10.0
  - lookup_server_connector: 1.13.0
  - nextcloud_announcements: 1.14.0
  - notifications: 2.13.1
  - oauth2: 1.13.0
  - onlyoffice: 7.6.8
  - password_policy: 1.15.0
  - photos: 2.0.1
  - privacy: 1.9.0
  - provisioning_api: 1.15.0
  - quota_warning: 1.15.0
  - recommendations: 1.4.0
  - related_resources: 1.0.3
  - serverinfo: 1.15.0
  - settings: 1.7.0
  - sharebymail: 1.15.0
  - spreed: 15.0.2
  - support: 1.8.0
  - survey_client: 1.13.0
  - suspicious_login: 4.3.0
  - systemtags: 1.15.0
  - tasks: 0.14.5
  - text: 3.6.0
  - theming: 2.0.1
  - twofactor_admin: 4.0.0
  - twofactor_backupcodes: 1.14.0
  - twofactor_reminder: 1.0.0
  - twofactor_totp: 7.0.0
  - updatenotification: 1.15.0
  - user_ldap: 1.15.0
  - user_status: 1.5.0
  - viewer: 1.9.0
  - weather_status: 1.5.0
  - workflow_ocr: 1.25.2
  - workflowengine: 2.7.0
Disabled:
  - encryption
  - files_external

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

.

Additional info

No response

g-work commented 1 year ago

I have a similiar issue; it also seems connected to cron, but shows up only once an hour: https://github.com/nextcloud/documentserver_community/issues/286

OneSleeve commented 1 year ago

I'm also getting a Segmentation fault (core dumped) error message when trying to add new fonts to the documentserver.