Bitcoin Forum
June 17, 2024, 12:29:58 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Upgrading from 3.2 gives Segmentation fault  (Read 3349 times)
rupy (OP)
Hero Member
*****
Offline Offline

Activity: 725
Merit: 500



View Profile
January 03, 2013, 08:53:32 PM
 #1

So what do I have to delete in .bitcoin to get the latest release to work?

BANKBOOK GWT Wallet & no-FIAT Billing API
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1596
Merit: 1091


View Profile
January 03, 2013, 09:21:25 PM
 #2

So what do I have to delete in .bitcoin to get the latest release to work?

Technically you can delete everything except wallet.dat and bitcoin.conf.


Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
rupy (OP)
Hero Member
*****
Offline Offline

Activity: 725
Merit: 500



View Profile
January 07, 2013, 11:38:48 AM
 #3

Ok, i renamed the .bitcoin folder and still Segmentation fault... and the folder is empty, no logs, no nothing! I run suse 11.3...

BANKBOOK GWT Wallet & no-FIAT Billing API
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1596
Merit: 1091


View Profile
January 07, 2013, 04:28:38 PM
 #4

Ok, i renamed the .bitcoin folder and still Segmentation fault... and the folder is empty, no logs, no nothing! I run suse 11.3...

Can you post the exact errors you get?  No debug.log appears at all?


Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
notme
Legendary
*
Offline Offline

Activity: 1904
Merit: 1002


View Profile
January 08, 2013, 01:36:49 AM
 #5

Version 3.2 of what?

The latest version  of the official client is 0.7.2.

https://www.bitcoin.org/bitcoin.pdf
While no idea is perfect, some ideas are useful.
rupy (OP)
Hero Member
*****
Offline Offline

Activity: 725
Merit: 500



View Profile
January 08, 2013, 05:44:29 PM
 #6

No debug at all.

I was using bitcoin 3.2 which worked fine but lately it spins out of control and wears my SSD...

BANKBOOK GWT Wallet & no-FIAT Billing API
Pieter Wuille
Legendary
*
qt
Offline Offline

Activity: 1072
Merit: 1178


View Profile WWW
January 08, 2013, 08:24:40 PM
 #7

Do you mean 0.3.20?

I do Bitcoin stuff.
rupy (OP)
Hero Member
*****
Offline Offline

Activity: 725
Merit: 500



View Profile
January 09, 2013, 09:05:28 AM
 #8

Ah, yes. But thats not the issue the issue is that since 0.6.xxxx > the client segmentation faults on suse 11.3, works fine on my suse 12...

BANKBOOK GWT Wallet & no-FIAT Billing API
notme
Legendary
*
Offline Offline

Activity: 1904
Merit: 1002


View Profile
January 09, 2013, 09:07:20 AM
 #9

Ah, yes. But thats not the issue the issue is that since 0.6.xxxx > the client segmentation faults on suse 11.3, works fine on my suse 12...

likely a library version issue... just compile from git

https://www.bitcoin.org/bitcoin.pdf
While no idea is perfect, some ideas are useful.
rupy (OP)
Hero Member
*****
Offline Offline

Activity: 725
Merit: 500



View Profile
January 29, 2013, 09:47:03 PM
 #10

Ok, compilation fails: http://pastebin.com/iVpPwnzQ

BANKBOOK GWT Wallet & no-FIAT Billing API
notme
Legendary
*
Offline Offline

Activity: 1904
Merit: 1002


View Profile
January 30, 2013, 12:51:42 PM
 #11

Ok, compilation fails: http://pastebin.com/iVpPwnzQ

Looks like you are missing the libboost development package.  Make sure configure is happy before you try to run make.

https://www.bitcoin.org/bitcoin.pdf
While no idea is perfect, some ideas are useful.
rupy (OP)
Hero Member
*****
Offline Offline

Activity: 725
Merit: 500



View Profile
January 30, 2013, 05:09:33 PM
 #12

There is no configure file!

But ok, I resolved the boost dependency... but now it can't compile the db because suse 11.3 has berkeley 4.5 and bitcoin requires 4.8, so thats the segmentation fault right there I guess?

So is it possible to fix this?

BANKBOOK GWT Wallet & no-FIAT Billing API
notme
Legendary
*
Offline Offline

Activity: 1904
Merit: 1002


View Profile
January 30, 2013, 06:57:08 PM
 #13

There is no configure file!

