amule-project / amule

'All-platform' P2P client based on eMule
1k stars 222 forks source link

crash with latest git code #157

Open xosevp opened 5 years ago

xosevp commented 5 years ago

$ amule 2019-03-24 11:50:35: Initialising aMule SVN compiled with wxGTK2 v3.0.4 2019-03-24 11:50:35: Checking if there is an instance already running... 2019-03-24 11:50:35: No other instances are running. 2019-03-24 11:50:35: ListenSocket: Ok. 2019-03-24 11:50:35: Loading temp files from /home/xose/.aMule/Temp. 2019-03-24 11:50:35: All PartFiles Loaded.

(amule:25131): Gtk-CRITICAL **: 11:50:41.297: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton

(amule:25131): Gtk-CRITICAL **: 11:50:41.311: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton Trace/breakpoint trap (core dumped)

$ amule -v aMule SVN compiled with wxGTK2 v3.0.4 (OS: Linux)

output from systemd-coredump, Stack trace: https://paste.fedoraproject.org/paste/RcgLIb3NANxb-UXjBV34qA

glubsy commented 5 years ago

Which Linux distro? System up to date?

Which flags during compilation?

xosevp commented 5 years ago

Fedora 30 (really updated!).

There are two bugs.

The first one: I did add the Debian patch for libupnp: https://github.com/rpmfusion/amule/blob/master/libupnp1.8.patch , otherwise it does not compile: https://paste.fedoraproject.org/paste/XcX7OH~MjifS0A9dFnWgrw

Compilation flag are: https://github.com/rpmfusion/amule/blob/master/amule.spec#L60

The second one: stability errors in window management.

"Stable" and git releases are broken.

Stoatwblr commented 5 years ago

Try compiling using llvm (clang) instead of gcc - works for me.

The real question is "why do they behave differently" ?

glubsy commented 5 years ago

Window management should probably be its own issue. I've had problems in Arch Linux and i3 window manager: if the window is not floating (ie. it's tiled automatically by default), amule crashes.