question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crash on startup with "Error in `/usr/bin/java': free(): invalid pointer"

See original GitHub issue

System information:

  • Operating system: openSUSE Leap 15.1
  • DBeaver version: All released versions greater than 6.2.4
  • Java version: OpenJDK Runtime Environment (build 11.0.5+10-suse-lp151.3.9.2-x8664)
  • Additional extensions: Unknown

Connection specification:

  • Database: PostgreSQL 9.6
  • Driver name: org.postgresql.Driver
  • Do you use tunnels or proxies (SSH, SOCKS, etc)? No

Describe the problem you’re observing:

Every release since 6.2.4 has crashed on startup. (6.2.4 works fine.) When I start dbeaver from the console, I see the following message:

~> /usr/share/dbeaver/dbeaver
2019-12-23 09:58:25.566 - > Start DBeaver Standalone [org.jkiss.dbeaver.core.application 6.3.1.201912221734]
2019-12-23 09:58:25.568 - > Start Eclipse e4 Workbench [org.eclipse.e4.ui.workbench 1.11.0.v20191024-1147]
2019-12-23 09:58:25.572 - > Start Eclipse Workbench Model [org.eclipse.e4.ui.model.workbench 2.1.600.v20191025-1525]
2019-12-23 09:58:25.586 - Create display
2019-12-23 09:58:25.602 - > Start Eclipse Jobs Mechanism [org.eclipse.core.jobs 3.10.600.v20191026-0839]
*** Error in `/usr/bin/java': free(): invalid pointer: 0x0000564cbdf827d0 ***

Steps to reproduce, if exist:

While searching for solutions online I stumbled upon the environment variable MALLOC_CHECK_. This variable is set to 3 on my system. Running ~> MALLOC_CHECK_=3 /usr/share/dbeaver/dbeaver results in a crash. Whereas running ~> MALLOC_CHECK_=1 /usr/share/dbeaver/dbeaver does not.

Include any warning/errors/backtraces from the logs

It appears to be dying before logs are generated and I’m not certain how to turn up the debug level on the logs.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
acspikecommented, Oct 19, 2020

This issue continues to exist as of DBeaver 7.2.3 (202010181902).

0reactions
serge-ridercommented, Jan 4, 2021

@acspike thanks for the update

Read more comments on GitHub >

github_iconTop Results From Across the Web

Nios Eclipse crashes, free(): invalid pointer - Intel Communities
Solved: Hi When starting nios ii from quartus the eclipse splash screen appear a short moment and then nothing happend.
Read more >
Error in `/usr/bin/java': munmap_chunk(): invalid pointer: in JNI
Its because of you are freeing the memory before allocating it.Thats the reason for my error. The free() function frees the memory space...
Read more >
Error in `java': free(): invalid pointer: - FileBot
I'd start by narrowing down which specific media files make mediainfo crash: Code: Select all filebot -mediainfo -r /path.
Read more >
openjdk-7 package : Ubuntu - Launchpad Bugs
#937385 java crashed with SIGABRT in __assert_fail_base() while running Mojam ... Error in `/usr/bin/java': free(): invalid pointer: 0x00007eff18003e40 ***.
Read more >
1688841 – glibc's free() crashes with ulimit - Red Hat Bugzilla
Bug 1688841 - glibc's free() crashes with ulimit -s unlimited when exiting from ... which is evidence that there is nothing wrong with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found