aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: [solved] segmenation fault  (Read 3770 times)

Ateo

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 138
  • pfft.
    • http://www.atheistnetwork.com
[solved] segmenation fault
« on: June 17, 2006, 07:21:44 PM »

I started getting segmentation fault with version 2.1.2. Not sure where the issue is but this is what gdb reports:
Code: [Select]
dracco@black ~ $ gdb
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
(gdb) run amule
Starting program:  amule
No executable file specified.
Use the "file" or "exec-file" command.
(gdb)

Any ideas?

Thanks
« Last Edit: July 22, 2006, 12:37:25 AM by Ateo »
Logged
-- El payaso cabron me dice que tengo que consumir!

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: [solved] segmenation fault
« Reply #1 on: June 17, 2006, 07:29:14 PM »

The gdb invocation is incorrect, invoke it as
Code: [Select]
gdb amuleand then
Code: [Select]
runat the gdb prompt.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: [solved] segmenation fault
« Reply #2 on: June 17, 2006, 09:12:24 PM »

aMule tester???  8o

you know the wiki space right???
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Ateo

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 138
  • pfft.
    • http://www.atheistnetwork.com
Re: [solved] segmenation fault
« Reply #3 on: July 02, 2006, 03:17:28 AM »

My issue was binutils. Rebuilt it, rebuilt amule. All is good.
Logged
-- El payaso cabron me dice que tengo que consumir!

Ateo

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 138
  • pfft.
    • http://www.atheistnetwork.com
RE: segmenation fault
« Reply #4 on: July 21, 2006, 09:03:17 PM »

Well, now it seems libX11 is the issue... I rebuilt libX11 1.0.3, then amule again afterwards, before posting here, hoping it would solve the problem...  

It crashes when I click the "Transfers" button. I currently have no active transfers as I deleted all the content from the temp folder.... All the other buttons work just fine....

Any ideas?

Here is the gdb report:

Code: [Select]
dracco@black ~ $ gdb amule
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/amule
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1227004240 (LWP 9665)]
/home/dracco/.gtk_qt_engine_rc:62: error: unexpected character `{', expected character `}'
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
[New Thread -1237337184 (LWP 9698)]
Loading temp files from /home/dracco/.aMule/temp.

All PartFiles Loaded.
ListenSocket: Ok.

External connections disabled in config file
*** Server UDP socket (TCP+3) at 0.0.0.0:4664
*** TCP socket (TCP) listening on 0.0.0.0:4661
*** Client UDP socket (extended eMule) at 0.0.0.0:4672
Empty dir /home/dracco/.smut/ shared
[New Thread -1245729888 (LWP 9748)]
[Thread -1245729888 (zombie) exited]
[New Thread -1254122592 (LWP 9749)]
QPixmap: Invalid pixmap parameters
QPainter::begin: Cannot paint null pixmap
QPainter::setPen: Will be reset by begin()
QPainter::setBrush: Will be reset by begin()
QPainter::setBrush: Will be reset by begin()
QPainter::setPen: Will be reset by begin()
QPainter::setPen: Will be reset by begin()
QPainter::setPen: Will be reset by begin()
QPainter::setPen: Will be reset by begin()
QPainter::setPen: Will be reset by begin()
QPainter::setPen: Will be reset by begin()

(amule:9665): Gdk-CRITICAL **: gdk_pixmap_foreign_new_for_display: assertion `(anid != 0)' failed

(amule:9665): Gdk-CRITICAL **: gdk_draw_drawable: assertion `src != NULL' failed

(amule:9665): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
QPainter::begin: Cannot paint null pixmap
QPainter::setPen: Will be reset by begin()
QPainter::setBrush: Will be reset by begin()
QPainter::setBrush: Will be reset by begin()
QPainter::setPen: Will be reset by begin()

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1227004240 (LWP 9665)]
0xb702b963 in XSetTile () from /usr/lib/libX11.so.6
Logged
-- El payaso cabron me dice que tengo que consumir!

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: [solved] segmenation fault
« Reply #5 on: July 21, 2006, 09:39:02 PM »

gtk-qt-engine
Logged

Ateo

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 138
  • pfft.
    • http://www.atheistnetwork.com
Re: [solved] segmenation fault
« Reply #6 on: July 22, 2006, 12:36:50 AM »

yeap. gtk-engine-qt was the culprit...

THanks...
Logged
-- El payaso cabron me dice que tengo que consumir!