But ok, I resolved the boost dependency... but now it can't compile the db because suse 11.3 has berkeley 4.5 and bitcoin requires 4.8, so thats the segmentation fault right there I guess?

So is it possible to fix this?

If you're using a direct git clone rather than a release tarball, you need to run ./autogen.sh first to generate ./configure, same as nearly every other autotools setup in existence.

Yes, you can compile and install berkeley 4.8 yourself if your distro doesn't provide a package.

If you run bitcoin in a gdb session you should be able to get a backtrace that tells you where the segfault is occurring.  I believe the binaries from bitcoin.org have all the dependencies compiled in, so I don't think the berkeley db version is your issue.

https://www.bitcoin.org/bitcoin.pdf
While no idea is perfect, some ideas are useful.
rupy (OP)
Hero Member
*****
Offline Offline

Activity: 725
Merit: 500



View Profile
January 30, 2013, 09:53:40 PM
 #14

gdb gives:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6d476b2 in QMetaObject::cast(QObject*) const ()
   from /usr/lib64/libQtCore.so.4

will try berkeley 4.8

BANKBOOK GWT Wallet & no-FIAT Billing API
rupy (OP)
Hero Member
*****
Offline Offline

Activity: 725
Merit: 500



View Profile
February 02, 2013, 01:11:38 PM
 #15

Hm, can someone help me get the build up?

Which file do I have to download in order to get berkeley files to be reachable for the bitcoin build?

BANKBOOK GWT Wallet & no-FIAT Billing API
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1032



View Profile WWW
February 02, 2013, 01:45:14 PM
 #16

Would it help to upgrade to a distro only two years old?
http://www.howtoforge.com/how-to-upgrade-opensuse-11.3-to-11.4-desktop-and-server
rupy (OP)
Hero Member
*****
Offline Offline

Activity: 725
Merit: 500



View Profile
February 02, 2013, 02:09:12 PM
 #17

Well, the machine I use is a 24/7 server and my main work development machine so I can't risk anything going haywire... I know that updating versions like that always breaks important things...

BANKBOOK GWT Wallet & no-FIAT Billing API
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1032



View Profile WWW
February 02, 2013, 03:29:47 PM
 #18

gdb gives:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6d476b2 in QMetaObject::cast(QObject*) const ()
   from /usr/lib64/libQtCore.so.4

will try berkeley 4.8

Bitcoin 0.3.xx does not use the Qt library, it uses wxwidgets.

Bitcoin targets QT version 4.8.2 with compatibility for V5. It looks like OpenSUSE 11.3 shipped with QT v4.6.0 If you have a Gnome desktop, Qt may not even be installed.

Install/Updates for Qt - no listing for 11.3, the page starts at 11.4 (and the download site only has 12.1+)
http://en.opensuse.org/KDE_repositories#Qt
rupy (OP)
Hero Member
*****
Offline Offline

Activity: 725
Merit: 500



View Profile
February 03, 2013, 12:32:13 AM
 #19

See this is one problem with linux (the other being that distributions make their own tools that should be standardized; yum, apt-get, yast... etc), it's a big mess to update after service life ends and even before because of spaghetti dependencies on shit that never works as expected if you touch one straw... So my solution as a software developer is to upgrade versions of dependencies ONLY when it's really really necessary.

So basically latest bitcoin is useless to me here...

I actually have SuSE 11.2, so which version of bitcoin uses QT 4.5.3 or older?

BANKBOOK GWT Wallet & no-FIAT Billing API
notme
Legendary
*
Offline Offline

Activity: 1904
Merit: 1002


View Profile
February 04, 2013, 07:34:08 PM
 #20

See this is one problem with linux (the other being that distributions make their own tools that should be standardized; yum, apt-get, yast... etc), it's a big mess to update after service life ends and even before because of spaghetti dependencies on shit that never works as expected if you touch one straw... So my solution as a software developer is to upgrade versions of dependencies ONLY when it's really really necessary.

So basically latest bitcoin is useless to me here...

I actually have SuSE 11.2, so which version of bitcoin uses QT 4.5.3 or older?

Keeping your software up to date not only makes your life much easier, it makes your data much safer.  I would sign transactions by hand before I used a distro that old to hold a bitcoin wallet.  There are way too many known exploits for the code you are running.

Rolling releases and constant updates FTW.  I love Arch Smiley.

https://www.bitcoin.org/bitcoin.pdf
While no idea is perfect, some ideas are useful.
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!